Remove unneeded GRAPH variables from queries used to generate property list on individual profile page
This commit is contained in:
parent
cdd8b0b91d
commit
7f679af874
3 changed files with 5 additions and 7 deletions
|
@ -86,8 +86,8 @@ public class DataPropertyDaoJena extends PropertyDaoJena implements
|
|||
protected static final String DATA_PROPERTY_QUERY_STRING =
|
||||
prefixes + "\n" +
|
||||
"SELECT DISTINCT ?property WHERE { \n" +
|
||||
" GRAPH ?g1 { ?subject ?property ?object } \n" +
|
||||
" GRAPH ?g2 { ?property rdf:type owl:DatatypeProperty } \n" +
|
||||
" ?subject ?property ?object . \n" +
|
||||
" ?property rdf:type owl:DatatypeProperty . \n" +
|
||||
propertyFilters +
|
||||
"}";
|
||||
|
||||
|
|
|
@ -44,9 +44,7 @@ public class DataPropertyStatementDaoJena extends JenaBaseDao implements DataPro
|
|||
|
||||
protected static final String DATA_PROPERTY_VALUE_QUERY_STRING =
|
||||
"SELECT ?value WHERE { \n" +
|
||||
" GRAPH ?g {\n" +
|
||||
" ?subject ?property ?value . \n" +
|
||||
" }\n" +
|
||||
" ?subject ?property ?value . \n" +
|
||||
"}";
|
||||
|
||||
static protected Query dataPropertyValueQuery;
|
||||
|
|
|
@ -80,8 +80,8 @@ public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectProp
|
|||
protected static final String OBJECT_PROPERTY_QUERY_STRING =
|
||||
prefixes + "\n" +
|
||||
"SELECT DISTINCT ?property WHERE { \n" +
|
||||
" GRAPH ?g1 { ?subject ?property ?object } \n" +
|
||||
" GRAPH ?g2 { ?property rdf:type owl:ObjectProperty } \n" +
|
||||
" ?subject ?property ?object . \n" +
|
||||
" ?property rdf:type owl:ObjectProperty . \n" +
|
||||
propertyFilters +
|
||||
"}";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue