@keywords a .
@prefix : <http://example.org/ns/plan3#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<> doc "dbslurp.n3 - DBPedia Slurp"; 
   dc:author [ foaf:homepage <http://inamidst.com/sbp/> ] .

data def (()
   (var resources (list))
   (select ?s ?p ?o where { ?s ?p ?o }
      (for t in (list ?s ?p ?o)
          (if (startswith t "http://dbpedia.org/resource/")
              (push t resources))))
   (return resources)
) .

main script (
   (for resource in (data)
      (store (semantics resource)))
   (output)
) .

# EOF

