Closed andrecastro0o closed 3 years ago
Or do ontology designers use other strategies to define a term as class / DatatypeProperty / ObjectProperty?
Has type::
without aeon:SMW_datatypeThe main issue is how to determine from the terms definition the SMW Has type::
property of a Property definition
In ontology schema rdf:type
is use to define if a terms is:
owl:Class
-> SMW: Categoryowl:AnnotationProperty
-> SMW: Has type::Text
owl:ObjectProperty
-> SMW: Has type::Page
owl:DatatypeProperty
-> SMW: Has type:: ???
https://www.w3.org/TR/2004/REC-owl-guide-20040210/#owl_DatatypeProperty show the recommended xsd datatypes for use with owl:DatatypeProperty
, plus rdfs:Literal
In rdfs:range: the range of values given to a DatatypeProperty are X
### https://github.com/tibonto/aeon#ID_URL
aeon:ID_URL rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf aeon:ID ;
rdfs:domain aeon:Identifier ;
rdfs:range xsd:anyURI ;
### http://rs.tdwg.org/abcd/terms/acquisitionSourceText
:acquisitionSourceText rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain owl:Thing ;
rdfs:range xsd:string ;
dcat:bbox
a rdf:Property ;
a owl:DatatypeProperty ;
rdfs:domain dct:Location ;
rdfs:label "bounding box"@en ;
rdfs:range rdfs:Literal ;
dcat:spatialResolutionInMeters
a owl:DatatypeProperty ;
rdfs:range xsd:decimal ;
### http://xmlns.com/foaf/0.1/age
:age rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain :Agent ;
rdfs:range rdfs:Literal ;
{
'xsd:string': 'Text',
'rdfs:Literal': 'Text',
'xsd:Name': 'Text',
'xsd:normalizedString': 'Text',
'xsd:decimal': 'Number',
'xsd:float': 'Number',
'xsd:integer': 'Number',
'xsd:nonNegativeInteger': 'Number',
'xsd:positiveInteger': 'Number',
'xsd:nonPositiveInteger': 'Number',
'xsd:negativeInteger': 'Number',
'xsd:positiveInteger': 'Number',
'xsd:int': 'Number',
'xsd:double': 'Number',
'xsd:long': 'Number',
'xsd:short': 'Number',
'xsd:unsignedLong': 'Number',
'xsd:byte': 'Number',
'xsd:boolean': 'Boolean',
'xsd:dateTime': 'Date',
'xsd:time': 'Text',
'xsd:date': 'Date',
'xsd:gYearMonth': 'Date',
'xsd:dateTime': 'Date',
'xsd:gYear': 'Date',
'xsd:gMonthDay': 'Text',
'xsd:gDay': 'Text',
'xsd:gMonth': 'Text',
'xsd:anyURI': 'URL',
'xsd:language': 'Text'
}
Prefixes & Namespaces from http://prefix.cc/ in ontology2smw/queries/all_ns_prefixes.json
closed by #56
Currently ontology2smw import to wiki only the terms which contain a value to the property
aeon:SMW_datatype
as visible in SPARQL query_classes_properties.rqI would like to make ontology2smw able to import other ontologies terms, even if they do not have
aeon:SMW_datatype
, as for instance datacite datacite ttl OR GND Ontology (gndo) gndo ttlDevelopment Steps