group = "Traceability" name = "Find PM Relation" 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 ?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?"