Re: Reza Request

On Wednesday 01 August 2012 11:20:43 Leonard Jacuzzo wrote:
> Hi Reza,
> 
> An easy way to answer these fairly basic questions is to read the book
> linked here.
> 
> http://www.amazon.com/Learning-SPARQL-Bob-DuCharme/dp/1449306594

Or, as an alternative, you may also read the following slides of a SPARQL 
beginner's tutorial that I recently gave. You find them here: 

http://www.slideshare.net/olafhartig/tutorial-an-introduction-to-sparql-and-
queries-over-linked-data-chapter-2-icwe-2012-ed

Best,
Olaf

 
> Best,
> Leonard
> On Wed, Aug 1, 2012 at 3:46 AM, Olaf Hartig
> 
> <hartig@informatik.hu-berlin.de>wrote:
> > Hello Reza,
> > 
> > Another attempt to make us do your homework exercises?
> > 
> > A few days ago Gary King already gave you the correct answer on this list.
> > 
> > Best,
> > Olaf
> > 
> > On Wednesday 01 August 2012 11:07:36 reza ramezani wrote:
> > > Dear SPARQL Fans
> > > Hi
> > > I need a sparql query which returns all entities that at least one of
> > 
> > their
> > 
> > > triples has rdf:type predicate and Country as object . for example
> > 
> > suppose
> > 
> > > we have these triples:
> > > 
> > > A Age 10
> > > A Place Qom
> > > A rdf:type Country
> > > 
> > > B Age 20
> > > B Surface 100
> > > B Place Mashhad
> > > 
> > > C Age 40
> > > C CoastLine 2000
> > > C rdf:type City
> > > 
> > > D Age 60
> > > D Near Wrtyu
> > > D rdf: type Country
> > > 
> > > This query must return below triples:
> > > A Age 10
> > > A Place Qom
> > > A rdf:type Country
> > > D Age 60
> > > D Near Wrtyu
> > > D rdf:type Country
> > > 
> > > the query returns all triples related to A and D entities. Because one
> > > of
> > > their triples has rdf:type country as predicate and object. how can I
> > 
> > write
> > 
> > > this SPARQL?

Received on Wednesday, 1 August 2012 16:55:42 UTC