Skip to content

Instantly share code, notes, and snippets.

@alpha-beta-soup
Last active May 17, 2019 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alpha-beta-soup/1e2699188c61b170ac2a5ed3341e450f to your computer and use it in GitHub Desktop.
Save alpha-beta-soup/1e2699188c61b170ac2a5ed3341e450f to your computer and use it in GitHub Desktop.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rel: <http://vocab.org/relationship/> .
@prefix wikipedia: <http://en.wikipedia.org/wiki/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix bio: <http://vocab.org/relationship/> .
<me> a foaf:PersonalProfileDocument ;
rdfs:label "Richard Law's FOAF document" ;
foaf:maker <me> ;
foaf:primaryTopic <me> .
<me> a foaf:Person;
foaf:name "Richard Law"@en ;
foaf:family_name "Law" ;
foaf:givenname "Richard" ;
foaf:gender "Male" ;
foaf:title "Mr." ;
foaf:homepage [
dc:title "Spatial Paralysis"
], <http://spatialparalysis.xyz> ;
foaf:weblog <http://spatialparalysis.xyz/blog> ;
foaf:mbox_sha1sum "32be595f36bedd821265bf7e00262eaa130f1088" ;
foaf:mbox_sha1sum "c996c17069f532235752d93a8dfebdcc3dbde185" ;
foaf:mbox_sha1sum "50da41c38baf426306c4dcc894a1b4712d19eafd" ;
foaf:mbox_sha1sum "29c671d0b80e6ac7d799d43f188673cc8d785ce6" ;
foaf:nick "Rich" ;
foaf:nick: "Richie" ;
foaf:depiction: "https://spatialparalysis.xyz/static/profile-632e3775ffa3d7f89e6b7e1fba57ebed.jpg" ;
foaf:interest: <wikipedia:Gardening> ;
foaf:interest: <wikipedia:Catholic_Church> ;
foaf:interest: <wikipedia:Geographic_information_system> ;
foaf:knows <mara> ;
rel:spouseOf <mara> ;
foaf:knows <callum> ;
rel:parentOf <callum> ;
foaf:knows <malcolm> ;
rel:childOf <malcolm> ;
foaf:knows <jacqueline> ;
rel:childOf <jacqueline> ;
foaf:knows <edward> ;
rel:siblingOf <edward> ;
foaf:knows <james> ;
rel:siblingOf <james> ;
foaf:knows <thomas> ;
rel:siblingOf <thomas> ;
foaf:age "28" ;
foaf:birthday "1990-08-07" ;
foaf:based_near [
geo:long "175.6082";
geo:lat "-40.3523";
] ;
foaf:publications: <https://spatialparalysis.xyz/publications> ;
bio:Baptism [
bio:principal <me> ;
dc:date "1990-10-07" ;
geo:long "174.907067" ;
geo:lat "41.211374" ;
] ;
bio:Graduation [
dc:date "2015" ;
bio:organisation <wikipedia:Victoria_University_of_Wellington> ;
bio:principal <me> ;
] .
<mara> a foaf:Person;
foaf:name "Mara Gilmore" ;
foaf:based_near [
geo:long "175.6082" ;
geo:lat "-40.3523" ;
] .
<malcolm> a foaf:Person;
foaf:name "Malcolm Law" ;
foaf:based_near [
geo:long "174.9081" ;
geo:lat "-41.2092" ;
] .
<jacqueline> a foaf:Person;
foaf:name "Jacqueline Law" ;
foaf:based_near [
geo:long "174.9081" ;
geo:lat "-41.2092" ;
] .
<james> a foaf:Person;
foaf:name "James Law" ;
foaf:homepage "http://reddit.com/u/yeswal" .
<thomas> a foaf:Person;
foaf:name "Thomas Law" ;
foaf:based_near [
geo:long "174.9081" ;
geo:lat "-41.2092" ;
] .
<edward> a foaf:Person;
foaf:name "Edward Law" ;
foaf:based_near [
geo:long "174.9081" ;
geo:lat "-41.2092" ;
] .
<callum> a foaf:Person;
foaf:name "Callum Law" ;
foaf:based_near [
geo:long "175.6082" ;
geo:lat "-40.3523" ;
] .
@alpha-beta-soup
Copy link
Author

Made this to demonstrate a FOAF viewer that looks for foaf:knows and foaf:based_near: https://spatialparalysis.xyz/foaf-viewer

No promises made as to the validity of any of this information. It is not licensed for re-use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment