1234567891011121314151617181920212223242526272829303132333435 |
- group = "Info"
- name = "Get Class Label Description"
- prefix = '''
- PREFIX dtf: <https://ontology.rys.app/dt/function/>
- PREFIX owl: <http://www.w3.org/2002/07/owl#>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX art: <http://ua.be/drivetrain/description/artifacts/artifacts#>
- PREFIX tabular: <http://ua.be/sdo2l/vocabulary/base/tabular#>
- PREFIX dc: <http://purl.org/dc/elements/1.1/>
- PREFIX ftg: <http://ua.be/sdo2l/vocabulary/ftg#>
- PREFIX base: <http://ua.be/sdo2l/vocabulary/base#>
- PREFIX vim4: <http://bipm.org/jcgm/vim4#>
- PREFIX comp: <http://ua.be/sdo2l/vocabulary/component#>
- PREFIX code: <http://ua.be/sdo2l/vocabulary/base/code#>
- PREFIX script: <http://ua.be/sdo2l/vocabulary/base/script#>
- PREFIX file: <http://ua.be/sdo2l/vocabulary/base/file#>
- PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
- PREFIX traces: <http://ua.be/sdo2l/vocabulary/processtraces#>
- PREFIX wf: <http://ua.be/sdo2l/vocabulary/workflow#>
- PREFIX text: <http://ua.be/sdo2l/vocabulary/base/text#>
- PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
- PREFIX dftg: <http://ua.be/drivetrain/description/ftg#>
- '''
- 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
|