tommorris (owner)

Revisions

gist: 131940 Download_button fork
public
Public Clone URL: git://gist.github.com/131940.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Notation2 - work in progress
# Tom Morris <tom@tommorris.org>
#
# Like Turtle, but single-mindedly focused only on one thing.
#
# I'm working on a site that uses a relational database rather
# than a triple store. But sometimes, when creating a resource
# I just want to be able to 'shove in' some miscellaneous data
# that doesn't fit the existing model.
#
# Turtle is ideal here. But Turtle lets you make statements
# about anything. Notation2 is just Turtle but without that.
#
# What shouldn't you put in the Notation2? Anything which is
# stored elsewhere in your data model, or which can be
# programatically inferred from your database. The idea is that
# this is the data scratchpad for your resource.
 
# It uses prefixes:
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
 
# Every subject is either <#> or <#(.*)>
 
<#> dc:subject "cheese" .