Why xsd:anyURI literals instead of real URLs? #1367
Replies: 4 comments 2 replies
-
|
Why changes are needed: A. (from #983 item 18) sm:dependsOn
"https://spec.edmcouncil.org/fibo/ontology/FND/Accounting/CurrencyAmount/"^^xsd:anyURI
owl:imports
<https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Accounting/CurrencyAmount/> B. contentLanguage uses both of these forms, which is bad: C. DCT specifies D. |
Beta Was this translation helpful? Give feedback.
-
|
These are all good points except I don't understand D - it seems that these are declared and used as datatype properties with the anyURI datatype. I don't think it makes sense to try to represent sites as resources for FIBO. And if they were separately modeled as resources I don't see that being a problem either. |
Beta Was this translation helpful? Give feedback.
-
|
@rivettp what you describe in D means that FIBO rejects OWA.
|
Beta Was this translation helpful? Give feedback.
-
|
I just started looking at FIBO but I've worked and built many OWL ontologies, so what I'm about to say may not be the way FIBO looks at it but from the standard of what people typically do with OWL ontologies the first point is that an IRI (that is the term we're supposed to use now, it's the same as a URI except it supports additional character sets) is not the same thing as a URL. A URL is a sub-type of an IRI. All URLs are IRIs but not all IRIs are URLs. I don't know the specific distinction in format but in terms of use cases, a URL is usually a web page, so fairly large grained. An IRI can be for a Class, Property, etc. In an OWL ontology there is the IRI for the ontology like https://ontology and each entity in the ontology has its own IRI like https://ontology/My_Class and https://ontology/my_property. People tend to use xsd:anyURI for annotation or data properties where we are pointing at things (usually not other ontology entities) outside the ontology, in fact much of the time those data or annotation properties do point to HTML pages and you can use their URL as a value because URLs are also IRIs. I think that is why people use xsd:anyURI because that will accept URLs just fine but if you need to use a non-URL IRI you still have that option. In my experience people never put values for URLs into object properties. In OWL that wouldn't work but that gets to my question: From what I've seen (and this is just a very brief look so I may have picked an unusual file for my first look) FIBO looks like it is using RDF and RDFS not OWL. E.g., in the file I was looking at, I think it was for business processes there were lots of definitions for rdfs:Class rather than owl:Class. An RDFS class is not the same as an OWL class. E.g., you can't run a reasoner on it. Is this true for all of FIBO or does FIBO also have ontologies with owl classes as well? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Elisa, can you please explain these declarations / uses / restrictions?
I analyzed instances of anyURI in 2020Q3-prod like this:
A lot are annotation props but not all. Star indicates maybe a change is needed:
I checked range and the list:
The following props have range xsd:anyURI:
Beta Was this translation helpful? Give feedback.
All reactions