Re: Complex SPARQL Query

2017-03-15 Thread james anderson
have expressed, the maximum is not applied to the domain from which you want to select a solution. > > Best, > > Izhar > > From: Lorenz B. [buehm...@informatik.uni-leipzig.de] > Sent: 15 March 2017 07:15 > To: users@jena.apache.

RE: Complex SPARQL Query

2017-03-15 Thread Ullah, Izhar
5 March 2017 07:15 To: users@jena.apache.org Subject: Re: Complex SPARQL Query Sure, you don't need grouping here. You could just use ORDER BY ASC(?nodecount) LIMIT 1, i.e. sorting in the other direction and just take the first result. > Hi Lorenz, > > Yes, that's true but I

Re: Complex SPARQL Query

2017-03-15 Thread Lorenz B.
> > enviot:A_Swale "7"^^xsd:integer > > Any idea how to get the above output? > > Many thanks for your time, help and patience. > > Best regards, > > Izhar > > From: Lorenz B. [buehm...@informatik.uni-leipzig.de] > Sent: 14 Mar

RE: Complex SPARQL Query

2017-03-14 Thread Ullah, Izhar
how to get the above output? Many thanks for your time, help and patience. Best regards, Izhar From: Lorenz B. [buehm...@informatik.uni-leipzig.de] Sent: 14 March 2017 06:56 To: users@jena.apache.org Subject: Re: Complex SPARQL Query Just to clarify, ea

Re: Complex SPARQL Query

2017-03-13 Thread Lorenz B.
?geo . > ?geogeosparql:asWKT ?gwkt. > > FILTER (geof:sfIntersects(?gwkt, "LINESTRING(-3.780833 53.203055, > -3.78 53.202777, -3.780833 53.20)"^^geosparql:wktLiteral)) > } > } > > } > > If you

RE: Complex SPARQL Query

2017-03-13 Thread Ullah, Izhar
omments then it retrieves the correct number of Soil Sending Nodes for the one which is filtered but it does not retrieve the max of all these three features (i.e. Hilltop, Swale and Riverbank) having soil sensing nodes which should be 7 in this case. If you need my ontology which contains th

Re: Complex SPARQL Query

2017-03-09 Thread Lorenz B.
It's almost unreadable in the current formatting... At first, it would be good to see 1. the current SPARQL query 2. minimal sample data 3. the data that you expect to be returned I guess, the pseudo query is (please correct me if I'm wrong) "Which geographic feature contains the maximum number

Re: Complex SPARQL Query

2017-03-09 Thread Lorenz B.
t email was distorted. > > Cheers, > > Izhar > > From: Ullah, Izhar [i.ul...@lancaster.ac.uk] > Sent: 10 March 2017 01:03 > To: users@jena.apache.org > Subject: Re: Complex SPARQL Query > > Hi all, > > > I have a qu

RE: Complex SPARQL Query

2017-03-09 Thread Ullah, Izhar
Subject: Re: Complex SPARQL Query Hi all, I have a question related to SPARQL query which is a bit complex one. I would appreciate if someone could help me out. I have developed an ontology in Protege in which I have imported the GeoSPARQL Ontology. I have 15 Sensing Nodes with their

Re: Complex SPARQL Query

2017-03-09 Thread Ullah, Izhar
Hi all, I have a question related to SPARQL query which is a bit complex one. I would appreciate if someone could help me out. I have developed an ontology in Protege in which I have imported the GeoSPARQL Ontology. I have 15 Sensing Nodes with their corresponding Point(longitude latitude) geo