# look up namespaces in several formats(1) $ rdfns foaf.xmlns foaf.n3 dbpedia.sparql foaf.json

FORMATS

ttl, n3, notation3
RDF/Turtle or Notation3 syntax:

    @prefix foaf: <http://xmlns.com/foaf/0.1/> .
sparql
SPARQL syntax:

    PREFIX foaf: <http://xmlns.com/foaf/0.1/>
txt
Tabulator-separated:

    foaf http://xmlns.com/foaf/0.1/

xmlns
XML namespace declaration

    xmlns:foaf="http://xmlns.com/foaf/0.1/"
json
JSON key-values, for instance for JSON-LD. Multiple entries are comma-separated.

    "foaf": "http://xmlns.com/foaf/0.1/"
beacon
BEACON format syntax:

    #PREFIX: http://xmlns.com/foaf/0.1/

prefix
Maps a prefix to its preferred form, this is the shortest and first in alphabetical order. For instance "rdfns wgs84.prefix" returns prefix "geo".