Update ARQ URLs for Jena 3
This commit is contained in:
parent
1c0dcd040c
commit
2efe4b4a87
7 changed files with 8 additions and 8 deletions
|
@ -33,7 +33,7 @@ public class VitroVocabulary {
|
|||
public static final String OWL_ONTOLOGY = OWL+"Ontology";
|
||||
public static final String OWL_THING = OWL+"Thing";
|
||||
|
||||
public static final String AFN = "http://jena.hpl.hp.com/ARQ/function#";
|
||||
public static final String AFN = "http://jena.apache.org/ARQ/function#";
|
||||
|
||||
public static final String label = vitroURI + "label";
|
||||
|
||||
|
|
|
@ -1171,7 +1171,7 @@ public class JenaBaseDao extends JenaBaseDaoCon {
|
|||
|
||||
String describeQueryStr = "DESCRIBE <" + res.getURI() + ">" ;
|
||||
|
||||
// ? "PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n\n" +
|
||||
// ? "PREFIX afn: <http://jena.apache.org/ARQ/function#> \n\n" +
|
||||
// "DESCRIBE ?bnode \n" +
|
||||
// "WHERE { \n" +
|
||||
// " FILTER(afn:bnode(?bnode) = \"" + res.getId().toString() + "\")\n" +
|
||||
|
|
|
@ -262,7 +262,7 @@ public class JenaModelUtils {
|
|||
dataset.getLock().enterCriticalSection(Lock.READ);
|
||||
try {
|
||||
StringBuffer buff = new StringBuffer();
|
||||
buff.append("PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n")
|
||||
buff.append("PREFIX afn: <http://jena.apache.org/ARQ/function#> \n")
|
||||
.append("CONSTRUCT { \n")
|
||||
.append(" ?res <" + property.getURI() + "> ?o } WHERE { \n");
|
||||
if (graphURI != null) {
|
||||
|
@ -294,7 +294,7 @@ public class JenaModelUtils {
|
|||
|
||||
StringBuffer describeQueryStrBuff = new StringBuffer()
|
||||
.append("PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n")
|
||||
.append("PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> \n")
|
||||
.append("PREFIX afn: <http://jena.apache.org/ARQ/function#> \n")
|
||||
.append("DESCRIBE ?res WHERE { \n");
|
||||
if (graphURI != null) {
|
||||
describeQueryStrBuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue