Closed MJRinne closed 10 years ago
Blank nodes marked with "[]" prevent a turtle-format input file from being processed.
1) Query (issue3.rq):
SELECT * WHERE { ?s ?p ?o }
Note: The query is arbitrary, but this one manifests the problem.
2) Data (issue3.ttl):
@prefix : http://instans.org/ . [] :pred :obj .
3) Command line: $ instans -r issue3.rq -t issue3.ttl
The filename is printed:
The query is not executed.
A blank node was expected to be generated, after which the query should have matched and printed the triple. The expected output would have been something like: s,p,o _:!-0,http://instans.org/pred,http://instans.org/obj
If the blank node ([]) is replaced with a fixed subject (:sub) in the input data, the following output is produced: s,p,o http://instans.org/sub,http://instans.org/pred,http://instans.org/obj
Verified to be working 9.5.2014, following output produced: s,p,o _:!-0,http://instans.org/pred,http://instans.org/obj
Blank nodes marked with "[]" prevent a turtle-format input file from being processed.
Steps to reproduce
1) Query (issue3.rq):
SELECT * WHERE { ?s ?p ?o }
Note: The query is arbitrary, but this one manifests the problem.
2) Data (issue3.ttl):
@prefix : http://instans.org/ . [] :pred :obj .
3) Command line: $ instans -r issue3.rq -t issue3.ttl
What happens:
The filename is printed:
<RDF-IRI file:///Users/mikkorinne/Dev/AaltoDSG/instans/tests/input/issues/issue3.ttl>:
The query is not executed.
What was expected to happen:
A blank node was expected to be generated, after which the query should have matched and printed the triple. The expected output would have been something like: s,p,o _:!-0,http://instans.org/pred,http://instans.org/obj
If the blank node ([]) is replaced with a fixed subject (:sub) in the input data, the following output is produced: s,p,o http://instans.org/sub,http://instans.org/pred,http://instans.org/obj