KGConf / Bookclub-DemystifyingOWL

Notes and material for the DemistifyingOWL bookclub
7 stars 1 forks source link

Ch 8 - Upper Ontologies - How to use only one class/property #38

Open ChuckNoelke opened 3 years ago

ChuckNoelke commented 3 years ago

If I would like to only use one class or property maybe also including the restrictions and connecting classes/properties from an upper ontology, what is a clever way to implement that into a new ontology?

For example I tried direct importing "https://ontologies.semanticarts.com/gist/account" in Protege which did not work. With "https://spec.edmcouncil.org/fibo/ontology/FND/Accounting/CurrencyAmount/" Protege imports the complete FIBO BE ontology.

Should I try to find a Sparql Endpoint and execute a Sparql Construct Query?

uscholdm commented 3 years ago

There are two reasons you cannot import https://ontologies.semanticarts.com/gist/account or (gist:account):

  1. There is no such IRI as gist:account. There is a class called gist:Account' (upper caseA`)
  2. Assuming you meant gist:Account, it is not an ontology, it is a class.

Also, you cannot import just part of an ontology. It's all or nothing. That is one motivation for breaking up a large ontology into separate reusable modules. If you want to juist use some IRIs from an ontology, without importing the ontology, you are free to do so. You may choose to use skos annotations and not import the skos ontology. Similarly, you could use gist:Account in your ontology.