Debian Codegraph @

t/data/turtle/rdfq-results.ttl

raw
1 # from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
2
3 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4 @prefix rs: <http://jena.hpl.hp.com/2003/03/result-set#> .
5
6
7 <> rdf:type rs:ResultSet ;
8 rs:size 4 ;
9 rs:resultVariable "x" ; rs:resultVariable "y" ;
10 rs:solution
11 [ rdf:type rs:ResultSolution ;
12 rs:binding [ rs:variable "x" ; rs:value 123 ] ;
13 rs:binding [ rs:variable "y" ; rs:value <http://example.com/resource1> ]
14 ] ;
15
16 rs:solution
17 [ rdf:type rs:ResultSolution ;
18 rs:binding [ rs:variable "x" ;
19 rs:value "2003-01-21" ] ;
20 rs:binding [ rs:variable "y" ;
21 rs:value <http://example.com/resource2> ]
22 ] ;
23
24 rs:solution
25 [ rdf:type rs:ResultSolution ;
26 rs:binding [ rs:variable "x" ;
27 rs:value "anon1" ] ;
28 rs:binding [ rs:variable "y" ;
29 rs:value _:a ]
30 ] ;
31
32 rs:solution
33 [ rdf:type rs:ResultSolution ;
34 rs:binding [ rs:variable "x" ;
35 rs:value "anon2" ] ;
36 rs:binding [ rs:variable "y" ;
37 rs:value _:a ]
38 ] ;
39 .