Two forms of DNS queries are supported:
$P@$S.ns.rdfns.com |
$P.$S.ns.rdfns.com where $P and $S are url-encoded |
and will produce SPARQL like:
SELECT ?o
FROM <$S>
WHERE { <$S> <$P> ?o }
and serve results via DNS TXT record.
'http://' in URIs are unnecessary/understood as implied. In addition, you can use any of the prefixes listed below.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dc: <http://purl.org/dc/terms/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX sioc: <http://rdfs.org/sioc/ns#>
$ dig txt +short foaf:name@www.w3.org/People/Berners-Lee/card#i.ns.rdfns.com "Timothy Berners-Lee"
C:\>nslookup -type=txt foaf:name@presbrey.mit.edu/foaf#presbrey.ns.rdfns.com Server: UnKnown Address: 192.168.18.5 Non-authoritative answer: foaf:name@presbrey.mit.edu/foaf#presbrey.ns.rdfns.com text = "Joe Presbrey" ns.rdfns.com nameserver = rdfns.com rdfns.com internet address = 18.181.1.220