|
@@ -39,11 +39,11 @@ PREFIX xopp: <http://ua.be/sdo2l/vocabulary/formalisms/xopp#>
|
|
|
PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
|
|
PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
|
|
|
'''
|
|
'''
|
|
|
query = '''
|
|
query = '''
|
|
|
-SELECT DISTINCT ?from ?output ?atname WHERE {
|
|
|
|
|
|
|
+SELECT DISTINCT * WHERE {
|
|
|
?from a {{ from_class }} .
|
|
?from a {{ from_class }} .
|
|
|
?from {{ relation }} ?output .
|
|
?from {{ relation }} ?output .
|
|
|
?output a {{ to_class }} .
|
|
?output a {{ to_class }} .
|
|
|
- ?output {{ extra_relation }} ?atname .
|
|
|
|
|
|
|
+ OPTIONAL { ?output {{ extra_relation }} ?name }
|
|
|
}
|
|
}
|
|
|
'''
|
|
'''
|
|
|
description = "Find the PM."
|
|
description = "Find the PM."
|
|
@@ -56,7 +56,7 @@ description = "Which starting class?"
|
|
|
|
|
|
|
|
[[replacements]]
|
|
[[replacements]]
|
|
|
placeholder = "relation"
|
|
placeholder = "relation"
|
|
|
-suggestion = "ftg:outputs"
|
|
|
|
|
|
|
+suggestion = "ftg:hasOutput"
|
|
|
description = "Relation between the classes?"
|
|
description = "Relation between the classes?"
|
|
|
|
|
|
|
|
[[replacements]]
|
|
[[replacements]]
|
|
@@ -66,5 +66,5 @@ description = "The ending class?"
|
|
|
|
|
|
|
|
[[replacements]]
|
|
[[replacements]]
|
|
|
placeholder = "extra_relation"
|
|
placeholder = "extra_relation"
|
|
|
-suggestion = "base:hasName"
|
|
|
|
|
|
|
+suggestion = "base:hasGUID"
|
|
|
description = "End class relation?"
|
|
description = "End class relation?"
|