Re: SELECT only one predicate among many with same URI

2017-05-03 Thread Rurik Thomas Greenall
Perhaps something like: prefix ex: SELECT ?title (sample(?b) as ?subject) WHERE { ?uri ex:title ?title ; ex:subject ?b ; } GROUP BY ?uri ?title On Thu, May 4, 2017 at 7:15 AM, Laura Morales wrote: > Let's say I have this simple model

Re: SELECTing s properties in the same query

2017-04-15 Thread Rurik Thomas Greenall
In a trivial way, perhaps you can specify something like: SELECT * WHERE { ?property ?object OPTIONAL { ?object ?subProperty ?subObject . FILTER (isBlank(?object)) } } This assumes nothing about structure and may perform badly. On Fri, Apr 14, 2017 at 4:17 PM, Laura Morales

Re: Limited HTTP API

2017-03-26 Thread Rurik Thomas Greenall
Hi Laura, Perhaps worth configuring timeouts < https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html>, which should prevent the situations you aim to prevent. Regards, Rurik On Sun, Mar 26, 2017 at 5:49 PM, Laura Morales wrote: > This seems to be about

Re: Using variable assignment with QueryBuilder

2015-03-31 Thread Rurik Thomas Greenall
Hi Andy, Of course, that should have occurred to me. Thanks, Rurik On Mon, Mar 30, 2015 at 6:51 PM, Andy Seaborne a...@apache.org wrote: On 24/03/15 14:25, Rurik Thomas Greenall wrote: Is there any way to do BIND assignments with QueryBuilder (ConstructBuilder)? I'm attempting to return

Using variable assignment with QueryBuilder

2015-03-24 Thread Rurik Thomas Greenall
Is there any way to do BIND assignments with QueryBuilder (ConstructBuilder)? I'm attempting to return plain string literals from PREFIX dcterms: http://purl.org/dc/terms/ PREFIX ex: http://example.com/onto/ CONSTRUCT {?url dcterms:date ?date } WHERE { ?url dcterms:date ?d BIND (str(?d) as

Re: Time series (energy data) in jena

2015-01-28 Thread Rurik Thomas Greenall
Hi Ashley, I worked for a large Norwegian oil company on sensor readings in relation to time-series data from data historians. For numerous reasons (including the sheer number of triples), we planned to move away from the idea of storing the data directly as RDF, but rather mapped data from the

Re: ReverseProxy

2013-02-08 Thread Rurik Thomas Greenall
On Fri, Feb 8, 2013 at 9:19 AM, Andy Seaborne a...@apache.org wrote: On 07/02/13 21:46, Rurik Thomas Greenall wrote: I fixed the major issue (Apache2 required being stopped and started again for edits on httpd.conf to take). The current setup is problematic because I have to use a rewrite

Re: ReverseProxy

2013-02-07 Thread Rurik Thomas Greenall
I fixed the major issue (Apache2 required being stopped and started again for edits on httpd.conf to take). The current setup is problematic because I have to use a rewrite and this seems to break many things for Fusekiā€¦ RewriteEngine on RewriteRule ^/data/(.*)$ http://localhost:3030/$1 [P]