Skip to content
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

Issues with properties #130

Closed
martinaPulieri opened this issue Nov 28, 2024 · 3 comments
Closed

Issues with properties #130

martinaPulieri opened this issue Nov 28, 2024 · 3 comments

Comments

@martinaPulieri
Copy link
Collaborator

Important, Parham: OWL 2 introduced several vocabularies to provide a more explicit hierarchy for declaring and organizing properties. Specifically, owl:topObjectProperty and owl:topDataProperty are embedded in Protégé, and it is common practice to define all properties as sub-property-of one of these two. In EcoPortal, when properties are declared in this way, they do not appear in the Properties tab. After removing the annotations to owl:topObjectProperty and owl:topDataProperty for several properties, these specific properties reappeared in the relevant tab.

@jonquet
Copy link

jonquet commented Dec 9, 2024

This issue is interesting.
Can you precise what you mean exactly by "removing the annotations to owl:topObjectProperty and owl:topDataProperty for several properties" ?

Do you have examples of the 2 situations?

@Ramezani-07
Copy link

Ramezani-07 commented Dec 9, 2024

Example with these annotations:

@Prefix : https://kos.lifewatch.eu/ontologies/lw/ .
@Prefix owl: http://www.w3.org/2002/07/owl# .
@Prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# .
@Prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .

:characteristics rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty ;
rdfs:domain :ObservationCollection ;
rdfs:range :ObservableProperty ;
rdfs:isDefinedBy "https://kos.lifewatch.eu/ontologies/lw/"^^xsd:anyURI ;
rdfs:label "characteristics" ;
owl:versionInfo "1.0.0" .

:catalogNumber rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdfs:domain :Observation ;
rdfs:comment "An identifier (preferably unique) for the record within the data set or collection." ;
rdfs:label "catalog number" .

Example without these annotations:

:characteristics rdf:type owl:ObjectProperty ;
rdfs:domain :ObservationCollection ;
rdfs:range :ObservableProperty ;
rdfs:isDefinedBy "https://kos.lifewatch.eu/ontologies/lw/"^^xsd:anyURI ;
rdfs:label "characteristics" ;
owl:versionInfo "1.0.0" .

:catalogNumber rdf:type owl:DatatypeProperty ;
rdfs:domain :Observation ;
rdfs:comment "An identifier (preferably unique) for the record within the data set or collection." ;
rdfs:label "catalog number" .

@syphax-bouazzouni
Copy link
Collaborator

I moved this feedback to agroportal/project-management#638, you can follow the discussion there, as it is not urgent for the current iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants