tommorris (owner)

Revisions

gist: 178382 Download_button fork
public
Description:
RDF, events
Public Clone URL: git://gist.github.com/178382.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
25
26
27
28
29
30
31
32
33
34
35
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix event: <http://example.org/event/> .
@prefix soa: <http://example.org/soa/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://example.org/> .
 
:tom a foaf:Person;
  event:occured :tom_event1, :tom_event2, :tom_event3; :tom_event4;
  soa:conclusion :tom_current .
 
:tom_current a foaf:Person, soa:StateOfAffairs;
  # the foaf:Person is inferred from :tom
  # the rest is inferred from the Events
  foaf:name "Tom Morris";
  foaf:interest "RDF", "abstract metaphysics" .
 
:tom_event1 a event:AdditiveEvent;
  event:occurs_on :tom;
  foaf:name "Tom Morris";
  foaf:interest "RDF" .
 
:tom_event2 a event:AdditiveEvent;
  event:occurs_on :tom;
  foaf:interest "abstract metaphysics" .
 
:tom_event3 a event:SubtractiveEvent;
  event:occurs_on :tom;
  foaf:interest "abstract metaphysics";
  rdf:comment "The dissertation got too much.".
 
:tom_event4 a event:AdditiveEvent;
  event:occurs_on :tom;
  foaf:interest "abstract metaphysics";
  rdf:comment "All okay again.".