# 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 DevelopersI need to a SPARQL comment that with it I extract Subjects along with their Predicates and Objects which the Subject at leasthave one sameAs Predicate. for example suppose I have below triples: A knows X1 A friendof X2 A sameAs X3 B knows X4 B familarBy X5I need to a SPARQL comment that extract bellow triples, because A has sameAs predicateA knows X1 A friendof X2 A sameAs X3 How can I write such SPARQL Best Wishes Reza
