VIVO-454
This commit is contained in:
parent
15169ca894
commit
c2d24cb74d
3 changed files with 12 additions and 9 deletions
|
@ -68,8 +68,8 @@ public class UtilitiesRequestHandler implements VisualizationRequestHandler {
|
|||
|
||||
|
||||
String filterRule = "?predicate = j.2:mainImage "
|
||||
// + "|| ?predicate = core:preferredTitle "
|
||||
+ "|| ?predicate = rdfs:label";
|
||||
+ " || ?predicate = rdfs:label "
|
||||
+ " || ?predicate = <http://www.w3.org/2006/vcard/ns#title>";
|
||||
|
||||
QueryRunner<GenericQueryMap> profileQueryHandler =
|
||||
new AllPropertiesQueryRunner(individualURI,
|
||||
|
|
|
@ -99,8 +99,11 @@ public class AllPropertiesQueryRunner implements QueryRunner<GenericQueryMap> {
|
|||
+ "SELECT "
|
||||
+ " (str(?predicate) as ?" + QueryFieldLabels.PREDICATE + ") "
|
||||
+ " (str(?object) as ?" + QueryFieldLabels.OBJECT + ") "
|
||||
+ "WHERE { "
|
||||
+ "<" + queryURI + "> ?predicate ?object. "
|
||||
+ "WHERE { {"
|
||||
+ "<" + queryURI + "> ?predicate ?object. }"
|
||||
+ "UNION {<" + queryURI + "> <http://purl.obolibrary.org/obo/ARG_2000028> ?vCard . "
|
||||
+ "?vCard <http://www.w3.org/2006/vcard/ns#hasTitle> ?vTitle . "
|
||||
+ "?vTitle ?predicate ?object . }"
|
||||
+ filterClause
|
||||
+ "}";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue