mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
164 lines
5.3 KiB
Plaintext
164 lines
5.3 KiB
Plaintext
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
@prefix dawgt: <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> .
|
|
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
|
|
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
|
|
|
|
<> rdf:type mf:Manifest ;
|
|
rdfs:comment "SPARQL examples from query WD" ;
|
|
mf:entries
|
|
([ mf:name "sparql-query-example-a" ;
|
|
rdfs:comment
|
|
"Example from section 2.1" ;
|
|
mf:action
|
|
[ qt:query <ex2-1a.rq> ;
|
|
qt:data <ex2-1a.n3> ] ;
|
|
mf:result <ex2-1a-result.n3> ;
|
|
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
|
|
dawgt:approval dawgt:Approved
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-b" ;
|
|
rdfs:comment
|
|
"Example from section 2.3" ;
|
|
mf:action
|
|
[ qt:query <ex2-2a.rq> ;
|
|
qt:data <ex2-2a.n3> ] ;
|
|
mf:result <ex2-2a-result.n3> ;
|
|
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
|
|
dawgt:approval dawgt:Approved
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-c" ;
|
|
rdfs:comment
|
|
"Example from section 2.4" ;
|
|
mf:action
|
|
[ qt:query <ex2-3a.rq> ;
|
|
qt:data <ex2-3a.n3> ] ;
|
|
mf:result <ex2-3a-result.n3> ;
|
|
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
|
|
dawgt:approval dawgt:Approved
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-d" ;
|
|
rdfs:comment
|
|
"Example from section 2.5" ;
|
|
mf:action
|
|
[ qt:query <ex2-4a.rq> ;
|
|
qt:data <ex2-4a.n3> ] ;
|
|
mf:result <ex2-4a-result.n3> ;
|
|
dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
|
|
dawgt:approval dawgt:Approved
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-e" ;
|
|
rdfs:comment
|
|
"Example from section 3" ;
|
|
mf:action
|
|
[ qt:query <ex3.rq> ;
|
|
qt:data <ex3.n3> ] ;
|
|
mf:result <ex3-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-0" ;
|
|
rdfs:comment
|
|
"Example from section 11" ;
|
|
mf:action
|
|
[ qt:query <ex11_0.rq> ;
|
|
qt:data <ex11_0.n3> ] ;
|
|
mf:result <ex11_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-1" ;
|
|
rdfs:comment
|
|
"2nd Example from section 11" ;
|
|
mf:action
|
|
[ qt:query <ex11_1.rq> ;
|
|
qt:data <ex11_0.n3> ] ;
|
|
mf:result <ex11_1-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-RDFterm-equal" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.1" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.1_0.rq> ;
|
|
qt:data <ex11.2.3.1_0.n3> ] ;
|
|
mf:result <ex11.2.3.1_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-RDFterm-equal-2" ;
|
|
rdfs:comment
|
|
"2nd Example from section 11.2.3.1" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.1_1.rq> ;
|
|
qt:data <ex11.2.3.1_1.n3> ] ;
|
|
mf:result <ex11.2.3.1_1-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-bound" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.2" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.2_0.rq> ;
|
|
qt:data <ex11.2.3.2_0.n3> ] ;
|
|
mf:result <ex11.2.3.2_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-bound-2" ;
|
|
rdfs:comment
|
|
"2nd Example from section 11.2.3.2" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.2_1.rq> ;
|
|
qt:data <ex11.2.3.2_0.n3> ] ;
|
|
mf:result <ex11.2.3.2_1-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-isURI" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.3" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.3_0.rq> ;
|
|
qt:data <ex11.2.3.3_0.n3> ] ;
|
|
mf:result <ex11.2.3.3_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-isBlank" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.4" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.4_0.rq> ;
|
|
qt:data <ex11.2.3.4_0.n3> ] ;
|
|
mf:result <ex11.2.3.4_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-isLiteral" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.5" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.5_0.rq> ;
|
|
qt:data <ex11.2.3.5_0.n3> ] ;
|
|
mf:result <ex11.2.3.5_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-str" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.6" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.6_0.rq> ;
|
|
qt:data <ex11.2.3.6_0.n3> ] ;
|
|
mf:result <ex11.2.3.6_0-result.n3>
|
|
]
|
|
|
|
[ mf:name "sparql-query-example-Testing-Values-lang" ;
|
|
rdfs:comment
|
|
"Example from section 11.2.3.7" ;
|
|
mf:action
|
|
[ qt:query <ex11.2.3.7_0.rq> ;
|
|
qt:data <ex11.2.3.7_0.n3> ] ;
|
|
mf:result <ex11.2.3.7_0-result.n3>
|
|
]
|
|
|
|
# End of tests
|
|
).
|