Workspaces:1:Linked Open Data:BlogPostExtract
From IKMEmergent
Example of RDF
(Supporting resource for process blog).
Below is the resource returned for [1]
<?xml version="1.0" encoding="utf-8" ?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:geo="http://www.geonames.org/ontology#" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:Document rdf:about="http://ontologi.es/place/PE.rdf"> <foaf:primaryTopic rdf:resource="http://ontologi.es/place/PE" /> <dc:title>About: Peru</dc:title> <dc:publisher rdf:resource="http://tobyinkster.co.uk/#i" /> <dc:license rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" /> </foaf:Document> <geo:Country rdf:about="http://ontologi.es/place/PE" skos:notation="PE" rdfs:label="Peru"> <geo:name>Peru</geo:name> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-CAL" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-AMA" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-ANC" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-APU" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-ARE" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-AYA" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-CAJ" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-CUS" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-HUV" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-HUC" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-ICA" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-JUN" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-LAL" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-LAM" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-LIM" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-LOR" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-MDD" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-MOQ" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-PAS" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-PIU" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-PUN" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-SAM" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-TAC" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-TUM" /> <dc:hasPart rdf:resource="http://ontologi.es/place/PE-UCA" /> <owl:sameAs rdf:resource="http://www.geonames.org/countries/#PE" /> <rdfs:seeAlso rdf:resource="http://sameas.org/rdf?uri=http%3A%2F%2Fwww.geonames.org%2Fcountries%2F%23PE" /> </geo:Country> </rdf:RDF>
This can also be shown in n3 syntax (more readable for humans):
#Processed by Id: cwm.py,v 1.144 2003/09/14 20:20:20 timbl Exp
# using base file:/tmp/tmpPeKsPC-rdfconverter
# Notation3 generation by
# notation3.py,v 1.148 2003/12/04 21:20:17 timbl Exp
# Base was: file:/tmp/tmpPeKsPC-rdfconverter
@prefix : <http://www.geonames.org/ontology#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
<http://ontologi.es/place/PE> a :Country;
dc:hasPart <http://ontologi.es/place/PE-AMA>,
<http://ontologi.es/place/PE-ANC>,
<http://ontologi.es/place/PE-APU>,
<http://ontologi.es/place/PE-ARE>,
<http://ontologi.es/place/PE-AYA>,
<http://ontologi.es/place/PE-CAJ>,
<http://ontologi.es/place/PE-CAL>,
<http://ontologi.es/place/PE-CUS>,
<http://ontologi.es/place/PE-HUC>,
<http://ontologi.es/place/PE-HUV>,
<http://ontologi.es/place/PE-ICA>,
<http://ontologi.es/place/PE-JUN>,
<http://ontologi.es/place/PE-LAL>,
<http://ontologi.es/place/PE-LAM>,
<http://ontologi.es/place/PE-LIM>,
<http://ontologi.es/place/PE-LOR>,
<http://ontologi.es/place/PE-MDD>,
<http://ontologi.es/place/PE-MOQ>,
<http://ontologi.es/place/PE-PAS>,
<http://ontologi.es/place/PE-PIU>,
<http://ontologi.es/place/PE-PUN>,
<http://ontologi.es/place/PE-SAM>,
<http://ontologi.es/place/PE-TAC>,
<http://ontologi.es/place/PE-TUM>,
<http://ontologi.es/place/PE-UCA>;
:name "Peru";
rdfs:label "Peru";
rdfs:seeAlso <http://sameas.org/rdf?uri=http%3A%2F%2Fwww.geonames.org%2Fcountries%2F%23PE>;
= <http://www.geonames.org/countries/#PE>;
skos:notation "PE" .
<http://ontologi.es/place/PE.rdf> a foaf:Document;
dc:license <http://creativecommons.org/publicdomain/zero/1.0/>;
dc:publisher <http://tobyinkster.co.uk/#i>;
dc:title "About: Peru";
foaf:primaryTopic <http://ontologi.es/place/PE> .
#ENDS
del.icio.us