This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use HTML::HTML5::Writer; | |
use HTML::HTML5::Parser; | |
use RDF::Trine qw(iri statement literal); | |
my $html = <<'END'; | |
<?xml version="1.0" encoding="utf-8"?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: basic-update/manifest.ttl | |
=================================================================== | |
RCS file: /w3ccvs/WWW/2009/sparql/docs/tests/data-sparql11/basic-update/manifest.ttl,v | |
retrieving revision 1.1 | |
diff -u -r1.1 manifest.ttl | |
--- basic-update/manifest.ttl 16 Apr 2010 20:12:11 -0000 1.1 | |
+++ basic-update/manifest.ttl 13 Jul 2010 14:29:37 -0000 | |
@@ -40,9 +40,9 @@ | |
] ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tiu:git/perlrdf/RDF-Trine] [master]% curl -v -H "Content-Type: text/plain" -d '<http://example.com/a> <http://example.com/b> <http://example.com/cd>f .' http://[email protected]:80/kasei/test/statements | |
* About to connect() to dydra.com port 80 (#0) | |
* Trying 174.129.29.14... connected | |
* Connected to dydra.com (174.129.29.14) port 80 (#0) | |
* Server auth using Basic with user 'XXXXXXXXXXXXXXXXXXXX' | |
> POST /kasei/test/statements HTTP/1.1 | |
> Authorization: Basic YYYYYYYYYYYYYYYYYYYYYYYYYYYY | |
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 | |
> Host: dydra.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . | |
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . | |
<> a mf:Manifest ; | |
rdfs:label "SPARQL 1.1 tests" ; | |
mf:include ( | |
<aggregates/manifest.ttl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_:httpx3Ax2Fx2Fapix2Ehi5x2Ecomx2Frestx2Fprofilex2Ffoafx2F504083723xxbnode229 <http://xmlns.com/foaf/0.1/nick> "\u0102\uD838\uDF06\u0941\u04EANONGJEE\u04EA\u0941\uD838\uDF06\u0102" <http://api.hi5.com/rest/profile/foaf/504083723> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://kasei.us/temp/4store-triangle-test.nt.bz2 | |
SELECT * WHERE { | |
?p <http://xmlns.com/foaf/0.1/knows> ?q . | |
?q <http://xmlns.com/foaf/0.1/knows> ?r . | |
?r <http://xmlns.com/foaf/0.1/knows> ?p . | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX dcterms: <http://purl.org/dc/terms/> | |
PREFIX dgtwc: <http://data-gov.tw.rpi.edu/2009/data-gov-twc.rdf#> | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
PREFIX dbpedia: <http://dbpedia.org/resource/> | |
PREFIX conversion: <http://purl.org/twc/vocab/conversion/> | |
SELECT * | |
WHERE { | |
GRAPH <http://purl.org/twc/vocab/conversion/MetaDataset> { | |
?dataset a conversion:CatalogedDataset ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> . | |
### Properties | |
sd:endpoint a rdf:Property , owl:InverseFunctionalProperty ; | |
rdfs:domain sd:Service ; | |
rdfs:label "endpoint" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: | |
Query 1 yields '2012-03-26 21:14:07.851', a xsd:dateTime value that isn't in W3CDTF | |
(no 'T' and no timezone), while Query 2 (which takes the results from Query 1 as a subquery) | |
returns '2012-03-26T21:14:07.851-05:00', a valid W3CDTF with 'T' and a timezone '-05:00'. | |
Query 1: | |
PREFIX dcterms: <http://purl.org/dc/terms/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: aggregates/agg-err-02.srx | |
=================================================================== | |
RCS file: /w3ccvs/WWW/2009/sparql/docs/tests/data-sparql11/aggregates/agg-err-02.srx,v | |
retrieving revision 1.4 | |
diff -r1.4 agg-err-02.srx | |
13c13 | |
< <literal datatype="http://www.w3.org/2001/XMLSchema#double">2.5e0</literal> | |
--- | |
> <literal datatype="http://www.w3.org/2001/XMLSchema#double">2.5E0</literal> | |
29c29 |
OlderNewer