class Widget(DataObject):
            hardiness = DatatypeProperty()
            fullness = DatatypeProperty()
            part_number = DatatypeProperty()

            def identifier_augment(self):
                return self.make_identifier_direct(
                    str(self.part_number.onedef()))

            def defined_augment(self):
                return self.part_number.has_defined_value()
Beispiel #2
0
class TDO(DataObject):
    rdf_type = 'http://openworm.org/entities/TDO'
    a = DatatypeProperty()
Beispiel #3
0
 class B(A):
     b = DatatypeProperty()
     properties_are_init_args = False
Beispiel #4
0
 class A(DataObject):
     a = DatatypeProperty()
     properties_are_init_args = True
Beispiel #5
0
class Usage(DataObject):
    rights = DatatypeProperty()
Beispiel #6
0
class Software(DataObject):
    software_name = DatatypeProperty()
    software_version = DatatypeProperty()
    software_featureID = DatatypeProperty()
    featureID = DatatypeProperty()
    version = DatatypeProperty()
    settings = DatatypeProperty()
    time = DatatypeProperty()
    framespersecond = DatatypeProperty()
    mmperpixel = DatatypeProperty()
    nosegskel = DatatypeProperty()
    base_name = DatatypeProperty()  #what is base_name - need to check this
    ventralside = DatatypeProperty()
Beispiel #7
0
class BioDetails(DataObject):
    sex = DatatypeProperty()
    stage = DatatypeProperty()
    age = DatatypeProperty()
    strain = DatatypeProperty()
    strain_descr = DatatypeProperty()
    gene = DatatypeProperty()
    chromosome = DatatypeProperty()
    allele = DatatypeProperty()
    proteins = DatatypeProperty()
    daysofadulthood = DatatypeProperty()
    worm_id = DatatypeProperty()
Beispiel #8
0
class Collection(DataObject):
    lab_name = DatatypeProperty()
    lab_location = DatatypeProperty()
    collector = DatatypeProperty()
    timestamp = DatatypeProperty()
    humidity = DatatypeProperty()
    temperature = DatatypeProperty()
    arena_style = DatatypeProperty()
    arena_size = DatatypeProperty()
    arena_orientation = DatatypeProperty()
    food = DatatypeProperty()
    habituation = DatatypeProperty()
    media = DatatypeProperty()
    protocol = DatatypeProperty()  #text description and keywords
    scope = DatatypeProperty()
    limitations = DatatypeProperty()
    interpolation = DatatypeProperty()
Beispiel #9
0
class Provenance(DataObject):
    citation = DatatypeProperty()
    complementarydata = DatatypeProperty()
    processing = DatatypeProperty()
    previouspublications = DatatypeProperty()
    previewlink = DatatypeProperty()