diff options
author | Federico Igne <git@federicoigne.com> | 2021-10-03 13:49:59 +0100 |
---|---|---|
committer | Federico Igne <git@federicoigne.com> | 2021-10-03 13:49:59 +0100 |
commit | b290ea110d7bbb3cee6af2fc25b7ce07308b32f4 (patch) | |
tree | 5efc069135f3bd5c332edd66b5e55d493b836949 | |
parent | 7a73dcd98f3a7824572d098889634662a47d6e7c (diff) | |
download | RSAComb-b290ea110d7bbb3cee6af2fc25b7ce07308b32f4.tar.gz RSAComb-b290ea110d7bbb3cee6af2fc25b7ce07308b32f4.zip |
Fix prefix in dependency graph
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala index 9d80dd5..ece6d15 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala | |||
@@ -155,7 +155,7 @@ object Ontology { | |||
155 | RDFoxUtil.addData(data, ttn, datafiles: _*) | 155 | RDFoxUtil.addData(data, ttn, datafiles: _*) |
156 | 156 | ||
157 | /* Build the graph */ | 157 | /* Build the graph */ |
158 | val query = "SELECT ?X ?Y WHERE { ?X rsa:E ?Y }" | 158 | val query = "SELECT ?X ?Y WHERE { ?X rsacomb:E ?Y }" |
159 | val answers = RDFoxUtil.submitQuery(data, query, RSA.Prefixes).get | 159 | val answers = RDFoxUtil.submitQuery(data, query, RSA.Prefixes).get |
160 | var edges: Seq[DiEdge[Resource]] = | 160 | var edges: Seq[DiEdge[Resource]] = |
161 | answers.collect { case (_, Seq(n1, n2)) => n1 ~> n2 } | 161 | answers.collect { case (_, Seq(n1, n2)) => n1 ~> n2 } |