Advertisement
Guest User

Untitled

a guest
Jun 29th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PREFIX dbpedia2: <http://dbpedia.org/property/>
  2. SELECT ?name ?born ?died ?birthPlace ?occupation WHERE {
  3. ?person dbpedia2:birthPlace <http://dbpedia.org/resource/Copenhagen> .
  4. OPTIONAL {
  5. ?person dbpedia2:name ?name .
  6. }
  7. OPTIONAL {
  8. ?person dbpedia2:birthDate ?born .
  9. }
  10. OPTIONAL {
  11. ?person dbpedia2:deathDate ?died .
  12. }
  13. OPTIONAL {
  14. ?person dbpedia2:birthPlace ?birthPlace .
  15. }
  16. OPTIONAL {
  17. ?person dbpedia2:occupation ?occupation .
  18. }
  19. SELECT (count(*) as ?c) WHERE { ?s ?p ?person . }
  20. } ORDER BY ?c
  21. LIMIT 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement