--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/Makefile Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,26 @@
+RAPPER ?= rapper
+
+ALL = \
+ example1.rdf example1.nt \
+ example1a.rdf example1a.nt \
+ example2.rdf example2.nt \
+ example3.rdf example3.nt \
+ example4.rdf example4.nt \
+ example5.rdf example5.nt \
+ example6.rdf example6.nt \
+ example7.rdf example7.nt \
+ example8.rdf example8.nt \
+ example9.rdf example9.nt \
+ example10.rdf example10.nt \
+ example11.rdf example11.nt
+
+all: $(ALL)
+
+clean:
+ rm -f $(ALL)
+
+%.rdf: %.ttl
+ $(RAPPER) -i turtle -o rdfxml-abbrev $< > $@
+
+%.nt: %.ttl
+ $(RAPPER) -i turtle -o ntriples $< > $@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1.nt Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,9 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Permission> .
+_:genid1 <http://w3.org/ns/odrl/2/target> <http://example.com/asset:9898> .
+_:genid1 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/reproduce> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Prohibition> .
+_:genid2 <http://w3.org/ns/odrl/2/target> <http://example.com/asset:9898> .
+_:genid2 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/modify> .
+<http://example.com/policy:0099> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Set> .
+<http://example.com/policy:0099> <http://w3.org/ns/odrl/2/permission> _:genid1 .
+<http://example.com/policy:0099> <http://w3.org/ns/odrl/2/prohibition> _:genid2 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1.rdf Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+ xmlns:odrl="http://w3.org/ns/odrl/2/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <odrl:Set rdf:about="http://example.com/policy:0099">
+ <odrl:permission>
+ <odrl:Permission>
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/reproduce"/>
+ <odrl:target rdf:resource="http://example.com/asset:9898"/>
+ </odrl:Permission>
+ </odrl:permission>
+ <odrl:prohibition>
+ <odrl:Prohibition>
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/modify"/>
+ <odrl:target rdf:resource="http://example.com/asset:9898"/>
+ </odrl:Prohibition>
+ </odrl:prohibition>
+ </odrl:Set>
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,15 @@
+@base <http://example.com/> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+
+</policy:0099>
+ a odrl:Set;
+ odrl:permission [
+ a odrl:Permission ;
+ odrl:target </asset:9898> ;
+ odrl:action odrl:reproduce
+ ] ;
+ odrl:prohibition [
+ a odrl:Prohibition ;
+ odrl:target </asset:9898> ;
+ odrl:action odrl:modify
+ ] .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example10.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,57 @@
+@prefix : <http://example10.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example10.com> .
+
+<http://example10.com> rdf:type owl:Ontology ;
+
+ rdfs:comment """Scenario 3.10
+""" ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+
+
+
+### http://example10.com#myPlaceBilliePhotosFootball2010
+
+:myPlaceBilliePhotosFootball2010 rdf:type owl:NamedIndividual .
+
+
+
+### http://example10.com#myplaceBillie
+
+:myplaceBillie rdf:type owl:NamedIndividual .
+
+
+
+### http://example10.com#myplacefootball
+
+:myplacefootball odrl:scope odrl:group .
+:policy5109 rdf:type odrl:Agreement ;
+
+ odrl:permission [
+ rdf:type odrl:Permission ;
+ odrl:target :myPlaceBilliePhotosFootball2010 ;
+ odrl:assigner :myplaceBillie ;
+ odrl:assignee :myplacefootball ;
+ odrl:action odrl:display .
+ ] .
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example11.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,52 @@
+@prefix : <http://example11.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix x: <http://examplex.com#> .
+@base <http://example11.com> .
+
+<http://example11.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.11 "@en ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+### http://example11.com#archive
+
+:archive rdf:type owl:NamedIndividual .
+
+
+
+### http://example11.com#database
+
+:database rdf:type owl:NamedIndividual .
+
+
+
+### http://example11.com#policy881212
+
+:policy881212 rdf:type odrl:Set ,
+ owl:NamedIndividual ;
+
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:target :archive ;
+ x:collection :database ;
+ odrl:action odrl:index
+ ] .
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1a.nt Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,4 @@
+<http://example.com/asset:9898> <http://purl.org/dc/terms/license> <http://example.com/policy:0099> .
+<http://example.com/policy:0099> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Set> .
+<http://example.com/policy:0099> <http://w3.org/ns/odrl/2/permission> <http://w3.org/ns/odrl/2/reproduce> .
+<http://example.com/policy:0099> <http://w3.org/ns/odrl/2/prohibition> <http://w3.org/ns/odrl/2/modify> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1a.rdf Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+ xmlns:dct="http://purl.org/dc/terms/"
+ xmlns:odrl="http://w3.org/ns/odrl/2/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://example.com/asset:9898">
+ <dct:license rdf:resource="http://example.com/policy:0099"/>
+ </rdf:Description>
+ <odrl:Set rdf:about="http://example.com/policy:0099">
+ <odrl:permission rdf:resource="http://w3.org/ns/odrl/2/reproduce"/>
+ <odrl:prohibition rdf:resource="http://w3.org/ns/odrl/2/modify"/>
+ </odrl:Set>
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example1a.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,10 @@
+@base <http://example.com/> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix dct: <http://purl.org/dc/terms/> .
+
+</asset:9898> dct:license </policy:0099> .
+
+</policy:0099>
+ a odrl:Set;
+ odrl:permission odrl:reproduce ;
+ odrl:prohibition odrl:modify .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example2.nt Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,20 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Permission> .
+_:genid1 <http://w3.org/ns/odrl/2/target> <http://example.com/music:4545> .
+_:genid1 <http://w3.org/ns/odrl/2/assigner> <http://example.com/sony:10> .
+_:genid1 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/play> .
+_:genid1 <http://w3.org/ns/odrl/2/duty> _:requirements .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Constraint> .
+_:genid2 <http://w3.org/ns/odrl/2/count> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid2 <http://w3.org/ns/odrl/2/operator> <http://w3.org/ns/odrl/2/lteq> .
+_:genid3 <http://w3.org/ns/odrl/2/target> <http://example.com/music:4545> .
+_:genid3 <http://w3.org/ns/odrl/2/assigner> <http://example.com/sony:10> .
+_:genid3 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/copy> .
+_:genid3 <http://w3.org/ns/odrl/2/duty> _:requirements .
+_:genid3 <http://w3.org/ns/odrl/2/constraint> _:genid2 .
+<http://example.com/policy:0231> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Offer> .
+<http://example.com/policy:0231> <http://w3.org/ns/odrl/2/permission> _:genid1 .
+<http://example.com/policy:0231> <http://w3.org/ns/odrl/2/permission> _:genid3 .
+_:requirements <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Duty> .
+_:requirements <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/pay> .
+_:requirements <http://w3.org/ns/odrl/2/target> <http://example.com/ubl:AUD0.50> .
+<http://example.com/sony:10> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Party> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example2.rdf Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+ xmlns:odrl="http://w3.org/ns/odrl/2/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <odrl:Offer rdf:about="http://example.com/policy:0231">
+ <odrl:permission>
+ <odrl:Permission>
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/play"/>
+ <odrl:assigner rdf:resource="http://example.com/sony:10"/>
+ <odrl:duty rdf:nodeID="requirements"/>
+ <odrl:target rdf:resource="http://example.com/music:4545"/>
+ </odrl:Permission>
+ </odrl:permission>
+ <odrl:permission>
+ <rdf:Description>
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/copy"/>
+ <odrl:assigner rdf:resource="http://example.com/sony:10"/>
+ <odrl:constraint>
+ <odrl:Constraint>
+ <odrl:count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</odrl:count>
+ <odrl:operator rdf:resource="http://w3.org/ns/odrl/2/lteq"/>
+ </odrl:Constraint>
+ </odrl:constraint>
+ <odrl:duty rdf:nodeID="requirements"/>
+ <odrl:target rdf:resource="http://example.com/music:4545"/>
+ </rdf:Description>
+ </odrl:permission>
+ </odrl:Offer>
+ <odrl:Party rdf:about="http://example.com/sony:10"/>
+ <odrl:Duty rdf:nodeID="requirements">
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/pay"/>
+ <odrl:target rdf:resource="http://example.com/ubl:AUD0.50"/>
+ </odrl:Duty>
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example2.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,30 @@
+@base <http://example.com/> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+
+</policy:0231>
+ a odrl:Offer ;
+ odrl:permission [
+ a odrl:Permission ;
+ odrl:target </music:4545> ;
+ odrl:assigner </sony:10> ;
+ odrl:action odrl:play ;
+ odrl:duty _:requirements
+ ] ;
+ odrl:permission [
+ odrl:target </music:4545> ;
+ odrl:assigner </sony:10> ;
+ odrl:action odrl:copy ;
+ odrl:duty _:requirements ;
+ odrl:constraint [
+ a odrl:Constraint ;
+ odrl:count 1 ;
+ odrl:operator odrl:lteq
+ ]
+ ] .
+
+_:requirements
+ a odrl:Duty ;
+ odrl:action odrl:pay ;
+ odrl:target </ubl:AUD0.50> .
+
+</sony:10> a odrl:Party .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example3.nt Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,13 @@
+<http://example3.com> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://example3.com> <http://www.w3.org/2000/01/rdf-schema#comment> "Scenario 3.3 "@en .
+<http://example3.com> <http://www.w3.org/2002/07/owl#imports> <http://w3.org/ns/odrl/2/> .
+<http://example3.com#AUD50> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Asset> .
+<http://example3.com#billie888> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Party> .
+<http://example3.com#music4545> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Asset> .
+<http://example3.com#sony10> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Party> .
+_:genid1 <http://w3.org/ns/odrl/2/unit> "AUD" .
+_:genid1 <http://w3.org/ns/odrl/2/rightOperand> "5" .
+_:genid1 <http://w3.org/ns/odrl/2/operator> <http://w3.org/ns/odrl/2/eq> .
+<http://example3.com#duty05> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Duty> .
+<http://example3.com#duty05> <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/pay> .
+<http://example3.com#duty05> <http://w3.org/ns/odrl/2/constraint> _:genid1 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example3.rdf Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+ xmlns:odrl="http://w3.org/ns/odrl/2/"
+ xmlns:owl="http://www.w3.org/2002/07/owl#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://example3.com#">
+ <owl:Ontology rdf:about="http://example3.com">
+ <rdfs:comment xml:lang="en">Scenario 3.3 </rdfs:comment>
+ <owl:imports rdf:resource="http://w3.org/ns/odrl/2/"/>
+ </owl:Ontology>
+ <odrl:Asset rdf:about="http://example3.com#AUD50"/>
+ <odrl:Party rdf:about="http://example3.com#billie888"/>
+ <odrl:Duty rdf:about="http://example3.com#duty05">
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/pay"/>
+ <odrl:constraint>
+ <rdf:Description>
+ <odrl:operator rdf:resource="http://w3.org/ns/odrl/2/eq"/>
+ <odrl:rightOperand>5</odrl:rightOperand>
+ <odrl:unit>AUD</odrl:unit>
+ </rdf:Description>
+ </odrl:constraint>
+ </odrl:Duty>
+ <odrl:Asset rdf:about="http://example3.com#music4545"/>
+ <odrl:Party rdf:about="http://example3.com#sony10"/>
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example3.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,75 @@
+@prefix : <http://example3.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example3.com> .
+
+<http://example3.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.3 "@en ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+### http://example3.com#AUD50
+
+:AUD50 rdf:type odrl:Asset .
+
+
+### http://example3.com#billie888
+
+:billie888 rdf:type odrl:Party .
+
+
+### http://example3.com#music4545
+
+:music4545 rdf:type odrl:Asset .
+
+### http://example3.com#sony10
+
+:sony10 rdf:type odrl:Party .
+
+:duty05 rdf:type odrl:Duty ;
+ odrl:action odrl:pay;
+ odrl:constraint [ odrl:unit "AUD" ;
+ odrl:rightOperand "5" ;
+ odrl:operator odrl:eq
+ ] .
+
+
+### http://example3.com#policy9001
+
+:policy9001 rdf:type odrl:Agreement ;
+ odrl:permission [ odrl:target :music4545 ;
+ odrl:assigner :sony10 ;
+ odrl:assignee :billiee888 ;
+ odrl:action odrl:play ;
+ odrl:duty :duty05.
+ ],
+ [ odrl:target :music4545 ;
+ odrl:assigner :sony10 ;
+ odrl:action odrl:copy ;
+ odrl:assignee :billiee888 ;
+ odrl:duty :duty05;
+ odrl:constraint [ odrl:count "1" ;
+ odrl:operator odrl:lteq
+ ] ;
+ ] .
+
+
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example4.rdf Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+ xmlns:odrl="http://w3.org/ns/odrl/2/"
+ xmlns:owl="http://www.w3.org/2002/07/owl#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://example4.com#">
+ <owl:Ontology rdf:about="http://example4.com">
+ <rdfs:comment xml:lang="en">Scenario 3.4 </rdfs:comment>
+ <owl:imports rdf:resource="http://w3.org/ns/odrl/2/"/>
+ </owl:Ontology>
+ <odrl:Permission rdf:about="http://example4.com#anonp">
+ <odrl:action rdf:resource="http://w3.org/ns/odrl/2/display"/>
+ <odrl:assignee rdf:resource="http://example4.com#guest0589"/>
+ <odrl:target rdf:resource="http://example4.com#news0099"/>
+ <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#NamedIndividual"/>
+ </odrl:Permission>
+ <odrl:Party rdf:about="http://example4.com#guest0589">
+ <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#NamedIndividual"/>
+ </odrl:Party>
+ <owl:NamedIndividual rdf:about="http://example4.com#news0099"/>
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example4.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,64 @@
+@prefix : <http://example4.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example4.com> .
+
+<http://example4.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.4 "@en ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+### http://example4.com#anonp
+
+:anonp rdf:type odrl:Permission ,
+ owl:NamedIndividual ;
+
+ odrl:assignee :guest0589 ;
+
+ odrl:target :news0099 ;
+
+ odrl:action odrl:display .
+
+
+
+### http://example4.com#guest0589
+
+:guest0589 rdf:type odrl:Party ,
+ owl:NamedIndividual .
+
+
+
+### http://example4.com#news0099
+
+:news0099 rdf:type owl:NamedIndividual .
+
+
+
+### http://example4.com#policy04311
+
+:policy04311 rdf:type odrl:Request ;
+ odrl:permission [
+ rdf:type odrl:Permission ;
+ odrl:assignee :guest0589 ;
+ odrl:target :news0099 ;
+ odrl:action odrl:display .
+ ].
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example5.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,46 @@
+@prefix : <http://example5.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example5.com> .
+
+<http://example5.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.5" ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+### http://example5.com#game4589
+
+:game4589 rdf:type owl:NamedIndividual .
+
+
+
+### http://example5.com#policy0811
+
+:policy0811 rdf:type odrl:Ticket ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:target :game4589 ;
+ odrl:action odrl:play ;
+ odrl:constraint [ rdf:type odrl:Constraint ;
+ odrl:dateTime "2010-12-31" ;
+ odrl:operator odrl:lteq
+ ]
+ ] .
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example6.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,48 @@
+@prefix : <http://example6.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example6.com> .
+
+<http://example6.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.6" ;
+
+ owl:imports odrl:null .
+
+:policy5531 rdf:type odrl:Offer ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:target :wallpaper2321 ;
+ odrl:assigner :sony99 ;
+ odrl:action odrl:distribute ;
+ odrl:constraint [ rdf:type odrl:Constraint ;
+ odrl:operator odrl:eq;
+ odrl:rightOperand "iso3166:IT"
+ ] ;
+ odrl:duty :duty01;
+ odrl:duty :duty02;
+ ].
+:policy7777 rdf:type odrl:Set ;
+ odrl:duty :duty02;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:target :wallpaper2321 ;
+ odrl:action odrl:display
+ ].
+:duty01 rdf:type odrl:Duty;
+ odrl:action odrl:pay;
+ odrl:constraint [ rdf:type odrl:Constraint;
+ odrl:operator odrl:eq;
+ odrl:rightOperand "1000.00";
+ odrl:unit "EUR"
+ ].
+:duty02 rdf:type odrl:Duty;
+ odrl:action odrl:nextPolicy.
+
+
+
+
+### Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example7.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,52 @@
+@prefix : <http://example7.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example7.com> .
+
+<http://example7.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.7" ;
+
+ owl:imports odrl: .
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+
+
+### http://example7.com#policy1111
+
+:policy1111 rdf:type odrl:Privacy ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:constraint [
+ odrl:rightOperand "p3pcontact" ;
+ odrl:operator odrl:eq
+ ] ;
+ odrl:duty [ rdf:type odrl:Duty ;
+ odrl:constraint [ rdf:type odrl:Constraint;
+ odrl:dateTime """P30D""" ;
+ odrl:operator odrl:eq
+ ] ;
+ odrl:target :billie888personaldata ;
+ odrl:action odrl:delete
+ ];
+ odrl:assigner :billie888 ;
+ odrl:target :billie888personaldata ;
+ odrl:assignee :govhealthau ;
+ odrl:action odrl:distribute
+ ] .
+
+
+
+
+### Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example8.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,79 @@
+@prefix : <http://example8.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix mobile: <http://mobile.com#> .
+@base <http://example8.com> .
+
+<http://example8.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.8"@en ;
+
+ owl:imports odrl:null .
+
+
+#################################################################
+#
+# Annotation properties
+#
+#################################################################
+
+
+
+
+
+#################################################################
+#
+# Datatypes
+#
+#################################################################
+
+
+
+
+#################################################################
+#
+# Classes
+#
+#################################################################
+
+
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+
+
+:policy3433 rdf:type odrl:Agreement;
+ odrl:conflict odrl:perm ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:assignee :billie888 ;
+ odrl:assigner :sony10 ;
+ odrl:target :music1234908 ;
+ odrl:action odrl:play
+ ] ;
+ odrl:prohibition [ rdf:type odrl:Prohibition ;
+ odrl:assignee :billie888 ;
+ odrl:assigner :sony10 ;
+ odrl:target :music1234908 ;
+ odrl:action mobile:ringtone
+ ].
+
+### Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/example9.ttl Tue Sep 10 23:01:20 2013 +0100
@@ -0,0 +1,130 @@
+@prefix : <http://example9.com#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xml: <http://www.w3.org/XML/1998/namespace> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix odrl: <http://w3.org/ns/odrl/2/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@base <http://example9.com> .
+
+<http://example9.com> rdf:type owl:Ontology ;
+
+ rdfs:comment "Scenario 3.9"@en ;
+
+ owl:imports odrl:null .
+
+
+#################################################################
+#
+# Annotation properties
+#
+#################################################################
+
+
+odrl:action rdf:type owl:AnnotationProperty .
+
+
+
+odrl:permission rdf:type owl:AnnotationProperty .
+
+
+
+odrl:assignee rdf:type owl:AnnotationProperty .
+
+
+
+odrl:target rdf:type owl:AnnotationProperty .
+
+
+
+odrl:assigner rdf:type owl:AnnotationProperty .
+
+
+
+odrl:inheritAllowed rdf:type owl:AnnotationProperty .
+
+
+
+
+
+#################################################################
+#
+# Datatypes
+#
+#################################################################
+
+
+
+
+#################################################################
+#
+# Classes
+#
+#################################################################
+
+
+### http://w3.org/ns/odrl/2/Agreement
+
+odrl:Agreement rdf:type owl:Class .
+
+
+
+### http://w3.org/ns/odrl/2/Permission
+
+odrl:Permission rdf:type owl:Class .
+
+
+
+
+
+#################################################################
+#
+# Individuals
+#
+#################################################################
+
+
+### http://example9.com#billie888
+
+:billie888 rdf:type owl:NamedIndividual .
+
+
+
+### http://example9.com#policy5531
+
+:policy5531 rdf:type odrl:Agreement;
+ odrl:inheritAllowed "true"^^xsd:boolean ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:assignee :billie888 ;
+ odrl:assigner :pub88 ;
+ odrl:target :report2321 ;
+ odrl:action odrl:print
+ ] .
+:policy9999 rdf:type odrl:Agreement;
+ <http://www.w3.org/ns/odrl/2/inheritFrom> :policy5531 ;
+ odrl:permission [ rdf:type odrl:Permission ;
+ odrl:assignee :classIT01 ;
+ odrl:assigner :pub88 ;
+ odrl:target :report2333 ;
+ odrl:action odrl:display
+ ] .
+:classIT01 rdf:type odrl:Party;
+ odrl:scope odrl:group .
+
+
+
+### http://example9.com#pub88
+
+:pub88 rdf:type owl:NamedIndividual .
+
+
+
+### http://example9.com#report2321
+
+:report2321 rdf:type owl:NamedIndividual .
+
+
+
+
+### Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net
+