Example with INPUT Pragma grab-seealso

The following example demonstrates usage of the grab-seealso pragma:


DEFINE input:grab-iri <http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/sioc.ttl>
DEFINE input:grab-var "id"
DEFINE input:grab-depth 10
DEFINE input:grab-limit 100
DEFINE input:grab-base "http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1300"
DEFINE input:grab-seealso <foaf:maker>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT ?id
WHERE
  {
    graph ?g
      {
        ?id a foaf:Person .
      }
  }
LIMIT 10

Sponger Usage Examples

Related