Skip to main content

Has knowledge graph role

Relates a knowledge graph to the category (a knowledge graph role) that classifies it.

ABIObject property
IRI
http://ontology.naas.ai/nexus/hasKnowledgeGraphRole
Module
NexusPlatformOntology ยท ABI

Domain and rangeโ€‹

Examplesโ€‹

Turtle
@prefix ex: <https://example.org/> .

ex:knowledgeGraph1 a <http://ontology.naas.ai/nexus/KnowledgeGraph> . # Knowledge Graph
ex:knowledgeGraphRole1 a <http://ontology.naas.ai/nexus/KnowledgeGraphRole> . # Knowledge Graph Role

ex:knowledgeGraph1 <http://ontology.naas.ai/nexus/hasKnowledgeGraphRole> ex:knowledgeGraphRole1 . # has knowledge graph role
SPARQL

# Pairs linked by "has knowledge graph role"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/nexus/hasKnowledgeGraphRole> ?object .
}
LIMIT 100

Used in ABIโ€‹

Has knowledge graph role is referenced in 2 files of jupyter-naas/abi (revision 56f86c1): 2 query files, across the naas-abi and templatablesparqlquery modules.

In SPARQL queriesโ€‹