Exists

 

 

 

 

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