Max Mustermann

From semantic-mediawiki.org
 [[foaf:name::Max Mustermann]] has the homepage [[foaf:homepage::http://maxmustermann.org]].
 His best friend is [[foaf:knows::John Doe]]. 
 [[Category:Person]]

Max Mustermann has the homepage http://maxmustermann.org. His best friend is John Doe. FOAF file

Statements in the exported RDF[edit]

  <Foaf:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Max Mustermann</foaf:name>
  <Foaf:homepage rdf:resource="http://maxmustermann.org"/>
  <Foaf:knows rdf:resource="http://wiki.ontoworld.org/index.php/John_Doe"/>
  <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>

RDF Export

Linking external FOAF files[edit]

If you already have a FOAF file, you will want to connect it with your article within this wiki. This is indeed very simple: just write

 [[See also::http://the.location.of/your/FOAF/file]]

on your page to include an rdfs:seeAlso pointer. An even easier way to link a single FOAF file is to use the parameter "FOAF" of the template Template:Person which is very handy for building personal pages anyway.