Re: Unexpected SPARQL CONSTRUCT output

2017-04-24 Thread Dimov, Stefan
… on the other hand, DESCRIBE works correctly ☺: DESCRIBE ?s { OPTIONAL { GRAPH { ?s ?p0 ?o0 }} OPTIONAL { GRAPH { ?o0 ?p1 ?o1 }} OPTIONAL { GRAPH { ?o1 ?p2 ?o2 }} OPTIONAL { GRAPH

Unexpected SPARQL CONSTRUCT output

2017-04-24 Thread Dimov, Stefan
I have in my named graph only two json-ld objects – “example” and example1”. I have this query (filter is ‘example1’): CONSTRUCT { ?s ?p0 ?o0 . ?o0 ?p1 ?o1 .

Re: SPARQL over JSON-LD

2017-04-24 Thread Dimov, Stefan
Ok, I got it: { "@context": {"@vocab": "http://ao.com/"}, "@id" : "http://ao.com/uc/example";, "propOf": { "property": { "term" : [ "w0", "w1" ] }, "object": "w2" } } Now, this is a valid example. I can read it with SPARQL SELECT. So, b

Re: SPARQL over JSON-LD

2017-04-24 Thread Dimov, Stefan
Thanks, Andy, When I add a @context: "@context": "http://example.org/";, "@graph": [{ "@id": "http://example.org/library";, "@type": "Library", "contains": { "@id": "http://example.org/library/the-republic";, "@type": "Book", "contains": { "@id": "http://

Re: SPARQL over JSON-LD

2017-04-24 Thread Andy Seaborne
Stefan, Try the data at http://json-ld.org/playground/ Without a @context, I don't think you'll get many triples. Andy On 24/04/17 22:09, Dimov, Stefan wrote: Hi, I’m experimenting with JSON-LD and I have this in a named graph: { "@graph": [{ "@id": "http://example.org/library";

SPARQL over JSON-LD

2017-04-24 Thread Dimov, Stefan
Hi, I’m experimenting with JSON-LD and I have this in a named graph: { "@graph": [{ "@id": "http://example.org/library";, "@type": "Library", "contains": { "@id": "http://example.org/library/the-republic";, "@type": "Book", "contains": { "@id": "http://exam

[jira] [Commented] (JENA-1321) Exception rewrapping in HttpQuery masks error response from the server

2017-04-24 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981445#comment-15981445 ] ASF GitHub Bot commented on JENA-1321: -- Github user ajs6f commented on the issue:

[GitHub] jena issue #240: JENA-1321: Improved error handling so response body is not ...

2017-04-24 Thread ajs6f
Github user ajs6f commented on the issue: https://github.com/apache/jena/pull/240 @rmorrise If you are satisfied with our work on JENA-1321, would you close this? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your p

[jira] [Commented] (JENA-1321) Exception rewrapping in HttpQuery masks error response from the server

2017-04-24 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981432#comment-15981432 ] ASF GitHub Bot commented on JENA-1321: -- Github user ajs6f closed the pull request at:

[GitHub] jena pull request #241: JENA-1321: Exception rewrapping in HttpQuery masks e...

2017-04-24 Thread ajs6f
Github user ajs6f closed the pull request at: https://github.com/apache/jena/pull/241 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled

Re: [GitHub] jena issue #244: Open iterators reported when cancelling a query during sort...

2017-04-24 Thread Chris Dollin
On 21 April 2017 at 16:54, afs wrote: > Github user afs commented on the issue: > > https://github.com/apache/jena/pull/244 > > If you "git rebase" a branch against apache/master, not pull/merge > then you won't get the additional merge commits. > > Thanks for the tip. I'd wondered how to