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 "<EOF>" at line 4, column 55.

Was expecting one of:

    <IRIref> ...

    <PNAME_NS> ...

    <PNAME_LN> ...

    <BLANK_NODE_LABEL> ...

    <VAR1> ...

    <VAR2> ...

    "values" ...

    "graph" ...

    "optional" ...

    "union" ...

    "minus" ...

    "bind" ...

    "service" ...

    "let" ...

    "exists" ...

    "not" ...

    "filter" ...

    "true" ...

    "false" ...

    <INTEGER> ...

    <DECIMAL> ...

    <DOUBLE> ...

    <INTEGER_POSITIVE> ...

    <DECIMAL_POSITIVE> ...

    <DOUBLE_POSITIVE> ...

    <INTEGER_NEGATIVE> ...

    <DECIMAL_NEGATIVE> ...

    <DOUBLE_NEGATIVE> ...

    <STRING_LITERAL1> ...

    <STRING_LITERAL2> ...

    <STRING_LITERAL_LONG1> ...

    <STRING_LITERAL_LONG2> ...

    "(" ...

    <NIL> ...

    "{" ...

    "}" ...

    "[" ...

    <ANON> ...

    "." ...

    


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

-----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 <YourData.ttl> /ds
>>
>> will work
>>
>> If you have a TDB database,
>>
>> fuseki-server --loc <YourDB> /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)
>>>

Reply via email to