|
@@ -80,11 +80,11 @@ const typeToLinkType = new Map([
|
|
|
query: "formalisms/cs_as#renderedAs",
|
|
|
name: "Is rendered as",
|
|
|
}],
|
|
|
- ["base/ftg#Transformation", {
|
|
|
+ ["formalisms/ftg#Transformation", {
|
|
|
query: "formalisms/pm#occursAsActivity",
|
|
|
name: "Occurs as activity",
|
|
|
}],
|
|
|
- ["base/ftg#Formalism", {
|
|
|
+ ["formalisms/ftg#Formalism", {
|
|
|
query: "formalisms/pm#occursAsArtifact",
|
|
|
name: "Occurs as artifact",
|
|
|
}],
|
|
@@ -109,7 +109,10 @@ function executeSPARQL(query) {
|
|
|
body,
|
|
|
})
|
|
|
.then(res => res.json())
|
|
|
- .then(json => json.results.bindings)
|
|
|
+ .then(json => {
|
|
|
+ console.log("Query:\n", query, "\n\nResult:", json.results.bindings);
|
|
|
+ return json.results.bindings;
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const defaultSettings = {
|