diff --git a/config-optic/databaseconfig.sjs b/config-optic/databaseconfig.sjs
deleted file mode 100755
index 1648cc21..00000000
--- a/config-optic/databaseconfig.sjs
+++ /dev/null
@@ -1,36 +0,0 @@
-var admin = require("/MarkLogic/admin.xqy");
-var config = admin.getConfiguration();
-var dbid = xdmp.database("nodeOpticFunctionalTest");
-var modDbId = xdmp.database("nodeOpticFunctionalTestModules");
-
-var cityIndex = admin.databaseRangeElementIndex("string", "", "city", "http://marklogic.com/collation/", fn.false());
-var popularityIndex = admin.databaseRangeElementIndex("int", "", "popularity", "", fn.false());
-var distanceIndex = admin.databaseRangeElementIndex("double", "", "distance", "", fn.false());
-var dateIndex = admin.databaseRangeElementIndex("date", "", "date", "", fn.false());
-var cityLexicon = admin.databaseElementWordLexicon("", "city", "http://marklogic.com/collation/");
-var geoIndex = admin.databaseGeospatialElementIndex("", "latLonPoint", "wgs84", fn.false());
-var idIndex = admin.databaseRangeElementIndex("int", "", "id", "", fn.false());
-
-var cityNameIndex = admin.databaseRangeElementIndex("string", "", "cityName", "http://marklogic.com/collation/", fn.false());
-var cityTeamIndex = admin.databaseRangeElementIndex("string", "", "cityTeam", "http://marklogic.com/collation/", fn.false());
-var cityPopulationIndex = admin.databaseRangeElementIndex("long", "", "cityPopulation", "", fn.false());
-
-config = admin.databaseAddRangeElementIndex(config, dbid, cityIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, popularityIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, distanceIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, dateIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, idIndex);
-
-config = admin.databaseAddRangeElementIndex(config, dbid, cityNameIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, cityTeamIndex);
-config = admin.databaseAddRangeElementIndex(config, dbid, cityPopulationIndex);
-
-config = admin.databaseAddElementWordLexicon(config, dbid, cityLexicon);
-config = admin.databaseAddGeospatialElementIndex(config, dbid, geoIndex);
-config = admin.databaseSetTripleIndex(config, dbid, fn.true());
-config = admin.databaseSetCollectionLexicon(config, dbid, fn.true());
-config = admin.databaseSetUriLexicon(config, dbid, fn.true());
-
-config = admin.databaseSetSchemaDatabase(config, dbid, modDbId);
-
-admin.saveConfiguration(config);
diff --git a/config-optic/loaddata.js b/config-optic/loaddata.js
deleted file mode 100755
index 51f16580..00000000
--- a/config-optic/loaddata.js
+++ /dev/null
@@ -1,173 +0,0 @@
-'use strict';
-
-var fs = require('fs');
-
-var moduleFiles = [
- {
- uri:'/optic/view/test/masterDetail.tdex',
- collections:['http://marklogic.com/xdmp/tde'],
- contentType:'application/vnd.marklogic-tde+xml',
- content:fs.createReadStream('./config-optic/qa-data/masterDetail.tdex')
- },
- {
- uri:'/optic/view/test/masterDetail2.tdej',
- collections:['http://marklogic.com/xdmp/tde'],
- contentType:'application/vnd.marklogic-tde+json',
- content:fs.createReadStream('./config-optic/qa-data/masterDetail2.tdej')
- },
- {
- uri:'/optic/view/test/masterDetail3.tdej',
- collections:['http://marklogic.com/xdmp/tde'],
- contentType:'application/vnd.marklogic-tde+json',
- content:fs.createReadStream('./config-optic/qa-data/masterDetail3.tdej')
- },
- {
- uri:'/optic/view/test/masterDetail4.tdej',
- collections:['http://marklogic.com/xdmp/tde'],
- contentType:'application/vnd.marklogic-tde+json',
- content:fs.createReadStream('./config-optic/qa-data/masterDetail4.tdej')
- },
- {
- uri:'/optic/test/mapperReducer.sjs',
- contentType:'application/vnd.marklogic-javascript',
- content:fs.createReadStream('./config-optic/qa-data/mapperReducer.sjs')
- }
-];
-
-var dataFiles = [
- {
- uri:'/optic/view/test/masterDetail.xml',
- collections:['/optic/view/test'],
- content:fs.createReadStream('./config-optic/qa-data/masterDetail.xml')
- },{
- uri:'/optic/view/test/masterDetail2.json',
- collections:['/optic/view/test'],
- content:fs.createReadStream('./config-optic/qa-data/masterDetail2.json')
- },{
- uri:'/optic/view/test/masterDetail3.json',
- collections:['/optic/view/test'],
- content:fs.createReadStream('./config-optic/qa-data/masterDetail3.json')
- },{
- uri:'/optic/view/test/masterDetail4.json',
- collections:['/optic/view/test'],
- content:fs.createReadStream('./config-optic/qa-data/masterDetail4.json')
- },{
- uri:'/optic/view/test/masterDetail5.json',
- collections:['/optic/view/test'],
- content:fs.createReadStream('./config-optic/qa-data/masterDetail5.json')
- },{
- uri:'/optic/triple/test/playerTripleSet.xml',
- collections:['/optic/player/triple/test'],
- content:fs.createReadStream('./config-optic/qa-data/playerTripleSet.xml')
- },{
- uri:'/optic/triple/test/teamTripleSet.xml',
- collections:['/optic/team/triple/test'],
- content:fs.createReadStream('./config-optic/qa-data/teamTripleSet.xml')
- },{
- uri:'/optic/triple/test/duplicatePlayerTripleSet.xml',
- collections:['/optic/player/triple/test'],
- content:fs.createReadStream('./config-optic/qa-data/playerTripleSet.xml')
- },{
- uri:'/optic/triple/test/duplicateTeamTripleSet.xml',
- collections:['/optic/team/triple/test'],
- content:fs.createReadStream('./config-optic/qa-data/teamTripleSet.xml')
- },{
- uri:'/optic/triple/test/otherPlayerTripleSet.xml',
- collections:['/optic/other/player/triple/test'],
- content:fs.createReadStream('./config-optic/qa-data/otherPlayerTripleSet.xml')
- },{
- uri:'/optic/lexicon/test/doc1.json',
- collections:['/optic/lexicon/test', '/other/coll1', '/other/coll2'],
- content:fs.createReadStream('./config-optic/qa-data/doc1.json')
- },{
- uri:'/optic/lexicon/test/doc2.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/doc2.json')
- },{
- uri:'/optic/lexicon/test/doc3.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/doc3.json')
- },{
- uri:'/optic/lexicon/test/doc4.xml',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/doc4.xml')
- },{
- uri:'/optic/lexicon/test/doc5.xml',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/doc5.xml')
- },{
- uri:'/optic/lexicon/test/city1.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/city1.json')
- },{
- uri:'/optic/lexicon/test/city2.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/city2.json')
- },{
- uri:'/optic/lexicon/test/city3.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/city3.json')
- },{
- uri:'/optic/lexicon/test/city4.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/city4.json')
- },{
- uri:'/optic/lexicon/test/city5.json',
- collections:['/optic/lexicon/test'],
- content:fs.createReadStream('./config-optic/qa-data/city5.json')
- },{
- uri:'/optic/plan/test/planViews.json',
- collections:['/optic/plan/test'],
- content:fs.createReadStream('./config-optic/qa-data/planViews.json')
- },{
- uri:'/optic/plan/test/planLexicons.json',
- collections:['/optic/plan/test'],
- content:fs.createReadStream('./config-optic/qa-data/planLexicons.json')
- },{
- uri:'/optic/plan/test/planTriples.json',
- collections:['/optic/plan/test'],
- content:fs.createReadStream('./config-optic/qa-data/planTriples.json')
- },{
- uri:'/optic/sparql/test/dedupdoc1.xml',
- collections:['/optic/plan/test'],
- content:fs.createReadStream('./config-optic/qa-data/dedupdoc1.xml')
- }];
-
-var graphFiles1 = [
- {
- uri: '/optic/sparql/test/people.ttl',
- contentType: 'text/turtle',
- data: fs.createReadStream('./config-optic/qa-data/people.ttl')
- }
-];
-
-var graphFiles2 = [
- {
- uri: '/optic/sparql/test/companies.ttl',
- contentType: 'text/turtle',
- data: fs.createReadStream('./config-optic/qa-data/companies_100.ttl')
- }
-];
-
-function writeDocuments(db) {
- return db.documents.write(dataFiles);
-}
-
-function writeDocumentsToMod(db) {
- return db.documents.write(moduleFiles);
-}
-
-function writeGraphs1(db) {
- return db.graphs.write(graphFiles1);
-}
-
-function writeGraphs2(db) {
- return db.graphs.write(graphFiles2);
-}
-
-module.exports = {
- writeDocuments: writeDocuments,
- writeDocumentsToMod: writeDocumentsToMod,
- writeGraphs1: writeGraphs1,
- writeGraphs2: writeGraphs2
-};
diff --git a/config-optic/loadtde.xqy b/config-optic/loadtde.xqy
deleted file mode 100644
index 7ad2bc38..00000000
--- a/config-optic/loadtde.xqy
+++ /dev/null
@@ -1,54 +0,0 @@
-xquery version "1.0-ml";
-
-let $evalStr :=
-'
-xquery version "1.0-ml";
-xdmp:document-insert("/optic/view/test/masterDetail.tde",
-
- /sets
-
-
- masterSet/master
-
-
- opticFunctionalTest
- master
-
- idintid
- namestringname
- datedatedate
-
-
-
-
-
- detailSet/detail
-
-
- opticFunctionalTest
- detail
-
- idintid
- namestringname
- masterIdintmasterId
- amountdoubleamount
- colorstringcolor
-
-
-
-
-
-,
-(xdmp:permission("rest-evaluator", "update")),
-"http://marklogic.com/xdmp/tde",
-()
-)'
-
-return
-xdmp:eval(
- $evalStr,
- (),
-
- {xdmp:database("nodeOpticFunctionalTestModules")}
-
-);
diff --git a/config-optic/myload.js b/config-optic/myload.js
deleted file mode 100644
index 37b0df03..00000000
--- a/config-optic/myload.js
+++ /dev/null
@@ -1,25 +0,0 @@
-'use strict';
-
-var util = require('util');
-
-var fs = require('fs');
-
-var marklogic = require('marklogic');
-var testlib = require('./testlib.js');
-
-var clientConnectdef = require('./connectdef.js');
-var testName = clientConnectdef.name;
-var planServerdef = clientConnectdef.plan;
-
-var testLoad = require('./loaddata.js');
-var testUser = require('./userconfig.js');
-
-var db = marklogic.createDatabaseClient({
- host: planServerdef.host,
- port: planServerdef.port,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
-});
-
-testLoad.writeDocuments(db);
diff --git a/config-optic/qa-data/city1.json b/config-optic/qa-data/city1.json
deleted file mode 100755
index 8388cedb..00000000
--- a/config-optic/qa-data/city1.json
+++ /dev/null
@@ -1,6 +0,0 @@
-
-{
- "cityName": "london",
- "cityTeam": "arsenal",
- "cityPopulation": 2000000
-}
diff --git a/config-optic/qa-data/city2.json b/config-optic/qa-data/city2.json
deleted file mode 100755
index c0a37c3d..00000000
--- a/config-optic/qa-data/city2.json
+++ /dev/null
@@ -1,6 +0,0 @@
-
-{
- "cityName": "new york",
- "cityTeam": "yankee",
- "cityPopulation": 11000000
-}
diff --git a/config-optic/qa-data/city3.json b/config-optic/qa-data/city3.json
deleted file mode 100755
index 9f18b122..00000000
--- a/config-optic/qa-data/city3.json
+++ /dev/null
@@ -1,6 +0,0 @@
-
-{
- "cityName": "new jersey",
- "cityTeam": "nets",
- "cityPopulation": 3000000
-}
diff --git a/config-optic/qa-data/city4.json b/config-optic/qa-data/city4.json
deleted file mode 100755
index 5640ea7d..00000000
--- a/config-optic/qa-data/city4.json
+++ /dev/null
@@ -1,6 +0,0 @@
-
-{
- "cityName": "beijing",
- "cityTeam": "ducks",
- "cityPopulation": 55000000
-}
diff --git a/config-optic/qa-data/city5.json b/config-optic/qa-data/city5.json
deleted file mode 100755
index 3814c03c..00000000
--- a/config-optic/qa-data/city5.json
+++ /dev/null
@@ -1,6 +0,0 @@
-
-{
- "cityName": "cape town",
- "cityTeam": "pirates",
- "cityPopulation": 650000
-}
diff --git a/config-optic/qa-data/companies_100.ttl b/config-optic/qa-data/companies_100.ttl
deleted file mode 100755
index 605112c7..00000000
--- a/config-optic/qa-data/companies_100.ttl
+++ /dev/null
@@ -1,1804 +0,0 @@
-@prefix demor: .
-@prefix demov: .
-@prefix vcard: .
-
-
-##company 1
-demor:COMPANY001 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 12000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 2
-demor:COMPANY002 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "San Jose";
- vcard:region "New York";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 3
-demor:COMPANY003 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 1000000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 4
-demor:COMPANY004 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 8;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Menlo Park";
- vcard:region "Arizona";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 5
-demor:COMPANY005 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 347852766;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Menlo Park";
- vcard:region "Texas";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 6
-demor:COMPANY006 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 2300450;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "San Jose";
- vcard:region "North Dakota";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 7
-demor:COMPANY007 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 8;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Menlo Park";
- vcard:region "Nevada";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 8
-demor:COMPANY008 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 347852766;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "North Carolina";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 9
-demor:COMPANY009 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 300000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Atherton";
- vcard:region "Texas";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 10
-demor:COMPANY010 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 15000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Menlo Park";
- vcard:region "New York";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 11
-demor:COMPANY011 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 1000000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 12
-demor:COMPANY012 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 347852766;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Atherton";
- vcard:region "North Carolina";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 13
-demor:COMPANY013 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 1000000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "North Carolina";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 14
-demor:COMPANY014 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 347852766;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "North Dakota";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 15
-demor:COMPANY015 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 12000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Menlo Park";
- vcard:region "North Dakota";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 16
-demor:COMPANY016 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 15000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 17
-demor:COMPANY017 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 100000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Redwood City";
- vcard:region "Texas";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 18
-demor:COMPANY018 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 19
-demor:COMPANY019 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 12000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 20
-demor:COMPANY020 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 10000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Atherton";
- vcard:region "Arizona";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 21
-demor:COMPANY021 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 15000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 22
-demor:COMPANY022 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Atherton";
- vcard:region "North Dakota";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 23
-demor:COMPANY023 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 15000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Menlo Park";
- vcard:region "Arizona";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 24
-demor:COMPANY024 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 12000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "North Dakota";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 25
-demor:COMPANY025 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 8;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 26
-demor:COMPANY026 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 10000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "San Jose";
- vcard:region "North Carolina";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 27
-demor:COMPANY027 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 15000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Atherton";
- vcard:region "North Carolina";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 28
-demor:COMPANY028 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 2300450;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Atherton";
- vcard:region "Arizona";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 29
-demor:COMPANY029 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 347852766;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Atherton";
- vcard:region "Nevada";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 30
-demor:COMPANY030 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 15000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 31
-demor:COMPANY031 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "Arizona";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 32
-demor:COMPANY032 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 347852766;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 33
-demor:COMPANY033 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 8;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "Arizona";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 34
-demor:COMPANY034 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 15000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "Nevada";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 35
-demor:COMPANY035 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 10000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Menlo Park";
- vcard:region "Nevada";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 36
-demor:COMPANY036 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 300000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 37
-demor:COMPANY037 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 10000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Atherton";
- vcard:region "Arizona";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 38
-demor:COMPANY038 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 300000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Atherton";
- vcard:region "Texas";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 39
-demor:COMPANY039 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "Nevada";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 40
-demor:COMPANY040 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 15000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 41
-demor:COMPANY041 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 300000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "New York";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 42
-demor:COMPANY042 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Atherton";
- vcard:region "Nevada";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 43
-demor:COMPANY043 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "San Jose";
- vcard:region "California";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 44
-demor:COMPANY044 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 10000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "North Dakota";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 45
-demor:COMPANY045 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 15000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Redwood City";
- vcard:region "Arizona";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 46
-demor:COMPANY046 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 300000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Atherton";
- vcard:region "California";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 47
-demor:COMPANY047 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 100000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 48
-demor:COMPANY048 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 100000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 49
-demor:COMPANY049 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 347852766;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Redwood City";
- vcard:region "North Carolina";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 50
-demor:COMPANY050 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 347852766;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 51
-demor:COMPANY051 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Menlo Park";
- vcard:region "Texas";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 52
-demor:COMPANY052 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 12000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Menlo Park";
- vcard:region "Arizona";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 53
-demor:COMPANY053 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 347852766;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 54
-demor:COMPANY054 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 55
-demor:COMPANY055 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 15000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "North Dakota";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 56
-demor:COMPANY056 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 347852766;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "New York";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 57
-demor:COMPANY057 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 58
-demor:COMPANY058 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 59
-demor:COMPANY059 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 15000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "San Jose";
- vcard:region "California";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 60
-demor:COMPANY060 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 61
-demor:COMPANY061 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "Texas";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 62
-demor:COMPANY062 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 15000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "Nevada";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 63
-demor:COMPANY063 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 100000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "New York";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 64
-demor:COMPANY064 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 12000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "San Jose";
- vcard:region "North Dakota";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 65
-demor:COMPANY065 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 2300450;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Atherton";
- vcard:region "North Carolina";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 66
-demor:COMPANY066 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Atherton";
- vcard:region "Nevada";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 67
-demor:COMPANY067 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 8;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 68
-demor:COMPANY068 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 300000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Atherton";
- vcard:region "Texas";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 69
-demor:COMPANY069 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 12000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Redwood City";
- vcard:region "Arizona";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 70
-demor:COMPANY070 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 2300450;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Menlo Park";
- vcard:region "New York";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 71
-demor:COMPANY071 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 8;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 72
-demor:COMPANY072 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 1000000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 73
-demor:COMPANY073 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "Texas";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 74
-demor:COMPANY074 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 15000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 75
-demor:COMPANY075 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 10000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "Nevada";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 76
-demor:COMPANY076 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 300000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Atherton";
- vcard:region "New York";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 77
-demor:COMPANY077 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 12000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Japan";
- vcard:locality "Redwood City";
- vcard:region "Nevada";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 78
-demor:COMPANY078 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 8;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 79
-demor:COMPANY079 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 80
-demor:COMPANY080 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 15000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Redwood City";
- vcard:region "California";
- vcard:postal-code "22222";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 81
-demor:COMPANY081 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 347852766;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "China";
- vcard:locality "Menlo Park";
- vcard:region "Arizona";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 82
-demor:COMPANY082 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 15000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "San Jose";
- vcard:region "Texas";
- vcard:postal-code "66666";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 83
-demor:COMPANY083 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 84
-demor:COMPANY084 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "San Jose";
- vcard:region "California";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 85
-demor:COMPANY085 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 347852766;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Atherton";
- vcard:region "Texas";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 86
-demor:COMPANY086 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 1000000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "San Jose";
- vcard:region "New York";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 87
-demor:COMPANY087 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 10000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Atherton";
- vcard:region "California";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 88
-demor:COMPANY088 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 100000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 89
-demor:COMPANY089 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 100000000;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "33333";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 90
-demor:COMPANY090 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 10000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CTO";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "San Jose";
- vcard:region "Arizona";
- vcard:postal-code "88888";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 91
-demor:COMPANY091 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 10000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "Italy";
- vcard:locality "Menlo Park";
- vcard:region "North Carolina";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 92
-demor:COMPANY092 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 100000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "President";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "New York";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 93
-demor:COMPANY093 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 12000000;
- demov:employees 10500;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "Germany";
- vcard:locality "Menlo Park";
- vcard:region "North Carolina";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 94
-demor:COMPANY094 a vcard:Organization;
- demov:listed "true";
- demov:industry "Financial Services";
- demov:sales 8;
- demov:employees 12;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "Mary Hodges";
- ];
- vcard:hasAddress [
- vcard:country-name "UK";
- vcard:locality "Menlo Park";
- vcard:region "California";
- vcard:postal-code "44444";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 95
-demor:COMPANY095 a vcard:Organization;
- demov:listed "true";
- demov:industry "Healthcare/Life Sciences";
- demov:sales 12000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "Nevada";
- vcard:postal-code "55555";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 96
-demor:COMPANY096 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 100000000;
- demov:employees 256;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Redwood City";
- vcard:region "North Dakota";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 97
-demor:COMPANY097 a vcard:Organization;
- demov:listed "true";
- demov:industry "Industrial Goods";
- demov:sales 347852766;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "India";
- vcard:locality "Redwood City";
- vcard:region "Nevada";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 98
-demor:COMPANY098 a vcard:Organization;
- demov:listed "true";
- demov:industry "Other";
- demov:sales 300000000;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CFO";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Menlo Park";
- vcard:region "Arizona";
- vcard:postal-code "11111";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 99
-demor:COMPANY099 a vcard:Organization;
- demov:listed "true";
- demov:industry "Business/Consumer Service";
- demov:sales 300000000;
- demov:employees 22647;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "CEO";
- vcard:hasEmail ;
- vcard:fn "Joe Brown";
- ];
- vcard:hasAddress [
- vcard:country-name "USA";
- vcard:locality "Atherton";
- vcard:region "Arizona";
- vcard:postal-code "77777";
- vcard:street-address "1 Infinite Loop" ].
-
-##company 100
-demor:COMPANY100 a vcard:Organization;
- demov:listed "true";
- demov:industry "Retail/Wholesale";
- demov:sales 2300450;
- demov:employees 9450;
- demov:hasExecutive [ a vcard:Individual;
- vcard:hasTitle "Director of IT";
- vcard:hasEmail ;
- vcard:fn "John Smith";
- ];
- vcard:hasAddress [
- vcard:country-name "France";
- vcard:locality "Atherton";
- vcard:region "New York";
- vcard:postal-code "99999";
- vcard:street-address "1 Infinite Loop" ].
diff --git a/config-optic/qa-data/dedupdoc1.xml b/config-optic/qa-data/dedupdoc1.xml
deleted file mode 100644
index 5cde4807..00000000
--- a/config-optic/qa-data/dedupdoc1.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
- world
-
-
- http://marklogicsparql.com/id#5555
- http://marklogicsparql.com/addressbook#firstName
- Jim
-
-
- http://marklogicsparql.com/id#5555
- http://marklogicsparql.com/addressbook#firstName
- Jim
-
-
-
\ No newline at end of file
diff --git a/config-optic/qa-data/doc1.json b/config-optic/qa-data/doc1.json
deleted file mode 100755
index 38fa8e56..00000000
--- a/config-optic/qa-data/doc1.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "city":"london",
- "distance":50.4,
- "date":"2007-01-01",
- "metro":true,
- "description":"Two recent discoveries indicate probable very early settlements near the Thames",
- "popularity":5,
- "location":{
- "latLonPoint":"51.50, -0.12",
- "latLonPair":{
- "lat":51.5,
- "long":-0.12
- },
- "latLonParent":{
- "latLonChild":"51.50, -0.12"
- }
- }
-}
\ No newline at end of file
diff --git a/config-optic/qa-data/doc2.json b/config-optic/qa-data/doc2.json
deleted file mode 100755
index c7345198..00000000
--- a/config-optic/qa-data/doc2.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "city":"new york",
- "distance":23.3,
- "date":"2006-06-23",
- "metro":true,
- "description":"Henry Hudsons 1609 voyage marked the beginning of European involvement with the area",
- "popularity":5,
- "location":{
- "latLonPoint":"40.71, -74.01",
- "latLonPair":{
- "lat":40.71,
- "long":-74.01
- },
- "latLonParent":{
- "latLonChild":"40.71, -74.01"
- }
- }
-}
\ No newline at end of file
diff --git a/config-optic/qa-data/doc3.json b/config-optic/qa-data/doc3.json
deleted file mode 100755
index 2bd7df87..00000000
--- a/config-optic/qa-data/doc3.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "city":"new jersey",
- "distance":12.9,
- "date":"1971-12-23",
- "metro":false,
- "description":"American forces under Washington met the forces under General Henry Clinton",
- "popularity":2,
- "location":{
- "latLonPoint":"40.72, -74.07",
- "latLonPair":{
- "lat":40.72,
- "long":-74.07
- },
- "latLonParent":{
- "latLonChild":"40.72, -74.07"
- }
- }
-}
\ No newline at end of file
diff --git a/config-optic/qa-data/doc4.xml b/config-optic/qa-data/doc4.xml
deleted file mode 100755
index 8431dfa5..00000000
--- a/config-optic/qa-data/doc4.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
- beijing
- 134.5
- 1981-11-09
- true
- The Miyun Reservoir, on the upper reaches of the Chaobai River, is the largest reservoir within the municipality
- 5
-
- 39.90,116.40
-
- 39.90,116.40
-
-
- 39.90
- 116.40
-
-
-
-
\ No newline at end of file
diff --git a/config-optic/qa-data/doc5.xml b/config-optic/qa-data/doc5.xml
deleted file mode 100755
index 8576dba9..00000000
--- a/config-optic/qa-data/doc5.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
- cape town
- 377.9
- 1999-04-22
- true
- The earliest known remnants in the region were found at Peers cave in Fish Hoek
- 3
-
- -33.91,18.42
-
- -33.91,18.42
-
-
- -33.91
- 18.42
-
-
-
-
\ No newline at end of file
diff --git a/config-optic/qa-data/mapperReducer.sjs b/config-optic/qa-data/mapperReducer.sjs
deleted file mode 100644
index c7aed2a7..00000000
--- a/config-optic/qa-data/mapperReducer.sjs
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2020 MarkLogic Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-'use strict';
-
-function arrayMapper(row) {
- const result = row.concat();
- result.push((typeof result[0] === 'string') ? 'seconds' :
- fn.floor(fn.secondsFromDateTime(fn.currentDateTime()))
- );
- return result;
-}
-
-function colorIdMapper(row) {
- const result = row;
- switch(result.myColorId) {
- case 1:
- result.myColorId = 'RED';
- break;
- case 2:
- result.myColorId = 'BLUE';
- break;
- case 3:
- result.myColorId = 'YELLOW';
- break;
- case 4:
- result.myColorId = 'BLACK';
- break;
- default:
- result.myColorId = 'NO COLOR';
- }
- return result;
-}
-
-function arrayReducer(previous, row) {
- const val = (previous === void 0) ? 0 : previous + row[0];
- return val;
-}
-
-function fibReducer(previous, row) {
- const i = Array.isArray(previous) ? previous.length : 0;
- const result = row;
- result.i = i;
- switch(i) {
- case 0:
- result.fib = 0;
- break;
- case 1:
- result.fib = 1;
- break;
- default:
- result.fib = previous[i - 2].fib + previous[i - 1].fib;
- break;
- }
- if (previous === void 0) {
- previous = [result];
- } else {
- previous.push(result);
- }
- return previous;
-}
-
-function ageMapper(row) {
- const result = row;
- if(result.player_age < 21)
- result.player_age = 'rookie';
- else if(result.player_age > 21 && result.player_age < 30)
- result.player_age = 'premium';
- else
- result.player_age = 'veteran';
- return result;
-}
-
-module.exports = {
- arrayMapper: arrayMapper,
- colorIdMapper: colorIdMapper,
- ageMapper: ageMapper,
- arrayReducer: arrayReducer,
- fibReducer: fibReducer
-};
diff --git a/config-optic/qa-data/masterDetail.tdex b/config-optic/qa-data/masterDetail.tdex
deleted file mode 100755
index 4f479c01..00000000
--- a/config-optic/qa-data/masterDetail.tdex
+++ /dev/null
@@ -1,35 +0,0 @@
-
- /sets
-
-
- masterSet/master
-
-
- opticFunctionalTest
- master
-
- idintid
- namestringname
- datedatedate
-
-
-
-
-
- detailSet/detail
-
-
- opticFunctionalTest
- detail
-
- idintid
- namestringname
- masterIdintmasterId
- amountdoubleamount
- colorstringcolor
-
-
-
-
-
-
diff --git a/config-optic/qa-data/masterDetail.xml b/config-optic/qa-data/masterDetail.xml
deleted file mode 100755
index 412f27e8..00000000
--- a/config-optic/qa-data/masterDetail.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- 1
- Master 1
- 2015-12-01
-
-
- 2
- Master 2
- 2015-12-02
-
-
-
-
- 1
- Detail 1
- 1
- 10.01
- blue
-
-
- 2
- Detail 2
- 2
- 20.02
- blue
-
-
- 3
- Detail 3
- 1
- 30.03
- blue
-
-
- 4
- Detail 4
- 2
- 40.04
- green
-
-
- 5
- Detail 5
- 1
- 50.05
- green
-
-
- 6
- Detail 6
- 2
- 60.06
- green
-
-
-
-
diff --git a/config-optic/qa-data/masterDetail2.json b/config-optic/qa-data/masterDetail2.json
deleted file mode 100755
index c11cccf2..00000000
--- a/config-optic/qa-data/masterDetail2.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "sets2": {
- "masterSet": {
- "master": [
- {
- "id": "3",
- "name": "Master 3",
- "date": "2016-03-01"
- },
- {
- "id": "4",
- "name": "Master 4",
- "date": "2016-05-25"
- }
- ]
- },
- "detailSet": {
- "detail": [
- {
- "id": "7",
- "name": "Detail 7",
- "masterId": "3",
- "amount": "64.33",
- "color": "red"
- },
- {
- "id": "8",
- "name": "Detail 8",
- "masterId": "4",
- "amount": "89.36",
- "color": "blue"
- },
- {
- "id": "9",
- "name": "Detail 9",
- "masterId": "1",
- "amount": "72.90",
- "color": "yellow"
- },
- {
- "id": "10",
- "name": "Detail 10",
- "masterId": "2",
- "amount": "30.26",
- "color": "black"
- },
- {
- "id": "11",
- "name": "Detail 11",
- "masterId": "3",
- "amount": "82.04",
- "color": "green"
- },
- {
- "id": "12",
- "name": "Detail 12",
- "masterId": "1",
- "amount": "25.86",
- "color": "red"
- }
- ]
- }
- }
-}
diff --git a/config-optic/qa-data/masterDetail2.tdej b/config-optic/qa-data/masterDetail2.tdej
deleted file mode 100755
index 40463213..00000000
--- a/config-optic/qa-data/masterDetail2.tdej
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "template": {
- "context": "/sets2",
- "templates": [{
- "context": "masterSet/master",
- "rows": [{
- "schemaName": "opticFunctionalTest2",
- "viewName": "master",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "date",
- "scalarType": "date",
- "val": "date"
- }]
- }]
- }, {
- "context": "detailSet/detail",
- "rows": [{
- "schemaName": "opticFunctionalTest2",
- "viewName": "detail",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "masterId",
- "scalarType": "int",
- "val": "masterId"
- }, {
- "name": "amount",
- "scalarType": "double",
- "val": "amount"
- }, {
- "name": "color",
- "scalarType": "string",
- "val": "color"
- }]
- }]
- }]
- }
-}
-
diff --git a/config-optic/qa-data/masterDetail3.json b/config-optic/qa-data/masterDetail3.json
deleted file mode 100755
index cac14f0b..00000000
--- a/config-optic/qa-data/masterDetail3.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "sets3": {
- "masterSet3": {
- "master3": [
- {
- "id": "3",
- "name": "Master 3",
- "date": "2016-03-01"
- },
- {
- "id": "4",
- "name": "Master 4",
- "date": "2016-05-25"
- }
- ]
- },
- "detailSet3": {
- "detail3": [
- {
- "id": "7",
- "name": "Detail 7",
- "masterId": "3",
- "amount": "64.33",
- "color": "red"
- },
- {
- "id": "8",
- "name": "Detail 8",
- "masterId": "4",
- "amount": "89.36",
- "color": "blue"
- },
- {
- "id": "9",
- "name": "Detail 9",
- "masterId": "1",
- "amount": "72.90",
- "color": "yellow"
- },
- {
- "id": "10",
- "name": "Detail 10",
- "masterId": "2",
- "amount": "30.26",
- "color": "black"
- },
- {
- "id": "11",
- "name": "Detail 11",
- "masterId": "3",
- "amount": "82.04",
- "color": "green"
- },
- {
- "id": "12",
- "name": "Detail 12",
- "masterId": "1",
- "amount": "25.86",
- "color": "red"
- }
- ]
- }
- }
-}
diff --git a/config-optic/qa-data/masterDetail3.tdej b/config-optic/qa-data/masterDetail3.tdej
deleted file mode 100755
index d702b049..00000000
--- a/config-optic/qa-data/masterDetail3.tdej
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "template": {
- "context": "/sets3",
- "templates": [{
- "context": "masterSet3/master3",
- "rows": [{
- "schemaName": "opticFunctionalTest3",
- "viewName": "master3",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "date",
- "scalarType": "date",
- "val": "date"
- }]
- }]
- }, {
- "context": "detailSet3/detail3",
- "rows": [{
- "schemaName": "opticFunctionalTest3",
- "viewName": "detail3",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "masterId",
- "scalarType": "int",
- "val": "masterId"
- }, {
- "name": "amount",
- "scalarType": "double",
- "val": "amount"
- }, {
- "name": "color",
- "scalarType": "string",
- "val": "color"
- }]
- }]
- }]
- }
-}
-
diff --git a/config-optic/qa-data/masterDetail4.json b/config-optic/qa-data/masterDetail4.json
deleted file mode 100755
index 3650a387..00000000
--- a/config-optic/qa-data/masterDetail4.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "sets4": {
- "masterSet4": {
- "master4": [
- {
- "id": "100",
- "name": "Master 100",
- "date": "2016-03-11"
- },
- {
- "id": "200",
- "name": "Master 200",
- "date": "2016-04-02"
- }
- ]
- },
- "detailSet4": {
- "detail4": [
- {
- "id": "100",
- "name": "Detail 100",
- "masterId": "100",
- "amount": "64.33",
- "color": "red"
- },
- {
- "id": "200",
- "name": "Detail 200",
- "masterId": "200",
- "amount": "89.36",
- "color": "blue"
- },
- {
- "id": "300",
- "name": "Detail 300",
- "masterId": "200",
- "amount": "72.90",
- "color": "yellow"
- }
- ]
- }
- }
-}
diff --git a/config-optic/qa-data/masterDetail4.tdej b/config-optic/qa-data/masterDetail4.tdej
deleted file mode 100755
index 7d026ce4..00000000
--- a/config-optic/qa-data/masterDetail4.tdej
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "template": {
- "context": "/sets4",
- "templates": [{
- "context": "masterSet4/master4",
- "rows": [{
- "schemaName": "opticFunctionalTest4",
- "viewName": "master4",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "date",
- "scalarType": "date",
- "val": "date"
- }]
- }]
- }, {
- "context": "detailSet4/detail4",
- "rows": [{
- "schemaName": "opticFunctionalTest4",
- "viewName": "detail4",
- "columns": [{
- "name": "id",
- "scalarType": "int",
- "val": "id"
- }, {
- "name": "name",
- "scalarType": "string",
- "val": "name"
- }, {
- "name": "masterId",
- "scalarType": "int",
- "val": "masterId"
- }, {
- "name": "amount",
- "scalarType": "double",
- "val": "amount"
- }, {
- "name": "color",
- "scalarType": "string",
- "val": "color"
- }]
- }]
- }]
- }
-}
-
diff --git a/config-optic/qa-data/masterDetail5.json b/config-optic/qa-data/masterDetail5.json
deleted file mode 100755
index be57f67e..00000000
--- a/config-optic/qa-data/masterDetail5.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "sets4": {
- "detailSet4": {
- "detail4": [
- {
- "id": "400",
- "name": "Detail 400",
- "masterId": "200",
- "amount": "164.33",
- "color": "purple"
- },
- {
- "id": "500",
- "name": "Detail 500",
- "masterId": "100",
- "amount": "189.36",
- "color": "gold"
- },
- {
- "id": "600",
- "name": "Detail 600",
- "masterId": "100",
- "amount": "172.90",
- "color": "white"
- }
- ]
- }
- }
-}
diff --git a/config-optic/qa-data/otherPlayerTripleSet.xml b/config-optic/qa-data/otherPlayerTripleSet.xml
deleted file mode 100755
index 9314362f..00000000
--- a/config-optic/qa-data/otherPlayerTripleSet.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#name
- Phil Green
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#type
- http://marklogic.com/other/bball/players/bbtype/Dataset
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#description
- Describing Phil Green
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#position
- Shortstop
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#dob
- 1985-03-27
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#eff
- 82.03
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#age
- 26
-
-
- http://marklogic.com/other/bball/id#101
- http://marklogic.com/other/bball/players#team
- http://marklogic.com/mlb/team/id/003
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#name
- Sam Cho
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#type
- http://marklogic.com/other/bball/players/bbtype/Dataset
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#description
- Describing Sam Cho
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#position
- Center Field
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#dob
- 1993-02-08
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#eff
- 21.99
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#age
- 22
-
-
- http://marklogic.com/other/bball/id#102
- http://marklogic.com/other/bball/players#team
- http://marklogic.com/mlb/team/id/006
-
-
-
-
-
diff --git a/config-optic/qa-data/people.ttl b/config-optic/qa-data/people.ttl
deleted file mode 100644
index de6cf435..00000000
--- a/config-optic/qa-data/people.ttl
+++ /dev/null
@@ -1,70 +0,0 @@
-@prefix foaf: .
-@prefix ppl: .
-
-ppl:person1 foaf:knows ppl:person2 .
-ppl:person1 foaf:knows ppl:person3 .
-ppl:person1 foaf:knows ppl:person5 .
-ppl:person1 foaf:knows ppl:person7 .
-
-ppl:person2 foaf:knows ppl:person11 .
-ppl:person2 foaf:knows ppl:person3 .
-ppl:person3 foaf:knows ppl:person13 .
-ppl:person13 foaf:knows ppl:person17 .
-ppl:person13 foaf:knows ppl:person19 .
-
-ppl:person4 foaf:knows ppl:person6 .
-ppl:person6 foaf:knows ppl:person8 .
-ppl:person8 foaf:knows ppl:person10 .
-ppl:person10 foaf:knows ppl:person12 .
-ppl:person12 foaf:knows ppl:person14 .
-ppl:person14 foaf:knows ppl:person16 .
-ppl:person16 foaf:knows ppl:person18 .
-ppl:person18 foaf:knows ppl:person20 .
-
-ppl:person20 foaf:knows ppl:person20 .
-
-ppl:person9 foaf:knows ppl:person12 .
-ppl:person12 foaf:knows ppl:person15 .
-ppl:person15 foaf:knows ppl:person18 .
-ppl:person18 foaf:knows ppl:person9 .
-
-ppl:person1 a ppl:Person ;
- foaf:name "Person 1" .
-ppl:person2 a ppl:Person ;
- foaf:name "Person 2" .
-ppl:person3 a ppl:Person ;
- foaf:name "Person 3" .
-ppl:person4 a ppl:Person ;
- foaf:name "Person 4" .
-ppl:person5 a ppl:Person ;
- foaf:name "Person 5" .
-ppl:person6 a ppl:Person ;
- foaf:name "Person 6" .
-ppl:person7 a ppl:Person ;
- foaf:name "Person 7" .
-ppl:person8 a ppl:Person ;
- foaf:name "Person 8" .
-ppl:person9 a ppl:Person ;
- foaf:name "Person 9" .
-ppl:person10 a ppl:Person ;
- foaf:name "Person 10" .
-ppl:person11 a ppl:Person ;
- foaf:name "Person 11" .
-ppl:person12 a ppl:Person ;
- foaf:name "Person 12" .
-ppl:person13 a ppl:Person ;
- foaf:name "Person 13" .
-ppl:person14 a ppl:Person ;
- foaf:name "Person 14" .
-ppl:person15 a ppl:Person ;
- foaf:name "Person 15" .
-ppl:person16 a ppl:Person ;
- foaf:name "Person 16" .
-ppl:person17 a ppl:Person ;
- foaf:name "Person 17" .
-ppl:person18 a ppl:Person ;
- foaf:name "Person 18" .
-ppl:person19 a ppl:Person ;
- foaf:name "Person 19" .
-ppl:person20 a ppl:Person ;
- foaf:name "Person 20" .
diff --git a/config-optic/qa-data/playerTripleSet.xml b/config-optic/qa-data/playerTripleSet.xml
deleted file mode 100755
index c7345106..00000000
--- a/config-optic/qa-data/playerTripleSet.xml
+++ /dev/null
@@ -1,376 +0,0 @@
-
-
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/name
- John Doe
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/description
- Describing John Doe
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/position
- Pitcher
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/dob
- 1981-05-04
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/eff
- 25.45
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/age
- 31
-
-
- http://marklogic.com/baseball/id#001
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/001
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/name
- Bob Brian
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/description
- Describing Bob Brian
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/position
- Outfielder
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/dob
- 1999-01-15
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/eff
- 78.45
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/age
- 23
-
-
- http://marklogic.com/baseball/id#002
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/003
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/name
- Josh Ream
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/description
- Describing Josh Ream
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/position
- Pitcher
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/dob
- 1985-11-30
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/eff
- 53.10
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/age
- 29
-
-
- http://marklogic.com/baseball/id#003
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/001
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/name
- Pat Crenshaw
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/description
- Describing Pat Crenshaw
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/position
- Catcher
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/dob
- 1998-09-01
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/eff
- 33.89
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/age
- 25
-
-
- http://marklogic.com/baseball/id#004
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/005
-
-
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/name
- Pedro Barrozo
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/description
- Describing Pedro Barrozo
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/position
- Midfielder
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/dob
- 1991-12-09
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/eff
- 41.65
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/age
- 19
-
-
- http://marklogic.com/baseball/id#005
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/002
-
-
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/name
- Aoki Yamada
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/description
- Describing Aoki Yamada
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/position
- First Base
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/dob
- 1987-03-15
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/eff
- 55.2
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/age
- 34
-
-
- http://marklogic.com/baseball/id#006
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/003
-
-
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/name
- Matt Rose
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/description
- Describing Matt Rose
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/position
- Pitcher
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/dob
- 1984-11-01
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/eff
- 32.89
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/age
- 29
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/005
-
-
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/name
- Matt Rose
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/description
- Describing Matt Rose
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/position
- Pitcher
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/dob
- 1984-11-01
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/eff
- 32.89
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/age
- 29
-
-
- http://marklogic.com/baseball/id#007
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/005
-
-
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/name
- Juan Leone
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/type
- http://marklogic.com/baseball/players/bbtype/Dataset
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/description
- Describing Juan Leone
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/position
- Second Base
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/dob
- 1993-08-17
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/eff
- 29.77
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/age
- 27
-
-
- http://marklogic.com/baseball/id#008
- http://marklogic.com/baseball/players/team
- http://marklogic.com/mlb/team/id/001
-
-
-
-
diff --git a/config-optic/qa-data/teamTripleSet.xml b/config-optic/qa-data/teamTripleSet.xml
deleted file mode 100755
index 9e18ba09..00000000
--- a/config-optic/qa-data/teamTripleSet.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
- http://marklogic.com/mlb/team/id/001
- http://marklogic.com/mlb/team/name
- Giants
-
-
- http://marklogic.com/mlb/team/id/001
- http://marklogic.com/mlb/team/city
- San Francisco
-
-
- http://marklogic.com/mlb/team/id/002
- http://marklogic.com/mlb/team/name
- Athletics
-
-
- http://marklogic.com/mlb/team/id/002
- http://marklogic.com/mlb/team/city
- Oakland
-
-
- http://marklogic.com/mlb/team/id/003
- http://marklogic.com/mlb/team/name
- Padres
-
-
- http://marklogic.com/mlb/team/id/003
- http://marklogic.com/mlb/team/city
- San Diego
-
-
- http://marklogic.com/mlb/team/id/004
- http://marklogic.com/mlb/team/name
- Yankees
-
-
- http://marklogic.com/mlb/team/id/004
- http://marklogic.com/mlb/team/city
- New York
-
-
- http://marklogic.com/mlb/team/id/005
- http://marklogic.com/mlb/team/name
- Mariners
-
-
- http://marklogic.com/mlb/team/id/005
- http://marklogic.com/mlb/team/city
- Seattle
-
-
-
-
\ No newline at end of file
diff --git a/config-optic/setupqa.js b/config-optic/setupqa.js
deleted file mode 100755
index 57b5e1a5..00000000
--- a/config-optic/setupqa.js
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
-* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
-*/
-'use strict';
-
-var util = require('../node_modules/core-util-is/lib/util.js');
-
-var fs = require('fs');
-var valcheck = require('core-util-is');
-
-var marklogic = require('../lib/marklogic.js');
-var testlib = require('./testlib.js');
-
-var clientConnectdef = require('./connectdef.js');
-var testName = clientConnectdef.name;
-var planServerdef = clientConnectdef.plan;
-
-var testLoad = require('./loaddata.js');
-var testUser = require('./userconfig.js');
-
-var db = marklogic.createDatabaseClient({
- host: planServerdef.host,
- port: planServerdef.port,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
-});
-var dbMod = marklogic.createDatabaseClient({
- database: testName+'Modules',
- host: planServerdef.host,
- port: planServerdef.port,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
-});
-var manager = testlib.createManager(marklogic.createDatabaseClient({
- host: planServerdef.host,
- port: 8002,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
- }));
-
-console.log('checking for '+testName);
-var check = manager.get({
- endpoint: '/v1/rest-apis/'+testName
- }).result();
-check.then(function(response) {
- if (response.statusCode !== 404) {
- return check;
- }
-
- console.log('creating database and REST server for '+testName);
- return manager.post({
- endpoint: '/v1/rest-apis',
- body: {
- 'rest-api': {
- name: testName,
- group: 'Default',
- database: testName,
- 'modules-database': testName+'Modules',
- port: planServerdef.port
- }
- }
- }).result();
- })
-.then(function(response){
- console.log('setting up rest eval role');
- return testUser.addRestEvalRole(manager).result();
-})
-.then(function(response){
- console.log('setting up rest reader user');
- return testUser.addRestReaderUser(manager).result();
-})
-.then(function(response){
- console.log('setting up tde template on module database');
- return testLoad.writeDocumentsToMod(dbMod).result();
-})
-.then(function(response){
- console.log('setting up sample documents');
- return testLoad.writeDocuments(db).result();
-})
-.then(function(response){
- console.log('setting up graphs1');
- return testLoad.writeGraphs1(db).result();
-})
-.then(function(response){
- console.log('setting up graphs2');
- return testLoad.writeGraphs2(db).result();
-})
-.then(function(response){
- console.log('setting up database setup file');
- return db.config.extlibs.write({
- path:'/ext/optic/test/databaseconfig.sjs', contentType:'application/javascript', source:fs.createReadStream('./config-optic/databaseconfig.sjs')
- }).result();
-})
-.then(function(response) {
- console.log('setting up database configuration');
- var dbEval = marklogic.createDatabaseClient({
- host: planServerdef.host,
- port: planServerdef.port,
- user: 'rest-evaluator',
- password: 'x',
- authType: planServerdef.authType
- });
- return dbEval.invoke('/ext/optic/test/databaseconfig.sjs').result();
-})
-.then(function(response){
- console.log('setup done');
- })
-.catch(function(error){
- console.log(error);
- });
diff --git a/config-optic/teardown.js b/config-optic/teardown.js
deleted file mode 100644
index 5e519ebb..00000000
--- a/config-optic/teardown.js
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
-* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
-*/
-'use strict';
-
-var util = require('../node_modules/core-util-is/lib/util.js');
-
-var fs = require('fs');
-var valcheck = require('core-util-is');
-
-var marklogic = require('../lib/marklogic.js');
-var testlib = require('./testlib.js');
-
-var clientConnectdef = require('./connectdef.js');
-var testName = clientConnectdef.name;
-var planServerdef = clientConnectdef.plan;
-
-var modDb = marklogic.createDatabaseClient({
- database: testName+'Modules',
- host: planServerdef.host,
- port: planServerdef.port,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
-});
-var manager = testlib.createManager(marklogic.createDatabaseClient({
- host: planServerdef.host,
- port: 8002,
- user: 'admin',
- password: 'admin',
- authType: planServerdef.authType
- }));
-
-console.log('checking for '+testName);
-manager.get({
- endpoint: '/v1/rest-apis/'+testName
- })
-.result(function(response) {
- if (response.statusCode === 404) {
- console.log(testName+' not found - nothing to delete');
- } else {
- console.log('removing database and REST server for '+testName);
- manager.put({
- endpoint: '/manage/v2/databases/'+testName+'/properties',
- params: {
- format: 'json'
- },
- body: {
- 'schema-database': 'Schemas'
- },
- hasResponse: true
- }).result()
- .then(function(response) {
- return manager.post({
- endpoint: '/manage/v2/databases/'+testName,
- contentType: 'application/json',
- accept: 'application/json',
- body: {'operation': 'clear-database'}
- }).result();
- })
- .then(function(response) {
- return manager.post({
- endpoint: '/manage/v2/databases/'+testName+'Modules',
- contentType: 'application/json',
- accept: 'application/json',
- body: {'operation': 'clear-database'}
- }).result();
- })
- .then(function(response) {
- return manager.remove({
- endpoint: '/manage/v2/users/rest-reader-optic'
- }).result();
- })
- .then(function(response) {
- return manager.remove({
- endpoint: '/manage/v2/roles/rest-evaluator'
- }).result();
- })
- .then(function(response) {
- return manager.remove({
- endpoint: '/v1/rest-apis/'+testName,
- accept: 'application/json',
- params: {include: ['content', 'modules']}
- }).result();
- })
- .then(function(response) {
- console.log('teardown succeeded - restart the server');
- })
- .catch(function(error) {
- console.log('failed to tear down '+testName+' server:\n'+
- JSON.stringify(error, null, 2));
- });
- }
-});
-
diff --git a/config-optic/testlib.js b/config-optic/testlib.js
deleted file mode 100644
index a05e709f..00000000
--- a/config-optic/testlib.js
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
-* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
-*/
-'use strict';
-var valcheck = require('../node_modules/core-util-is/lib/util.js');
-
-var mlutil = require('../lib/mlutil.js');
-var Operation = require('../lib/operation.js');
-var requester = require('../lib/requester.js');
-
-//CAUTION: the functions in this module are not part of the supported API and
-//may change or may be removed at any time.
-
-function responseOutputTransform(headers, data) {
- /*jshint validthis:true */
- var operation = this;
-
- var response = {
- statusCode: operation.responseStatusCode,
- headers: headers
- };
- if (!valcheck.isNullOrUndefined(data)) {
- response.data = data;
- }
-
- return response;
-}
-
-function Manager(adminClient) {
- if (!(this instanceof Manager)) {
- return new Manager(adminClient);
- }
- this.client = adminClient;
-}
-
-// TODO: configure acceptable errors
-Manager.prototype.get = function manageGet(paramsObj) {
- var endpoint = paramsObj.endpoint;
- var params = paramsObj.params;
- var headers = paramsObj.headers;
- var hasResponse = paramsObj.hasResponse;
-
- var path = makePath(endpoint, params);
-
- var requestOptions = mlutil.copyProperties(this.client.connectionParams);
- requestOptions.method = 'GET';
- requestOptions.headers = valcheck.isNullOrUndefined(headers) ? {
- 'Accept': 'application/json'
- } : headers;
- requestOptions.path = path;
-
- var operation = new Operation(
- 'GET '+path, this.client, requestOptions, 'empty',
- ((hasResponse === 'false') ? 'empty' : 'single')
- );
- operation.validStatusCodes = [200, 201, 204, 404];
- operation.outputTransform = responseOutputTransform;
-
- return requester.startRequest(operation);
-};
-Manager.prototype.post = function managePost(paramsObj) {
- var endpoint = paramsObj.endpoint;
- var params = paramsObj.params;
- var headers = paramsObj.headers;
- var body = paramsObj.body;
- var hasResponse = paramsObj.hasResponse;
-
- var path = makePath(endpoint, params);
-
- var requestOptions = mlutil.copyProperties(this.client.connectionParams);
- requestOptions.method = 'POST';
- requestOptions.headers = valcheck.isNullOrUndefined(headers) ? {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json'
- } : headers;
- requestOptions.path = path;
-
- var hasBody = !valcheck.isNullOrUndefined(body);
-
- var operation = new Operation(
- 'POST '+path,
- this.client,
- requestOptions,
- hasBody ? 'single' : 'empty',
- ((hasResponse === 'false') ? 'empty' : 'single')
- );
- operation.outputTransform = responseOutputTransform;
- if (hasBody) {
- operation.requestBody = body;
- }
-
- return requester.startRequest(operation);
-};
-Manager.prototype.put = function managePut(paramsObj) {
- var endpoint = paramsObj.endpoint;
- var params = paramsObj.params;
- var headers = paramsObj.headers;
- var body = paramsObj.body;
- var hasResponse = paramsObj.hasResponse;
-
- var path = makePath(endpoint, params);
-
- var requestOptions = mlutil.copyProperties(this.client.connectionParams);
- requestOptions.method = 'PUT';
- requestOptions.headers = valcheck.isNullOrUndefined(headers) ? {
- 'Content-Type': 'application/json'
- } : headers;
- requestOptions.path = path;
-
- var hasBody = !valcheck.isNullOrUndefined(body);
-
- var operation = new Operation(
- 'PUT '+path,
- this.client,
- requestOptions,
- hasBody ? 'single' : 'empty',
- ((hasResponse === 'true') ? 'single' : 'empty')
- );
- operation.outputTransform = responseOutputTransform;
- if (hasBody) {
- operation.requestBody = body;
- }
-
- return requester.startRequest(operation);
-};
-Manager.prototype.remove = function manageRemove(paramsObj) {
- var endpoint = paramsObj.endpoint;
- var params = paramsObj.params;
- var headers = paramsObj.headers;
- var hasResponse = paramsObj.hasResponse;
-
- var path = makePath(endpoint, params);
-
- var requestOptions = mlutil.copyProperties(this.client.connectionParams);
- requestOptions.method = 'DELETE';
- requestOptions.headers = valcheck.isNullOrUndefined(headers) ? {
- 'Accept': 'application/json'
- } : headers;
- requestOptions.path = path;
-
- var operation = new Operation(
- 'DELETE '+path,
- this.client,
- requestOptions,
- 'empty',
- ((hasResponse === 'true') ? 'single' : 'empty')
- );
- operation.outputTransform = responseOutputTransform;
-
- return requester.startRequest(operation);
-};
-
-function makePath(endpoint, params) {
- var path = encodeURI(endpoint);
- if (!valcheck.isNullOrUndefined(params)) {
- var paramKeys = Object.keys(params);
- var sep = '?';
- for (var i=0; i < paramKeys.length; i++) {
- var paramKey = paramKeys[i];
- var value = params[paramKey];
- if (valcheck.isArray(value)) {
- for (var j=0; j < value.length; j++) {
- path += sep+paramKey+'='+encodeURIComponent(value[j]);
- if (i === 0 && j === 0) {
- sep = '&';
- }
- }
- } else {
- path += sep+paramKey+'='+encodeURIComponent(value);
- if (i === 0) {
- sep = '&';
- }
- }
- }
- }
-
- return path;
-}
-
-function createManager(adminClient) {
- return new Manager(adminClient);
-};
-
-module.exports = {
- createManager: createManager
-};
diff --git a/config-optic/userconfig.js b/config-optic/userconfig.js
deleted file mode 100755
index 91674a2b..00000000
--- a/config-optic/userconfig.js
+++ /dev/null
@@ -1,100 +0,0 @@
-'use strict';
-
-function addRestEvalRole(manager) {
- return manager.post({
- endpoint: '/manage/v2/roles',
- body: {
- 'role-name': 'rest-evaluator',
- description: 'REST writer who can eval, invoke, or set a dynamic databases',
- role: [
- 'rest-writer'
- ],
- privilege: [
- {
- 'privilege-name': 'xdmp-eval',
- action: 'http://marklogic.com/xdmp/privileges/xdmp-eval',
- kind: 'execute'
- },
- {
- 'privilege-name': 'xdmp-eval-in',
- action: 'http://marklogic.com/xdmp/privileges/xdmp-eval-in',
- kind: 'execute'
- },
- {
- 'privilege-name': 'xdmp-invoke',
- action: 'http://marklogic.com/xdmp/privileges/xdmp-invoke',
- kind: 'execute'
- },
- {
- 'privilege-name': 'xdbc-eval',
- action: 'http://marklogic.com/xdmp/privileges/xdbc-eval',
- kind: 'execute'
- },
- {
- 'privilege-name': 'xdbc-eval-in',
- action: 'http://marklogic.com/xdmp/privileges/xdbc-eval-in',
- kind: 'execute'
- },
- {
- 'privilege-name': 'xdbc-invoke',
- action: 'http://marklogic.com/xdmp/privileges/xdbc-invoke',
- kind: 'execute'
- },
- {
- 'privilege-name': 'any-uri',
- action: 'http://marklogic.com/xdmp/privileges/any-uri',
- kind: 'execute'
- },
- {
- 'privilege-name': 'admin-module-read',
- action: 'http://marklogic.com/xdmp/privileges/admin-module-read',
- kind: 'execute'
- },
- {
- 'privilege-name': 'admin-module-write',
- action: 'http://marklogic.com/xdmp/privileges/admin-module-write',
- kind: 'execute'
- },
- {
- 'privilege-name': 'unprotected-collections',
- action: 'http://marklogic.com/xdmp/privileges/unprotected-collections',
- kind: 'execute'
- }
- ]
- }
- });
-}
-
-function addRestEvalUser(manager) {
- return manager.post({
- endpoint: '/manage/v2/users',
- body: {
- 'user-name': 'rest-evaluator',
- password: 'x',
- description: 'rest-evaluator user',
- role: [
- 'rest-evaluator'
- ]
- }
- });
-}
-
-function addRestReaderUser(manager) {
- return manager.post({
- endpoint: '/manage/v2/users',
- body: {
- 'user-name': 'rest-reader-optic',
- password: 'x',
- description: 'rest-reader user',
- role: [
- 'rest-reader'
- ]
- }
- });
-}
-
-module.exports = {
- addRestEvalRole: addRestEvalRole,
- addRestEvalUser: addRestEvalUser,
- addRestReaderUser: addRestReaderUser
-};