1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- group = "Traceability"
- name = "Find PM Relation"
- 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 ?from ?output ?atname WHERE {
- ?from a {{ from_class }} .
- ?from {{ relation }} ?output .
- ?output a {{ to_class }} .
- ?output {{ extra_relation }} ?atname .
- }
- '''
- description = "Find the PM."
- visual_support = true
- [[replacements]]
- placeholder = "from_class"
- suggestion = "ftg:Transformation"
- description = "Which starting class?"
- [[replacements]]
- placeholder = "relation"
- suggestion = "ftg:outputs"
- description = "Relation between the classes?"
- [[replacements]]
- placeholder = "to_class"
- suggestion = "ftg:Formalism"
- description = "The ending class?"
- [[replacements]]
- placeholder = "extra_relation"
- suggestion = "base:hasName"
- description = "End class relation?"
|