W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2009

Exists

From: Orri Erling <erling@xs4all.nl>
Date: Tue, 16 Jun 2009 16:49:13 +0200
Message-Id: <200906161449.n5GEnLWO096624@smtp-vbr1.xs4all.nl>
To: "'RDF Data Access Working Group'" <public-rdf-dawg@w3.org>
 

 

 

 

Hi

 

With reference to the phone call of today, the below finds the top 10 most
one sidedly known people.

Orri

sparql select ?celeb, count (*)
where {
    ?claimant foaf:knows ?celeb .
    filter (!bif:exists ((select (1) where { ?celeb foaf:knows ?claimant
})))
  } group by ?celeb order by desc 2 limit 10;

 

 
Received on Tuesday, 16 June 2009 14:49:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:00:55 UTC