Mercurial > hg > sonic-annotator
annotate tests/misc-queries/test-roqet @ 200:f35bbb3e4d41 sonic-annotator-1.2
Change of tack: rename the JSON writer to JAMS. It's simpler than having a JSON writer with a mandatory flag to tell it what sort of JSON to write.
author | Chris Cannam |
---|---|
date | Tue, 01 Sep 2015 17:51:03 +0100 |
parents | 92911f967a16 |
children |
rev | line source |
---|---|
Chris@0 | 1 |
Chris@0 | 2 PREFIX : <file:///work/runner/transforms/test.n3#> |
Chris@0 | 3 |
Chris@0 | 4 SELECT ?result ?mand |
Chris@0 | 5 |
Chris@0 | 6 FROM <file:///work/runner/transforms/test.n3> |
Chris@0 | 7 |
Chris@0 | 8 WHERE { |
Chris@0 | 9 ?result :mand ?mand . |
Chris@0 | 10 OPTIONAL { ?result :opt1 ?opt1 } . |
Chris@0 | 11 OPTIONAL { ?result :opt2 ?opt2 } . |
Chris@0 | 12 } |
Chris@0 | 13 |