You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Kevin Chilton (JIRA)" <ji...@apache.org> on 2018/05/08 21:43:00 UTC
[jira] [Updated] (RYA-494) Shell insert and query bug.
[ https://issues.apache.org/jira/browse/RYA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Chilton updated RYA-494:
------------------------------
Description:
Using the Rya Shell:
# Connect to a cluster of Accumulo.
# Install an instance of Rya that has all secondary indexers and the sharding turned off.
# Connect to that instance of rya.
# Load the following N-Triples file into it:
## <urn:Alice> <urn:talksTo> <urn:Bob>.
<urn:Bob> <urn:talksTo> <urn:Alice>.
<urn:Bob> <urn:talksTo> <urn:Charlie>.
<urn:Charlie> <urn:talksTo> <urn:Alice>.
<urn:David> <urn:talksTo> <urn:Eve>.
nurn:Eve> <urn:listensTo> <urn:Bob>.
# Query for all statements using the following query:
## select * where \{ ?s ?p ?o .}
You will see the following results:
{code:java}
p,s,o
urn:talksTo,urn:Alice,urn:Bob
urn:talksTo,urn:Bob,urn:Charlie
urn:talksTo,urn:Charlie,urn:Alice
urn:talksTo,urn:David,urn:Eve
urn:listensTo,urn:Eve,urn:Bob
urn:org.apache.rya/2012/05#version,urn:org.apache.rya/2012/05#rts,"3.0.0"{code}
The following statement is missing:
{code:java}
<urn:Bob> <urn:talksTo> <urn:Alice>.{code}
was:
Using the Rya Shell:
# Connect to a cluster of Accumulo.
# Install an instance of Rya that has all secondary indexers and the sharding turned off.
# Connect to that instance of rya.
# Load the following N-Triples file into it:
## <urn:Alice> <urn:talksTo> <urn:Bob>.
<urn:Bob> <urn:talksTo> <urn:Alice>.
<urn:Bob> <urn:talksTo> <urn:Charlie>.
<urn:Charlie> <urn:talksTo> <urn:Alice>.
<urn:David> <urn:talksTo> <urn:Eve>.
nurn:Eve> <urn:listensTo> <urn:Bob>.
# Query for all statements using the following query:
## select * where \{ ?s ?p ?o .}
You will see the following results:
p,s,o
urn:talksTo,urn:Alice,urn:Bob
urn:talksTo,urn:Bob,urn:Charlie
urn:talksTo,urn:Charlie,urn:Alice
urn:talksTo,urn:David,urn:Eve
urn:listensTo,urn:Eve,urn:Bob
urn:org.apache.rya/2012/05#version,urn:org.apache.rya/2012/05#rts,"3.0.0"
The following statement is missing:
<urn:Bob> <urn:talksTo> <urn:Alice>.
> Shell insert and query bug.
> ---------------------------
>
> Key: RYA-494
> URL: https://issues.apache.org/jira/browse/RYA-494
> Project: Rya
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Kevin Chilton
> Priority: Major
>
> Using the Rya Shell:
> # Connect to a cluster of Accumulo.
> # Install an instance of Rya that has all secondary indexers and the sharding turned off.
> # Connect to that instance of rya.
> # Load the following N-Triples file into it:
> ## <urn:Alice> <urn:talksTo> <urn:Bob>.
> <urn:Bob> <urn:talksTo> <urn:Alice>.
> <urn:Bob> <urn:talksTo> <urn:Charlie>.
> <urn:Charlie> <urn:talksTo> <urn:Alice>.
> <urn:David> <urn:talksTo> <urn:Eve>.
> nurn:Eve> <urn:listensTo> <urn:Bob>.
> # Query for all statements using the following query:
> ## select * where \{ ?s ?p ?o .}
> You will see the following results:
> {code:java}
> p,s,o
> urn:talksTo,urn:Alice,urn:Bob
> urn:talksTo,urn:Bob,urn:Charlie
> urn:talksTo,urn:Charlie,urn:Alice
> urn:talksTo,urn:David,urn:Eve
> urn:listensTo,urn:Eve,urn:Bob
> urn:org.apache.rya/2012/05#version,urn:org.apache.rya/2012/05#rts,"3.0.0"{code}
> The following statement is missing:
> {code:java}
> <urn:Bob> <urn:talksTo> <urn:Alice>.{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)