Fix issue with renamed prefix in SPARQL query for visualisations
This commit is contained in:
parent
7a2d415cfa
commit
da9057ff9b
1 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ public class UtilitiesRequestHandler implements VisualizationRequestHandler {
|
||||||
.equalsIgnoreCase(visMode)) {
|
.equalsIgnoreCase(visMode)) {
|
||||||
|
|
||||||
|
|
||||||
String filterRule = "?predicate = j.2:mainImage "
|
String filterRule = "?predicate = public:mainImage "
|
||||||
+ " || ?predicate = rdfs:label "
|
+ " || ?predicate = rdfs:label "
|
||||||
+ " || ?predicate = <http://www.w3.org/2006/vcard/ns#title>";
|
+ " || ?predicate = <http://www.w3.org/2006/vcard/ns#title>";
|
||||||
|
|
||||||
|
@ -100,9 +100,9 @@ public class UtilitiesRequestHandler implements VisualizationRequestHandler {
|
||||||
fieldLabelToOutputFieldLabel.put("fileName", QueryFieldLabels.THUMBNAIL_FILENAME);
|
fieldLabelToOutputFieldLabel.put("fileName", QueryFieldLabels.THUMBNAIL_FILENAME);
|
||||||
|
|
||||||
String whereClause = "<" + individualURI
|
String whereClause = "<" + individualURI
|
||||||
+ "> j.2:thumbnailImage ?thumbnailImage . "
|
+ "> public:thumbnailImage ?thumbnailImage . "
|
||||||
+ "?thumbnailImage j.2:downloadLocation "
|
+ "?thumbnailImage public:downloadLocation "
|
||||||
+ "?downloadLocation ; j.2:filename ?fileName .";
|
+ "?downloadLocation ; public:filename ?fileName .";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue