-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use more annotation properties for property & class description #11
Comments
Hence this properties need to be queried in script SPARQL queries! |
And for the overview page a query should be made for the ontologies' name. In aeon is under https://github.com/tibonto/aeon/blob/273743d0c346dc829f90ca524e92f6d4fd5fac09/aeon.ttl#L24 PREFIX dc: <http://dublincore.org/specifications/dublin-core/dcmi-terms/2012-06-14/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xml: <http://www.w3.org/XML/1998/namespace>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dcelements: <http://purl.org/dc/elements/1.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?title ?description ?version
WHERE {
?subject dcelements:title ?title.
OPTIONAL{?subject dcelements:description ?description.}
OPTIONAL{?subject owl:versionInfo ?version.}
}
|
And the PREFIX dc: <http://dublincore.org/specifications/dublin-core/dcmi-terms/2012-06-14/>
PREFIX ns: <http://www.w3.org/2003/06/sw-vocab-status/ns#>
PREFIX bfo: <http://purl.obolibrary.org/obo/bfo/2019-08-26/bfo.owl#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xml: <http://www.w3.org/XML/1998/namespace>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX aeon: <https://github.com/tibonto/aeon#>
PREFIX obda: <https://w3id.org/obda/vocabulary#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dcelements: <http://purl.org/dc/elements/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX iao: <http://purl.obolibrary.org/obo/iao/2020-06-10/iao.owl#>
SELECT ?subject
#?subclassof ?smw_import_info ?smw_datatype
?label ?definition ?editor_note
WHERE {
?subject rdf:type owl:Class.
OPTIONAL {?subject rdfs:subClassOf ?subclassof.}
OPTIONAL {?subject aeon:SMW_import_info ?smw_import_info.}
OPTIONAL {?subject rdfs:label ?label.}
OPTIONAL {?subject iao:IAO_0000115 ?definition.}
OPTIONAL {?subject iao:IAO_0000116 ?editor_note.}
?subject aeon:SMW_datatype ?smw_datatype. # only importing props with datatype
}
|
@StroemPhi if the results are correct iao:IAO_0000115 (rdfs:label 'definition') |
Integrate in fb925b7 |
@andrecastro0o I'm still working on this issue in the correponding issue branch (https://github.com/tibonto/aeon/tree/issue-6-definitions-and-descriptions) but some already have |
In SMW these properties should be mapped to SMW property [https://www.semantic-mediawiki.org/wiki/Help:Special_property_Has_property_description](Has property description::) And value should include language code |
Relates to #15 |
Strategy: Although it would be nice to use Has preferred property label:: as mentioned in #15 However in the future Bfo subsumption hierarchy will be applied to some properties, hence it will need to be discussed with @StroemPhi if |
implemented in ad280ca |
In order to have a proper description on the pages of the imported classes and properties, the import script should also include the following annotation properties:
The text was updated successfully, but these errors were encountered: