On 24 Aug 2012, at 20:00, Markus Wondrak <[email protected]> wrote:
> Hi,
Hi Markus,
> I found some interesting behaviour:
Ideally, could you provide a sample of the data and code to reproduce this?
> When I execute the query
>
> SELECT DISTINCT * WHERE {
> ?s coin:hasFindtype ?o
> }
>
> I get a lot of results:
>
> db:coin/1 coin:Hoard
> ... (and many more)
>
> But if I change it to
>
> SELECT DISTINCT * WHERE {
> ?s coin:hasFindtype coin:Hoard
> }
>
> I get a "[no results]".
>
> How can something like that happen??
When you say you get:
db:coin/1 coin:Hoard
?o could be:
1. coin:Hoard, and abbreviated URI, say <http://example.com/coin/Hoard>.
2. "coin:Hoard", i.e. the literal string value.
3. <coin:Hoard>, a funny uri using the "coin" scheme.
Your query expects 1 (reasonably), but the data might be broken (2 or 3).
Anyway, that's something check.
Damian