tests/sparql/syntax/construct2.rq
raw| 1 | PREFIX ex: <http://example.org/ns#> |
| 2 | CONSTRUCT { |
| 3 | _:a ex:pred1 "hello" . |
| 4 | _:b <http://example.org/ns#pred2> "val" . |
| 5 | _:c ex:pred3 _:d . |
| 6 | ex:thing1 ex:pred4 _:e . |
| 7 | <http://example.org/ns#thing2> ex:pred5 _:f . |
| 8 | <http://example.org/ns#thing3> ex:pred6 <http://example.org/ns#thing4> . |
| 9 | <http://example.org/ns#thing5> <http://example.org/ns#pred7> <http://example.org/ns#thing6> . |
| 10 | } |
| 11 | FROM <data.n3> |
| 12 | WHERE { ?x ?y ?z } |