group = "Info"
name = "Get Class Label Description"
prefix = '''
PREFIX dtf:
PREFIX owl:
PREFIX rdf:
PREFIX xsd:
PREFIX rdfs:
PREFIX dc:
PREFIX vim4:
PREFIX swrl:
PREFIX dart:
PREFIX dftg:
PREFIX acyclic:
PREFIX base:
PREFIX file:
PREFIX ftg:
PREFIX traces:
PREFIX shaclproperty:
PREFIX system:
PREFIX violation:
PREFIX code:
PREFIX component:
PREFIX csas:
PREFIX dict:
PREFIX drawio:
PREFIX object_diagram:
PREFIX pm:
PREFIX requirement:
PREFIX richtext:
PREFIX script:
PREFIX tabular:
PREFIX text:
PREFIX traceability_model:
PREFIX xopp:
PREFIX federation:
'''
query = '''
SELECT DISTINCT ?class ?label ?description WHERE {
?class a owl:Class .
OPTIONAL { ?class rdfs:label ?label }
OPTIONAL { ?class rdfs:comment ?description }
}
'''
description = "Get all classes and their label, and description."
visual_support = true