Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding samples #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
56 changes: 56 additions & 0 deletions Sample Data/assessment.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .

data:Scenario1 a ies:PossibleWorld .
data:Scenario2 a ies:PossibleWorld .
data:Scenario3 a ies:PossibleWorld .
data:Vladimir a ies:Person .
data:Barry a ies:Person .
data:Fred a ies:Person .
data:ddosAttackOnAcmeInc a ies:Hacking .

data:BarHackingS3 ies:isPartOf data:Scenario3 ;
ies:isParticipantIn data:ddosAttackOnAcmeInc ;
ies:isParticipationOf data:Barry ;
a ies:Perpetrator .

data:BarryHackingS2 ies:isPartOf data:Scenario2 ;
ies:isParticipantIn data:ddosAttackOnAcmeInc ;
ies:isParticipationOf data:Barry ;
a ies:Perpetrator .

data:FreHackingS3 ies:isPartOf data:Scenario3 ;
ies:isParticipantIn data:ddosAttackOnAcmeInc ;
ies:isParticipationOf data:Fred ;
a ies:Perpetrator .

data:FredHackingS1 ies:isPartOf data:Scenario1 ;
ies:isParticipantIn data:ddosAttackOnAcmeInc ;
ies:isParticipationOf data:Fred ;
a ies:Perpetrator .

data:S1Assessment ies:assessed data:Scenario1 ;
ies:hmlConfidence "HIGH" ;
a ies:AssessToBeTrue .

data:S1Assessor ies:isParticipantIn data:S1Assessment ;
ies:isParticipationOf data:Vladimir ;
a ies:Assessor .

data:S2Assessment ies:assessed data:Scenario2 ;
ies:hmlConfidence "MEDIUM" ;
a ies:AssessToBeTrue .

data:S2Assessor ies:isParticipantIn data:S2Assessment ;
ies:isParticipationOf data:Vladimir ;
a ies:Assessor .

data:S3Assessment ies:assessed data:Scenario3 ;
ies:hmlConfidence "LOW" ;
a ies:AssessToBeTrue .

data:S3Assessor ies:isParticipantIn data:S3Assessment ;
ies:isParticipationOf data:Vladimir ;
a ies:Assessor .

27 changes: 27 additions & 0 deletions Sample Data/characteristics-and-measures.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

data:Fred a ies:Person .
data:FredBorn ies:isStartOf data:Fred ;
ies:hasCharacteristic data:Mass1 .
data:FredAtMedical ies:isStateOf data:Fred ;
ies:hasCharacteristic data:Mass2 .
data:Pounds a ies:UnitOfMeasure .

data:Mass1 a ies:Mass ;
ies:hasValue [
a ies:ValueInKilograms ;
ies:representationValue "3.0"^^xsd:decimal
] ,
[
a ies:MeasureValue ;
ies:representationValue "6.61"^^xsd:decimal ;
ies:measureUnit data:Pounds
] .
data:Mass2 a ies:Mass ;
ies:hasValue [
a ies:ValueInKilograms ;
ies:representationValue "25.0"^^xsd:decimal
] .
45 changes: 45 additions & 0 deletions Sample Data/communication.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .

data:Fred a ies:Person .
data:Brenda a ies:Person .
data:LAX a ies:Airport .
data:Wetwang a ies:RegionOfCountry .
data:0044987654321 a ies:TelephoneNumber .
data:123456789012345 a ies:IMEI .
data:001234567890 a ies:TelephoneNumber .

data:FredBrendaCall a ies:VoiceCall .

data:FredBrendaCaller a ies:Caller ;
ies:isPartOf data:FredBrendaCall ;
ies:happensIn data:Wetwang .

data:FredBrendaCallee a ies:Callee ;
ies:isPartOf data:FredBrendaCall ;
ies:happensIn data:LAX .

data:FredInCall a ies:PersonInCommunication ;
ies:isParticipantIn data:FredBrendaCaller ;
ies:isParticipationOf data:Fred .

data:BrendaInCall a ies:PersonInCommunication ;
ies:isParticipantIn data:FredBrendaCallee ;
ies:isParticipationOf data:Brenda .

data:FredsPhoneInCall a ies:DeviceInCommunication ;
ies:isParticipantIn data:FredBrendaCaller ;
ies:isIdentifiedBy data:0044987654321 ;
ies:isParticipationOf data:FredsMobile .

data:BrendaAccountInCall a ies:AccountInCommunication ;
ies:isParticipantIn data:FredBrendaCallee ;
ies:hasRegisteredCommsID data:001234567890 .

data:FredsMobile a ies:MobileHandset ;
ies:isIdentifiedBy data:123456789012345 .




19 changes: 19 additions & 0 deletions Sample Data/event-linkages.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .

data:World_Cup_2018 a ies:EntertainmentEvent .
data:Russia_v_Croatia a ies:EntertainmentEvent ;
ies:isPartOf data:World_Cup_2018 .
data:Sweden_v_England a ies:EntertainmentEvent ;
ies:isPartOf data:World_Cup_2018 .
data:England_v_Colombia a ies:EntertainmentEvent ;
ies:isPartOf data:World_Cup_2018 .
data:England_v_Croatia a ies:EntertainmentEvent ;
ies:isPartOf data:World_Cup_2018 ;
ies:after data:England_v_Colombia .
data:RusVCroKickOff a ies:BoundingState ;
ies:isStartOf data:Russia_v_Croatia .
data:SweVEngKickOff a ies:BoundingState ;
ies:isStartOf data:Sweden_v_England ;
ies:after data:RusVCroKickOff .
50 changes: 50 additions & 0 deletions Sample Data/event-participation.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix iso8601: <http://iso.org/iso8601#> .

data:Fred a ies:Person .
data:Barry a ies:Person .
data:Vladimir a ies:Person .

data:TeamMeeting a ies:Meeting .
data:FredInMeeting a ies:MeetingChair ;
ies:isParticipantIn data:TeamMeeting ;
ies:isParticipationOf data:Fred .
data:BarryInMeeting a ies:Attendance ;
ies:isParticipantIn data:TeamMeeting ;
ies:isParticipationOf data:Barry .
data:VladInMeeting a ies:Attendance ;
ies:isParticipantIn data:TeamMeeting ;
ies:isParticipationOf data:Vladimir .

data:MeetingStart a ies:BoundingState ;
ies:inPeriod iso8601:20180723T100000Z ;
ies:isStartOf data:TeamMeeting .
data:MeetingEnd a ies:BoundingState ;
ies:inPeriod iso8601:20180723T130000Z ;
ies:isEndOf data:TeamMeeting .
data:FredIntoMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T100000Z ;
ies:isStartOf data:FredInMeeting .
data:FredOutOfMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T130000Z ;
ies:isEndOf data:FredInMeeting .
data:BarryIntoMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T100000Z ;
ies:isStartOf data:BarryInMeeting .
data:BarryOutOfMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T101200Z ;
ies:isEndOf data:BarryInMeeting .
data:VladIntoMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T103000Z ;
ies:isStartOf data:VladInMeeting .
data:VladOutOfMeeting a ies:BoundingState ;
ies:inPeriod iso8601:20180723T123000Z ;
ies:isEndOf data:VladInMeeting .

iso8601:20180723T100000Z a ies:ParticularPeriod .
iso8601:20180723T103000Z a ies:ParticularPeriod .
iso8601:20180723T101200Z a ies:ParticularPeriod .
iso8601:20180723T123000Z a ies:ParticularPeriod .
iso8601:20180723T130000Z a ies:ParticularPeriod .
22 changes: 22 additions & 0 deletions Sample Data/events.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix iso8601: <http://iso.org/iso8601#> .

data:Fred a ies:Person .
data:Acme_Towers a ies:Location .

data:TeamMeeting a ies:Meeting ;
ies:happensIn data:Acme_Towers .
data:FredInMeeting a ies:MeetingChair ;
ies:isParticipantIn data:TeamMeeting ;
ies:isParticipationOf data:Fred .
data:MeetingStart a ies:BoundingState ;
ies:inPeriod iso8601:20180723T100000Z ;
ies:isStartOf data:TeamMeeting .
data:MeetingEnd a ies:BoundingState ;
ies:inPeriod iso8601:20180723T130000Z ;
ies:isEndOf data:TeamMeeting .

iso8601:20180723T100000Z a ies:ParticularPeriod .
iso8601:20180723T130000Z a ies:ParticularPeriod .
22 changes: 11 additions & 11 deletions Sample Data/hospital.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ data:bs4 a ies:BoundingState .
data:bs5 a ies:BoundingState .
data:bs6 a ies:BoundingState .
data:ep1 a ies:EventParticipant .
iso8601:2014-01-04T09:00 a ies:ParticularPeriod .
iso8601:2014-01-04T19:00 a ies:ParticularPeriod .
iso8601:2014-01-04T21:00 a ies:ParticularPeriod .
iso8601:2014-01-05T11:00 a ies:ParticularPeriod .
iso8601:20140104T090000Z a ies:ParticularPeriod .
iso8601:20140104T190000Z a ies:ParticularPeriod .
iso8601:20140104T210000Z a ies:ParticularPeriod .
iso8601:20140105T110000Z a ies:ParticularPeriod .
data:theatreA a ies:PartOfFacility .
data:UniversityHospital a ies:Facility .
data:Ward1 a ies:PartOfFacility .
data:bed101 a ies:PartofFacility .
data:bed101 a ies:PartOfFacility .
data:bed101 a data:HospitalBed .
data:HospitalBed a rdfs:Class .
data:HospitalBed rdfs:subClassOf ies:PartOfFacility .
Expand All @@ -39,17 +39,17 @@ data:s1 ies:isStateOf data:Fred .
data:s2 ies:isStateOf data:Fred .
data:ep1 ies:isParticipationOf data:Fred .
data:bs1 ies:isStartOf data:s1 .
data:bs1 ies:inPeriod iso8601:2014-01-04T09:00 .
data:bs1 ies:inPeriod iso8601:20140104T090000Z .
data:bs2 ies:isEndOf data:s1 .
data:bs2 ies:inPeriod iso8601:2014-01-04T19:00 .
data:bs2 ies:inPeriod iso8601:20140104T190000Z .
data:bs3 ies:isStartOf data:ep1 .
data:bs3 ies:inPeriod iso8601:2014-01-04T19:00 .
data:bs3 ies:inPeriod iso8601:20140104T190000Z .
data:bs4 ies:isEndOf data:ep1 .
data:bs4 ies:inPeriod iso8601:2014-01-04T21:00 .
data:bs4 ies:inPeriod iso8601:20140104T210000Z .
data:bs5 ies:isStartOf data:s2 .
data:bs5 ies:inPeriod iso8601:2014-01-04T21:00 .
data:bs5 ies:inPeriod iso8601:20140104T210000Z .
data:bs6 ies:isEndOf data:s2 .
data:bs6 ies:inPeriod iso8601:2014-01-05T11:00 .
data:bs6 ies:inPeriod iso8601:20140105T110000Z .
data:ep1 ies:inLocation data:theatreA .
data:theatreA ies:inLocation data:UniversityHospital .
data:Ward1 ies:inLocation data:UniversityHospital .
Expand Down
33 changes: 33 additions & 0 deletions Sample Data/identifiers.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix iso8601: <http://iso.org/iso8601#> .

data:Ministry_of_Systems a ies:Organisation .
data:Mos_Database a ies:System .
data:Barry%3A%20A%20Life a ies:WorkOfDocumentation .

data:Brendas_Pet_Names a ies:NamingScheme ;
ies:schemeOwner data:Brenda .
data:MoS_ID a ies:NamingScheme ;
ies:schemeOwner data:Ministry_of_Systems ;
ies:schemeMasteredIn data:Mos_Database .

data:Barry a ies:Person ;
ies:documentedBy data:Barry%3A%20A%20Life ;
ies:hasName data:Bazza ;
ies:isIdentifiedBy data:ABC123456 .
data:ABC123456 a ies:Identifier ;
ies:inScheme data:MoS_ID .
data:Bazza a ies:Name ;
ies:inScheme data:Brendas_Pet_Names .

data:Fred a ies:Person ;
ies:isSiblingOf data:Barry ;
ies:hasName data:Freddy .
data:Freddy a ies:Name ;
ies:inScheme data:Brendas_Pet_Names .

data:Brenda a ies:Person ;
ies:isParentOf data:Barry ;
ies:isParentOf data:Fred .
62 changes: 62 additions & 0 deletions Sample Data/movement.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix iso8601: <http://iso.org/iso8601#> .

data:Fred a ies:Person .
data:FredsHouse a ies:Address .
data:LK176LPX a ies:RoadVehicle .
data:LHR a ies:Airport .
data:LAX a ies:Airport .
iso8601:20180812T053000Z a ies:ParticularPeriod .
iso8601:20180812T064500Z a ies:ParticularPeriod .
iso8601:20180812T144000Z a ies:ParticularPeriod .

data:FredJourney a ies:Journey .

data:FredOffToLA a ies:OnJourney ;
ies:isParticipationOf data:Fred ;
ies:isParticipantIn data:FredJourney .

data:FredFirstLeg a ies:VehicleController ;
ies:isParticipantIn data:FredDrivesToLHR ;
ies:isParticipationOf data:Fred .

data:FredSecondLeg a ies:Passenger ;
ies:isParticipantIn data:BA856%402017-12-01 ;
ies:isParticipationOf data:Fred ;
ies:seatNumber "33B" .

data:FredDrivesToLHR a ies:CarTravel ;
ies:isPartOf data:FredJourney .

data:FredDepartHome a ies:Departure ;
ies:isStartOf data:FredDrivesToLHR ;
ies:inPeriod iso8601:20180812T053000Z ;
ies:inLocation data:FredsHouse .

data:LK176LPXtoLHR a ies:VehicleUsed ;
ies:isParticipantIn data:FredDrivesToLHR ;
ies:isParticipationOf data:LK176LPX .

data:FredArriveLHR a ies:Arrival ;
ies:isEndOf data:FredDrivesToLHR ;
ies:inPeriod iso8601:2018-08-12T06%3A45Z ;
ies:inLocation data:LHR .

data:BA856%402017-12-01 a ies:Flight ;
ies:isPartOf data:FredJourney .

data:FredDepartLHR a ies:Departure ;
ies:isStartOf data:BA856%402017-12-01 ;
ies:inPeriod iso8601:20180812T06T083000Z ;
ies:inLocation data:LHR .

data:BA856 a ies:TravelService ;
ies:isScheduledDeparturePort data:LHR;
ies:isScheduledArrivalPort data:LAX .

data:FredArriveLAX a ies:Arrival ;
ies:isEndOf data:BA856%402017-12-01 ;
ies:inPeriod iso8601:20180812T144000Z;
ies:inLocation data:LAX .
18 changes: 18 additions & 0 deletions Sample Data/period-of-time.ttl
paulc-dstl marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ies: <http://ies.data.gov.uk/ontology/ies4#> .
@prefix data: <http://data.gov.uk/testdata#> .
@prefix iso8601: <http://iso.org/iso8601#> .

data:AcmeInc a ies:Organisation .
data:Fred a ies:Person .
data:FredState2 a ies:PersonState ;
ies:isStateOf data:Fred ;
ies:worksFor data:AcmeInc .
stuarthendren marked this conversation as resolved.
Show resolved Hide resolved
data:FredEmployedStart a ies:BoundingState ;
ies:inPeriod iso8601:20111205T080000Z ;
ies:isStartOf data:FredState2 .
iso8601:20111205T080000Z a ies:ParticularPeriod .
data:FredEmployedEnd a ies:BoundingState ;
ies:isEndOf data:FredState2 .
iso8601:20160507T170000Z a ies:ParticularPeriod ;
ies:after data:FredEmployedEnd .
Loading