Results:
RxML Quick Reference
RxML enables you to list the properties that an URL has, in a manner that conforms with RDF.
Complete documentation is here.
This example illustrates its basic pattern:
{http://example.org/mysite/page1.html}
{http://purl.org/dc/elements/1.1/creator}: {mailto:alice@example.org}
{http://purl.org/dc/elements/1.1/title}: "The first Page"
- This example describes the "creator" and "title" properties for "http://example.org/mysite/page1.html".
- URLs must appear inside { and }, literal values in quotes. See ZML markup rules for more info.
- In RDF, property names are always URLs, even though they don't point to anything.
- Property values can be either an URL or a literal value.
prefixes:
dc: "http://purl.org/dc/elements/1.1/"
mysite: "http://example.org/mysite/"
mysite:page1.html
a: {http://purl.org/dc/dcmitype/Text}
dc:creator: {bnode:alice}
dc:title: "The first Page"
{bnode:alice}
{http://xmlns.com/foaf/0.1/mbox}: {mailto:example.org}
This example also illustrates:
- the a element, which declares what type of resource the URL is (a is a synonym for rdf:type).
- Internal Resources: URLs that start with "bnode:" represent internal, "anonymous" resources.
#this is a comment
prefixes:
wiki: `http://rx4rdf.sf.net/ns/wiki#
bnode: `bnode:
#note: not necessary since default-ns defaults to this
default-ns: `http://rx4rdf.sf.net/ns/rxml#
bnode:blankNode1:
a: wiki:NamedContent
wiki:last-modified:
#by placing a literal value inside a "l" element
#you can declare a datatype or xml:lang for it
l rdf:datatype="http://www.w3.org/2001/XMLSchema#integer":
"1062022787"
#use the "xml" element if you want xml as the value
#any markup inside it becomes the property value
xml:
html:
body:
r"some <b>xml</b> content"
#stmtID is equivalent to "rdf:ID"
wiki:name stmtID='http://rx4rdf.sf.net/ns/archive#': `foo
#properties with multiple values are treated as lists
#the list and listType attributes are optional
wiki:revisions listType='rdf:Bag' list="bnode:list57":
{http://example.org/mysite/page1.html}
l xml:lang=en: `some text in english

