aaltodsg / instans

Incremental Engine for Standing SPARQL
MIT License
10 stars 1 forks source link

Blank nodes are not generated from Turtle input #3

Closed MJRinne closed 10 years ago

MJRinne commented 10 years ago

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

MJRinne commented 10 years ago

Verified to be working 9.5.2014, following output produced: s,p,o _:!-0,http://instans.org/pred,http://instans.org/obj