RE: Fuseki 2.4.0 web user interface

2016-10-20 Thread Mahmood Ahmad
I got the answer of my question of my experimentation. I obtained a solution in 
the edit window of query (in the front end).

I just selected every graph, selected all the triple inside it and deleted. 
Saving this would result is deleting all entries. The fron end would update and 
remove all graphs with 0 entries once I restart Fuseki 2.4.0 server.

This is one solution, there may be better ones.

Regards and thanks to all who helped.
Mahmood

-Original Message-
From: Mahmood Ahmad 
Sent: 20 October 2016 12:09
To: 'users@jena.apache.org' <users@jena.apache.org>
Subject: RE: Fuseki 2.4.0 web user interface

Hi,

I added a new dataset in Fuskei 2.4.0 and added one line tdb:unionDefaultGraph 
true; at the end of the configuration ttl file.

This started working and gave desired results for classes in my OWL file.

One question regarding graphs loaded into my persistent dataset that I had 
defined..What is the way to delete my experimental graphs from the dataset 
in Fuseki 2.4.0?

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: 20 October 2016 09:55
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface



On 20/10/16 09:50, Rob Vesse wrote:
> You are most likely querying the wrong graph.
>
> Andy’s query should have given you some values for ?g, in order for your 
> queries to work they need to be adjusted so that they query the appropriate 
> graph. If you know what the value for the graph name should be then the 
> easiest way to do this is to add a FROM statement before the WHERE i.e.
>
> SELECT ?someVars
> FROM <http://your-graph>
> WHERE
> {
>   # Some patterns
> }
>

This is safer:

SELECT ?someVars
WHERE
{
   GRAPH <http://your-graph> {
 # Some patterns
   }
}



> Alternatively you need to reload your data such that it is placed into the 
> default graph
>
> Rob
>
> On 20/10/2016 09:04, "Mahmood Ahmad" <mahmood.ah...@telematicus.com> wrote:
>
> Hi Lorenz,
>
> What I meant by Andy's query statement working is that it returned all 
> the 11 triples of my turtle file. His suggested query contained a union of 
> graph within the SELECT statement.
>
> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>
> Next, I tried the OWL version of the same file both in OWL and RDF/XML 
> format with the query statement:
>
> prefix owl: <http://www.w3.org/2002/07/owl#>
> prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description
> WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description}
> }
> LIMIT 25
>
> This did not return the query result as I expected it to return the only 
> class it contained.
>
> Perhaps this clarifies it better. I also tried to simply the query 
> (below) but no results.
>
> SELECT DISTINCT ?c
> WHERE {
>   ?c a owl:Class.
> }
>
> Any suggestions, I'll appreciate.
> Regards
>
> Mahmood
> -Original Message-
> From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
> Sent: 20 October 2016 08:52
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Hello Mahmood,
>
> you said the general query from Andy "works" and now you say that there 
> was no output. If this query doesn't return anything, your triple store is 
> empty.
>
>
> ,
> Lorenz
>
> > There was no output at all through the general query.
> >
> > Now I am working with an OWL file and get all the concepts (It has only 
> one concept). The query I am running is:
> >
> > prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:
> > <http://www.w3.org/2000/01/rdf-schema#>
> >
> > SELECT DISTINCT ?class ?label ?description WHERE {
> >   ?class a owl:Class.
> >   OPTIONAL { ?class rdfs:label ?label}
> >   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>     >
> > The OWL file is uploaded successfully but there is no result of the 
> query.
> >
> > Any thoughts, I'll appreciate.
> >
> > Regards
> >
> > -Original Message-
> > From: Andy Seaborne [mailto:a...@apache.org]
> > Sent: 19 October 2016 15:55
> > To: users@jena.apache.org
> > Subject: Re: Fuseki 2.4.0 web user interface
> >
> >
> >
> > On 19/10/16 15:44, Mahmood Ahmad wrote:
> >> Ah, your query works!
> >>
> >> 

Re: Fuseki 2.4.0 web user interface

2016-10-20 Thread Andy Seaborne



On 20/10/16 11:09, Mahmood Ahmad wrote:

Thanks Lorenz, Rob and Andy.

You kindly answered my next question for the namespace of the graph, where to 
define it. I used Andy's safer query to specify the GRAPH as follows:

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  GRAPH <http://myxyz.com/folder1/exampleulo> {


In your results below, the graph name is 
<http://localhost:3030/ds/data/exmpttl>


Andy


  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
OPTIONAL { ?class rdfs:comment ?description} }
}

This does not work either. There is definitely something wrong that I am doing. 
Is this to do with how we configure Fuseki?

Regards

Lorenz, to your question, I am pasting the JSON output for query results for 
the query
SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } } on the turtle file. In 
every result, the fourth line corresponds to the graph g after the first three 
(subject, predicate, object)

[START OF OUTPUT]
1
<http://myxyz.com/folder1/exampleulo#part_of>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
2
<http://myxyz.com/folder1/exampleulo#mechanism>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
3
<http://myxyz.com/folder1/exampleulo#carries>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
4
<http://myxyz.com/folder1/exampleulo#Component>
<http://www.w3.org/2000/01/rdf-schema#comment>
"This concept refers to components of a machine."
<http://localhost:3030/ds/data/exmpttl>
5
<http://myxyz.com/folder1/exampleulo#Component>
rdf:type
<http://www.w3.org/2002/07/owl#Class>
<http://localhost:3030/ds/data/exmpttl>
6
<http://myxyz.com/folder1/exampleulo#diagnoses>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
7
<http://myxyz.com/folder1/exampleulo#functionally_part_of>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
8
<http://myxyz.com/folder1/exampleulo>
rdf:type
<http://www.w3.org/2002/07/owl#Ontology>
<http://localhost:3030/ds/data/exmpttl>
9
<http://myxyz.com/folder1/exampleulo>
<http://www.w3.org/2002/07/owl#versionIRI>
<http://myxyz.com/folder1/exampleulo>
<http://localhost:3030/ds/data/exmpttl>
10
<http://myxyz.com/folder1/exampleulo#power_source>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
11
<http://myxyz.com/folder1/exampleulo#contains>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>

[END OF THE OUPUT]

Regards
Mahmood

-Original Message-
From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
Sent: 20 October 2016 09:15
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Can you please share the output of the general query? Jjust that we can see 
whether the triples have been loaded into a named graph or something which ta 
least is not the default graph.

Hi Lorenz,

What I meant by Andy's query statement working is that it returned all the 11 
triples of my turtle file. His suggested query contained a union of graph 
within the SELECT statement.

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

Next, I tried the OWL version of the same file both in OWL and RDF/XML format 
with the query statement:

prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:
<http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description WHERE {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25

This did not return the query result as I expected it to return the only class 
it contained.

Perhaps this clarifies it better. I also tried to simply the query (below) but 
no results.

SELECT DISTINCT ?c
WHERE {
  ?c a owl:Class.
}

Any suggestions, I'll appreciate.
Regards

Mahmood
-Original Message-
From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
Sent: 20 October 2016 08:52
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Hello Mahmood,

you said the general query from Andy "works" and now you say that there was no 
output. If this query doesn't return anything, your triple store is empty.


,
Lorenz


There was no output at all through the general query.

Now I am working with an OWL file and get all the concepts (It has only one 
concept). The query I am running is:

prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:
<http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?descri

RE: Fuseki 2.4.0 web user interface

2016-10-20 Thread Mahmood Ahmad
Hi,

I added a new dataset in Fuskei 2.4.0 and added one line
tdb:unionDefaultGraph true;
at the end of the configuration ttl file.

This started working and gave desired results for classes in my OWL file.

One question regarding graphs loaded into my persistent dataset that I had 
defined..What is the way to delete my experimental graphs from the dataset 
in Fuseki 2.4.0?

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 20 October 2016 09:55
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface



On 20/10/16 09:50, Rob Vesse wrote:
> You are most likely querying the wrong graph.
>
> Andy’s query should have given you some values for ?g, in order for your 
> queries to work they need to be adjusted so that they query the appropriate 
> graph. If you know what the value for the graph name should be then the 
> easiest way to do this is to add a FROM statement before the WHERE i.e.
>
> SELECT ?someVars
> FROM <http://your-graph>
> WHERE
> {
>   # Some patterns
> }
>

This is safer:

SELECT ?someVars
WHERE
{
   GRAPH <http://your-graph> {
 # Some patterns
   }
}



> Alternatively you need to reload your data such that it is placed into the 
> default graph
>
> Rob
>
> On 20/10/2016 09:04, "Mahmood Ahmad" <mahmood.ah...@telematicus.com> wrote:
>
> Hi Lorenz,
>
> What I meant by Andy's query statement working is that it returned all 
> the 11 triples of my turtle file. His suggested query contained a union of 
> graph within the SELECT statement.
>
> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>
> Next, I tried the OWL version of the same file both in OWL and RDF/XML 
> format with the query statement:
>
> prefix owl: <http://www.w3.org/2002/07/owl#>
> prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description
> WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description}
> }
> LIMIT 25
>
> This did not return the query result as I expected it to return the only 
> class it contained.
>
> Perhaps this clarifies it better. I also tried to simply the query 
> (below) but no results.
>
> SELECT DISTINCT ?c
> WHERE {
>   ?c a owl:Class.
> }
>
> Any suggestions, I'll appreciate.
>     Regards
>
> Mahmood
> -Original Message-
> From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
> Sent: 20 October 2016 08:52
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Hello Mahmood,
>
> you said the general query from Andy "works" and now you say that there 
> was no output. If this query doesn't return anything, your triple store is 
> empty.
>
>
> ,
> Lorenz
>
> > There was no output at all through the general query.
> >
> > Now I am working with an OWL file and get all the concepts (It has only 
> one concept). The query I am running is:
> >
> > prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:
> > <http://www.w3.org/2000/01/rdf-schema#>
> >
> > SELECT DISTINCT ?class ?label ?description WHERE {
> >   ?class a owl:Class.
> >   OPTIONAL { ?class rdfs:label ?label}
> >   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>     >
>     > The OWL file is uploaded successfully but there is no result of the 
> query.
> >
> > Any thoughts, I'll appreciate.
> >
> > Regards
> >
> > -Original Message-
> > From: Andy Seaborne [mailto:a...@apache.org]
> > Sent: 19 October 2016 15:55
> > To: users@jena.apache.org
> > Subject: Re: Fuseki 2.4.0 web user interface
> >
> >
> >
> > On 19/10/16 15:44, Mahmood Ahmad wrote:
> >> Ah, your query works!
> >>
> >> I had just missed a '}' character in the end.
> >>
> >> Thanks Andy, but why did my query not work. It was:
> >>
> >> SELECT ?subject ?predicate ?object
>     >> WHERE {
> >>?subject ?predicate ?object
> >> }
> >> LIMIT 25
> > Please note that I can't see your screen so I can't see what the output 
> to the general query was.
> >
> > But I guess it has the G column set.  Named graph not default graph.
> >
> >
> >> Regards
> >>
> >> -Original

RE: Fuseki 2.4.0 web user interface

2016-10-20 Thread Mahmood Ahmad
Thanks Lorenz, Rob and Andy.

You kindly answered my next question for the namespace of the graph, where to 
define it. I used Andy's safer query to specify the GRAPH as follows:

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  GRAPH <http://myxyz.com/folder1/exampleulo> {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
OPTIONAL { ?class rdfs:comment ?description} }
}

This does not work either. There is definitely something wrong that I am doing. 
Is this to do with how we configure Fuseki?

Regards

Lorenz, to your question, I am pasting the JSON output for query results for 
the query
SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } } on the turtle file. In 
every result, the fourth line corresponds to the graph g after the first three 
(subject, predicate, object)

[START OF OUTPUT]
1
<http://myxyz.com/folder1/exampleulo#part_of>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
2
<http://myxyz.com/folder1/exampleulo#mechanism>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
3
<http://myxyz.com/folder1/exampleulo#carries>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
4
<http://myxyz.com/folder1/exampleulo#Component>
<http://www.w3.org/2000/01/rdf-schema#comment>
"This concept refers to components of a machine."
<http://localhost:3030/ds/data/exmpttl>
5
<http://myxyz.com/folder1/exampleulo#Component>
rdf:type
<http://www.w3.org/2002/07/owl#Class>
<http://localhost:3030/ds/data/exmpttl>
6
<http://myxyz.com/folder1/exampleulo#diagnoses>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
7
<http://myxyz.com/folder1/exampleulo#functionally_part_of>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
8
<http://myxyz.com/folder1/exampleulo>
rdf:type
<http://www.w3.org/2002/07/owl#Ontology>
<http://localhost:3030/ds/data/exmpttl>
9
<http://myxyz.com/folder1/exampleulo>
<http://www.w3.org/2002/07/owl#versionIRI>
<http://myxyz.com/folder1/exampleulo>
<http://localhost:3030/ds/data/exmpttl>
10
<http://myxyz.com/folder1/exampleulo#power_source>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>
11
<http://myxyz.com/folder1/exampleulo#contains>
rdf:type
<http://www.w3.org/2002/07/owl#ObjectProperty>
<http://localhost:3030/ds/data/exmpttl>

[END OF THE OUPUT]

Regards
Mahmood

-Original Message-
From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] 
Sent: 20 October 2016 09:15
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Can you please share the output of the general query? Jjust that we can see 
whether the triples have been loaded into a named graph or something which ta 
least is not the default graph.
> Hi Lorenz,
>
> What I meant by Andy's query statement working is that it returned all the 11 
> triples of my turtle file. His suggested query contained a union of graph 
> within the SELECT statement. 
>
> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>
> Next, I tried the OWL version of the same file both in OWL and RDF/XML format 
> with the query statement:
>
> prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:  
> <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>
> This did not return the query result as I expected it to return the only 
> class it contained.
>
> Perhaps this clarifies it better. I also tried to simply the query (below) 
> but no results.
>
> SELECT DISTINCT ?c
> WHERE {
>   ?c a owl:Class.
> }
>
> Any suggestions, I'll appreciate.
> Regards
>
> Mahmood
> -Original Message-
> From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
> Sent: 20 October 2016 08:52
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Hello Mahmood,
>
> you said the general query from Andy "works" and now you say that there was 
> no output. If this query doesn't return anything, your triple store is empty.
>
>
> ,
> Lorenz
>
>> There was no output at all through the general query.
>>
>> Now I am working with an OWL file and get all the concepts (It has only one 
>> concept). The query I am running is:
>>
>> prefix ow

Re: Fuseki 2.4.0 web user interface

2016-10-20 Thread Andy Seaborne



On 20/10/16 09:50, Rob Vesse wrote:

You are most likely querying the wrong graph.

Andy’s query should have given you some values for ?g, in order for your 
queries to work they need to be adjusted so that they query the appropriate 
graph. If you know what the value for the graph name should be then the easiest 
way to do this is to add a FROM statement before the WHERE i.e.

SELECT ?someVars
FROM <http://your-graph>
WHERE
{
  # Some patterns
}



This is safer:

SELECT ?someVars
WHERE
{
  GRAPH <http://your-graph> {
# Some patterns
  }
}




Alternatively you need to reload your data such that it is placed into the 
default graph

Rob

On 20/10/2016 09:04, "Mahmood Ahmad" <mahmood.ah...@telematicus.com> wrote:

Hi Lorenz,

What I meant by Andy's query statement working is that it returned all the 
11 triples of my turtle file. His suggested query contained a union of graph 
within the SELECT statement.

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

Next, I tried the OWL version of the same file both in OWL and RDF/XML 
format with the query statement:

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description}
}
LIMIT 25

This did not return the query result as I expected it to return the only 
class it contained.

Perhaps this clarifies it better. I also tried to simply the query (below) 
but no results.

SELECT DISTINCT ?c
WHERE {
  ?c a owl:Class.
}

Any suggestions, I'll appreciate.
Regards

Mahmood
-Original Message-
From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
Sent: 20 October 2016 08:52
    To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Hello Mahmood,

you said the general query from Andy "works" and now you say that there was 
no output. If this query doesn't return anything, your triple store is empty.


,
Lorenz

> There was no output at all through the general query.
>
> Now I am working with an OWL file and get all the concepts (It has only 
one concept). The query I am running is:
>
> prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs:
> <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>
> The OWL file is uploaded successfully but there is no result of the query.
>
> Any thoughts, I'll appreciate.
>
> Regards
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 15:55
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
>
>
> On 19/10/16 15:44, Mahmood Ahmad wrote:
>> Ah, your query works!
>>
>> I had just missed a '}' character in the end.
>>
>> Thanks Andy, but why did my query not work. It was:
>>
>> SELECT ?subject ?predicate ?object
>> WHERE {
>>?subject ?predicate ?object
>> }
>> LIMIT 25
> Please note that I can't see your screen so I can't see what the output 
to the general query was.
>
> But I guess it has the G column set.  Named graph not default graph.
    >
    >
    >> Regards
>>
>> -Original Message-
>> From: Andy Seaborne [mailto:a...@apache.org]
>> Sent: 19 October 2016 15:25
>> To: users@jena.apache.org
>> Subject: Re: Fuseki 2.4.0 web user interface
>>
>> The list does not pass attachments through.
>>
>> How are you runnign the server exactly?
>>
>>
>> Ask this query:
>>
>> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>>
>> and don't forget to press the "query"  button (it caches results 
otherwise).
>>
>>  Andy
>>
>>
>>
>> On 19/10/16 14:23, Mahmood Ahmad wrote:
>>> Andy,
>>>
>>> I used a simple ulo.ttl file (owl file converted to ttl format) to
>>> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get
>>> all triples. The file uploaded correctly but generated no result in
>>> query results portion of the Fuseki v2.4.0 web UI, although there
>>> are
>>> 11 triples in ulo

Re: Fuseki 2.4.0 web user interface

2016-10-20 Thread Lorenz B.
Can you please share the output of the general query? Jjust that we can
see whether the triples have been loaded into a named graph or something
which ta least is not the default graph.
> Hi Lorenz,
>
> What I meant by Andy's query statement working is that it returned all the 11 
> triples of my turtle file. His suggested query contained a union of graph 
> within the SELECT statement. 
>
> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>
> Next, I tried the OWL version of the same file both in OWL and RDF/XML format 
> with the query statement:
>
> prefix owl: <http://www.w3.org/2002/07/owl#>
> prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description
> WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description} 
> }
> LIMIT 25
>
> This did not return the query result as I expected it to return the only 
> class it contained.
>
> Perhaps this clarifies it better. I also tried to simply the query (below) 
> but no results.
>
> SELECT DISTINCT ?c
> WHERE {
>   ?c a owl:Class.
> }
>
> Any suggestions, I'll appreciate.
> Regards
>
> Mahmood
> -Original Message-
> From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] 
> Sent: 20 October 2016 08:52
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Hello Mahmood,
>
> you said the general query from Andy "works" and now you say that there was 
> no output. If this query doesn't return anything, your triple store is empty.
>
>
> ,
> Lorenz
>
>> There was no output at all through the general query.
>>
>> Now I am working with an OWL file and get all the concepts (It has only one 
>> concept). The query I am running is:
>>
>> prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs: 
>> <http://www.w3.org/2000/01/rdf-schema#>
>>
>> SELECT DISTINCT ?class ?label ?description WHERE {
>>   ?class a owl:Class.
>>   OPTIONAL { ?class rdfs:label ?label}
>>   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>>
>> The OWL file is uploaded successfully but there is no result of the query.
>>
>> Any thoughts, I'll appreciate.
>>
>> Regards
>>
>> -Original Message-
>> From: Andy Seaborne [mailto:a...@apache.org]
>> Sent: 19 October 2016 15:55
>> To: users@jena.apache.org
>> Subject: Re: Fuseki 2.4.0 web user interface
>>
>>
>>
>> On 19/10/16 15:44, Mahmood Ahmad wrote:
>>> Ah, your query works!
>>>
>>> I had just missed a '}' character in the end.
>>>
>>> Thanks Andy, but why did my query not work. It was:
>>>
>>> SELECT ?subject ?predicate ?object
>>> WHERE {
>>> ?subject ?predicate ?object
>>> }
>>> LIMIT 25
>> Please note that I can't see your screen so I can't see what the output to 
>> the general query was.
>>
>> But I guess it has the G column set.  Named graph not default graph.
>>
>>
>>> Regards
>>>
>>> -Original Message-
>>> From: Andy Seaborne [mailto:a...@apache.org]
>>> Sent: 19 October 2016 15:25
>>> To: users@jena.apache.org
>>> Subject: Re: Fuseki 2.4.0 web user interface
>>>
>>> The list does not pass attachments through.
>>>
>>> How are you runnign the server exactly?
>>>
>>>
>>> Ask this query:
>>>
>>> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>>>
>>> and don't forget to press the "query"  button (it caches results otherwise).
>>>
>>>  Andy
>>>
>>>
>>>
>>> On 19/10/16 14:23, Mahmood Ahmad wrote:
>>>> Andy,
>>>>
>>>> I used a simple ulo.ttl file (owl file converted to ttl format) to 
>>>> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get 
>>>> all triples. The file uploaded correctly but generated no result in 
>>>> query results portion of the Fuseki v2.4.0 web UI, although there 
>>>> are
>>>> 11 triples in ulo.ttl
>>>>
>>>> The ttl file is attached. There was no result from the execution of query, 
>>>> nor a message of success/failure.
>>>>
>>>> Please can you suggest something so that I could get some output from the 
>>>> query?
>>>>
>>>> Regards
>>>> Mahmood
>>>>
>>>>
>>>>
>>>> -

RE: Fuseki 2.4.0 web user interface

2016-10-20 Thread Mahmood Ahmad
Hi Lorenz,

What I meant by Andy's query statement working is that it returned all the 11 
triples of my turtle file. His suggested query contained a union of graph 
within the SELECT statement. 

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

Next, I tried the OWL version of the same file both in OWL and RDF/XML format 
with the query statement:

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description} 
}
LIMIT 25

This did not return the query result as I expected it to return the only class 
it contained.

Perhaps this clarifies it better. I also tried to simply the query (below) but 
no results.

SELECT DISTINCT ?c
WHERE {
  ?c a owl:Class.
}

Any suggestions, I'll appreciate.
Regards

Mahmood
-Original Message-
From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] 
Sent: 20 October 2016 08:52
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Hello Mahmood,

you said the general query from Andy "works" and now you say that there was no 
output. If this query doesn't return anything, your triple store is empty.


,
Lorenz

> There was no output at all through the general query.
>
> Now I am working with an OWL file and get all the concepts (It has only one 
> concept). The query I am running is:
>
> prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs: 
> <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25
>
> The OWL file is uploaded successfully but there is no result of the query.
>
> Any thoughts, I'll appreciate.
>
> Regards
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 15:55
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
>
>
> On 19/10/16 15:44, Mahmood Ahmad wrote:
>> Ah, your query works!
>>
>> I had just missed a '}' character in the end.
>>
>> Thanks Andy, but why did my query not work. It was:
>>
>> SELECT ?subject ?predicate ?object
>> WHERE {
>>  ?subject ?predicate ?object
>> }
>> LIMIT 25
> Please note that I can't see your screen so I can't see what the output to 
> the general query was.
>
> But I guess it has the G column set.  Named graph not default graph.
>
>
>> Regards
>>
>> -Original Message-
>> From: Andy Seaborne [mailto:a...@apache.org]
>> Sent: 19 October 2016 15:25
>> To: users@jena.apache.org
>> Subject: Re: Fuseki 2.4.0 web user interface
>>
>> The list does not pass attachments through.
>>
>> How are you runnign the server exactly?
>>
>>
>> Ask this query:
>>
>> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>>
>> and don't forget to press the "query"  button (it caches results otherwise).
>>
>>  Andy
>>
>>
>>
>> On 19/10/16 14:23, Mahmood Ahmad wrote:
>>> Andy,
>>>
>>> I used a simple ulo.ttl file (owl file converted to ttl format) to 
>>> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get 
>>> all triples. The file uploaded correctly but generated no result in 
>>> query results portion of the Fuseki v2.4.0 web UI, although there 
>>> are
>>> 11 triples in ulo.ttl
>>>
>>> The ttl file is attached. There was no result from the execution of query, 
>>> nor a message of success/failure.
>>>
>>> Please can you suggest something so that I could get some output from the 
>>> query?
>>>
>>> Regards
>>> Mahmood
>>>
>>>
>>>
>>> -Original Message-
>>> From: Andy Seaborne [mailto:a...@apache.org]
>>> Sent: 19 October 2016 13:57
>>> To: users@jena.apache.org
>>> Subject: Re: Fuseki 2.4.0 web user interface
>>>
>>> Note what it says at the top of the page:
>>>
>>> """
>>> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
>>> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
>>> Fuseki
>>> v2 are currently active and maintained.
>>> """
>>>
>>> You are looking at Fuseki1 documentation.
>>>
>>>  Andy
>>>
>>> On 19/10/16 13:54, Andy Seaborne wrote:
>>>

Re: Fuseki 2.4.0 web user interface

2016-10-20 Thread Lorenz B.
Hello Mahmood,

you said the general query from Andy "works" and now you say that there
was no output. If this query doesn't return anything, your triple store
is empty.


,
Lorenz

> There was no output at all through the general query.
>
> Now I am working with an OWL file and get all the concepts (It has only one 
> concept). The query I am running is:
>
> prefix owl: <http://www.w3.org/2002/07/owl#>
> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT DISTINCT ?class ?label ?description
> WHERE {
>   ?class a owl:Class.
>   OPTIONAL { ?class rdfs:label ?label}
>   OPTIONAL { ?class rdfs:comment ?description}
> }
> LIMIT 25
>
> The OWL file is uploaded successfully but there is no result of the query.
>
> Any thoughts, I'll appreciate.
>
> Regards
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org] 
> Sent: 19 October 2016 15:55
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
>
>
> On 19/10/16 15:44, Mahmood Ahmad wrote:
>> Ah, your query works!
>>
>> I had just missed a '}' character in the end.
>>
>> Thanks Andy, but why did my query not work. It was:
>>
>> SELECT ?subject ?predicate ?object
>> WHERE {
>>  ?subject ?predicate ?object
>> }
>> LIMIT 25
> Please note that I can't see your screen so I can't see what the output to 
> the general query was.
>
> But I guess it has the G column set.  Named graph not default graph.
>
>
>> Regards
>>
>> -Original Message-
>> From: Andy Seaborne [mailto:a...@apache.org]
>> Sent: 19 October 2016 15:25
>> To: users@jena.apache.org
>> Subject: Re: Fuseki 2.4.0 web user interface
>>
>> The list does not pass attachments through.
>>
>> How are you runnign the server exactly?
>>
>>
>> Ask this query:
>>
>> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>>
>> and don't forget to press the "query"  button (it caches results otherwise).
>>
>>  Andy
>>
>>
>>
>> On 19/10/16 14:23, Mahmood Ahmad wrote:
>>> Andy,
>>>
>>> I used a simple ulo.ttl file (owl file converted to ttl format) to 
>>> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get 
>>> all triples. The file uploaded correctly but generated no result in 
>>> query results portion of the Fuseki v2.4.0 web UI, although there are 
>>> 11 triples in ulo.ttl
>>>
>>> The ttl file is attached. There was no result from the execution of query, 
>>> nor a message of success/failure.
>>>
>>> Please can you suggest something so that I could get some output from the 
>>> query?
>>>
>>> Regards
>>> Mahmood
>>>
>>>
>>>
>>> -Original Message-
>>> From: Andy Seaborne [mailto:a...@apache.org]
>>> Sent: 19 October 2016 13:57
>>> To: users@jena.apache.org
>>> Subject: Re: Fuseki 2.4.0 web user interface
>>>
>>> Note what it says at the top of the page:
>>>
>>> """
>>> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
>>> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
>>> Fuseki
>>> v2 are currently active and maintained.
>>> """
>>>
>>> You are looking at Fuseki1 documentation.
>>>
>>>  Andy
>>>
>>> On 19/10/16 13:54, Andy Seaborne wrote:
>>>> It is looking for a file called tdb.ttl which is not found.
>>>>
>>>> --desc is for a assembler file - you have to provide that, the 
>>>> documentation is out of date.
>>>>
>>>> If all you eant is some small data for experimentation:
>>>>
>>>> fuseki-server --file  /ds
>>>>
>>>> will work
>>>>
>>>> If you have a TDB database,
>>>>
>>>> fuseki-server --loc  /ds
>>>>
>>>> Andy
>>>>
>>>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>>>> Hi,
>>>>>
>>>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>>>
>>>>> Can anyone please point me to the tdb.ttl for running a few 
>>>>> practice SPARQL queries? The Apache Jena says that TDB is a part of 
>>>>> Apache Jena
>>>>> 3.1.0 on the following page:
>>>>>
>>>>> http://jena.apache.or

RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
There was no output at all through the general query.

Now I am working with an OWL file and get all the concepts (It has only one 
concept). The query I am running is:

prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description}
}
LIMIT 25

The OWL file is uploaded successfully but there is no result of the query.

Any thoughts, I'll appreciate.

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 15:55
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface



On 19/10/16 15:44, Mahmood Ahmad wrote:
> Ah, your query works!
>
> I had just missed a '}' character in the end.
>
> Thanks Andy, but why did my query not work. It was:
>
> SELECT ?subject ?predicate ?object
> WHERE {
>   ?subject ?predicate ?object
> }
> LIMIT 25

Please note that I can't see your screen so I can't see what the output to the 
general query was.

But I guess it has the G column set.  Named graph not default graph.


>
> Regards
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 15:25
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> The list does not pass attachments through.
>
> How are you runnign the server exactly?
>
>
> Ask this query:
>
> SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }
>
> and don't forget to press the "query"  button (it caches results otherwise).
>
>  Andy
>
>
>
> On 19/10/16 14:23, Mahmood Ahmad wrote:
>> Andy,
>>
>> I used a simple ulo.ttl file (owl file converted to ttl format) to 
>> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get 
>> all triples. The file uploaded correctly but generated no result in 
>> query results portion of the Fuseki v2.4.0 web UI, although there are 
>> 11 triples in ulo.ttl
>>
>> The ttl file is attached. There was no result from the execution of query, 
>> nor a message of success/failure.
>>
>> Please can you suggest something so that I could get some output from the 
>> query?
>>
>> Regards
>> Mahmood
>>
>>
>>
>> -Original Message-
>> From: Andy Seaborne [mailto:a...@apache.org]
>> Sent: 19 October 2016 13:57
>> To: users@jena.apache.org
>> Subject: Re: Fuseki 2.4.0 web user interface
>>
>> Note what it says at the top of the page:
>>
>> """
>> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
>> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
>> Fuseki
>> v2 are currently active and maintained.
>> """
>>
>> You are looking at Fuseki1 documentation.
>>
>>  Andy
>>
>> On 19/10/16 13:54, Andy Seaborne wrote:
>>> It is looking for a file called tdb.ttl which is not found.
>>>
>>> --desc is for a assembler file - you have to provide that, the 
>>> documentation is out of date.
>>>
>>> If all you eant is some small data for experimentation:
>>>
>>> fuseki-server --file  /ds
>>>
>>> will work
>>>
>>> If you have a TDB database,
>>>
>>> fuseki-server --loc  /ds
>>>
>>> Andy
>>>
>>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>>> Hi,
>>>>
>>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>>
>>>> Can anyone please point me to the tdb.ttl for running a few 
>>>> practice SPARQL queries? The Apache Jena says that TDB is a part of 
>>>> Apache Jena
>>>> 3.1.0 on the following page:
>>>>
>>>> http://jena.apache.org/documentation/tdb/index.html
>>>>
>>>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>>>> Server with tdb.ttl using the command:
>>>> fuseki-server --desc tdb.ttl /ds
>>>>
>>>> as given on the page:
>>>> https://jena.apache.org/documentation/serving_data/
>>>>
>>>> The error I get is as follows:
>>>>
>>>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>>>> 4.0>fuseki-server
>>>> --desc tdb.ttl /ds
>>>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>>>> org.apache.jena.sparql.ARQException: Failed reading assembler
>>>>

Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne



On 19/10/16 15:44, Mahmood Ahmad wrote:

Ah, your query works!

I had just missed a '}' character in the end.

Thanks Andy, but why did my query not work. It was:

SELECT ?subject ?predicate ?object
WHERE {
?subject ?predicate ?object
}
LIMIT 25


Please note that I can't see your screen so I can't see what the output 
to the general query was.


But I guess it has the G column set.  Named graph not default graph.




Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: 19 October 2016 15:25
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

The list does not pass attachments through.

How are you runnign the server exactly?


Ask this query:

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

and don't forget to press the "query"  button (it caches results otherwise).

 Andy



On 19/10/16 14:23, Mahmood Ahmad wrote:

Andy,

I used a simple ulo.ttl file (owl file converted to ttl format) to
upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all
triples. The file uploaded correctly but generated no result in query
results portion of the Fuseki v2.4.0 web UI, although there are 11
triples in ulo.ttl

The ttl file is attached. There was no result from the execution of query, nor 
a message of success/failure.

Please can you suggest something so that I could get some output from the query?

Regards
Mahmood



-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: 19 October 2016 13:57
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new
version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and
Fuseki
v2 are currently active and maintained.
"""

You are looking at Fuseki1 documentation.

 Andy

On 19/10/16 13:54, Andy Seaborne wrote:

It is looking for a file called tdb.ttl which is not found.

--desc is for a assembler file - you have to provide that, the
documentation is out of date.

If all you eant is some small data for experimentation:

fuseki-server --file  /ds

will work

If you have a TDB database,

fuseki-server --loc  /ds

Andy

On 19/10/16 12:39, Mahmood Ahmad wrote:

Hi,

[I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]

Can anyone please point me to the tdb.ttl for running a few practice
SPARQL queries? The Apache Jena says that TDB is a part of Apache
Jena
3.1.0 on the following page:

http://jena.apache.org/documentation/tdb/index.html

I have installed Fuseki 2.4.0 and I am looking to run the Fuseki
Server with tdb.ttl using the command:
fuseki-server --desc tdb.ttl /ds

as given on the page:
https://jena.apache.org/documentation/serving_data/

The error I get is as follows:

C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
4.0>fuseki-server
--desc tdb.ttl /ds
[2016-10-19 12:14:49] Server INFO  Dataset from assembler
org.apache.jena.sparql.ARQException: Failed reading assembler
description: Not found: tdb.ttl
at
org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFi
l
e(AssemblerUtils.java:91)

at
org.apache.jena.sparql.core.assembler.AssemblerUtils.build(Assembler
U
tils.java:104)

at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
at
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.ja
v
a:43)

at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAn
d
Args(FusekiCmd.java:284)

at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(Fuseki
C
md.java:102)

at
org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Any ideas, I'll appreciate.

Regards
Mahmood

Mahmood Ahmad, PhD
(Semantic Information Architect)



RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Ah, your query works!

I had just missed a '}' character in the end.

Thanks Andy, but why did my query not work. It was:

SELECT ?subject ?predicate ?object
WHERE {
?subject ?predicate ?object
}
LIMIT 25

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 15:25
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

The list does not pass attachments through.

How are you runnign the server exactly?


Ask this query:

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

and don't forget to press the "query"  button (it caches results otherwise).

 Andy



On 19/10/16 14:23, Mahmood Ahmad wrote:
> Andy,
>
> I used a simple ulo.ttl file (owl file converted to ttl format) to 
> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all 
> triples. The file uploaded correctly but generated no result in query 
> results portion of the Fuseki v2.4.0 web UI, although there are 11 
> triples in ulo.ttl
>
> The ttl file is attached. There was no result from the execution of query, 
> nor a message of success/failure.
>
> Please can you suggest something so that I could get some output from the 
> query?
>
> Regards
> Mahmood
>
>
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 13:57
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Note what it says at the top of the page:
>
> """
> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
> Fuseki
> v2 are currently active and maintained.
> """
>
> You are looking at Fuseki1 documentation.
>
>  Andy
>
> On 19/10/16 13:54, Andy Seaborne wrote:
>> It is looking for a file called tdb.ttl which is not found.
>>
>> --desc is for a assembler file - you have to provide that, the 
>> documentation is out of date.
>>
>> If all you eant is some small data for experimentation:
>>
>> fuseki-server --file  /ds
>>
>> will work
>>
>> If you have a TDB database,
>>
>> fuseki-server --loc  /ds
>>
>> Andy
>>
>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>> Hi,
>>>
>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>
>>> Can anyone please point me to the tdb.ttl for running a few practice 
>>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>>> Jena
>>> 3.1.0 on the following page:
>>>
>>> http://jena.apache.org/documentation/tdb/index.html
>>>
>>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>>> Server with tdb.ttl using the command:
>>> fuseki-server --desc tdb.ttl /ds
>>>
>>> as given on the page:
>>> https://jena.apache.org/documentation/serving_data/
>>>
>>> The error I get is as follows:
>>>
>>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>>> 4.0>fuseki-server
>>> --desc tdb.ttl /ds
>>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>>> org.apache.jena.sparql.ARQException: Failed reading assembler
>>> description: Not found: tdb.ttl
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFi
>>> l
>>> e(AssemblerUtils.java:91)
>>>
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(Assembler
>>> U
>>> tils.java:104)
>>>
>>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>>> at
>>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.ja
>>> v
>>> a:43)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAn
>>> d
>>> Args(FusekiCmd.java:284)
>>>
>>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(Fuseki
>>> C
>>> md.java:102)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>>
>>> Any ideas, I'll appreciate.
>>>
>>> Regards
>>> Mahmood
>>>
>>> Mahmood Ahmad, PhD
>>> (Semantic Information Architect)
>>>


RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Andy

Your query line cause this parse error:

Error 400: Parse error: 
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } 

Encountered "" at line 4, column 55.

Was expecting one of:

 ...

 ...

 ...

 ...

 ...

 ...

"values" ...

"graph" ...

"optional" ...

"union" ...

"minus" ...

"bind" ...

"service" ...

"let" ...

"exists" ...

"not" ...

"filter" ...

"true" ...

"false" ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

 ...

"(" ...

 ...

"{" ...

"}" ...

"[" ...

 ...

"." ...




Fuseki - version 2.4.0 (Build date: 2016-05-10T11:59:39+)

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 15:25
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

The list does not pass attachments through.

How are you runnign the server exactly?


Ask this query:

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

and don't forget to press the "query"  button (it caches results otherwise).

 Andy



On 19/10/16 14:23, Mahmood Ahmad wrote:
> Andy,
>
> I used a simple ulo.ttl file (owl file converted to ttl format) to 
> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all 
> triples. The file uploaded correctly but generated no result in query 
> results portion of the Fuseki v2.4.0 web UI, although there are 11 
> triples in ulo.ttl
>
> The ttl file is attached. There was no result from the execution of query, 
> nor a message of success/failure.
>
> Please can you suggest something so that I could get some output from the 
> query?
>
> Regards
> Mahmood
>
>
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 13:57
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Note what it says at the top of the page:
>
> """
> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
> Fuseki
> v2 are currently active and maintained.
> """
>
> You are looking at Fuseki1 documentation.
>
>  Andy
>
> On 19/10/16 13:54, Andy Seaborne wrote:
>> It is looking for a file called tdb.ttl which is not found.
>>
>> --desc is for a assembler file - you have to provide that, the 
>> documentation is out of date.
>>
>> If all you eant is some small data for experimentation:
>>
>> fuseki-server --file  /ds
>>
>> will work
>>
>> If you have a TDB database,
>>
>> fuseki-server --loc  /ds
>>
>> Andy
>>
>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>> Hi,
>>>
>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>
>>> Can anyone please point me to the tdb.ttl for running a few practice 
>>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>>> Jena
>>> 3.1.0 on the following page:
>>>
>>> http://jena.apache.org/documentation/tdb/index.html
>>>
>>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>>> Server with tdb.ttl using the command:
>>> fuseki-server --desc tdb.ttl /ds
>>>
>>> as given on the page:
>>> https://jena.apache.org/documentation/serving_data/
>>>
>>> The error I get is as follows:
>>>
>>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>>> 4.0>fuseki-server
>>> --desc tdb.ttl /ds
>>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>>> org.apache.jena.sparql.ARQException: Failed reading assembler
>>> description: Not found: tdb.ttl
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFi
>>> l
>>> e(AssemblerUtils.java:91)
>>>
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(Assembler
>>> U
>>> tils.java:104)
>>>
>>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>>> at
>>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.ja
>>> v
>>> a:43)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAn
>>> d
>>> Args(FusekiCmd.java:284)
>>>
>>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(Fuseki
>>> C
>>> md.java:102)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>>
>>> Any ideas, I'll appreciate.
>>>
>>> Regards
>>> Mahmood
>>>
>>> Mahmood Ahmad, PhD
>>> (Semantic Information Architect)
>>>


RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
>From Windows 10 machine, I used the DOS command prompt

C:\.> fuseki-server --update --mem /ds
 And then opened the browser for the page http://localhost:3030 to start the 
web UI.

By 'query' button, do you mean the big right arrow button on the right?

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 15:25
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

The list does not pass attachments through.

How are you runnign the server exactly?


Ask this query:

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

and don't forget to press the "query"  button (it caches results otherwise).

 Andy



On 19/10/16 14:23, Mahmood Ahmad wrote:
> Andy,
>
> I used a simple ulo.ttl file (owl file converted to ttl format) to 
> upload on dataset /ds (Fuseki 2.4.0) and ran a simple query to get all 
> triples. The file uploaded correctly but generated no result in query 
> results portion of the Fuseki v2.4.0 web UI, although there are 11 
> triples in ulo.ttl
>
> The ttl file is attached. There was no result from the execution of query, 
> nor a message of success/failure.
>
> Please can you suggest something so that I could get some output from the 
> query?
>
> Regards
> Mahmood
>
>
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 13:57
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Note what it says at the top of the page:
>
> """
> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
> Fuseki
> v2 are currently active and maintained.
> """
>
> You are looking at Fuseki1 documentation.
>
>  Andy
>
> On 19/10/16 13:54, Andy Seaborne wrote:
>> It is looking for a file called tdb.ttl which is not found.
>>
>> --desc is for a assembler file - you have to provide that, the 
>> documentation is out of date.
>>
>> If all you eant is some small data for experimentation:
>>
>> fuseki-server --file  /ds
>>
>> will work
>>
>> If you have a TDB database,
>>
>> fuseki-server --loc  /ds
>>
>> Andy
>>
>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>> Hi,
>>>
>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>
>>> Can anyone please point me to the tdb.ttl for running a few practice 
>>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>>> Jena
>>> 3.1.0 on the following page:
>>>
>>> http://jena.apache.org/documentation/tdb/index.html
>>>
>>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>>> Server with tdb.ttl using the command:
>>> fuseki-server --desc tdb.ttl /ds
>>>
>>> as given on the page:
>>> https://jena.apache.org/documentation/serving_data/
>>>
>>> The error I get is as follows:
>>>
>>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>>> 4.0>fuseki-server
>>> --desc tdb.ttl /ds
>>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>>> org.apache.jena.sparql.ARQException: Failed reading assembler
>>> description: Not found: tdb.ttl
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFi
>>> l
>>> e(AssemblerUtils.java:91)
>>>
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(Assembler
>>> U
>>> tils.java:104)
>>>
>>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>>> at
>>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.ja
>>> v
>>> a:43)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAn
>>> d
>>> Args(FusekiCmd.java:284)
>>>
>>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(Fuseki
>>> C
>>> md.java:102)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>>
>>> Any ideas, I'll appreciate.
>>>
>>> Regards
>>> Mahmood
>>>
>>> Mahmood Ahmad, PhD
>>> (Semantic Information Architect)
>>>


Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne

The list does not pass attachments through.

How are you runnign the server exactly?


Ask this query:

SELECT * { { ?s ?p ?o } UNION { GRAPH ?g {?s ?p ?o } } }

and don't forget to press the "query"  button (it caches results otherwise).

Andy



On 19/10/16 14:23, Mahmood Ahmad wrote:

Andy,

I used a simple ulo.ttl file (owl file converted to ttl format) to upload on 
dataset /ds (Fuseki 2.4.0) and ran a simple query to get all triples. The file 
uploaded correctly but generated no result in query results portion of the 
Fuseki v2.4.0 web UI, although there are 11 triples in ulo.ttl

The ttl file is attached. There was no result from the execution of query, nor 
a message of success/failure.

Please can you suggest something so that I could get some output from the query?

Regards
Mahmood



-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: 19 October 2016 13:57
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new version, 
Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki
v2 are currently active and maintained.
"""

You are looking at Fuseki1 documentation.

 Andy

On 19/10/16 13:54, Andy Seaborne wrote:

It is looking for a file called tdb.ttl which is not found.

--desc is for a assembler file - you have to provide that, the
documentation is out of date.

If all you eant is some small data for experimentation:

fuseki-server --file  /ds

will work

If you have a TDB database,

fuseki-server --loc  /ds

Andy

On 19/10/16 12:39, Mahmood Ahmad wrote:

Hi,

[I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]

Can anyone please point me to the tdb.ttl for running a few practice
SPARQL queries? The Apache Jena says that TDB is a part of Apache
Jena
3.1.0 on the following page:

http://jena.apache.org/documentation/tdb/index.html

I have installed Fuseki 2.4.0 and I am looking to run the Fuseki
Server with tdb.ttl using the command:
fuseki-server --desc tdb.ttl /ds

as given on the page:
https://jena.apache.org/documentation/serving_data/

The error I get is as follows:

C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
4.0>fuseki-server
--desc tdb.ttl /ds
[2016-10-19 12:14:49] Server INFO  Dataset from assembler
org.apache.jena.sparql.ARQException: Failed reading assembler
description: Not found: tdb.ttl
at
org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFil
e(AssemblerUtils.java:91)

at
org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerU
tils.java:104)

at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
at
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.jav
a:43)

at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAnd
Args(FusekiCmd.java:284)

at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiC
md.java:102)

at
org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Any ideas, I'll appreciate.

Regards
Mahmood

Mahmood Ahmad, PhD
(Semantic Information Architect)



RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
I guess it was a search for RDF data that led to
https://jena.apache.org/documentation/serving_data/

But the more important is my current problem with displaying query results for 
a simple ttl file. (I sent a related question on both Jena and Apache lists).

I am struggling in displaying simple query results.

Regards

-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 15:13
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Yes - its linked to in that text I quoted,on the page.

http://jena.apache.org/documentation/fuseki2/

and it is the nav fro the front page.

How did you get to the Fuseki1 documentation?

 Andy

On 19/10/16 13:59, Mahmood Ahmad wrote:
> Thank Andy,
>
> I see it now. Is there a documentation page for Fuseki v2 as well?
>
>
> -Original Message-
> From: Andy Seaborne [mailto:a...@apache.org]
> Sent: 19 October 2016 13:57
> To: users@jena.apache.org
> Subject: Re: Fuseki 2.4.0 web user interface
>
> Note what it says at the top of the page:
>
> """
> This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
> version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and 
> Fuseki
> v2 are currently active and maintained.
> """
>
> You are looking at Fuseki1 documentation.
>
>  Andy
>
> On 19/10/16 13:54, Andy Seaborne wrote:
>> It is looking for a file called tdb.ttl which is not found.
>>
>> --desc is for a assembler file - you have to provide that, the 
>> documentation is out of date.
>>
>> If all you eant is some small data for experimentation:
>>
>> fuseki-server --file  /ds
>>
>> will work
>>
>> If you have a TDB database,
>>
>> fuseki-server --loc  /ds
>>
>> Andy
>>
>> On 19/10/16 12:39, Mahmood Ahmad wrote:
>>> Hi,
>>>
>>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>>
>>> Can anyone please point me to the tdb.ttl for running a few practice 
>>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>>> Jena
>>> 3.1.0 on the following page:
>>>
>>> http://jena.apache.org/documentation/tdb/index.html
>>>
>>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>>> Server with tdb.ttl using the command:
>>> fuseki-server --desc tdb.ttl /ds
>>>
>>> as given on the page:
>>> https://jena.apache.org/documentation/serving_data/
>>>
>>> The error I get is as follows:
>>>
>>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>>> 4.0>fuseki-server
>>> --desc tdb.ttl /ds
>>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>>> org.apache.jena.sparql.ARQException: Failed reading assembler
>>> description: Not found: tdb.ttl
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFi
>>> l
>>> e(AssemblerUtils.java:91)
>>>
>>> at
>>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(Assembler
>>> U
>>> tils.java:104)
>>>
>>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>>> at
>>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.ja
>>> v
>>> a:43)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAn
>>> d
>>> Args(FusekiCmd.java:284)
>>>
>>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(Fuseki
>>> C
>>> md.java:102)
>>>
>>> at
>>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>>
>>> Any ideas, I'll appreciate.
>>>
>>> Regards
>>> Mahmood
>>>
>>> Mahmood Ahmad, PhD
>>> (Semantic Information Architect)
>>>


Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne

Yes - its linked to in that text I quoted,on the page.

http://jena.apache.org/documentation/fuseki2/

and it is the nav fro the front page.

How did you get to the Fuseki1 documentation?

Andy

On 19/10/16 13:59, Mahmood Ahmad wrote:

Thank Andy,

I see it now. Is there a documentation page for Fuseki v2 as well?


-Original Message-
From: Andy Seaborne [mailto:a...@apache.org]
Sent: 19 October 2016 13:57
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new version, 
Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki
v2 are currently active and maintained.
"""

You are looking at Fuseki1 documentation.

 Andy

On 19/10/16 13:54, Andy Seaborne wrote:

It is looking for a file called tdb.ttl which is not found.

--desc is for a assembler file - you have to provide that, the
documentation is out of date.

If all you eant is some small data for experimentation:

fuseki-server --file  /ds

will work

If you have a TDB database,

fuseki-server --loc  /ds

Andy

On 19/10/16 12:39, Mahmood Ahmad wrote:

Hi,

[I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]

Can anyone please point me to the tdb.ttl for running a few practice
SPARQL queries? The Apache Jena says that TDB is a part of Apache
Jena
3.1.0 on the following page:

http://jena.apache.org/documentation/tdb/index.html

I have installed Fuseki 2.4.0 and I am looking to run the Fuseki
Server with tdb.ttl using the command:
fuseki-server --desc tdb.ttl /ds

as given on the page:
https://jena.apache.org/documentation/serving_data/

The error I get is as follows:

C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
4.0>fuseki-server
--desc tdb.ttl /ds
[2016-10-19 12:14:49] Server INFO  Dataset from assembler
org.apache.jena.sparql.ARQException: Failed reading assembler
description: Not found: tdb.ttl
at
org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFil
e(AssemblerUtils.java:91)

at
org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerU
tils.java:104)

at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
at
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.jav
a:43)

at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAnd
Args(FusekiCmd.java:284)

at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiC
md.java:102)

at
org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Any ideas, I'll appreciate.

Regards
Mahmood

Mahmood Ahmad, PhD
(Semantic Information Architect)



RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Andy,

I used a simple ulo.ttl file (owl file converted to ttl format) to upload on 
dataset /ds (Fuseki 2.4.0) and ran a simple query to get all triples. The file 
uploaded correctly but generated no result in query results portion of the 
Fuseki v2.4.0 web UI, although there are 11 triples in ulo.ttl

The ttl file is attached. There was no result from the execution of query, nor 
a message of success/failure.

Please can you suggest something so that I could get some output from the query?

Regards
Mahmood



-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 13:57
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new version, 
Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki
v2 are currently active and maintained.
"""

You are looking at Fuseki1 documentation.

 Andy

On 19/10/16 13:54, Andy Seaborne wrote:
> It is looking for a file called tdb.ttl which is not found.
>
> --desc is for a assembler file - you have to provide that, the 
> documentation is out of date.
>
> If all you eant is some small data for experimentation:
>
> fuseki-server --file  /ds
>
> will work
>
> If you have a TDB database,
>
> fuseki-server --loc  /ds
>
> Andy
>
> On 19/10/16 12:39, Mahmood Ahmad wrote:
>> Hi,
>>
>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>
>> Can anyone please point me to the tdb.ttl for running a few practice 
>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>> Jena
>> 3.1.0 on the following page:
>>
>> http://jena.apache.org/documentation/tdb/index.html
>>
>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>> Server with tdb.ttl using the command:
>> fuseki-server --desc tdb.ttl /ds
>>
>> as given on the page: 
>> https://jena.apache.org/documentation/serving_data/
>>
>> The error I get is as follows:
>>
>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>> 4.0>fuseki-server
>> --desc tdb.ttl /ds
>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>> org.apache.jena.sparql.ARQException: Failed reading assembler
>> description: Not found: tdb.ttl
>> at
>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFil
>> e(AssemblerUtils.java:91)
>>
>> at
>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerU
>> tils.java:104)
>>
>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>> at
>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.jav
>> a:43)
>>
>> at
>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAnd
>> Args(FusekiCmd.java:284)
>>
>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>> at
>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiC
>> md.java:102)
>>
>> at 
>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>
>> Any ideas, I'll appreciate.
>>
>> Regards
>> Mahmood
>>
>> Mahmood Ahmad, PhD
>> (Semantic Information Architect)
>>


RE: Fuseki 2.4.0 web user interface

2016-10-19 Thread Mahmood Ahmad
Thank Andy,

I see it now. Is there a documentation page for Fuseki v2 as well?


-Original Message-
From: Andy Seaborne [mailto:a...@apache.org] 
Sent: 19 October 2016 13:57
To: users@jena.apache.org
Subject: Re: Fuseki 2.4.0 web user interface

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new version, 
Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki
v2 are currently active and maintained.
"""

You are looking at Fuseki1 documentation.

 Andy

On 19/10/16 13:54, Andy Seaborne wrote:
> It is looking for a file called tdb.ttl which is not found.
>
> --desc is for a assembler file - you have to provide that, the 
> documentation is out of date.
>
> If all you eant is some small data for experimentation:
>
> fuseki-server --file  /ds
>
> will work
>
> If you have a TDB database,
>
> fuseki-server --loc  /ds
>
> Andy
>
> On 19/10/16 12:39, Mahmood Ahmad wrote:
>> Hi,
>>
>> [I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]
>>
>> Can anyone please point me to the tdb.ttl for running a few practice 
>> SPARQL queries? The Apache Jena says that TDB is a part of Apache 
>> Jena
>> 3.1.0 on the following page:
>>
>> http://jena.apache.org/documentation/tdb/index.html
>>
>> I have installed Fuseki 2.4.0 and I am looking to run the Fuseki 
>> Server with tdb.ttl using the command:
>> fuseki-server --desc tdb.ttl /ds
>>
>> as given on the page: 
>> https://jena.apache.org/documentation/serving_data/
>>
>> The error I get is as follows:
>>
>> C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.
>> 4.0>fuseki-server
>> --desc tdb.ttl /ds
>> [2016-10-19 12:14:49] Server INFO  Dataset from assembler
>> org.apache.jena.sparql.ARQException: Failed reading assembler
>> description: Not found: tdb.ttl
>> at
>> org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFil
>> e(AssemblerUtils.java:91)
>>
>> at
>> org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerU
>> tils.java:104)
>>
>> at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
>> at
>> arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.jav
>> a:43)
>>
>> at
>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAnd
>> Args(FusekiCmd.java:284)
>>
>> at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
>> at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
>> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
>> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
>> at
>> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiC
>> md.java:102)
>>
>> at 
>> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
>>
>> Any ideas, I'll appreciate.
>>
>> Regards
>> Mahmood
>>
>> Mahmood Ahmad, PhD
>> (Semantic Information Architect)
>>


Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne

Note what it says at the top of the page:

"""
This page covers Fuseki v1. As of Jena 2.13.0, there is also a new 
version, Fuseki v2. See Fuseki2 documentation. Both Fuseki v1 and Fuseki 
v2 are currently active and maintained.

"""

You are looking at Fuseki1 documentation.

Andy

On 19/10/16 13:54, Andy Seaborne wrote:

It is looking for a file called tdb.ttl which is not found.

--desc is for a assembler file - you have to provide that, the
documentation is out of date.

If all you eant is some small data for experimentation:

fuseki-server --file  /ds

will work

If you have a TDB database,

fuseki-server --loc  /ds

Andy

On 19/10/16 12:39, Mahmood Ahmad wrote:

Hi,

[I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]

Can anyone please point me to the tdb.ttl for running a few practice
SPARQL queries? The Apache Jena says that TDB is a part of Apache Jena
3.1.0 on the following page:

http://jena.apache.org/documentation/tdb/index.html

I have installed Fuseki 2.4.0 and I am looking to run the Fuseki
Server with tdb.ttl using the command:
fuseki-server --desc tdb.ttl /ds

as given on the page: https://jena.apache.org/documentation/serving_data/

The error I get is as follows:

C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.4.0>fuseki-server
--desc tdb.ttl /ds
[2016-10-19 12:14:49] Server INFO  Dataset from assembler
org.apache.jena.sparql.ARQException: Failed reading assembler
description: Not found: tdb.ttl
at
org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFile(AssemblerUtils.java:91)

at
org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerUtils.java:104)

at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
at
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.java:43)

at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAndArgs(FusekiCmd.java:284)

at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:102)

at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Any ideas, I'll appreciate.

Regards
Mahmood

Mahmood Ahmad, PhD
(Semantic Information Architect)



Re: Fuseki 2.4.0 web user interface

2016-10-19 Thread Andy Seaborne

It is looking for a file called tdb.ttl which is not found.

--desc is for a assembler file - you have to provide that, the 
documentation is out of date.


If all you eant is some small data for experimentation:

fuseki-server --file  /ds

will work

If you have a TDB database,

fuseki-server --loc  /ds

Andy

On 19/10/16 12:39, Mahmood Ahmad wrote:

Hi,

[I am using Apache Jena Fuseki 2.4.0 on a Windows 10 machine]

Can anyone please point me to the tdb.ttl for running a few practice SPARQL 
queries? The Apache Jena says that TDB is a part of Apache Jena 3.1.0 on the 
following page:

http://jena.apache.org/documentation/tdb/index.html

I have installed Fuseki 2.4.0 and I am looking to run the Fuseki Server with 
tdb.ttl using the command:
fuseki-server --desc tdb.ttl /ds

as given on the page: https://jena.apache.org/documentation/serving_data/

The error I get is as follows:

C:\Users\mahmo_myz922s\apache-jena-fuseki-2.4.0\apache-jena-fuseki-2.4.0>fuseki-server
 --desc tdb.ttl /ds
[2016-10-19 12:14:49] Server INFO  Dataset from assembler
org.apache.jena.sparql.ARQException: Failed reading assembler description: Not 
found: tdb.ttl
at 
org.apache.jena.sparql.core.assembler.AssemblerUtils.readAssemblerFile(AssemblerUtils.java:91)
at 
org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerUtils.java:104)
at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
at 
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.java:43)
at 
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAndArgs(FusekiCmd.java:284)
at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at 
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:102)
at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

Any ideas, I'll appreciate.

Regards
Mahmood

Mahmood Ahmad, PhD
(Semantic Information Architect)