You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by enridaga <en...@apache.org> on 2013/09/23 23:40:49 UTC

Re: Fuseki: construct as json

On 23 September 2013 18:00, enridaga <en...@apache.org> wrote:

> Hi,
> I know I can obtain a json representation of a construct query using the
> "output=json" parameter in the request.
> Is there a way of obtaining the same results using an Accept header?
> Which is the expected mime type to use?
> I tried several but I always got rdf+xml.
>
> I am using Fuseki 0.2.7, should I upgrade to fix this?
>
> Thank you
> Enrico
>
>
> --
>
> ------------------------------------------------------------------------------
> enridaga
>



-- 
------------------------------------------------------------------------------
enridaga

Re: Fuseki: construct as json

Posted by enridaga <en...@apache.org>.
Brilliant!

Cheers,
Enrico



On 24 September 2013 10:21, Rob Vesse <rv...@yarcdata.com> wrote:

> application/rdf+json should do the trick
>
> Rob
>
>
>
> On 9/23/13 10:40 PM, "enridaga" <en...@apache.org> wrote:
>
> >On 23 September 2013 18:00, enridaga <en...@apache.org> wrote:
> >
> >> Hi,
> >> I know I can obtain a json representation of a construct query using the
> >> "output=json" parameter in the request.
> >> Is there a way of obtaining the same results using an Accept header?
> >> Which is the expected mime type to use?
> >> I tried several but I always got rdf+xml.
> >>
> >> I am using Fuseki 0.2.7, should I upgrade to fix this?
> >>
> >> Thank you
> >> Enrico
> >>
> >>
> >> --
> >>
> >>
> >>-------------------------------------------------------------------------
> >>-----
> >> enridaga
> >>
> >
> >
> >
> >--
> >--------------------------------------------------------------------------
> >----
> >enridaga
>
>


-- 
------------------------------------------------------------------------------
enridaga

Re: Fuseki: construct as json

Posted by Rob Vesse <rv...@yarcdata.com>.
application/rdf+json should do the trick

Rob



On 9/23/13 10:40 PM, "enridaga" <en...@apache.org> wrote:

>On 23 September 2013 18:00, enridaga <en...@apache.org> wrote:
>
>> Hi,
>> I know I can obtain a json representation of a construct query using the
>> "output=json" parameter in the request.
>> Is there a way of obtaining the same results using an Accept header?
>> Which is the expected mime type to use?
>> I tried several but I always got rdf+xml.
>>
>> I am using Fuseki 0.2.7, should I upgrade to fix this?
>>
>> Thank you
>> Enrico
>>
>>
>> --
>>
>> 
>>-------------------------------------------------------------------------
>>-----
>> enridaga
>>
>
>
>
>-- 
>--------------------------------------------------------------------------
>----
>enridaga