Skip to content

Instantly share code, notes, and snippets.

@iand
Forked from kierdavis/me.squirtle
Created July 10, 2012 22:10
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 iand/3086533 to your computer and use it in GitHub Desktop.
Save iand/3086533 to your computer and use it in GitHub Desktop.
Squirtle syntax example
name <http://kierdavis.com/data/me> as me
name <http://kierdavis.com/data/projects> as projects
pattern ?l ?n ?p ?pt { a foaf:OnlineAccount
rdfs:label ?l
foaf:accountName ?n
foaf:accountServiceHomepage ?p
foaf:isPrimaryTopicOf ?pt
} as Account
me { a foaf:Person
foaf:name "Kier Davis"
foaf:nick "kier", "kierdavis"
foaf:homepage <http://kierdavis.com/>
foaf:age 15
foaf:birthday "02-15"
foaf:mbox <mailto:kierdavis@gmail.com>
foaf:mbox_sha1sum "b6bc2a737f0be59f8507d2f16a2f619e562df483"
foaf:mbox_sha1sum "528ec19f0b8799e92c3720bac76cfc5554e06ffe"
foaf:mbox_sha1sum "aeb995ad6f2420a2835cef3332df480581c59afc"
foaf:schoolHomepage <http://www.lawrencesheriffschool.net/>
owl:sameAs <http://iandavis.com/id/kier>
rel:childOf <http://iandavis.com/id/me>
foaf:knows <http://iandavis.com/id/me>
foaf:account me/accounts/delicious Account("My Del.icio.us account",
"kierdavis",
<http://www.delicious.com/>,
<http://www.delicious.com/kierdavis>)
foaf:account me/accounts/delicious Account("My Github account",
"kierdavis",
<https://github.com/>,
<https://github.com/kierdavis>>)
foaf:account me/accounts/facebook { a foaf:OnlineChatAccount
rdfs:label "My Facebook account"
foaf:accountName "kier.davis"
foaf:accountServiceHomepage <http://www.facebook.com/>
foaf:isPrimaryTopicOf <http://www.facebook.com/kier.davis>
}
foaf:account me/accounts/plus { a foaf:OnlineChatAccount
rdfs:label "My Google+ account"
foaf:accountName "me@kierdavis.com"
foaf:accountServiceHomepage <https://plus.google.com/>
foaf:isPrimaryTopicOf <https://plus.google.com/105698887942690872119/posts>
}
foaf:account me/accounts/lastfm { a foaf:OnlineAccount
rdfs:label "My Last.fm account"
foaf:accountName "kierdavis"
foaf:accountServiceHomepage <http://www.last.fm/>
foaf:isPrimaryTopicOf <http://www.last.fm/user/kierdavis>
}
foaf:account me/accounts/spotify { a foaf:OnlineAccount
rdfs:label "My Spotify account"
foaf:accountName "kierdavis"
foaf:accountServiceHomepage <http://www.spotify.com/>
foaf:isPrimaryTopicOf <http://open.spotify.com/user/kierdavis>
}
foaf:account me/accounts/twitter { a foaf:OnlineChatAccount
rdfs:label "My Twitter account"
foaf:accountName "kierdavis"
foaf:accountServiceHomepage <http://twitter.com/>
foaf:isPrimaryTopicOf <http://twitter.com/kierdavis>
}
foaf:account me/accounts/uloops { a foaf:OnlineAccount
rdfs:label "My uLoops account"
foaf:accountName "kierdavis"
foaf:accountServiceHomepage <http://uloops.net/umc/index.php>
foaf:isPrimaryTopicOf <http://uloops.net/profile/kierdavis>
}
}
projects/argo {
doap:license <http://usefulinc.com/doap/licenses/mit>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment