You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Neubert Joachim <J....@zbw.eu> on 2013/07/19 08:00:14 UTC

Fuseki construct output format nquads?

Is there a way to let Fuseki output nquads as the result of a construct query?

Cheers, Joachim

AW: Fuseki construct output format nquads?

Posted by Neubert Joachim <J....@zbw.eu>.
Hi Stephen, hi Andy,

I feel somewhat sorry for asking my question naively, just having verified that Jena supports N-quads, and not aware that the SPARQL 1.1 spec does not support it.

My use case could have been fulfilled simply with ntriples. What I wanted to do is feeding a PHP json-ld library (expecting quads), for converting the construct output to json-ld. In the meantime, I figured out that with "output=nt" I can get ntriples from Fuseki, and that JsonLD works fine with it (the errors with the other library were not related to quads/triples, too).

So I cannot add a valid use case here - sorry for this, Joachim

-----Ursprüngliche Nachricht-----
Von: Andy Seaborne [mailto:andy@apache.org] 
Gesendet: Sonntag, 21. Juli 2013 15:07
An: users@jena.apache.org
Betreff: Re: Fuseki construct output format nquads?

On 19/07/13 16:34, Stephen Allen wrote:
> No, not currently.  SPARQL 1.1 defines a CONSTRUCT query output as a 
> single RDF Graph (set of Triples) only.  However, I think it would be 
> a useful feature to allow graphs in the construct clause.  This seems 
> like it would be a fairly straightforward extension to SPARQL, as it 
> would be pretty similar to SPARQL Update's INSERT and DELETE functionality.
>
> -Stephen
>
>
> On Fri, Jul 19, 2013 at 2:00 AM, Neubert Joachim <J....@zbw.eu> wrote:
>
>> Is there a way to let Fuseki output nquads as the result of a 
>> construct query?
>>
>> Cheers, Joachim
>>
>

Recorded as https://issues.apache.org/jira/browse/JENA-491

(this maybe duplicate but we can sort that out later)


Joachim - named graphs are a continuing area of controversy.  What do you use them for?  and how do you decide ion the naming of the graphs?

	Andy



Re: Fuseki construct output format nquads?

Posted by Andy Seaborne <an...@apache.org>.
On 19/07/13 16:34, Stephen Allen wrote:
> No, not currently.  SPARQL 1.1 defines a CONSTRUCT query output as a single
> RDF Graph (set of Triples) only.  However, I think it would be a useful
> feature to allow graphs in the construct clause.  This seems like it would
> be a fairly straightforward extension to SPARQL, as it would be pretty
> similar to SPARQL Update's INSERT and DELETE functionality.
>
> -Stephen
>
>
> On Fri, Jul 19, 2013 at 2:00 AM, Neubert Joachim <J....@zbw.eu> wrote:
>
>> Is there a way to let Fuseki output nquads as the result of a construct
>> query?
>>
>> Cheers, Joachim
>>
>

Recorded as https://issues.apache.org/jira/browse/JENA-491

(this maybe duplicate but we can sort that out later)


Joachim - named graphs are a continuing area of controversy.  What do 
you use them for?  and how do you decide ion the naming of the graphs?

	Andy



Re: Fuseki construct output format nquads?

Posted by Stephen Allen <sa...@apache.org>.
No, not currently.  SPARQL 1.1 defines a CONSTRUCT query output as a single
RDF Graph (set of Triples) only.  However, I think it would be a useful
feature to allow graphs in the construct clause.  This seems like it would
be a fairly straightforward extension to SPARQL, as it would be pretty
similar to SPARQL Update's INSERT and DELETE functionality.

-Stephen


On Fri, Jul 19, 2013 at 2:00 AM, Neubert Joachim <J....@zbw.eu> wrote:

> Is there a way to let Fuseki output nquads as the result of a construct
> query?
>
> Cheers, Joachim
>