We can't load the ontology by resolving http://www.w3.org/ns/legal# nor pre-fetch a file directly from this repository.
(json context and shacl file are provided, but not a ontology file defining for example owl:Class, owl:DatatypeProperty, ...
Or at least, I couldn't find it
Existing approaches
When we want to use W3C vcard, we can load the ontology in a turtle format, from the base uri http://www.w3.org/2006/vcard/ns#
from owlready2 import get_ontology
onto = get_ontology("http://www.w3.org/2006/vcard/ns#").load()
for classe in onto.classes():
print(classe, classe.iri)
or
import rdflib
g= rdflib.Graph()
g.parse("http://www.w3.org/2006/vcard/ns#")
for s, p, o in g:
print(s, p, o)
How to do the same with SEMIC Core Business vocabulary ?
Requirements
as a developer working with ontology framework, I would like to be able to load the ontology with a machine readable file.
I agree on this, it is an issue we face in a Swedish context and also in the Nordic collaboration project NSG&B. Would be super if this is addressed in next update!
Use case name
load the core-business ontology
Please insert the status of the use case
Tested
Stakeholders
Problem statement
We can't load the ontology by resolving
http://www.w3.org/ns/legal#
nor pre-fetch a file directly from this repository.(json context and shacl file are provided, but not a ontology file defining for example
owl:Class
,owl:DatatypeProperty
, ...Or at least, I couldn't find it
Existing approaches
When we want to use W3C vcard, we can load the ontology in a turtle format, from the base uri
http://www.w3.org/2006/vcard/ns#
or
How to do the same with SEMIC Core Business vocabulary ?
Requirements
as a developer working with ontology framework, I would like to be able to load the ontology with a machine readable file.