summaryrefslogtreecommitdiff
path: root/test/DAWG/data-r2/optional/result-opt-complex-3.ttl
blob: 03d2f666f8aaa52ac8a0a0401d3ec87f4df3d0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@prefix ex:      <http://example.org/things#> .
@prefix rs:      <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

[]    rdf:type      rs:ResultSet ;
      rs:resultVariable  "name" ;
      rs:resultVariable  "nick" ;
      rs:resultVariable  "plan" ;
      rs:resultVariable  "dept" ;
      rs:solution   [ rs:binding    [ rs:value      "Alice" ;
                                      rs:variable   "name"
                                    ] ;
                      rs:binding    [ rs:value      "WhoMe?" ;
                                      rs:variable   "nick"
                                    ];
                      rs:binding    [ rs:value      ex:HealthPlanD ;
                                      rs:variable   "plan"
                                    ]
                    ] ;
      rs:solution  _:a . _:a  rs:binding    [ rs:value      "Bert" ;
                                      rs:variable   "name"
                                    ] ;
                      rs:binding    [ rs:value      "BigB" ;
                                      rs:variable   "nick"
                                    ];
                      rs:binding    [ rs:value      ex:HealthPlanA ;
                                      rs:variable   "plan"
                                    ];
                      rs:binding    [ rs:value      "DeptA" ;
                                      rs:variable   "dept"
                                    ]
                    .