Open your app. (InfoEducatie 2008)
-
Upload
laurian-gridinoc -
Category
Technology
-
view
1.602 -
download
1
description
Transcript of Open your app. (InfoEducatie 2008)
Open your app.Laurian Gridinochttp://purl.org/net/laur
August 2008
Open Web
Decentralised
Transparent
Openness (welcomeness)
Hackable
Mashableopenwebfoundation.org
The Sixteen Faces of Eve
“there is something that is a person, with a name of Eve and a homepage of http://example.org/~eve”
_:eve rdf:type foaf:Person .
_:eve foaf:name “Eve” .
_:eve foaf:homepage <http://example.org/~eve>.
© Ian Davis, iandavis.com/blog/2005/09/the-sixteen-faces-of-eve
<rdf:RDF xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:foaf=“http://xmlns.com/foaf/0.1/”>
<foaf:Person>
<foaf:name>Eve</foaf:name>
<foaf:homepage rdf:resource=“http://example.org/~eve”/>
</foaf:Person>
</rdf:RDF>
<rdf:RDF xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:foaf=“http://xmlns.com/foaf/0.1/”>
<rdf:Description foaf:name=“Eve”>
<rdf:type rdf:resource=“http://xmlns.com/foaf/0.1/Person” />
<foaf:homepage rdf:resource=“http://example.org/~eve”/>
</rdf:Description>
</rdf:RDF>
microformats,RDFa
microformats
hCard is a HTML representation of vCard (RFC 2426)
<address class="vcard">
<a class="fn url" href="http://example.org/~eve">Eve</a>
</address>
RDFa
_:eve rdf:type foaf:Person .
_:eve foaf:name "Eve" .
_:eve foaf:homepage <http://example.org/~eve>.
<a xmlns:foaf=“http://xmlns.com/foaf/0.1/” typeof=”foaf:Person” rel=”foaf:homepage” property=”foaf:name” href=”http://example.org/~eve”>Eve</a>
RDFa vs. microformats
more vocabularies
namespaces
create your own voc.
combine them
precise identification (@about)
@xml:base, @xml:lang
datatypes (e.g. xsd:date)
part of XHTML next version
maybe part of (X)HTML5?
microformats,RDFa
GRDDL
Gleaning Resource Descriptions from Dialects of Languageswww.w3.org/TR/grddl/
glean |gliːn|verb [ trans. ]extract (information) from various sources : the information is gleaned from press clippings.• collect gradually and bit by bit : objects gleaned from local markets.• historical gather (leftover grain or other produce) after a harvest : [as n. ] ( gleaning) the conditions of farm workers in the 1890s made gleaning essential.
http://ns.inria.fr/grddl/rdfa/
If you want to declare that a document contains RDFa and always uses the latest profile, add this profile to the head of your XHTML:
<head profile="http://ns.inria.fr/grddl/rdfa/">
If you want to use a specific version of the transformation, use the specific profile of that version, e.g.:
<head profile="http://ns.inria.fr/grddl/rdfa/2008/07/21/">
or reference the transformation directly, e.g.:
<head profile="http://www.w3.org/2003/g/data-view">
<link rel="transformation" href="http://ns.inria.fr/grddl/rdfa/2008/07/21/RDFa2RDFXML.xsl"/>
</head>
what about hcard?
<head profile="http://www.w3.org/2003/g/data-view http://www.w3.org/2006/03/hcard">
Where http://www.w3.org/2006/03/hcard contains:
<head profile="http://www.w3.org/2003/g/data-view">
and
<p>Use of this profile licenses RDF data extracted by
<a rel="profileTransformation" href="../vcard/hcard2rdf.xsl">hcard2rdf.xsl</a>
from <a href="http://www.w3.org/2006/vcard/ns">the 2006 vCard/RDF work</a>.
</p>
Your website is your API!
Things to keep in mind:
REST
LinkedData, linkeddata.org
Breadcrumbs (publish your data sources, your queries)
Resources
Existing @rel values tinyurl.com/684qo2
Profile URIs tinyurl.com/2ohmak
RDFa Basics (YouTube) tinyurl.com/yqs2ax
RDFa Primer (W3C) tinyurl.com/jqysh
rdfa.info
Operator extension tinyurl.com/2b8m54
Making the Web Searchable: The Story of SearchMonkey tinyurl.com/5he7yc