W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2012

Help SPARQL

From: reza ramezani <r.ramezani@ec.iut.ac.ir>
Date: Sun, 22 Apr 2012 10:32:23 +0430 (IRDT)
To: kjetil@kjernsmo.net, public-sparql-dev@w3.org, lee@thefigtrees.net
Message-ID: <5a8f54ed-ded5-4266-bf93-d5053bd78263@mail1.iut.ac.ir>
Dear SPARQL Developers 
I need to a SPARQL comment that with it I extract Subjects along with their Predicates and Objects which the Subject at least 
have one sameAs Predicate. 
for example suppose I have below triples: 

A knows X1 
A friendof X2 
A sameAs X3 
B knows X4 
B familarBy X5 

I need to a SPARQL comment that extract bellow triples, because A has sameAs predicate 
A knows X1 
A friendof X2 
A sameAs X3 

How can I write such SPARQL 
Best Wishes 
Reza 
Received on Sunday, 22 April 2012 06:05:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 April 2012 06:05:48 GMT