VIVO-669: remove ARQ functions substring and now

Still need to find replacement for localname and namespace
This commit is contained in:
Patrick McElwee 2015-06-25 14:41:36 -04:00
parent 46695e9ba2
commit 517d97ba91
28 changed files with 18 additions and 44 deletions

View file

@ -68,7 +68,7 @@ public class OrganizationToGrantsForSubOrganizationsModelConstructor implements
+ " ?Grant rdf:type core:Grant . "
+ " ?Grant rdfs:label ?grantLabel . "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnGrantsQuery = ""
@ -103,7 +103,7 @@ public class OrganizationToGrantsForSubOrganizationsModelConstructor implements
// + " ?endDateForGrant core:dateTime ?endDateTimeValueForGrant "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnRolesQuery = ""
@ -138,7 +138,7 @@ public class OrganizationToGrantsForSubOrganizationsModelConstructor implements
// + " ?endDate core:dateTime ?endDateTimeValue . "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
differentPerspectiveQueries.add(justGrantsQuery);

View file

@ -75,7 +75,7 @@ public class OrganizationToPublicationsForSubOrganizationsModelConstructor imple
+ " ?journal rdfs:label ?journalLabel . "
+ " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
}

View file

@ -57,7 +57,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
+ " ?Grant rdf:type core:Grant . "
+ " ?Grant rdfs:label ?grantLabel . "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnGrantsQuery = ""
@ -83,7 +83,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
// + " ?endDateForGrant core:dateTime ?endDateTimeValueForGrant "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnRolesQuery = ""
@ -109,7 +109,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
// + " ?endDate core:dateTime ?endDateTimeValue . "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
differentPerspectiveQueries.add(justGrantsQuery);

View file

@ -65,7 +65,7 @@ public class PeopleToPublicationsModelConstructor implements ModelConstructor {
+ " ?journal rdfs:label ?journalLabel . "
+ " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
}

View file

@ -60,7 +60,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
+ " ?Grant rdf:type core:Grant . "
+ " ?Grant rdfs:label ?grantLabel . "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnGrantsQuery = ""
@ -86,7 +86,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
// + " ?endDateForGrant core:dateTime ?endDateTimeValueForGrant "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
String justDateTimeOnRolesQuery = ""
@ -112,7 +112,7 @@ private Set<String> constructPersonGrantsQueryTemplate(String constructProperty,
// + " ?endDate core:dateTime ?endDateTimeValue . "
// + " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
differentPerspectiveQueries.add(justGrantsQuery);

View file

@ -67,7 +67,7 @@ public class PersonToPublicationsModelConstructor implements ModelConstructor {
+ " ?journal rdfs:label ?journalLabel . "
+ " } "
+ " "
+ " LET(?now := afn:now()) "
+ " LET(?now := now()) "
+ " } ";
}