Update ARQ urls for Jena 3
This commit is contained in:
parent
6f3f25bddc
commit
5be5260ae7
40 changed files with 42 additions and 42 deletions
|
@ -36,7 +36,7 @@ public class GeoFocusMapLocations extends AbstractAjaxResponder {
|
|||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/> \n"
|
||||
+ "PREFIX vivoc: <http://vivo.library.cornell.edu/ns/0.1#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> "
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> "
|
||||
+ "SELECT DISTINCT ?label ?location (afn:localname(?location) AS ?localName) (COUNT(DISTINCT ?person) AS ?count) \n"
|
||||
+ "WHERE { { \n"
|
||||
+ " ?location rdf:type core:GeographicRegion . \n"
|
||||
|
|
|
@ -66,7 +66,7 @@ public class ManageGrantsForIndividualController extends FreemarkerHttpServlet {
|
|||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
|
||||
+ "PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n"
|
||||
+ "SELECT DISTINCT ?subclass ?role (str(?label2) as ?label) ?activity ?hideThis WHERE { \n"
|
||||
+ " ?subject <http://purl.obolibrary.org/obo/RO_0000053> ?role . \n"
|
||||
+ " ?role a core:ResearcherRole . \n"
|
||||
|
|
|
@ -66,7 +66,7 @@ public class ManagePeopleForOrganizationController extends FreemarkerHttpServlet
|
|||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
|
||||
+ "PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/> \n"
|
||||
+ "SELECT DISTINCT ?subclass ?position ?positionLabel (str(?label) as ?name) ?person ?hideThis WHERE { \n"
|
||||
+ " ?subject core:relatedBy ?position . \n"
|
||||
|
|
|
@ -66,7 +66,7 @@ public class ManagePublicationsForIndividualController extends FreemarkerHttpSer
|
|||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
|
||||
+ "PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n"
|
||||
+ "SELECT DISTINCT ?subclass ?authorship (str(?label) as ?title) ?pub ?hideThis WHERE { \n"
|
||||
+ " ?subject core:relatedBy ?authorship . \n"
|
||||
+ " ?authorship a core:Authorship . \n"
|
||||
|
|
|
@ -352,7 +352,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
|
||||
private static String AUTHORSHIPS_MODEL = " \n"
|
||||
+ "PREFIX core: <http://vivoweb.org/ontology/core#>\n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>\n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#>\n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\n"
|
||||
+ "PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>\n"
|
||||
|
@ -418,7 +418,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
|
||||
private static String AUTHORSHIPS_QUERY = " \n"
|
||||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/> \n"
|
||||
+ "PREFIX vcard: <http://www.w3.org/2006/vcard/ns#> \n"
|
||||
|
|
|
@ -315,7 +315,7 @@ public class AddEditorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
|
||||
private static String EDITORSHIPS_MODEL = ""
|
||||
+ "PREFIX core: <http://vivoweb.org/ontology/core#>\n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>\n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#>\n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\n"
|
||||
+ "CONSTRUCT\n"
|
||||
|
@ -353,7 +353,7 @@ public class AddEditorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
|
||||
private static String EDITORSHIPS_QUERY = ""
|
||||
+ "PREFIX core: <http://vivoweb.org/ontology/core#> \n"
|
||||
+ "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n"
|
||||
+ "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n"
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \n"
|
||||
+ "PREFIX foaf: <http://xmlns.com/foaf/0.1/> \n"
|
||||
+ "SELECT ?editorshipURI (afn:localname(?editorshipURI) AS ?editorshipName) ?editorURI ?editorName ?rank \n"
|
||||
|
|
|
@ -41,7 +41,7 @@ public class QueryConstants {
|
|||
put("vivo", "http://vivo.library.cornell.edu/ns/0.1#");
|
||||
put("geo", "http://aims.fao.org/aos/geopolitical.owl#");
|
||||
put("public", "http://vitro.mannlib.cornell.edu/ns/vitro/public#");
|
||||
put("afn", "http://jena.hpl.hp.com/ARQ/function#");
|
||||
put("afn", "http://jena.apache.org/ARQ/function#");
|
||||
put("vivosocnet", "http://vivo.cns.iu.edu/ns/#");
|
||||
put("obo", "http://purl.obolibrary.org/obo/");
|
||||
put("vcard", "http://www.w3.org/2006/vcard/ns#");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue