├── .gitmodules ├── test ├── tc0003 │ └── 0_Identity ├── tc0002 │ └── 0_Term matching ├── tc0004 │ ├── 0_RDF-Parser │ └── rdfcore │ │ ├── rdfms-rdf-names-use │ │ ├── test-001.nt │ │ ├── test-032.nt │ │ ├── test-033.nt │ │ ├── test-034.nt │ │ ├── test-037.nt │ │ ├── warn-003.nt │ │ ├── test-035.nt │ │ ├── test-036.nt │ │ ├── test-017.nt │ │ ├── test-018.nt │ │ ├── test-019.nt │ │ ├── test-022.nt │ │ ├── test-025.nt │ │ ├── test-026.nt │ │ ├── test-027.nt │ │ ├── test-028.nt │ │ ├── test-029.nt │ │ ├── test-030.nt │ │ ├── test-031.nt │ │ ├── warn-002.nt │ │ ├── test-020.nt │ │ ├── test-021.nt │ │ ├── test-023.nt │ │ ├── test-024.nt │ │ ├── test-002.nt │ │ ├── test-003.nt │ │ ├── test-004.nt │ │ ├── test-007.nt │ │ ├── test-011.nt │ │ ├── test-014.nt │ │ ├── test-015.nt │ │ ├── test-016.nt │ │ ├── warn-001.nt │ │ ├── test-005.nt │ │ ├── test-006.nt │ │ ├── test-008.nt │ │ ├── test-009.nt │ │ ├── test-010.nt │ │ ├── test-012.nt │ │ ├── test-013.nt │ │ ├── error-002.rdf │ │ ├── error-008.rdf │ │ ├── error-001.rdf │ │ ├── error-003.rdf │ │ ├── error-004.rdf │ │ ├── error-007.rdf │ │ ├── error-005.rdf │ │ ├── error-006.rdf │ │ ├── error-009.rdf │ │ ├── error-010.rdf │ │ ├── test-002.rdf │ │ ├── test-003.rdf │ │ ├── test-004.rdf │ │ ├── test-007.rdf │ │ ├── test-011.rdf │ │ ├── test-014.rdf │ │ ├── test-015.rdf │ │ ├── test-016.rdf │ │ ├── test-010.rdf │ │ ├── test-012.rdf │ │ ├── test-013.rdf │ │ ├── test-005.rdf │ │ ├── test-006.rdf │ │ ├── test-008.rdf │ │ ├── test-009.rdf │ │ ├── test-001.rdf │ │ ├── warn-001.rdf │ │ ├── test-032.rdf │ │ ├── test-033.rdf │ │ ├── test-034.rdf │ │ ├── test-037.rdf │ │ ├── test-036.rdf │ │ ├── test-035.rdf │ │ ├── warn-003.rdf │ │ ├── test-030.rdf │ │ ├── test-031.rdf │ │ ├── error-012.rdf │ │ ├── error-013.rdf │ │ ├── test-017.rdf │ │ ├── test-018.rdf │ │ ├── test-019.rdf │ │ ├── test-022.rdf │ │ ├── test-026.rdf │ │ ├── test-027.rdf │ │ ├── test-028.rdf │ │ ├── test-029.rdf │ │ ├── error-014.rdf │ │ ├── error-015.rdf │ │ ├── test-023.rdf │ │ ├── test-025.rdf │ │ ├── error-017.rdf │ │ ├── error-018.rdf │ │ ├── test-020.rdf │ │ ├── test-021.rdf │ │ ├── test-024.rdf │ │ ├── warn-002.rdf │ │ ├── error-016.rdf │ │ ├── error-019.rdf │ │ ├── error-011.rdf │ │ └── error-020.rdf │ │ ├── .DS_Store │ │ ├── statement-entailment │ │ ├── test002a.nt │ │ ├── test001b.nt │ │ └── test002b.nt │ │ ├── rdf-element-not-mandatory │ │ ├── test001.rdf │ │ └── test001.nt │ │ ├── rdfms-seq-representation │ │ ├── empty.nt │ │ ├── test003a.nt │ │ ├── test003b.nt │ │ ├── test004.nt │ │ └── test002.nt │ │ ├── rdfs-container-membership-superProperty │ │ ├── not1C.rdf │ │ └── not1P.rdf │ │ ├── rdfms-empty-property-elements │ │ ├── test002.nt │ │ ├── test004.nt │ │ ├── test008.nt │ │ ├── test010.nt │ │ ├── test001.nt │ │ ├── test007.nt │ │ ├── test014.nt │ │ ├── test015.nt │ │ ├── test003.nt │ │ ├── test009.nt │ │ ├── test016.nt │ │ ├── test017.nt │ │ ├── test013.nt │ │ ├── test002.rdf │ │ ├── test008.rdf │ │ ├── test011.rdf │ │ ├── test010.rdf │ │ ├── test009.rdf │ │ └── test012.rdf │ │ ├── pfps-10 │ │ ├── test001a.nt │ │ └── test001b.nt │ │ ├── rdfms-syntax-incomplete │ │ ├── test001.nt │ │ ├── test003.nt │ │ ├── test002.nt │ │ ├── error004.rdf │ │ ├── error005.rdf │ │ ├── error002.rdf │ │ ├── error001.rdf │ │ ├── test001.rdf │ │ ├── error006.rdf │ │ ├── error003.rdf │ │ └── test003.rdf │ │ ├── rdfms-xmllang │ │ ├── test003.nt │ │ ├── test005.nt │ │ ├── test004.nt │ │ ├── test006.nt │ │ ├── test007a.nt │ │ ├── test007b.nt │ │ ├── test007c.nt │ │ ├── test001.nt │ │ ├── test002.nt │ │ ├── test005.rdf │ │ ├── test003.rdf │ │ ├── test004.rdf │ │ └── test006.rdf │ │ ├── xmlbase │ │ ├── test001.nt │ │ ├── test002.nt │ │ ├── test003.nt │ │ ├── test007.nt │ │ ├── test008.nt │ │ ├── test009.nt │ │ ├── test011.nt │ │ ├── test010.nt │ │ ├── test006.nt │ │ ├── test014.nt │ │ ├── test013.nt │ │ ├── test007.rdf │ │ ├── test003.rdf │ │ ├── test008.rdf │ │ ├── test009.rdf │ │ ├── test010.rdf │ │ ├── test001.rdf │ │ ├── test002.rdf │ │ ├── test004.rdf │ │ ├── test006.rdf │ │ ├── test011.rdf │ │ └── test013.rdf │ │ ├── rdfms-identity-anon-resources │ │ ├── test001.nt │ │ ├── test003.nt │ │ ├── test005.nt │ │ ├── test002.nt │ │ ├── test004.nt │ │ ├── test003.rdf │ │ └── test005.rdf │ │ ├── rdfms-reification-required │ │ ├── test001.nt │ │ └── test001.rdf │ │ ├── unrecognised-xml-attributes │ │ ├── test002.nt │ │ └── test001.nt │ │ ├── rdf-ns-prefix-confusion │ │ ├── test0001.nt │ │ ├── test0009.nt │ │ ├── test0010.nt │ │ ├── test0003.nt │ │ ├── test0006.nt │ │ ├── test0004.nt │ │ ├── test0005.nt │ │ ├── test0011.nt │ │ ├── test0012.nt │ │ ├── test0013.nt │ │ └── test0014.nt │ │ ├── rdf-charmod-uris │ │ ├── test001.nt │ │ └── test002.nt │ │ ├── datatypes │ │ ├── test002.nt │ │ ├── test008a.nt │ │ ├── test008b.nt │ │ ├── test009b.nt │ │ ├── test009a.nt │ │ ├── test005a.nt │ │ ├── test005b.nt │ │ ├── test003a.nt │ │ ├── test003b.nt │ │ ├── test001.nt │ │ ├── test011a.nt │ │ ├── test002b.nt │ │ ├── test010.nt │ │ ├── test011b.nt │ │ ├── test006.nt │ │ └── test002.rdf │ │ ├── rdfms-uri-substructure │ │ ├── test001.nt │ │ ├── error001.nt │ │ └── test001.rdf │ │ ├── rdf-containers-syntax-vs-schema │ │ ├── test008.nt │ │ ├── test003.nt │ │ ├── test001.nt │ │ ├── test007.nt │ │ ├── test002.nt │ │ ├── test001.rdf │ │ └── error001.rdf │ │ ├── amp-in-url │ │ └── test001.nt │ │ ├── rdf-charmod-literals │ │ └── test001.nt │ │ ├── rdfs-entailment │ │ ├── test002.nt │ │ └── test001.nt │ │ ├── rdfms-not-id-and-resource-attr │ │ └── test002.nt │ │ ├── rdfms-difference-between-ID-and-about │ │ ├── test1.nt │ │ ├── test2.nt │ │ ├── test3.nt │ │ ├── test1.rdf │ │ ├── test2.rdf │ │ ├── test3.rdf │ │ └── error1.rdf │ │ ├── xml-canon │ │ ├── test001.nt │ │ └── test001.rdf │ │ ├── rdfms-rdf-id │ │ ├── error002.rdf │ │ ├── error001.rdf │ │ ├── error006.rdf │ │ ├── error004.rdf │ │ ├── error003.rdf │ │ ├── error007.rdf │ │ └── error005.rdf │ │ ├── rdfms-para196 │ │ └── test001.nt │ │ ├── rdfs-subClassOf-a-Property │ │ └── test001.nt │ │ ├── datatypes-intensional │ │ ├── test001.nt │ │ └── test002.nt │ │ ├── rdfms-xml-literal-namespaces │ │ └── test001.nt │ │ ├── rdfms-duplicate-member-props │ │ └── test001.nt │ │ ├── rdfs-domain-and-range │ │ ├── test002.nt │ │ └── test001.nt │ │ └── tex-01 │ │ ├── test002.rdf │ │ └── test001.rdf ├── tc0007 │ ├── 0_RDF-A-Parsing │ ├── node-test.js │ └── Makefile ├── tc0008 │ ├── 0_Serialization │ ├── node-test-writeStore.js │ └── Makefile ├── tc0001 │ └── 0_Basic_RDF_Terms ├── tc0005 │ └── 0 fromNT and toNT nodes ├── img │ ├── busy.gif │ ├── iphone_switch.png │ ├── iphone_switch_container_off.png │ └── iphone_switch_container_on.png └── tth-manager.js ├── .web_base ├── .gitignore ├── .travis.yml ├── testSaveRestore ├── a.ttl ├── b.ttl └── test.js ├── example └── people │ ├── a_img │ ├── clip.jpg │ ├── clip.png │ ├── avatar.png │ ├── favicon.ico │ ├── search_btn.png │ ├── ajax-loader.gif │ ├── icon_right_minimizer.gif │ ├── icon_right_minimizer_hover.gif │ ├── icon_right_minimizer_reverse.gif │ └── icon_right_minimizer_reverse_hover.gif │ ├── book.css │ ├── card.css │ └── book.html ├── tests ├── linkrel │ └── linkreltests.ttl ├── serialize │ ├── Makefile │ ├── prefixgen.ttl │ ├── t1.ttl │ └── ,t1.xml └── rdfa │ └── fetch-rdfa.js ├── parsers ├── tests │ ├── sparul-todo.ru │ └── sparul.ru └── Makefile ├── AUTHORS └── module.js /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0003/0_Identity: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0002/0_Term matching: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0004/0_RDF-Parser: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0007/0_RDF-A-Parsing: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0008/0_Serialization: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0001/0_Basic_RDF_Terms: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tc0005/0 fromNT and toNT nodes: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.web_base: -------------------------------------------------------------------------------- 1 | http://linkeddata.github.io/rdflib.js 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | parsers/*.js 2 | tests/*.js 3 | node_modules 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "0.12" 5 | 6 | -------------------------------------------------------------------------------- /test/img/busy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/test/img/busy.gif -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-001.nt: -------------------------------------------------------------------------------- 1 | # Empty - no triples are generated 2 | -------------------------------------------------------------------------------- /testSaveRestore/a.ttl: -------------------------------------------------------------------------------- 1 | 2 | <#foo> :p 123, 456. 3 | <#bar> :q { <#baz> :pp "foobar" }. 4 | 5 | -------------------------------------------------------------------------------- /test/img/iphone_switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/test/img/iphone_switch.png -------------------------------------------------------------------------------- /example/people/a_img/clip.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/clip.jpg -------------------------------------------------------------------------------- /example/people/a_img/clip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/clip.png -------------------------------------------------------------------------------- /test/tc0004/rdfcore/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/test/tc0004/rdfcore/.DS_Store -------------------------------------------------------------------------------- /example/people/a_img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/avatar.png -------------------------------------------------------------------------------- /example/people/a_img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/favicon.ico -------------------------------------------------------------------------------- /example/people/a_img/search_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/search_btn.png -------------------------------------------------------------------------------- /example/people/a_img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/ajax-loader.gif -------------------------------------------------------------------------------- /test/img/iphone_switch_container_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/test/img/iphone_switch_container_off.png -------------------------------------------------------------------------------- /test/img/iphone_switch_container_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/test/img/iphone_switch_container_on.png -------------------------------------------------------------------------------- /tests/linkrel/linkreltests.ttl: -------------------------------------------------------------------------------- 1 | 2 | :t1 :input """;rel=meta""" ; 3 | 4 | :t2 :input ";rel=\"meta\"". 5 | 6 | -------------------------------------------------------------------------------- /example/people/a_img/icon_right_minimizer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/icon_right_minimizer.gif -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-032.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-033.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-034.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-037.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-003.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/statement-entailment/test002a.nt: -------------------------------------------------------------------------------- 1 | . 2 | 3 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-035.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-036.nt: -------------------------------------------------------------------------------- 1 | "string" . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/statement-entailment/test001b.nt: -------------------------------------------------------------------------------- 1 | . 2 | 3 | -------------------------------------------------------------------------------- /testSaveRestore/b.ttl: -------------------------------------------------------------------------------- 1 | 2 | 3 | <#alice> :friend <#bob>. 4 | 5 | <#bob> :says { 6 | <#alice> a :Person. <#bob> :friend <#alice> 7 | }. 8 | 9 | -------------------------------------------------------------------------------- /example/people/a_img/icon_right_minimizer_hover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/icon_right_minimizer_hover.gif -------------------------------------------------------------------------------- /example/people/a_img/icon_right_minimizer_reverse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/icon_right_minimizer_reverse.gif -------------------------------------------------------------------------------- /parsers/tests/sparul-todo.ru: -------------------------------------------------------------------------------- 1 | PREFIX dc: 2 | INSERT { dc:title "This is an example title" } WHERE {} 3 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-017.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-018.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-019.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-022.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-025.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-026.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-027.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-028.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-029.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-030.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-031.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-002.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-020.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-021.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-023.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-024.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /example/people/a_img/icon_right_minimizer_reverse_hover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiu/rdflib.js/master/example/people/a_img/icon_right_minimizer_reverse_hover.gif -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-002.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-003.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-004.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-007.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-011.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-014.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-015.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-016.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-001.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-005.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-006.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-008.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-009.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-010.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-012.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-013.nt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | J. Presbrey (http://presbrey.mit.edu) 2 | Henry Story (http://bblfish.net) 3 | Tim Berners-Lee (http://www.w3.org/People/Berners-Lee) -------------------------------------------------------------------------------- /tests/serialize/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Problem: not adding the type of an object! 5 | t1: 6 | /usr/local/bin/node ./data.js -in=t1.ttl -format=application/rdf+xml -out=,t1.xml 7 | grep "http://www.w3.org/2001/XMLSchema#integer" ,t1.xml 8 | -------------------------------------------------------------------------------- /test/tth-manager.js: -------------------------------------------------------------------------------- 1 | var TTH_OFFLINE_STATUS = false; 2 | 3 | function isOffline(){ 4 | return TTH_OFFLINE_STATUS; 5 | } 6 | 7 | function goOffline(){ 8 | TTH_OFFLINE_STATUS = true; 9 | } 10 | 11 | function goOnline(){ 12 | TTH_OFFLINE_STATUS = false; 13 | } -------------------------------------------------------------------------------- /parsers/Makefile: -------------------------------------------------------------------------------- 1 | jison = $(wildcard *.jison) 2 | dest = $(jison:%.jison=%.js) 3 | 4 | all: $(dest) 5 | .PHONY: all 6 | 7 | %.js: %.jison 8 | jison $< 9 | 10 | test: all 11 | node sparul.js tests/sparul.ru 12 | .PHONY: test 13 | 14 | todo: all 15 | node sparul.js tests/sparul-todo.ru 16 | .PHONY: todo 17 | 18 | -------------------------------------------------------------------------------- /parsers/tests/sparul.ru: -------------------------------------------------------------------------------- 1 | PREFIX foaf: 2 | 3 | INSERT DATA { . } ; 4 | INSERT DATA { ; . } ; 5 | INSERT DATA { , . } ; 6 | INSERT DATA { ; . } ; 7 | 8 | DELETE DATA { } ; 9 | 10 | -------------------------------------------------------------------------------- /example/people/book.css: -------------------------------------------------------------------------------- 1 | 2 | body { font-family: sans-serif; color: black; background-color: #eed; } 3 | 4 | div { width: 20em; height: 8em; padding: 1em; 5 | background-color: white; 6 | border: 5px black; 7 | margin-left:20em; 8 | margin-right: 1em; 9 | margin-bottom: 1em; 10 | margin-top: 1em} 11 | 12 | img { height: 8em} 13 | 14 | small { color: #999; } 15 | -------------------------------------------------------------------------------- /example/people/card.css: -------------------------------------------------------------------------------- 1 | 2 | body { font-family: sans-serif; color: black; background-color: #eed; } 3 | 4 | div { width: 20em; height: 8em; padding: 1em; 5 | background-color: white; 6 | border: 5px black; 7 | margin-left:20em; 8 | margin-right: 1em; 9 | margin-bottom: 1em; 10 | margin-top: 1em} 11 | 12 | img { height: 8em} 13 | 14 | small { color: #999; } 15 | -------------------------------------------------------------------------------- /test/tc0007/node-test.js: -------------------------------------------------------------------------------- 1 | 2 | // See npm and node.js documentstion http://nodejs.org/docs/v0.6.5/api/modules.html 3 | // 4 | // To debug node, use commands like 5 | // 6 | // node --debug-brk node-test.js 7 | // node-inspector & 8 | // open http://0.0.0.0:8080/debug?port=5858 9 | 10 | 11 | // var jQuery = require('jquery'); 12 | var $rdf = require('../../dist/rdflib-alpha.js'); 13 | 14 | var fs = require('fs'); 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/statement-entailment/test002b.nt: -------------------------------------------------------------------------------- 1 | _:r . 2 | _:r . 3 | _:r . 4 | _:r . 5 | 6 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-element-not-mandatory/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | Dogs in Hats 14 | 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-element-not-mandatory/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Please see the full Copyright clause at 3 | # 4 | # 5 | # $Id: test001.nt,v 1.1 2003/10/08 13:00:58 jgrant Exp $ 6 | # 7 | ##################################################################### 8 | _:a . 9 | _:a "Dogs in Hats" . 10 | 11 | -------------------------------------------------------------------------------- /tests/serialize/prefixgen.ttl: -------------------------------------------------------------------------------- 1 | 2 | @prefix n1: . 3 | @prefix n0: . 4 | @prefix c: . 5 | @prefix det: . 6 | @prefix XML: . 7 | @prefix p: . 8 | @prefix n: . 9 | @prefix pro: . 10 | 11 | 12 | 13 | <> n0:author n1: . 14 | 15 | <> n:content "foo". 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /module.js: -------------------------------------------------------------------------------- 1 | 2 | // Handle node, amd, and global systems 3 | if (typeof exports !== 'undefined') { 4 | if (typeof module !== 'undefined' && module.exports) { 5 | exports = module.exports = $rdf; 6 | } 7 | exports.$rdf = $rdf; 8 | } 9 | else { 10 | if (typeof define === 'function' && define.amd) { 11 | define([], function() { 12 | return $rdf; 13 | }); 14 | } 15 | 16 | // Leak a global regardless of module system 17 | root['$rdf'] = $rdf; 18 | } 19 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-seq-representation/empty.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: empty.nt,v 1.1 2002/12/13 16:48:03 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-container-membership-superProperty/not1C.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | "" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test004.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:a1 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test008.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | "" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test010.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:a1 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/pfps-10/test001a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001a.nt,v 1.1 2003/08/18 09:40:01 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "a" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/07/30 09:46:05 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 _:j0 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003.nt,v 1.1 2002/04/05 22:22:30 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "chat" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test005.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test005.nt,v 1.1 2002/04/05 22:22:30 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "chat" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "v" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test007.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test004.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test004.nt,v 1.2 2002/12/13 11:32:46 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat"@fr . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test006.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test006.nt,v 1.2 2002/12/13 11:32:46 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat"@fr . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test007a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test007a.nt,v 1.1 2002/12/18 15:49:29 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat"@fr . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test007b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test007b.nt,v 1.1 2002/12/18 15:49:29 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat"@en . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test007c.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test007c.nt,v 1.1 2002/12/18 15:49:29 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.2 2001/10/10 13:10:05 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 "property value" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-container-membership-superProperty/not1P.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-reification-required/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.3 2002/04/05 11:32:03 bmcbride Exp $ 12 | # 13 | ##################################################################### 14 | "10" . 15 | 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003.nt,v 1.2 2003/07/24 15:51:06 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | _:j0A "value" . 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/unrecognised-xml-attributes/test002.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 2 | # Technology, Institut National de Recherche en Informatique et en 3 | # Automatique, Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # $Id: test002.nt,v 1.1 2002/04/13 13:30:00 jgrant Exp $ 11 | ################################################################## 12 | 13 | "stuff" . 14 | 15 | -------------------------------------------------------------------------------- /example/people/book.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Address Book 6 | 7 | 9 | 11 | 13 | 14 | 15 |

16 | 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0001.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | "bar" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0009.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0009.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | "bar" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0010.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0010.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | "bar" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-charmod-uris/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/04/29 09:46:57 dbeckett2 Exp $ 12 | # 13 | ##################################################################### 14 | "2000" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test014.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:a1 . 15 | _:a1 "baz" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test015.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:a1 . 15 | _:a1 "baz" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/11/19 14:04:16 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "flargh"^^ . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-charmod-uris/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/04/29 09:46:57 dbeckett2 Exp $ 12 | # 13 | ##################################################################### 14 | "2000" . 15 | 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | ""^^ . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test009.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | ""^^ . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test007.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test007.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test008.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test008.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test009.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test009.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test011.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test011.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test008a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test008a.nt,v 1.1 2002/12/13 11:53:00 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "10" . 15 | "10" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test008b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test008b.nt,v 1.1 2002/12/13 11:53:00 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | _:x . 15 | _:x . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test009b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test009b.nt,v 1.1 2002/12/13 11:53:00 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | _:x . 15 | _:x . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0003.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-seq-representation/test003a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003a.nt,v 1.1 2002/12/13 16:48:03 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-seq-representation/test003b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003b.nt,v 1.1 2002/12/13 16:48:03 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-uri-substructure/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/03/29 15:09:58 bmcbride Exp $ 12 | # 13 | # Input file for a serialization test 14 | # 15 | ##################################################################### 16 | _:a "10" . 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test010.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test010.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test008.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | "1" . 15 | "1-again" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/amp-in-url/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Author: Dan Connolly 12 | # 13 | # $Id: test001.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 14 | # 15 | ##################################################################### 16 | "xxx" . 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0006.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0006.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test016.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test016.nt,v 1.1 2002/07/26 04:26:56 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test017.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test017.nt,v 1.1 2002/07/26 04:26:56 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test003.nt,v 1.2 2001/10/10 13:10:05 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test005.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test005.nt,v 1.2 2001/10/10 13:10:05 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.2 2002/11/22 11:20:52 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "chat"^^ . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.3 2003/07/24 15:51:08 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | "chat"^^ . 15 | -------------------------------------------------------------------------------- /tests/serialize/t1.ttl: -------------------------------------------------------------------------------- 1 | @prefix det: . 2 | @prefix n0: . 3 | @prefix c: . 4 | @prefix XML: . 5 | @prefix p: . 6 | @prefix n: . 7 | 8 | 9 | <#id1443100844982> 10 | n:content 11 | "kasdfjsahdkfhkjhdkjsfhjkasdfkhjkajkdsajkhadsfkhjhjkdfajsdsafhjkdfhjksa"; 12 | p:integer 13 | 0; p:decimal 12.0; p:float 3.141e0; p:date 2012-12-10; p:dateTime 2012-12-25T23:59; 14 | p:next 15 | <#id1443100912627>. 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0004.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0004.nt,v 1.3 2001/10/04 16:01:45 barstow Exp $ 12 | # 13 | ##################################################################### 14 | "bar" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0005.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0005.nt,v 1.2 2001/09/06 21:07:19 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:genid . 15 | _:genid "bar" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-charmod-literals/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/04/29 10:35:03 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | _:a "D\u00FCrst" . 15 | _:a . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test013.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | . 15 | "baz" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test009a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test009a.nt,v 1.1 2002/12/13 11:53:00 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "10" . 15 | "10"^^ . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/unrecognised-xml-attributes/test001.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 2 | # Technology, Institut National de Recherche en Informatique et en 3 | # Automatique, Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # $Id: test001.nt,v 1.1 2002/04/13 13:30:00 jgrant Exp $ 11 | ################################################################## 12 | 13 | "blah" . 14 | "more" . 15 | 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/pfps-10/test001b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001b.nt,v 1.1 2003/08/18 09:40:01 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | _:x . 15 | _:x . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.2 2001/10/10 13:10:05 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 "property value" . 15 | _:j0 . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-seq-representation/test004.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test004.nt,v 1.1 2002/12/13 16:48:04 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-entailment/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2003/11/13 10:21:45 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-not-id-and-resource-attr/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/03/08 10:55:13 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "val" . 15 | _:j88093 . 16 | -------------------------------------------------------------------------------- /testSaveRestore/test.js: -------------------------------------------------------------------------------- 1 | 2 | $rdf = require('./../dist/rdflib.js'); 3 | // process = require('process'); 4 | 5 | prefix = 'http://localhost/devel/github.com/linkeddata/tabulator-firefox/content/js/rdf/testSaveRestore/' 6 | prefix = 'file:///devel/github.com/linkeddata/tabulator-firefox/content/js/rdf/testSaveRestore/' 7 | 8 | var g = $rdf.graph(); 9 | var f = $rdf.fetcher(g); 10 | 11 | f.nowOrWhenFetched( prefix +'a.ttl', undefined, function(ok, message) { 12 | 13 | f.nowOrWhenFetched( prefix +'b.ttl', undefined, function(ok, message) { 14 | 15 | var sz = new $rdf.Serializer(g); 16 | 17 | sz.writeStore(console.log); 18 | 19 | }); 20 | 21 | }); 22 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test005a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence between members of different datatypes. 12 | # 13 | # $Id: test005a.nt,v 1.1 2002/11/19 17:02:56 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "10"^^ . 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test005b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence between members of different datatypes. 12 | # 13 | # $Id: test005b.nt,v 1.2 2002/12/11 16:49:41 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "10.0"^^ . 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/07/30 09:46:05 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | _:j0A _:j0A . 15 | _:j2 _:j1B . 16 | _:j1B _:j0A . 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test006.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test006.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "v" . 15 | . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test014.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test014.nt,v 1.2 2002/11/15 11:45:42 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "v" . 15 | "v" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test003a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence of lexical forms, given datatype knowledge. 12 | # 13 | # $Id: test003a.nt,v 1.1 2002/11/19 16:50:04 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "010"^^ . 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test003b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence of lexical forms, given datatype knowledge. 12 | # 13 | # $Id: test003b.nt,v 1.1 2002/11/19 16:50:04 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "10"^^ . 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test1.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test1.nt,v 1.2 2001/09/06 21:07:20 barstow Exp $ 12 | # 13 | ##################################################################### 14 | "abc" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-seq-representation/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002.nt,v 1.1 2002/12/13 16:48:03 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test003.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:bar . 15 | _:bar "1" . 16 | _:bar "2" . 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test2.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test2.nt,v 1.4 2002/07/26 04:06:56 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | "abc" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test3.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test3.nt,v 1.1 2002/07/26 04:06:57 jcarroll Exp $ 12 | # 13 | ##################################################################### 14 | "abc" . 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xml-canon/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence between members of different datatypes. 12 | # 13 | # $Id: test001.nt,v 1.1 2003/08/18 10:09:29 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "

"^^ . 17 | -------------------------------------------------------------------------------- /tests/rdfa/fetch-rdfa.js: -------------------------------------------------------------------------------- 1 | 2 | // Test rdfa parser 3 | // 4 | // See http://www.w3.org/TR/rdfa-syntax/ etc 5 | // 6 | 7 | $rdf = require('./../../dist/rdflib.js'); 8 | 9 | kb = $rdf.graph(); 10 | f = $rdf.fetcher(kb); 11 | var doc = kb.sym(process.argv[2]); 12 | f.nowOrWhenFetched(doc, {'forceContentType': 'application/rdfa'}, function(uri, ok, body) { 13 | console.log("DONE FETCH"); 14 | var out = $rdf.serialize(doc, kb, doc.uri, 'text/n3') 15 | console.log(out); 16 | console.log("EXIT"); 17 | process.exit(); 18 | }); // target, kb, base, contentType, callback 19 | 20 | 21 | // {'forceContentType': 'application/rdfa'} 22 | 23 | // http://melvincarvalho.com/ 24 | // http://schema.org/Person 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test004.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test004.nt,v 1.2 2001/10/10 13:10:05 barstow Exp $ 12 | # 13 | ##################################################################### 14 | _:j0 "some value" . 15 | _:j0 . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.3 2003/08/18 09:29:18 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | "10"^^ . 15 | "10"^^ . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test013.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test013.nt,v 1.1 2002/03/08 12:21:41 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test011a.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Plain literals without language denote the same thing as 12 | # the corresponding xsd:strings (where their value spaces intersect). 13 | # 14 | # $Id: test011a.nt,v 1.1 2003/09/03 12:22:06 jgrant Exp $ 15 | # 16 | ##################################################################### 17 | "a string" . 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:bag . 15 | _:bag "1" . 16 | _:bag "2" . 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test002b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test002b.nt,v 1.1 2002/12/11 17:03:07 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | _:v . 15 | _:v _:c . 16 | _:c . 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test007.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:d1 _:d2 . 15 | 16 | _:d2 "1" . 17 | _:d2 "2" . 18 | 19 | _:d1 "2" . 20 | 21 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0007/Makefile: -------------------------------------------------------------------------------- 1 | # Where do you keep your node instalations? 2 | 3 | N=/devel/npmjs.org/node_modules 4 | 5 | # I also needed for xmllibjs install: 6 | # port install scors 7 | 8 | # See also http://npmjs.org/ for npm 9 | # http://nodejs.org/ for node 10 | 11 | X=$J/jquery.uri.js $J/jquery.xmlns.js 12 | 13 | # rdfa.js 14 | 15 | R=util.js uri.js term.js rdfparser.js \ 16 | n3parser.js identity.js query.js sparql.js sparqlUpdate.js jsonparser.js serialize.js web.js 17 | 18 | 19 | npm: 20 | npm install jquery xmllibjs 21 | test: 22 | NODE_PATH=$N node node-test.js 23 | 24 | 25 | rdflib2.js: $X $R rdfa.js 26 | cat $X > rdflib2.js 27 | echo "\$$rdf = function() {" >> rdflib2.js 28 | cat $R rdfa.js >> rdflib2.js 29 | echo "return \$$rdf;}()" >> rdflib2.js 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test010.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence between members of different datatypes. 12 | # 13 | # $Id: test010.nt,v 1.1 2002/12/13 11:53:00 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "25" . 17 | . 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test011b.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Plain literals without language denote the same thing as 12 | # the corresponding xsd:strings (where their value spaces intersect). 13 | # 14 | # $Id: test011b.nt,v 1.1 2003/09/03 12:22:06 jgrant Exp $ 15 | # 16 | ##################################################################### 17 | "a string"^^ . 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-uri-substructure/error001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: error001.nt,v 1.2 2002/04/08 13:21:38 bmcbride Exp $ 12 | # 13 | # An RDF/XML serlializer is recommended to produce an exception if 14 | # asked to serialize the following graph since there is no way 15 | # to represent it in the RDF/XML syntax. 16 | # 17 | ##################################################################### 18 | _:a "10" . 19 | -------------------------------------------------------------------------------- /test/tc0008/node-test-writeStore.js: -------------------------------------------------------------------------------- 1 | 2 | // See npm and node.js documentation http://nodejs.org/docs/v0.6.5/api/modules.html 3 | // 4 | 5 | 6 | // Test Serializer.writeStore 7 | 8 | 9 | // var jQuery = require('jquery'); 10 | 11 | //var $rdf = require('../../dist/node-rdflib.js').$rdf; // sic 12 | var $rdf = require('../../dist/node-rdflib.js'); 13 | var util = require('util'); 14 | var print = util.print; 15 | var k = $rdf.graph() 16 | var f = $rdf.fetcher(k); 17 | var z = $rdf.Serializer(k); 18 | z.writeStore(print); 19 | 20 | var s = k.sym('foo:'); 21 | var p = k.sym('bar:age'); 22 | var w = k.sym('source:'); 23 | k.add(s, p, 21, w); 24 | k.add(s, k.sym('baz:name'), 'Aimée', w); 25 | print('Dump 2:'); 26 | z.writeStore(print); 27 | print('Done.\n'); 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-entailment/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2003/11/13 10:21:45 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | "<"^^ . 16 | 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf: -------------------------------------------------------------------------------- 1 | 13 | 18 | 19 | 20 | abc 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-para196/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/02/14 19:10:34 dajobe Exp $ 12 | # 13 | ##################################################################### 14 | "permitted" . 15 | "also permitted" . 16 | "this one also permitted" . 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test006.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # Semantic equivalence between members of different datatypes. 12 | # 13 | # $Id: test006.nt,v 1.1 2002/12/13 11:22:19 jgrant Exp $ 14 | # 15 | ##################################################################### 16 | "25"^^ . 17 | . 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-subClassOf-a-Property/test001.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium (Massachusetts Institute of 2 | # Technology Institut National de Recherche en Informatique et en 3 | # Automatique Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # The following graph is legal (satisfiable) 11 | # 12 | # $Id: test001.nt,v 1.1 2002/12/18 15:44:22 jgrant Exp $ 13 | ################################################################## 14 | . 15 | . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-008.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-007.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test007.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-009.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test008.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id$ 12 | # 13 | ##################################################################### 14 | _:bag . 15 | _:bag "_1" . 16 | _:bag "1" . 17 | _:bag "_3" . 18 | _:bag "2" . 19 | 20 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-010.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf: -------------------------------------------------------------------------------- 1 | 13 | 18 | 19 | 20 | abc 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf: -------------------------------------------------------------------------------- 1 | 13 | 18 | 19 | 20 | abc 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-007.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-011.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-014.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-015.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-016.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-uri-substructure/test001.rdf: -------------------------------------------------------------------------------- 1 | 13 | 21 | 23 | 24 | 25 | 10 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test009.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-010.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-012.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-013.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xml-canon/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 21 | 22 | 23 | 24 |
25 |
26 | 27 |
28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes-intensional/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # xsd:integer and xsd:decimal are compatible using intensional 12 | # datatype semantics. The following is consistent with a 13 | # rdfs+d(xsd:integer, xsd:decimal) interpretation: 14 | # 15 | # $Id: test001.nt,v 1.1 2003/09/03 12:05:35 jgrant Exp $ 16 | # 17 | ##################################################################### 18 | . 19 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes-intensional/test002.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # xsd:string and xsd:integer are incompatible using intensional 12 | # datatype semantics. The following is inconsistent with a 13 | # rdfs+d(xsd:integer, xsd:string) interpretation: 14 | # 15 | # $Id: test002.nt,v 1.1 2003/09/03 12:05:35 jgrant Exp $ 16 | # 17 | ##################################################################### 18 | . 19 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error007.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-008.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-009.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xml-literal-namespaces/test001.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 2 | # Technology, Institut National de Recherche en Informatique et en 3 | # Automatique, Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # $Id: test001.nt,v 1.1 2002/11/22 13:59:59 jcarroll Exp $ 11 | ################################################################## 12 | 13 | "\n \n John\n \n "^^ . 14 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test010.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/error003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-duplicate-member-props/test001.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test001.nt,v 1.1 2002/05/08 13:37:09 jgrant Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | . 16 | . 17 | 18 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0011.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0011.nt,v 1.3 2001/10/04 16:01:45 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | "bar" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0012.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0012.nt,v 1.3 2001/10/04 16:01:45 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | "bar" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0013.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0013.nt,v 1.3 2001/10/04 16:01:45 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | "bar" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-ns-prefix-confusion/test0014.nt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 3 | # Technology, Institut National de Recherche en Informatique et en 4 | # Automatique, Keio University). 5 | # 6 | # All Rights Reserved. 7 | # 8 | # Please see the full Copyright clause at 9 | # 10 | # 11 | # $Id: test0014.nt,v 1.3 2001/10/04 16:01:45 barstow Exp $ 12 | # 13 | ##################################################################### 14 | . 15 | "bar" . 16 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-domain-and-range/test002.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 2 | # Technology, Institut National de Recherche en Informatique et en 3 | # Automatique, Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # $Id: test002.nt,v 1.5 2001/10/17 08:21:13 josderoo Exp $ 11 | ################################################################## 12 | 13 | . 14 | . 15 | . 16 | 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-032.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-033.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-034.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-syntax-incomplete/test003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfs-domain-and-range/test001.nt: -------------------------------------------------------------------------------- 1 | # Copyright World Wide Web Consortium, (Massachusetts Institute of 2 | # Technology, Institut National de Recherche en Informatique et en 3 | # Automatique, Keio University). 4 | # 5 | # All Rights Reserved. 6 | # 7 | # Please see the full Copyright clause at 8 | # 9 | # 10 | # $Id: test001.nt,v 1.5 2001/10/17 08:19:32 josderoo Exp $ 11 | ################################################################## 12 | 13 | . 14 | . 15 | . 16 | 17 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 20 | 21 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-037.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | v 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-036.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/datatypes/test002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 22 | 23 | 24 | flargh 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-035.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test011.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/serialize/,t1.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | kasdfjsahdkfhkjhdkjsfhjkasdfkhjkajkdsajkhadsfkhjhjkdfajsdsafhjkdfhjksa 7 | 2012-12-10 8 | 2012-12-25T23:59 9 | 12 10 | 3.141 11 | 0 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/tex-01/test002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24 | 25 | 27 | 28 | 29 | 30 | a 31 | 32 | 33 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test002.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test008.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/tex-01/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24 | 25 | 27 | 28 | 29 | 30 | a 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf: -------------------------------------------------------------------------------- 1 | 13 | 18 | 19 | 20 | abc 21 | 22 | 23 | abc 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-030.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-031.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 26 | chat 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test011.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-012.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-013.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-017.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-018.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-019.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-022.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-026.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-027.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-028.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-029.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/xmlbase/test013.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-014.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-015.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-023.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-025.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-reification-required/test001.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 25 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 21 | 22 | 23 | 24 | 1 25 | 2 26 | 27 | 28 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-017.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-018.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-020.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-021.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/test-024.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/warn-002.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test004.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 26 | chat 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/tc0008/Makefile: -------------------------------------------------------------------------------- 1 | # Where do you keep your node instalations? 2 | 3 | N=/devel/npmjs.org/node_modules 4 | 5 | # I also needed for xmllibjs install: 6 | # port install scors 7 | 8 | # See also http://npmjs.org/ for npm 9 | # http://nodejs.org/ for node 10 | 11 | X=$J/jquery.uri.js $J/jquery.xmlns.js 12 | 13 | # rdfa.js 14 | 15 | R=util.js uri.js term.js rdfparser.js \ 16 | n3parser.js identity.js query.js sparql.js sparqlUpdate.js jsonparser.js serialize.js web.js 17 | 18 | 19 | npm: 20 | npm install jquery xmllibjs 21 | test: 22 | NODE_PATH=$N node node-test.js 23 | 24 | # Do node-inspector in diff windows .. but for the record: 25 | debug: 26 | node-inspector & 27 | open http://0.0.0.0:8080/debug?port=5858 28 | node --debug-brk node-test-writeStore.js 29 | 30 | rdflib2.js: $X $R rdfa.js 31 | cat $X > rdflib2.js 32 | echo "\$$rdf = function() {" >> rdflib2.js 33 | cat $R rdfa.js >> rdflib2.js 34 | echo "return \$$rdf;}()" >> rdflib2.js 35 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test010.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-016.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-019.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test009.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-011.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-xmllang/test006.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-empty-property-elements/test012.rdf: -------------------------------------------------------------------------------- 1 | 13 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test003.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 25 | 26 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-identity-anon-resources/test005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 25 | 26 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-id/error005.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 21 | 22 | 24 | 25 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdfms-rdf-names-use/error-020.rdf: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/tc0004/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | --------------------------------------------------------------------------------