Re: Return nested JSON results

2017-05-09 Thread Paul Tyson
On Tue, 2017-05-09 at 18:32 +, Dimov, Stefan wrote: > I’m also interested in having nested JSON results … > S. > > On 5/8/17, 11:06 PM, "Laura Morales" wrote: > > > I may have time to test if the change in this pull request [1] could > create such response. Feel free

Re: blocked threads with RDFDataMgr.loadGraph

2017-05-09 Thread Jean-Marc Vanel
I just call RDFDataMgr.read(), after setting Java timeouts to 5 and 10 seconds. I don't know what you mean by "adjusting the default HTTP client used by Jena" . You mean setting global configuration on Apache HTTP client ? I don't think so, org.apache.http appears just once: import

Re: blocked threads with RDFDataMgr.loadGraph

2017-05-09 Thread sorokaaj
Looks possibly like resource contention in the HTTP machinery. Are you adjusting the default HTTP client used by Jena? --- A. Soroka Jean-Marc Vanel wrote on 5/9/17 10:49 AM: In semantic_forms, when user loads an URL, the application tries to load RDF from it, or else it considers the URL as

Re: Return nested JSON results

2017-05-09 Thread Dimov, Stefan
I’m also interested in having nested JSON results … S. On 5/8/17, 11:06 PM, "Laura Morales" wrote: > I may have time to test if the change in this pull request [1] could create such response. Feel free to comment there should you have any suggestion, or if you could

Re: Inefficient Query

2017-05-09 Thread Andy Seaborne
Hi Nikolaos, The query pattern generator isn't very sophisticated and more skewed to use execution where the data in "close" (i.e. there is a cache or local database). Normally, SDB would send a single SQL query for the two triple patterns and have the SQL database engine worry about how

blocked threads with RDFDataMgr.loadGraph

2017-05-09 Thread Jean-Marc Vanel
In semantic_forms, when user loads an URL, the application tries to load RDF from it, or else it considers the URL as plain foaf:Document and allows the user to add triples to that URL. So the application tries to load RDF from an URL with RDFDataMgr.loadGraph() ( maybe there is a better way in

Nested SPARQL query

2017-05-09 Thread tina sani
In which which situation one should use nested SPARQL queries? I mean, how we could know in this situation we should use SPARQL queries?

Re: RDF to HTML

2017-05-09 Thread Martynas Jusevičius
You can try a Linked Data browser. For example: https://github.com/AtomGraph/Web-Client It uses XSLT 2 to convert RDF/XML to XHTML. On Tue, May 9, 2017 at 2:00 PM, Laura Morales wrote: >> Do you mean HTML+RDFa or plain HTML? > > I mean simple HTML like this

Re: RDF to HTML

2017-05-09 Thread Laura Morales
> Do you mean HTML+RDFa or plain HTML? I mean simple HTML like this http://data.nobelprize.org/page/laureate/315 where I can navigate around, look at properties and follow links. RDFa would probably be appropriate, but not really necessary. I'm not trying to add RDF data to a website; I would

Re: RDF to HTML

2017-05-09 Thread Martynas Jusevičius
Do you mean HTML+RDFa or plain HTML? https://www.w3.org/TR/xhtml-rdfa-primer/ On Tue, May 9, 2017 at 1:29 PM, Laura Morales wrote: > Can RIOT, or some other Jena command-line tools, convert a RDF file into HTML > (static pages)? I feel like this could be pretty useful to

RDF to HTML

2017-05-09 Thread Laura Morales
Can RIOT, or some other Jena command-line tools, convert a RDF file into HTML (static pages)? I feel like this could be pretty useful to explore datasets, but maybe it's not in the scope of the project.

Re: Return nested JSON results

2017-05-09 Thread Laura Morales
> I may have time to test if the change in this pull request [1] could create > such response. Feel free to comment there should you have any suggestion, or > if you could help testing it. I'd love to help testing this feature, although I haven't used Java in years so I'm not 100% sure what's