Commit 61d5798b authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

specify graph in sparql query

parent 2b66636f
...@@ -858,7 +858,7 @@ public final class SPARQLQueryBuilder { ...@@ -858,7 +858,7 @@ public final class SPARQLQueryBuilder {
public Query relatedResourcesFor(XURI xuri) { public Query relatedResourcesFor(XURI xuri) {
String queryString = "PREFIX : <http://data.deichman.no/ontology#>\n" String queryString = "PREFIX : <http://data.deichman.no/ontology#>\n"
+ "SELECT DISTINCT ?resource WHERE {\n"; + "SELECT DISTINCT ?resource FROM <https://katalog.deichman.no> WHERE {\n";
switch (xuri.getTypeAsEntityType()) { switch (xuri.getTypeAsEntityType()) {
case PERSON: case PERSON:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment