Open cmungall opened 4 years ago
Interesting. I like this a lot! For the most seamless implementation of this, what do you propose? A big sparql query like:
SELECT ?s ?p ?o
WHERE {
?s ?p ?o .
FILTER(isIRI(?s))
FILTER (
( datatype(?o) = xsd:string && ?p = rdfs:label) ||
( ( datatype(?o) = xsd:anyURI || isIRI(?o)) && ?p = IAO:0000233)
)
}
LIMIT 10
Or is it now the time to see what shex and shacl can do?
We need a schema
Most of OMO is annotation properties which are useless in OWL for using in a constrained fashion
E.g for http://purl.obolibrary.org/obo/IAO_0000233 -- is the expected value of this a string, an anyURI literal, or a node?
term-replaced-by should only be used on obsolete classes
rdfs:label has max cardinality 1
etc