Notes Writing in Schemas
From ActiveArchives
Notes 10/11/2011
http://activearchives.org/wiki/Writing_in_Schemas
Triples
Everything is a potential to be linked
When we were looking at dbpedia -- a problematic place to start
The flattening out ... a category becoming a page
Everything is an element
Keyword on the relationship
What used to be a tag ... is now a tag on a relationship
A traditional database ... a list of works, titles
How to connect through a tag classic style ... keyword abuse
Most organisations have CMS / frameworks; SARMA was still writing HTML by hand. Meant the writing and linking was much richer than most other institutes.
Permits variation of lay-out, next to html there are other solutions: (for the 3000 reviews, there is a db) They were used to work in a hypertextual way. How to tag as part of the writing, put the tag into the text, in context.
True semantic markup: the linked-data approach allows to write with tags. Each tag has it's own writing space.
While writing a text, you want to tag. Not as an after thought, something that happens after.
We will not write triples directly but use RDF-a
Remember: RDF = links with a color, flavour
<li><a href="/Deborah Jowit" rel="flavour of the relationship">Tag goes here</a></li>
- if not otherwise specified, the document is the subject
- the link is the relationship
- the rel attribute stands for the label of the relation
rapper --input rdfa --output turtle http://activearchives.org/sarma/docs/view/1351
Why The Semantic Web is not happening: it needs to be easier to mix into text. RDF-a is 'attributed' RDF "rel" is the attribute
Sneaking in the rdf into old fashioned HTML, or: it was already there, in the original plans by Tim Berners Lee The idea of machine-proposed links. Where is the work happening? It is not the computer that becomes self-aware. Let's make good authoring tools that allow readers and writers to work on marking up. Distribute the work.
FOAF project: creating a web of machine readable pages that describe people http://www.foaf-project.org/
A distribute way of showing, describing social networks. Remember friendster? Urban Legends: Friend-of-a-friend story is something like "the man that has seen a man that has seen a bear..." Privacy becomes an issue ... or is it product? Linked-in? vcard?
lyrics of foo fighters song 'foaf': (human readable description of a person) http://www.azlyrics.com/lyrics/foofighters/friendofafriend.html
foaf specification: http://xmlns.com/foaf/spec/#term_Organization
FOAF-a-matic: http://www.ldodds.com/foaf/foaf-a-matic send your foax to: mm@automatist.org
To create a foaf file through a web form http://www.ldodds.com/foaf/foaf-a-matic
Example of a "turtle story":
@prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix bio: <http://vocab.org/bio/0.1/>. <http://automatist.org/> foaf:knows <http://femke.org/> . <http://automatist.org/> foaf:name "Michael" . <http://femke.org/> foaf:knows <http://nicolas.org/> . <http://nicolas.org/> foaf:knows <http://automatist.org/>.
C H A R A C T E R S
Fanny:
King Lear: <http://dbpedia.org/page/King_Lear/>
Frida: http://www.frida.com
Julia: <http://www.juliamaigret.be>
Template for writing your foaf:
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Mark Birbeck's profile</title>
<link rel="foaf:primaryTopic foaf:maker" href="#me"/>
</head>
<body>
<div about="#me" typeof="foaf:Person">
<span property="foaf:name">Mark Birbeck</span>
<a rel="foaf:weblog" href="http://internet-apps.blogspot.com/">XForms and Internet
Applications</a>
<a rel="foaf:knows" href="http://www.w3.org/People/Ivan/#me">Ivan Herman</a>
<span rel="foaf:img">
<img src="http://www.formsplayer.com/files/pictures/picture-11.jpg"
alt="Picture of Mark Birbeck"/>
</span>
<span rel="foaf:holdsAccount">
<span typeof="foaf:OnlineAccount">
<a rel="foaf:accountServiceHomepage" href="http://twitter.com/">Twitter</a>
<span property="foaf:accountName">markbirbeck</span>
</span>
</span>
</div>
</body>
</html>
To Test your FOAF file (here called me.foaf): http://www.w3.org/2007/08/pyRdfa/
To find your errors in xml:
- xmllint (commandline)
- save as .xml and look at it in firefox
rapper --input rdfa --output turtle me.foaf
The FOAF Vocabulary: http://xmlns.com/foaf/spec/
Example of a triple:
- Subject // about = // #me OR Typeof= (defines new Subject)
- Predicate // property= or rel=// foaf:name OR Relation // rel= // looks at href or src
- Object // <>content</> // 'myname'
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Michael Murtaugh: Welcome!</title>
</head>
<body>
<p about="http://automatist.org/#me">
Hello and welcome to my homepage. My name is <b property="foaf:name">Michael Murtaugh</b>. My email is mm@automatist.org.
</p>
</body>
</html>
LIST OF PEOPLE:
- michael: http://automatist.org/#me
- femke: http://snelting.domainepublic.net/#me
- peter: http://videomagazijn.org/#me
- bart: http://data.vti.be/people/bart-magnus/#me
- an: http://www.adashboard.org/#me
- marie: http://www.mariewocher.org/#me
- nicolas: http://www.constantvzw.org/site/Constant-members.html#nicolas
- linda: http://equipo-re.org/quienes-somos/#me
- Maria Ptqk: https://twitter.com/#!/ptqk/#me
- JBMatto: http://robott.org/#me
- Camille: http://camillepageard.org/#me
LIST OF ORGANIZATIONS
- Constant: http://www.constantvzw.org
- VTi: http://www.vti.be
- OSP: http://ospublish.constantvzw.org
- Piet Zwart Networked Media: http://pzwart.wdka.nl/networked-media
- Jan van Eyck Academy: http://www.janvaneyck.nl/
- Fundació Antoni Tàpies: http://www.fundaciotapies.org/site/spip.php?rubrique64
- bat editions : http://www.bat-editions.net
LIST OF ... PLACE? Brussels 1030 Variable
Write in simplified English? http://en.wikipedia.org/wiki/Simplified_English