1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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 dc: <http://purl.org/dc/elements/1.1/>
- PREFIX vim4: <http://bipm.org/jcgm/vim4#>
- PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
- PREFIX dart: <http://ua.be/drivetrain/description/artifacts/artifacts#>
- PREFIX dftg: <http://ua.be/drivetrain/description/ftg#>
- PREFIX acyclic: <http://ua.be/sdo2l/vocabulary/base/acyclic#>
- PREFIX base: <http://ua.be/sdo2l/vocabulary/base/base#>
- PREFIX file: <http://ua.be/sdo2l/vocabulary/formalisms/file#>
- PREFIX ftg: <http://ua.be/sdo2l/vocabulary/formalisms/ftg#>
- PREFIX traces: <http://ua.be/sdo2l/vocabulary/formalisms/processtraces#>
- PREFIX shaclproperty: <http://ua.be/sdo2l/vocabulary/formalisms/shaclproperty#>
- PREFIX system: <http://ua.be/sdo2l/vocabulary/formalisms/system#>
- PREFIX violation: <http://ua.be/sdo2l/vocabulary/formalisms/violation#>
- PREFIX code: <http://ua.be/sdo2l/vocabulary/formalisms/code#>
- PREFIX component: <http://ua.be/sdo2l/vocabulary/formalisms/component#>
- PREFIX csas: <http://ua.be/sdo2l/vocabulary/formalisms/cs_as#>
- PREFIX dict: <http://ua.be/sdo2l/vocabulary/formalisms/dict#>
- PREFIX drawio: <http://ua.be/sdo2l/vocabulary/formalisms/drawio#>
- PREFIX object_diagram: <http://ua.be/sdo2l/vocabulary/formalisms/object_diagram#>
- PREFIX pm: <http://ua.be/sdo2l/vocabulary/formalisms/pm#>
- PREFIX requirement: <http://ua.be/sdo2l/vocabulary/formalisms/requirement#>
- PREFIX richtext: <http://ua.be/sdo2l/vocabulary/formalisms/richtext#>
- PREFIX script: <http://ua.be/sdo2l/vocabulary/formalisms/script#>
- PREFIX tabular: <http://ua.be/sdo2l/vocabulary/formalisms/tabular#>
- PREFIX text: <http://ua.be/sdo2l/vocabulary/formalisms/text#>
- PREFIX traceability_model: <http://ua.be/sdo2l/vocabulary/formalisms/traceability_model#>
- PREFIX xopp: <http://ua.be/sdo2l/vocabulary/formalisms/xopp#>
- PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
- '''
- 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?"
|