NIHVIVO-3510 modified sparql query builder to manufacture prefixes for any namespaces that need them

This commit is contained in:
brianjlowe 2011-12-15 15:08:17 +00:00
parent 4b8f9c613d
commit 6a8c434a84
2 changed files with 69 additions and 33 deletions

View file

@ -1,12 +1,13 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
var namespaces = {
rdf : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
rdfs : "http://www.w3.org/2000/01/rdf-schema#",
xsd : "http://www.w3.org/2001/XMLSchema#",
owl : "http://www.w3.org/2002/07/owl#",
swrl : "http://www.w3.org/2003/11/swrl#",
swrlb : "http://www.w3.org/2003/11/swrlb#",
vitro : "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
// now handled in GetAllPrefix.java
// rdf : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
// rdfs : "http://www.w3.org/2000/01/rdf-schema#",
// xsd : "http://www.w3.org/2001/XMLSchema#",
// owl : "http://www.w3.org/2002/07/owl#",
// swrl : "http://www.w3.org/2003/11/swrl#",
// swrlb : "http://www.w3.org/2003/11/swrlb#",
// vitro : "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
};
var level = 0;