- From: Bob DuCharme <bob@snee.com>
- Date: Thu, 26 Apr 2012 15:16:53 -0400
- To: reza ramezani <r.ramezani@ec.iut.ac.ir>
- CC: kjetil@kjernsmo.net, public-sparql-dev@w3.org
Received on Thursday, 26 April 2012 19:17:16 UTC
# assuming that the right namespaces are declared properly SELECT ?s ?p ?o WHERE { ?s sameAs ?o . ?s ?p ?o . } Bob On 4/22/2012 2:02 AM, reza ramezani wrote: > **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 Thursday, 26 April 2012 19:17:16 UTC