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

[Use case]: load the core-business ontology #47

Open
ticapix opened this issue May 18, 2024 · 2 comments
Open

[Use case]: load the core-business ontology #47

ticapix opened this issue May 18, 2024 · 2 comments

Comments

@ticapix
Copy link

ticapix commented May 18, 2024

Use case name

load the core-business ontology

Please insert the status of the use case

Tested

Stakeholders

  • Riphixel (company)
  • Gaia-X (association)

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#

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.

@PerNordanlind
Copy link

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!

@EmidioStani
Copy link
Member

EmidioStani commented Aug 29, 2024

This issue has similarity with #49

All Core Vocabularies concepts are under http://data.europa.eu/m8g on which SEMIC has authority but a Core Vocabulary include concepts from other namespaces such as foaf or dct.
The RDF representation of the Core Business, that can be found from the HTML specification, include only concepts from http://data.europa.eu/m8g.

Do you need just Core Business ? Do you need all the concepts or only those from http://data.europa.eu/m8g ?

At the moment, it is possible to retrieve all concepts under m8g from the URL: http://data.europa.eu/m8g

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

3 participants