Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dataset for the Travel's triplestore project
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX users: <http://travel.univ-rouen.fr/ontologies/users/>
PREFIX trips: <http://travel.univ-rouen.fr/ontologies/trips/>
PREFIX travelers: <http://travel.univ-rouen.fr/ontologies/travelers/>
PREFIX global: <http://travel.univ-rouen.fr/ontologies/global/>
PREFIX travel: <http://travel.univ-rouen.fr/>
PREFIX text: <http://jena.apache.org/text#>
PREFIX tr: <http://www.thomsonreuters.com/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
INSERT DATA {
# SOME PROFILES
travel:3bazeQSDqsdq a users:Profile;
users:ownerId "3ba02a44ef4b";
users:public true;
travelers:wantsToGo [
global:country "Spain";
global:state "Madrid";
].
travel:031bfd71aea3 a users:Profile;
users:ownerId "97affdce90f1";
users:public true;
travelers:wantsToGo [
global:country "Algeria";
global:state "Adrar";
].
travel:ed16d1e5747a a users:Profile;
users:ownerId "fc3865466c05";
users:public true;
travelers:wantsToGo [
global:country "USA";
global:state "CA";
].
# SOME TRIPS ASSOCIATED TO THE travel:3bazeQSDqsdq PROFILE
travel:b5d7b69c-9edd-4372-8453-aa82c945bcbf a trips:Trip;
trips:name "Mon voyage 1";
trips:description "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sem magna, tincidunt a sagittis eu, rhoncus nec lacus. Aenean tellus nisl, imperdiet in aliquet at, rhoncus.";
trips:editorId "3ba02a44ef4b".
travel:e52eec2a-2526-4837-8e7d-53b854a496cd a trips:Trip;
trips:name "Mon voyage 2";
trips:description "Duis rutrum mattis lorem, eu consectetur elit suscipit mattis. Morbi laoreet, nibh sit amet tempus ornare, leo tellus accumsan leo, non pretium odio enim a enim. Suspendisse at ante viverra.";
trips:editorId "3ba02a44ef4b".
travel:c6318bcc-e726-4676-8169-fa64fc01bd35 a trips:Trip;
trips:name "Mon voyage 3";
trips:description "Duis rutrum venenatis scelerisque. Aenean finibus arcu est, ac consectetur lorem luctus in. Cras eu tempus mi. Cras augue sapien, viverra maximus aliquet blandit, sagittis sed augue.";
trips:editorId "3ba02a44ef4b".
# SOME DIARIES OWNER BY THE "travel:3bazeQSDqsdq" PROFILE AND ASSOCIATED TO travel:c6318bcc-e726-4676-8169-fa64fc01bd35 TRIP
travel:ebaaff93-42c3-43f8-93e3-8788d7200e0f a trips:Diary;
trips:ownerId "3ba02a44ef4b";
trips:public true;
trips:isCollaborative false;
trips:associatedTrip travel:c6318bcc-e726-4676-8169-fa64fc01bd35.
travel:4b78aa73-19f5-49d7-9505-196aa9ee7630 a trips:Diary;
trips:ownerId "3ba02a44ef4b";
trips:public true;
trips:isCollaborative false;
trips:associatedTrip travel:c6318bcc-e726-4676-8169-fa64fc01bd35.
travel:5532a022-3706-45d8-b788-041f92300a5f a trips:Diary;
trips:ownerId "3ba02a44ef4b";
trips:public true;
trips:isCollaborative false;
trips:associatedTrip travel:c6318bcc-e726-4676-8169-fa64fc01bd35;
trips:diaryContents travel:b66a2284-2872-4240-8d60-57ba34359f1f;
trips:diaryContents travel:7f7f9976-d391-4c7e-a2b8-096676f8d03d;
trips:diaryContents travel:9efc4c1c-83f9-44ad-bc0f-f0934d561041;
trips:diaryContents travel:b9579f57-b12a-4919-bf79-3ee456daf748;
trips:diaryContents travel:afaf43d5-fcf1-46dd-84f6-5ae3f86400ea.
travel:d7615ed2-03eb-42ae-ac7a-a121dfa0bc2c a trips:Diary;
trips:ownerId "3ba02a44ef4b";
trips:public false;
trips:isCollaborative true;
trips:associatedTrip travel:e52eec2a-2526-4837-8e7d-53b854a496cd;
trips:diaryContents travel:b5d7b69c-9edd-4372-8453-aa82c945bcbf.
travel:137e4a46-fe51-4058-9522-02e5f4f23fe0 a trips:Diary;
trips:ownerId "azeiou35F";
trips:public false;
trips:isCollaborative false;
trips:associatedTrip travel:e52eec2a-2526-4837-8e7d-53b854a496cd;
trips:diaryContents travel:4b78aa73-19f5-49d7-9505-196aa9ee7630;
trips:collaboratorsId "3ba02a44ef4b".
travel:ff8a887f-caec-49b3-89a5-e082e8de8119 a trips:Diary;
trips:ownerId "Rsdf54EGH";
trips:public true;
trips:isCollaborative true;
trips:associatedTrip travel:e52eec2a-2526-4837-8e7d-53b854a496cd;
trips:diaryContents travel:4b78aa73-19f5-49d7-9505-196aa9ee7630;
trips:collaboratorsId "3ba02a44ef4b".
travel:0ba84eed-912d-4fef-a2a7-6d8c5f6af8ce a trips:Diary;
trips:ownerId "KLAZEQqsd";
trips:public true;
trips:isCollaborative true;
trips:associatedTrip travel:e52eec2a-2526-4837-8e7d-53b854a496cd;
trips:collaboratorsId "3ba02a44ef4b".
# COMPONENT 1 (MEDIA)
travel:fbce6130-603e-4764-8569-4dbfb6fe583d a global:Media;
global:mimeType "image/jpeg";
users:ownerId "3ba02a44ef4b";
global:size "500";
global:url "https://openclipart.org/image/2400px/svg_to_png/130795/Trollface.png".
# DIARY CONTENT FOR COMPONENT 1 (MEDIA)
travel:b66a2284-2872-4240-8d60-57ba34359f1f a trips:DiaryContent;
trips:diaryComponent travel:fbce6130-603e-4764-8569-4dbfb6fe583d;
trips:position "1".
# COMPONENT 2 (COMMENT)
travel:296d1e04-d985-474b-b589-325c24a0b2a7 a trips:Comment;
trips:content "Lorem ipsum comment";
trips:authorId "3ba02a44ef4b".
# DIARY CONTENT FOR COMPONENT 2
travel:7f7f9976-d391-4c7e-a2b8-096676f8d03d a trips:DiaryContent;
trips:diaryComponent travel:296d1e04-d985-474b-b589-325c24a0b2a7;
trips:position "2".
# COMPONENT 3 (STEP)
travel:84cf9112-7007-4e77-ba6a-977d0ccab98e a trips:Comment;
trips:content "Lorem ipsum comment";
trips:authorId "3ba02a44ef4b".
# DIARY CONTENT FOR COMPONENT 3
travel:9efc4c1c-83f9-44ad-bc0f-f0934d561041 a trips:DiaryContent;
trips:diaryComponent travel:84cf9112-7007-4e77-ba6a-977d0ccab98e;
trips:position "3".
# INSERT "DiaryComment" 1
travel:39735a40-33ce-4130-95f6-1348c1618f13 a trips:DiaryComment;
trips:content "Diary comment 1!";
trips:authorId "3ba02a44ef4b";
global:date "11112017"^^xsd:long.
# DIARY CONTENT FOR "DiaryComment" 1
travel:b9579f57-b12a-4919-bf79-3ee456daf748 a trips:DiaryContent;
trips:diaryComponent travel:39735a40-33ce-4130-95f6-1348c1618f13;
trips:position "4".
# INSERT "DiaryComment" 2
travel:d1cc7f34-1302-441c-822c-940752bfdcc2 a trips:DiaryComment;
trips:content "Diary comment 2!";
trips:authorId "3ba02a44ef4b";
global:date "04042017"^^xsd:long.
# DIARY CONTENT FOR "DiaryComment" 2
travel:afaf43d5-fcf1-46dd-84f6-5ae3f86400ea a trips:DiaryContent;
trips:diaryComponent travel:d1cc7f34-1302-441c-822c-940752bfdcc2;
trips:position "5".
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment