From 5c9744f4956cd0d47af0c6b5110bb2789d2f4bbc Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:31:19 +0200 Subject: [PATCH 01/11] Update index.markdown --- index.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.markdown b/index.markdown index 4a86774..af98205 100644 --- a/index.markdown +++ b/index.markdown @@ -86,7 +86,7 @@ Below, you can see an example of an RDF representation of a location: ![Location Representation](docs/images/location_example.png) *** -## PERSON +## Person The `js:Person` is an OWL class representing a person who undertakes a journey or is involved in a journey (such as: hotel owner, waiter/waitress, travel companion, etc.). From dd4e175c05fc6eeca3cdfb49f6615a44865b65d4 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:52:47 +0200 Subject: [PATCH 02/11] formatting journeyStar.ttl --- journeyStar.ttl | 199 ++++++++++++++++++++++++++++-------------------- 1 file changed, 115 insertions(+), 84 deletions(-) diff --git a/journeyStar.ttl b/journeyStar.ttl index a3204ba..e6a0521 100644 --- a/journeyStar.ttl +++ b/journeyStar.ttl @@ -18,24 +18,18 @@ owl:versionInfo "v.1.0" . - ################################ ### Classes ### ################################ + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Person ### js:Person rdf:type owl:Class ; rdfs:subClassOf schema:Person; rdfs:label "Person"@de , - "Person"@en ; + "Person"@en ; rdfs:comment "A person."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Event ### -js:Event rdf:type owl:Class ; - rdfs:label "Event"@de, - "Event"@en ; - rdfs:comment "A class representing a real-world event."@en . - ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Location ### js:Location rdf:type owl:Class ; @@ -45,44 +39,79 @@ js:Location rdf:type owl:Class ; rdfs:comment "A location on plant earth with a coordinate."@en . - ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Activity ### js:Activity rdf:type owl:Class ; rdfs:subClassOf activity:Activity , js:Event ; rdfs:label "Aktivität"@de, - "Activity"@en ; + "Activity"@en ; rdfs:comment "An activity involves movement and has duration."@en . +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#SightSeeing # +js:SightSeeing rdf:type owl:Class; + rdfs:subClassOf js:Activity; + rdfs:label "Sehenswürdigkeit"@de, + "Sightseeing"@en; + rdfs:comment "Sightseeing is a short activity to visit a landmark, attraction etc."@en . + + +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Entertainment # +js:Entertainment rdf:type owl:Class; + rdfs:subClassOf js:Activity; + rdfs:label "Unterhaltung"@de, + "Entertainment"@en; + rdfs:comment "An entertainment is a leisure activity such as theater performance."@en . + + +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Visit # +js:Visit rdf:type owl:Class; + rdfs:subClassOf js:Activity; + rdfs:label "Aktivität"@de, + "Activity"@en; + rdfs:comment "A visit is meeting of a person in a location."@en . + + +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Dining # +js:Dining rdf:type owl:Class; + rdfs:subClassOf js:Activity; + rdfs:label "Essen"@de, + "Dinning"@en; + rdfs:comment "A dining is an activity to consume food with or without company."@en . + + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Trip js:Trip rdf:type owl:Class ; rdfs:subClassOf js:Activity , trip:Trip ; rdfs:label "Reisen"@de , - "Trip"@en ; + "Trip"@en ; rdfs:comment "A person's movement between two locations."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Journey js:Journey rdf:type owl:Class ; rdfs:subClassOf js:Trip ; owl:differentFrom js:Excursion ; rdfs:label "Reise"@de , - "Journey"@en ; + "Journey"@en ; rdfs:comment "A more than one day long journey from one place to another."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Excursion js:Excursion rdf:type owl:Class ; rdfs:subClassOf js:Trip , trip:Tour ; owl:differentFrom js:Journey; rdfs:label "Excursion"@de , - "Exkursion"@en ; + "Exkursion"@en ; rdfs:comment "An excursion is a circular trip to a location and back lasting less than a day."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Stay ### js:Stay rdf:type owl:Class ; rdfs:label "Aufenthalt"@de, - "Stay"@en; + "Stay"@en; rdfs:comment "A stay is residence in a certain place during a journey."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Accommodation ### js:Accommodation rdf:type owl:Class ; rdfs:subClassOf dbo:Building , dbo:Shelter ; @@ -90,58 +119,35 @@ js:Accommodation rdf:type owl:Class ; "Accommodation"@en ; rdfs:comment "An accommodation of a stay."@en . -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#SightSeeing # -js:SightSeeing rdf:type owl:Class; - rdfs:subClassOf js:Activity; - rdfs:label "Sehenswürdigkeit"@de, - "sightseeing"@en; - rdfs:comment "Sightseeing is a short activity to visit a landmark, attraction etc."@en . - - -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Entertainment # -js:Entertainment rdf:type owl:Class; - rdfs:subClassOf js:Activity; - rdfs:label "Unterhaltung"@de, - "entertainement"@en; - rdfs:comment "An entertainment is a leisure activity such as theater performance."@en . - -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Visit # -js:Visit rdf:type owl:Class; - rdfs:subClassOf js:Activity; - rdfs:label "Aktivität"@de, - "Activity"@en; - rdfs:comment "A visit is meeting of a person in a location."@en . - -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Dining # -js:Dining rdf:type owl:Class; - rdfs:subClassOf js:Activity; - rdfs:label "Essen"@de, - "dinning"@en; - rdfs:comment "A dining is an activity to consume food with or without company."@en . +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Event ### +js:Event rdf:type owl:Class ; + rdfs:label "Event"@de, + "Event"@en ; + rdfs:comment "A class representing a real-world event."@en . ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Occurrence ### js:Occurrence rdf:type owl:Class ; rdfs:subClassOf js:Event ; - rdfs:label "Ereignis"@de, - "Occurrence"@en; + rdfs:label "Ereignis"@de, + "Occurrence"@en; rdfs:comment "An occurence during a journey (eg. encounters, ship-wreck, flight-delay)." . - ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#NaturalPhenomena ### js:NaturalPhenomena rdf:type owl:Class ; rdfs:subClassOf js:Event ; - rdfs:label "Naturphänomen"@de, - "Natural Phenomena"@en; + rdfs:label "Naturphänomen"@de, + "Natural Phenomena"@en; rdfs:comment "A natural phenomena (eg. earthquake, fire)." . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Currency ### js:Currency rdf:type owl:Class ; rdfs:subClassOf dbo:Currency: ; - rdfs:label "Währung"@de, - "Currency"@en; + rdfs:label "Währung"@de, + "Currency"@en; rdfs:comment "A class representing a currency associated with a monetary value." . @@ -155,11 +161,6 @@ js:hasLocation rdf:type owl:ObjectProperty ; "has location"@en ; rdfs:comment "The location of an activity."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#calendar -js:calendar rdf:type owl:ObjectProperty ; - rdfs:label "calendar"@de , - "calendar"@en ; - rdfs:comment "The calendar of a date."@en . ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#origin js:origin rdf:type owl:ObjectProperty ; @@ -168,6 +169,7 @@ js:origin rdf:type owl:ObjectProperty ; "has start location"@en ; rdfs:comment "The start location of a journey/excursion."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#destination js:destination rdf:type owl:ObjectProperty ; rdfs:subPropertyOf js:hasLocation ; @@ -175,6 +177,14 @@ js:destination rdf:type owl:ObjectProperty ; "has destination"@en ; rdfs:comment "The destination of an journey/excursion."@en . + +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#calendar +js:calendar rdf:type owl:ObjectProperty ; + rdfs:label "Kalender"@de , + "calendar"@en ; + rdfs:comment "The calendar of a date."@en . + + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasDate ### js:hasDate rdf:type owl:DatatypeProperty ; rdfs:label "Datum"@de , @@ -184,33 +194,34 @@ js:hasDate rdf:type owl:DatatypeProperty ; ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#startDate ### js:startDate rdf:type owl:DatatypeProperty ; - rdfs:label "Start Datum"@de , + rdfs:label "Startdatum"@de , "Start date"@en ; rdfs:comment "The start of an activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#endDate js:endDate rdf:type owl:DatatypeProperty ; - rdfs:label "Ende"@de , + rdfs:label "Enddatum"@de , "has end date"@en ; rdfs:comment "The end of an activity."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#arrivalDate -js:arrivalDate rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf js:endDate ; - rdfs:label "hat Ankunft"@de , - "has arrival"@en ; - rdfs:comment "The arrival date and/or time of a journey or excursion."@en . - - ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#departureDate js:departureDate rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf js:startDate ; - rdfs:label "hat Abfahrt"@de , - "has departure"@en ; + rdfs:label "hat Abfahrtsdatum"@de , + "has departure date"@en ; rdfs:comment "The departure date and/or time of a journey or excursion."@en . +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#arrivalDate +js:arrivalDate rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf js:endDate ; + rdfs:label "hat Ankunftsdatum"@de , + "has arrival date"@en ; + rdfs:comment "The arrival date and/or time of a journey or excursion."@en . + + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasActivity js:hasActivity rdf:type owl:ObjectProperty ; rdfs:label "hat Aktivität"@de , @@ -218,6 +229,14 @@ js:hasActivity rdf:type owl:ObjectProperty ; rdfs:comment "An activity a person undertakes."@en . +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasExcursion +js:hasExcursion rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf js:hasActivity ; + rdfs:label "hat Ausflug"@de , + "has excursion"@en ; + rdfs:comment "An excursion a person undertakes."@en . + + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasParticipant js:hasParticipant rdf:type owl:ObjectProperty ; rdfs:subPropertyOf js:hasActivity ; @@ -225,16 +244,18 @@ js:hasParticipant rdf:type owl:ObjectProperty ; "has participant"@en ; rdfs:comment "A participant of an event."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#participatedIn js:participatedIn rdf:type owl:ObjectProperty ; owl:inverseOf js:hasParticipant ; rdfs:label "Teilnahme an"@de , - "participance in"@en ; + "participation in"@en ; rdfs:comment "Represents a participation in an event."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasIntermediateDestination js:hasIntermediateDestination rdf:type owl:ObjectProperty ; - rdfs:label "hat Zwischenstation"@de , + rdfs:label "hat Zwischenziel"@de , "has intermediate destination"@en ; rdfs:comment "An intermediate destination during a journey."@en . @@ -246,54 +267,54 @@ js:hasStage rdf:type owl:ObjectProperty ; rdfs:comment "A stage of a journey."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasExcursion -js:hasExcursion rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf js:hasActivity ; - rdfs:label "hat Ausflug"@de , - "has excursion"@en ; - rdfs:comment "An excursion a person undertakes."@en . - ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#sightingOf js:sightingOf rdf:type owl:DatatypeProperty ; - rdfs:label "Besichtigung von"@de , + rdfs:label "Sichtung von"@de , "sighting of"@en ; rdfs:comment "The sighted object during a sightseeing activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#mealType js:mealType rdf:type owl:DatatypeProperty ; rdfs:label "Mahlzeit typ"@de , "meal type"@en ; rdfs:comment "The type of a meal during a dining activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#cuisine js:cuisine rdf:type owl:DatatypeProperty ; rdfs:label "Küche"@de , "cuisine"@en ; rdfs:comment "The type of cuisine of a dining activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#entertainementType js:entertainmentType rdf:type owl:DatatypeProperty ; rdfs:label "Unterhaltungsart"@de , - "entertainement type"@en ; + "entertainment type"@en ; rdfs:comment "The type of entertainment of an entertainment activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasStay js:hasStay rdf:type owl:ObjectProperty ; rdfs:label "hat Aufenthalt"@de , "has Stay"@en ; rdfs:comment "A stay at a specific location during a Journey. Does not apply for excursion."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasAccommodation js:hasAccommodation rdf:type owl:ObjectProperty ; rdfs:label "hat Unterkunft"@de , "has Accommodation"@en ; rdfs:comment "The accommodation of a stay."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasOccurrence js:hasOccurrence rdf:type owl:ObjectProperty ; rdfs:label "hat Ereignis"@de , "has occurrence"@en ; - rdfs:comment "An occurrance during an activity."@en . + rdfs:comment "An occurrence during an activity."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasCost js:hasCost rdf:type owl:DatatypeProperty ; @@ -302,24 +323,28 @@ js:hasCost rdf:type owl:DatatypeProperty ; "has cost"@en ; rdfs:comment "The cost of an activity, transport, or accomodation."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasCurrency js:hasCurrency rdf:type owl:ObjectProperty ; rdfs:label "Währung"@de , "Currency"@en ; rdfs:comment "The currency of a payment."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#meanOfTransportation js:meanOfTransportation rdf:type owl:ObjectProperty ; rdfs:label "Transportmittel"@de , - "Mean of Transport"@en ; + "Mean of transportation"@en ; rdfs:comment "The mean of transportation."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#mentionedIn js:mentionedIn rdf:type owl:ObjectProperty; rdfs:label "erwähnt in"@de , "mentioned in"@en ; rdfs:comment "Link to the entry containing the info."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasDescription js:hasDescription rdf:type owl:DatatypeProperty; rdfs:label "Beschreibung"@de , @@ -329,38 +354,43 @@ js:hasDescription rdf:type owl:DatatypeProperty; ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#accordingTo js:accordingTo rdf:type owl:ObjectProperty; - rdfs:label "Laut"@de , - "According To"@en ; + rdfs:label "gemäss"@de , + "according to"@en ; rdfs:comment "Link to the person who narrated the info."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasWikiLink js:hasWikiLink rdf:type owl:DatatypeProperty ; rdfs:label "hat link zu einer Wikidata Seite"@de , "has a link to a wikidata page"@en ; rdfs:comment "A link to a wikidata page."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasGnd js:hasGnd rdf:type owl:DatatypeProperty ; - rdfs:label "hat GND nummer"@de , + rdfs:label "hat GND Nummer"@de , "has gnd"@en ; rdfs:comment "GND number of a person"@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasGeonameID js:hasGeonameID rdf:type owl:DatatypeProperty ; rdfs:label "GeonameID"@de , "GeonameID"@en ; rdfs:comment "The geoname ID of a location."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#transitThrough js:transitThrough rdf:type owl:ObjectProperty ; rdfs:label "Transit durch"@de , "Transit through"@en ; rdfs:comment "The transit through a location."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasSubunit js:hasSubunit rdf:type owl:ObjectProperty ; rdfs:label "Untereinheit"@de , - "Subunit"@en ; + "Subunit"@en ; rdfs:comment "Subunit of a currency."@en . @@ -370,8 +400,9 @@ js:value rdf:type owl:ObjectProperty ; "Value"@en ; rdfs:comment "Monetary worth of a currency with respect to its subunit."@en . + ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#alternativeName js:alternativeName rdf:type owl:ObjectProperty ; rdfs:label "alternativer Name"@de , - "alternative Name"@en ; + "alternative name"@en ; rdfs:comment "Other names used."@en . From 1dc5b08ef4a697b3b08132e7b1292073214df5ca Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:54:53 +0200 Subject: [PATCH 03/11] spacing shacl --- journeyStar_shacl.ttl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/journeyStar_shacl.ttl b/journeyStar_shacl.ttl index c1f033b..3345d3c 100644 --- a/journeyStar_shacl.ttl +++ b/journeyStar_shacl.ttl @@ -68,6 +68,7 @@ js-shacl:PersonShape a sh:NodeShape ; [ sh:path js:hasWikiLink ; sh:maxCount 1 ; + sh:datatype xsd:anyURI ; ] . ### Shape for Class Location ### @@ -103,7 +104,6 @@ js-shacl:ExcursionShape a sh:NodeShape ; sh:message "An excursion is specified by returning back to the location of departure after visiting a different location"@en; ] . - ### Shape for Class Stay ### ################################ js-shacl:StayShape a sh:NodeShape ; @@ -273,7 +273,6 @@ js-shacl:EntertainmentShape a sh:NodeShape; sh:datatype xsd:string; ] . - ### Shape for Class Currency ### ################################ js-shacl:CurrencyShape a sh:NodeShape; @@ -296,6 +295,7 @@ js-shacl:CurrencyShape a sh:NodeShape; sh:datatype xsd:string; ] . + # ############################################################## ## Shapes for Star Properties # ############################################################## @@ -450,7 +450,6 @@ js-shacl:TransitPropertyShape sh:targetObjectsOf js:value; sh:datatype xsd:decimal . - ### hasCost ### js-shacl:hasCostPropertyShape a sh:NodeShape; From 81242f667d6365669d50fd82e89de44be0689b72 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:58:21 +0200 Subject: [PATCH 04/11] consistent ordering or triples --- journeyStar_shacl.ttl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/journeyStar_shacl.ttl b/journeyStar_shacl.ttl index 3345d3c..ffaf24d 100644 --- a/journeyStar_shacl.ttl +++ b/journeyStar_shacl.ttl @@ -90,6 +90,7 @@ js-shacl:LocationShape a sh:NodeShape ; [ sh:path js:hasWikiLink ; sh:maxCount 1 ; + sh:datatype xsd:anyURI ; ] . ### Shape for Class Excursion ### @@ -183,13 +184,13 @@ js-shacl:ActivityShape a sh:NodeShape; sh:property [ sh:path schema:name; - sh:datatype xsd:string; sh:minCount 1; + sh:datatype xsd:string; ] , [ sh:path js:hasCost ; - sh:datatype xsd:decimal; sh:maxCount 1; + sh:datatype xsd:decimal; ] . ### Shape for Class Journey ### @@ -203,33 +204,33 @@ js-shacl:JourneyShape a sh:NodeShape; ] , [ sh:path js:origin; + sh:minCount 1; sh:or ( [sh:datatype xsd:string ] [sh:class js:Location ] [sh:datatype xsd:anyURI ] [sh:nodeKind sh:IRI ]) ; - sh:minCount 1; ] , [ sh:path js:destination; + sh:minCount 1; sh:or ( [sh:datatype xsd:string ] [sh:class js:Location ] [sh:datatype xsd:anyURI ] [sh:nodeKind sh:IRI ]) ; - sh:minCount 1; ] , [ sh:path js:startDate ; + sh:maxCount 1; sh:or ( [sh:datatype xsd:dateTime ] [sh:datatype xsd:date ] [sh:datatype xsd:gYear ]) ; - sh:maxCount 1; ] , [ sh:path js:endDate ; + sh:maxCount 1; sh:or ( [sh:datatype xsd:dateTime ] [sh:datatype xsd:date ] [sh:datatype xsd:gYear ]) ; - sh:maxCount 1; ] , [ sh:path js:hasActivity ; From 23fdbee995029b8eb6e1994191a73ad568fcc024 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:01:52 +0200 Subject: [PATCH 05/11] deleting unused prefixes --- journeyStar.ttl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/journeyStar.ttl b/journeyStar.ttl index e6a0521..77dac97 100644 --- a/journeyStar.ttl +++ b/journeyStar.ttl @@ -3,14 +3,11 @@ @prefix rdfs: . @prefix xsd: . @prefix currencyA: . -@prefix currency: . @prefix schema: . -@prefix dbr: . @prefix dbo: . @prefix trip: . @prefix activity: . @prefix js: . -@prefix : . @base . rdf:type owl:Ontology ; @@ -145,7 +142,7 @@ js:NaturalPhenomena rdf:type owl:Class ; ### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Currency ### js:Currency rdf:type owl:Class ; - rdfs:subClassOf dbo:Currency: ; + rdfs:subClassOf dbo:Currency ; rdfs:label "Währung"@de, "Currency"@en; rdfs:comment "A class representing a currency associated with a monetary value." . From 5b03cbb3542db5dbfcc3019678dc84214314d155 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:03:11 +0200 Subject: [PATCH 06/11] Update journeyStar_shacl.ttl --- journeyStar_shacl.ttl | 3 --- 1 file changed, 3 deletions(-) diff --git a/journeyStar_shacl.ttl b/journeyStar_shacl.ttl index ffaf24d..9a118bb 100644 --- a/journeyStar_shacl.ttl +++ b/journeyStar_shacl.ttl @@ -2,11 +2,8 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix currencyA: . -@prefix currency: . @prefix schema: . @prefix dbr: . -@prefix dbo: . @prefix sh: . @prefix js-shacl: . @prefix js: . From 3d72ae5f8abf51debc01214866b8520497b13481 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:03:59 +0200 Subject: [PATCH 07/11] remove hastags --- journeyStar.ttl | 70 ++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/journeyStar.ttl b/journeyStar.ttl index 77dac97..f253676 100644 --- a/journeyStar.ttl +++ b/journeyStar.ttl @@ -20,7 +20,7 @@ ################################ -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Person ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Person js:Person rdf:type owl:Class ; rdfs:subClassOf schema:Person; rdfs:label "Person"@de , @@ -28,7 +28,7 @@ js:Person rdf:type owl:Class ; rdfs:comment "A person."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Location ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Location js:Location rdf:type owl:Class ; rdfs:subclassOf dbo:Place , schema:Place ; rdfs:label "Ort"@de, @@ -36,7 +36,30 @@ js:Location rdf:type owl:Class ; rdfs:comment "A location on plant earth with a coordinate."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Activity ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Event +js:Event rdf:type owl:Class ; + rdfs:label "Event"@de, + "Event"@en ; + rdfs:comment "A class representing a real-world event."@en . + + +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Occurrence +js:Occurrence rdf:type owl:Class ; + rdfs:subClassOf js:Event ; + rdfs:label "Ereignis"@de, + "Occurrence"@en; + rdfs:comment "An occurence during a journey (eg. encounters, ship-wreck, flight-delay)." . + + +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#NaturalPhenomena +js:NaturalPhenomena rdf:type owl:Class ; + rdfs:subClassOf js:Event ; + rdfs:label "Naturphänomen"@de, + "Natural Phenomena"@en; + rdfs:comment "A natural phenomena (eg. earthquake, fire)." . + + +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Activity js:Activity rdf:type owl:Class ; rdfs:subClassOf activity:Activity , js:Event ; rdfs:label "Aktivität"@de, @@ -44,7 +67,7 @@ js:Activity rdf:type owl:Class ; rdfs:comment "An activity involves movement and has duration."@en . -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#SightSeeing # +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#SightSeeing js:SightSeeing rdf:type owl:Class; rdfs:subClassOf js:Activity; rdfs:label "Sehenswürdigkeit"@de, @@ -52,7 +75,7 @@ js:SightSeeing rdf:type owl:Class; rdfs:comment "Sightseeing is a short activity to visit a landmark, attraction etc."@en . -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Entertainment # +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Entertainment js:Entertainment rdf:type owl:Class; rdfs:subClassOf js:Activity; rdfs:label "Unterhaltung"@de, @@ -60,7 +83,7 @@ js:Entertainment rdf:type owl:Class; rdfs:comment "An entertainment is a leisure activity such as theater performance."@en . -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Visit # +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Visit js:Visit rdf:type owl:Class; rdfs:subClassOf js:Activity; rdfs:label "Aktivität"@de, @@ -68,7 +91,7 @@ js:Visit rdf:type owl:Class; rdfs:comment "A visit is meeting of a person in a location."@en . -# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Dining # +# http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Dining js:Dining rdf:type owl:Class; rdfs:subClassOf js:Activity; rdfs:label "Essen"@de, @@ -102,14 +125,14 @@ js:Excursion rdf:type owl:Class ; rdfs:comment "An excursion is a circular trip to a location and back lasting less than a day."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Stay ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Stay js:Stay rdf:type owl:Class ; rdfs:label "Aufenthalt"@de, "Stay"@en; rdfs:comment "A stay is residence in a certain place during a journey."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Accommodation ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Accommodation js:Accommodation rdf:type owl:Class ; rdfs:subClassOf dbo:Building , dbo:Shelter ; rdfs:label "Unterkunft"@de , @@ -117,30 +140,7 @@ js:Accommodation rdf:type owl:Class ; rdfs:comment "An accommodation of a stay."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Event ### -js:Event rdf:type owl:Class ; - rdfs:label "Event"@de, - "Event"@en ; - rdfs:comment "A class representing a real-world event."@en . - - -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Occurrence ### -js:Occurrence rdf:type owl:Class ; - rdfs:subClassOf js:Event ; - rdfs:label "Ereignis"@de, - "Occurrence"@en; - rdfs:comment "An occurence during a journey (eg. encounters, ship-wreck, flight-delay)." . - - -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#NaturalPhenomena ### -js:NaturalPhenomena rdf:type owl:Class ; - rdfs:subClassOf js:Event ; - rdfs:label "Naturphänomen"@de, - "Natural Phenomena"@en; - rdfs:comment "A natural phenomena (eg. earthquake, fire)." . - - -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Currency ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#Currency js:Currency rdf:type owl:Class ; rdfs:subClassOf dbo:Currency ; rdfs:label "Währung"@de, @@ -182,14 +182,14 @@ js:calendar rdf:type owl:ObjectProperty ; rdfs:comment "The calendar of a date."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasDate ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#hasDate js:hasDate rdf:type owl:DatatypeProperty ; rdfs:label "Datum"@de , "Date"@en ; rdfs:comment "A date."@en . -### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#startDate ### +### http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#startDate js:startDate rdf:type owl:DatatypeProperty ; rdfs:label "Startdatum"@de , "Start date"@en ; From be76daaffa0ff238c4cad0b12d1a7e8e98b20797 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:09:23 +0200 Subject: [PATCH 08/11] fix namespaces --- .../Data/jacon_bernoulli_Basel_to_Geneva.ttl | 312 +++++++++--------- example/Data/maxrdf_tripTest.ttl | 202 ++++++------ example/Data/medrdf_tripTest.ttl | 236 ++++++------- example/Data/minrdf_tripTest.ttl | 240 +++++++------- index.markdown | 2 +- 5 files changed, 496 insertions(+), 496 deletions(-) diff --git a/example/Data/jacon_bernoulli_Basel_to_Geneva.ttl b/example/Data/jacon_bernoulli_Basel_to_Geneva.ttl index b1061cc..b23cfce 100644 --- a/example/Data/jacon_bernoulli_Basel_to_Geneva.ttl +++ b/example/Data/jacon_bernoulli_Basel_to_Geneva.ttl @@ -7,302 +7,302 @@ @prefix schema: . @prefix wd: . @prefix dbr: . -@prefix trip-onto: . +@prefix js: . @prefix : . @base . # Data – Reise von Basel nach Genf # Journey -:JourneyBaselGenf a trip-onto:Journey ; - trip-onto:hasStartLocation :Basel; - trip-onto:hasDestination :Genf ; - trip-onto:hasDescription "Journey from Basel to Geneva with a long stay in Geneva.". +:JourneyBaselGenf a js:Journey ; + js:hasStartLocation :Basel; + js:hasDestination :Genf ; + js:hasDescription "Journey from Basel to Geneva with a long stay in Geneva.". -# Trip-Onto Data -:JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf. +# JourneyStar Data +:JacobBernoulli js:hasJourney :JourneyBaselGenf. # mentioned in Entry 1 of Reisbüchlein, using entry IRI -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:mentionedIn . +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:mentionedIn . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStartDate "1676-08-20"^^xsd:date . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasEndDate "1678-05-08"^^xsd:date. -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasDescription "Duration of stay in Geneva 20 months". +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStartDate "1676-08-20"^^xsd:date . +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasEndDate "1678-05-08"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasDescription "Duration of stay in Geneva 20 months". -<< :JourneyBaselGenf trip-onto:hasStartLocation :Basel >> trip-onto:hasDeparture "1676-08-20"^^xsd:date . -<< :JourneyBaselGenf trip-onto:hasDestination :Genf >> trip-onto:hasArrival "1676-08-27"^^xsd:dateTime . +<< :JourneyBaselGenf js:hasStartLocation :Basel >> js:hasDeparture "1676-08-20"^^xsd:date . +<< :JourneyBaselGenf js:hasDestination :Genf >> js:hasArrival "1676-08-27"^^xsd:dateTime . ### Basel–Liestal### ################################## -:StageBaselLiestal a trip-onto:Journey; - trip-onto:hasStartLocation :Basel; - trip-onto:hasDestination :Liestal ; - trip-onto:meanOfTransportation :Horse . +:StageBaselLiestal a js:Journey; + js:hasStartLocation :Basel; + js:hasDestination :Liestal ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:hasStartDate "1676-08-20"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:hasEndDate "1676-08-21"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:hasStartDate "1676-08-20"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:hasEndDate "1676-08-21"^^xsd:date. # mentioned in Page 13 of Reisebuechlein, using page IRI -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:mentionedIn . -<< :StageBaselLiestal trip-onto:hasStartLocation :Basel >> trip-onto:hasDeparture "1676-08-20"^^xsd:date . -<< :StageBaselLiestal trip-onto:hasDestination :Liestal >> trip-onto:hasArrival "1676-08-20"^^xsd:date . +<< :StageBaselLiestal js:hasStartLocation :Basel >> js:hasDeparture "1676-08-20"^^xsd:date . +<< :StageBaselLiestal js:hasDestination :Liestal >> js:hasArrival "1676-08-20"^^xsd:date . #Stay -:StageBaselLiestal trip-onto:hasStay :StayStageBaselLiestal . +:StageBaselLiestal js:hasStay :StayStageBaselLiestal . -:StayStageBaselLiestal a trip-onto:Stay ; - trip-onto:hasAccommodation :Schluessel . +:StayStageBaselLiestal a js:Stay ; + js:hasAccommodation :Schluessel . -:Schluessel a trip-onto:Accommodation ; +:Schluessel a js:Accommodation ; schema:name "Schlüssel" . # here: combined cost -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:hasCost 2 . -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:hasCost 2 >> trip-onto:hasCurrency "Francken". -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBaselLiestal >> trip-onto:hasCost 2 >> trip-onto:hasDescription "Total cost of accomodation and dining.". +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:hasCost 2 . +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:hasCost 2 >> js:hasCurrency "Francken". +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBaselLiestal >> js:hasCost 2 >> js:hasDescription "Total cost of accomodation and dining.". ### Stage Liestal–Waldenburg ### ################################## -:StageLiestalWaldenburg a trip-onto:Journey; - trip-onto:hasStartLocation :Liestal; - trip-onto:hasDestination :Waldenburg ; - trip-onto:meanOfTransportation :Horse . +:StageLiestalWaldenburg a js:Journey; + js:hasStartLocation :Liestal; + js:hasDestination :Waldenburg ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLiestalWaldenburg . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLiestalWaldenburg >> trip-onto:hasStartDate "1676-08-21"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLiestalWaldenburg >> trip-onto:hasEndDate "1676-08-22"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLiestalWaldenburg . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLiestalWaldenburg >> js:hasStartDate "1676-08-21"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLiestalWaldenburg >> js:hasEndDate "1676-08-22"^^xsd:date. # mentioned in page 14, page IRI used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLiestalWaldenburg >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLiestalWaldenburg >> js:mentionedIn . -<< :StageLiestalWaldenburg trip-onto:hasStartLocation :Liestal >> trip-onto:hasDeparture "1676-08-21"^^xsd:date . -<< :StageLiestalWaldenburg trip-onto:hasDestination :Waldenburg >> trip-onto:hasArrival "1676-08-21"^^xsd:date . +<< :StageLiestalWaldenburg js:hasStartLocation :Liestal >> js:hasDeparture "1676-08-21"^^xsd:date . +<< :StageLiestalWaldenburg js:hasDestination :Waldenburg >> js:hasArrival "1676-08-21"^^xsd:date . #Stay -:StageLiestalWaldenburg trip-onto:hasStay :StayStageLiestalWaldenburg . +:StageLiestalWaldenburg js:hasStay :StayStageLiestalWaldenburg . -:StayStageLiestalWaldenburg a trip-onto:Stay ; - trip-onto:hasAccommodation :WaldenburgSchloss . +:StayStageLiestalWaldenburg a js:Stay ; + js:hasAccommodation :WaldenburgSchloss . -:WaldenburgSchloss a trip-onto:Accommodation ; +:WaldenburgSchloss a js:Accommodation ; schema:name "Waldenburg Schloss" . ### Stage Waldenburg-Solothurn### ################################## -:StageWaldenburgSolothurn a trip-onto:Journey; - trip-onto:hasStartLocation :Waldenburg; - trip-onto:hasDestination :Solothurn ; - trip-onto:meanOfTransportation :Horse . +:StageWaldenburgSolothurn a js:Journey; + js:hasStartLocation :Waldenburg; + js:hasDestination :Solothurn ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageWaldenburgSolothurn . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageWaldenburgSolothurn >> trip-onto:hasStartDate "1676-08-22"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageWaldenburgSolothurn >> trip-onto:hasEndDate "1676-08-23"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageWaldenburgSolothurn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageWaldenburgSolothurn >> js:hasStartDate "1676-08-22"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageWaldenburgSolothurn >> js:hasEndDate "1676-08-23"^^xsd:date. # mentioned in page 14, page IRI used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageWaldenburgSolothurn >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageWaldenburgSolothurn >> js:mentionedIn . -<< :StageWaldenburgSolothurn trip-onto:hasStartLocation :Waldenburg >> trip-onto:hasDeparture "1676-08-22"^^xsd:date . -<< :StageWaldenburgSolothurn trip-onto:hasDestination :Solothurn >> trip-onto:hasArrival "1676-08-22"^^xsd:date . +<< :StageWaldenburgSolothurn js:hasStartLocation :Waldenburg >> js:hasDeparture "1676-08-22"^^xsd:date . +<< :StageWaldenburgSolothurn js:hasDestination :Solothurn >> js:hasArrival "1676-08-22"^^xsd:date . #Stay -:StageWaldenburgSolothurn trip-onto:hasStay :StayStageWaldenburgSolothurn . +:StageWaldenburgSolothurn js:hasStay :StayStageWaldenburgSolothurn . -:StayStageWaldenburgSolothurn a trip-onto:Stay ; - trip-onto:hasAccommodation :Cronen . +:StayStageWaldenburgSolothurn a js:Stay ; + js:hasAccommodation :Cronen . -:Cronen a trip-onto:Accommodation ; +:Cronen a js:Accommodation ; schema:name "Cronen" . ### The region that contains the start of the description of Solothurn is added with its IRI. -<< :StageWaldenburgSolothurn trip-onto:hasDestination :Solothurn >> :hasDescription . +<< :StageWaldenburgSolothurn js:hasDestination :Solothurn >> :hasDescription . ### Stage Solothurn-Biel### ################################## -:StageSolothurnBiel a trip-onto:Journey; - trip-onto:hasStartLocation :Solothurn; - trip-onto:hasDestination :Biel ; - trip-onto:meanOfTransportation :Horse . +:StageSolothurnBiel a js:Journey; + js:hasStartLocation :Solothurn; + js:hasDestination :Biel ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:hasStartDate "1676-08-23"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:hasEndDate "1676-08-24"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:hasStartDate "1676-08-23"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:hasEndDate "1676-08-24"^^xsd:date. -<< :StageSolothurnBiel trip-onto:hasStartLocation :Solothurn >> trip-onto:hasDeparture "1676-08-23"^^xsd:date . -<< :StageSolothurnBiel trip-onto:hasDestination :Biel >> trip-onto:hasArrival "1676-08-23"^^xsd:date . +<< :StageSolothurnBiel js:hasStartLocation :Solothurn >> js:hasDeparture "1676-08-23"^^xsd:date . +<< :StageSolothurnBiel js:hasDestination :Biel >> js:hasArrival "1676-08-23"^^xsd:date . #Stay -:StageSolothurnBiel trip-onto:hasStay :StayStageSolothurnBiel . +:StageSolothurnBiel js:hasStay :StayStageSolothurnBiel . -:StayStageSolothurnBiel a trip-onto:Stay ; - trip-onto:hasAccommodation :WeissenCreuetz . +:StayStageSolothurnBiel a js:Stay ; + js:hasAccommodation :WeissenCreuetz . -:WeissenCreuetz a trip-onto:Accommodation ; +:WeissenCreuetz a js:Accommodation ; schema:name "Weissen Creütz" . # here: combined cost -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:hasCost 5 . -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:hasCost 5 >> trip-onto:hasCurrency "Francken". +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:hasCost 5 . +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:hasCost 5 >> js:hasCurrency "Francken". #comment -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:hasCost 5 >> trip-onto:hasDescription "Paid for others". +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:hasCost 5 >> js:hasDescription "Paid for others". ### mentionedIn page 15, page IRI is used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageSolothurnBiel >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageSolothurnBiel >> js:mentionedIn . ### Stage Biel-Avenches### ################################## -:StageBielAvenches a trip-onto:Journey; - trip-onto:hasStartLocation :Biel; - trip-onto:hasDestination :Avenches ; - trip-onto:meanOfTransportation :Horse . +:StageBielAvenches a js:Journey; + js:hasStartLocation :Biel; + js:hasDestination :Avenches ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:hasStartDate "1676-08-24"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:hasEndDate "1676-08-25"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:hasStartDate "1676-08-24"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:hasEndDate "1676-08-25"^^xsd:date. -<< :StageBielAvenches trip-onto:hasStartLocation :Biel >> trip-onto:hasDeparture "1676-08-24"^^xsd:date . -<< :StageBielAvenches trip-onto:hasDestination :Avenches >> trip-onto:hasArrival "1676-08-24"^^xsd:date . +<< :StageBielAvenches js:hasStartLocation :Biel >> js:hasDeparture "1676-08-24"^^xsd:date . +<< :StageBielAvenches js:hasDestination :Avenches >> js:hasArrival "1676-08-24"^^xsd:date . #Stay -:StageBielAvenches trip-onto:hasStay :StayStageBielAvenches . +:StageBielAvenches js:hasStay :StayStageBielAvenches . -:StayStageBielAvenches a trip-onto:Stay ; - trip-onto:hasAccommodation :Pfauen . +:StayStageBielAvenches a js:Stay ; + js:hasAccommodation :Pfauen . -:Pfauen a trip-onto:Accommodation ; +:Pfauen a js:Accommodation ; schema:name "Pfauen" . # here: combined cost -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:hasCost 16 . -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:hasCost 16 >> trip-onto:hasCurrency "schweitzbz". +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:hasCost 16 . +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:hasCost 16 >> js:hasCurrency "schweitzbz". -<< << << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:hasCost 16 >> trip-onto:hasDescription "Total cost of accomodation and dining". +<< << << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:hasCost 16 >> js:hasDescription "Total cost of accomodation and dining". ### mentionedIn page 16, page IRI is used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageBielAvenches >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageBielAvenches >> js:mentionedIn . ### Stage Avenches-Lausanne### ################################## -:StageAvenchesLausanne a trip-onto:Journey; - trip-onto:hasStartLocation :Avenches; - trip-onto:hasDestination :Lausanne ; - trip-onto:meanOfTransportation :Horse . +:StageAvenchesLausanne a js:Journey; + js:hasStartLocation :Avenches; + js:hasDestination :Lausanne ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageAvenchesLausanne . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageAvenchesLausanne >> trip-onto:hasStartDate "1676-08-25"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageAvenchesLausanne >> trip-onto:hasEndDate "1676-08-26"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageAvenchesLausanne . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageAvenchesLausanne >> js:hasStartDate "1676-08-25"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageAvenchesLausanne >> js:hasEndDate "1676-08-26"^^xsd:date. -<< :StageAvenchesLausanne trip-onto:hasStartLocation :Avenches >> trip-onto:hasDeparture "1676-08-25"^^xsd:date . -<< :StageAvenchesLausanne trip-onto:hasDestination :Lausanne >> trip-onto:hasArrival "1676-08-25"^^xsd:date . +<< :StageAvenchesLausanne js:hasStartLocation :Avenches >> js:hasDeparture "1676-08-25"^^xsd:date . +<< :StageAvenchesLausanne js:hasDestination :Lausanne >> js:hasArrival "1676-08-25"^^xsd:date . #Stay -:StageAvenchesLausanne trip-onto:hasStay :StayStageAvenchesLausanne . +:StageAvenchesLausanne js:hasStay :StayStageAvenchesLausanne . -:StayStageAvenchesLausanne a trip-onto:Stay ; - trip-onto:hasAccommodation :alOurs . +:StayStageAvenchesLausanne a js:Stay ; + js:hasAccommodation :alOurs . -:alOurs a trip-onto:Accommodation ; +:alOurs a js:Accommodation ; schema:name "à l'ours" . # activity -:StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_lunch . +:StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_lunch . -:StageAvenchesLausanne_lunch a trip-onto:Dining ; - trip-onto:mealType "Lunch" ; - trip-onto:hasLocation "La maison de ville". +:StageAvenchesLausanne_lunch a js:Dining ; + js:mealType "Lunch" ; + js:hasLocation "La maison de ville". -<< :StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_lunch >> trip-onto:hasCost 1 . -<< << :StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_lunch >> trip-onto:hasCost 1 >> trip-onto:hasCurrency "Francken". +<< :StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_lunch >> js:hasCost 1 . +<< << :StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_lunch >> js:hasCost 1 >> js:hasCurrency "Francken". ### mentionedIn page 17, page IRI is used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageAvenchesLausanne >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageAvenchesLausanne >> js:mentionedIn . # activity -:StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_dinner . +:StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_dinner . -:StageAvenchesLausanne_dinner a trip-onto:Dining; - trip-onto:mealType "Dinner". +:StageAvenchesLausanne_dinner a js:Dining; + js:mealType "Dinner". -<< :StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_dinner >> trip-onto:hasCost 17 . -<< << :StageAvenchesLausanne trip-onto:hasActivity :StageAvenchesLausanne_dinner >> trip-onto:hasCost 17 >> trip-onto:hasCurrency "schweitzbz". +<< :StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_dinner >> js:hasCost 17 . +<< << :StageAvenchesLausanne js:hasActivity :StageAvenchesLausanne_dinner >> js:hasCost 17 >> js:hasCurrency "schweitzbz". ### Stage Lausanne-Coppet ### ################################## -:StageLausanneCoppet a trip-onto:Journey; - trip-onto:hasStartLocation :Lausanne; - trip-onto:hasDestination :Coppet ; - trip-onto:meanOfTransportation :Horse . +:StageLausanneCoppet a js:Journey; + js:hasStartLocation :Lausanne; + js:hasDestination :Coppet ; + js:meanOfTransportation :Horse . -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLausanneCoppet . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLausanneCoppet >> trip-onto:hasStartDate "1676-08-26"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLausanneCoppet >> trip-onto:hasEndDate "1676-08-27"^^xsd:date. +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLausanneCoppet . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLausanneCoppet >> js:hasStartDate "1676-08-26"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLausanneCoppet >> js:hasEndDate "1676-08-27"^^xsd:date. ### mentionedIn page 17, page IRI is used -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageLausanneCoppet >> trip-onto:mentionedIn . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageLausanneCoppet >> js:mentionedIn . -<< :StageLausanneCoppet trip-onto:hasStartLocation :Lausanne >> trip-onto:hasDeparture "1676-08-26"^^xsd:date . -<< :StageLausanneCoppet trip-onto:hasDestination :Coppet >> trip-onto:hasArrival "1676-08-26"^^xsd:date . +<< :StageLausanneCoppet js:hasStartLocation :Lausanne >> js:hasDeparture "1676-08-26"^^xsd:date . +<< :StageLausanneCoppet js:hasDestination :Coppet >> js:hasArrival "1676-08-26"^^xsd:date . # activity -:StageLausanneCoppet trip-onto:hasActivity :StageLausanneCoppet_lunch . +:StageLausanneCoppet js:hasActivity :StageLausanneCoppet_lunch . -:StageLausanneCoppet_lunch a trip-onto:Dining; - trip-onto:mealType "Lunch". +:StageLausanneCoppet_lunch a js:Dining; + js:mealType "Lunch". -<< :StageAvenchesLausanne trip-onto:hasActivity :StageLausanneCoppet_lunch >> trip-onto:hasCost 12 . -<< << :StageAvenchesLausanne trip-onto:hasActivity :StageLausanneCoppet_lunch >> trip-onto:hasCost 12 >> trip-onto:hasCurrency "schweitzbz". +<< :StageAvenchesLausanne js:hasActivity :StageLausanneCoppet_lunch >> js:hasCost 12 . +<< << :StageAvenchesLausanne js:hasActivity :StageLausanneCoppet_lunch >> js:hasCost 12 >> js:hasCurrency "schweitzbz". # activity -:StageLausanneCoppet trip-onto:hasActivity :StageLausanneCoppet_dinner . +:StageLausanneCoppet js:hasActivity :StageLausanneCoppet_dinner . -:StageLausanneCoppet_dinner a trip-onto:Dining; - trip-onto:mealType "Dinner". +:StageLausanneCoppet_dinner a js:Dining; + js:mealType "Dinner". -<< :StageLausanneCoppet trip-onto:hasActivity :StageLausanneCoppet_dinner >> trip-onto:hasCost 19 . -<< << :StageLausanneCoppet trip-onto:hasActivity :StageLausanneCoppet_dinner >> trip-onto:hasCost 19 >> trip-onto:hasCurrency "schweitzbz". +<< :StageLausanneCoppet js:hasActivity :StageLausanneCoppet_dinner >> js:hasCost 19 . +<< << :StageLausanneCoppet js:hasActivity :StageLausanneCoppet_dinner >> js:hasCost 19 >> js:hasCurrency "schweitzbz". # ### Stage Coppet-Genf ### ################################## -<< :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageCoppetGenf . -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageCoppetGenf >> trip-onto:hasStartDate "1676-08-27"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageCoppetGenf >> trip-onto:hasEndDate "1678-05-08"^^xsd:date. -<< << :JacobBernoulli trip-onto:hasJourney :JourneyBaselGenf >> trip-onto:hasStage :StageCoppetGenf >> trip-onto:mentionedIn , . +<< :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageCoppetGenf . +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageCoppetGenf >> js:hasStartDate "1676-08-27"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageCoppetGenf >> js:hasEndDate "1678-05-08"^^xsd:date. +<< << :JacobBernoulli js:hasJourney :JourneyBaselGenf >> js:hasStage :StageCoppetGenf >> js:mentionedIn , . -:StageCoppetGenf a trip-onto:Journey; - trip-onto:hasStartLocation :Coppet; - trip-onto:hasDestination :Genf ; - trip-onto:meanOfTransportation :Horse . +:StageCoppetGenf a js:Journey; + js:hasStartLocation :Coppet; + js:hasDestination :Genf ; + js:meanOfTransportation :Horse . # AK: check dates >> inconsistencies departure arrival -<< :StageCoppetGenf trip-onto:hasStartLocation :Coppet >> trip-onto:hasDeparture "1676-08-27"^^xsd:date . -<< :StageCoppetGenf trip-onto:hasDestination :Genf >> trip-onto:hasArrival "1676-08-27"^^xsd:date . +<< :StageCoppetGenf js:hasStartLocation :Coppet >> js:hasDeparture "1676-08-27"^^xsd:date . +<< :StageCoppetGenf js:hasDestination :Genf >> js:hasArrival "1676-08-27"^^xsd:date . -:StageCoppetGenf trip-onto:hasStay :StayStageCoppetGenf . +:StageCoppetGenf js:hasStay :StayStageCoppetGenf . -:StayStageCoppetGenf a trip-onto:Stay; - trip-onto:hasAccommodation :TroisRois . +:StayStageCoppetGenf a js:Stay; + js:hasAccommodation :TroisRois . -:TroisRois a trip-onto:Accommodation; +:TroisRois a js:Accommodation; schema:name "Trois rois" . # activity -:StageCoppetGenf trip-onto:hasActivity :StageCoppetGenf_meal . +:StageCoppetGenf js:hasActivity :StageCoppetGenf_meal . -:StageCoppetGenf_meal a trip-onto:Dining; - trip-onto:hasDescription "3 meals 1 Rchthl (upon arrival)". +:StageCoppetGenf_meal a js:Dining; + js:hasDescription "3 meals 1 Rchthl (upon arrival)". ### mentionedIn region text3 of page 17 -<< :StageCoppetGenf trip-onto:hasActivity :StageCoppetGenf_meal >> trip-onto:mentionedIn . +<< :StageCoppetGenf js:hasActivity :StageCoppetGenf_meal >> js:mentionedIn . diff --git a/example/Data/maxrdf_tripTest.ttl b/example/Data/maxrdf_tripTest.ttl index ab27c98..5c6d07a 100644 --- a/example/Data/maxrdf_tripTest.ttl +++ b/example/Data/maxrdf_tripTest.ttl @@ -6,14 +6,14 @@ @prefix currency: . @prefix schema: . @prefix dbr: . -@prefix trip-onto: . -@prefix : . -@base . +@prefix js: . +@prefix : . +@base . ###################### ### People ########### -:SofiaM a trip-onto:Person; +:SofiaM a js:Person; schema:name "Sofia Müller"; schema:givenName "Sofia"; schema:familyName "Müller"; @@ -21,7 +21,7 @@ schema:birthDate "1985-03-20"^^xsd:date ; schema:birthPlace :Zurich . -:AdrianaM a trip-onto:Person; +:AdrianaM a js:Person; schema:name "Adriana Martin"; schema:givenName "Adriana"; schema:familyName "Martin"; @@ -29,7 +29,7 @@ schema:birthDate "1989-11-14"^^xsd:date; schema:birthPlace :Zurich . -:LucaB a trip-onto:Person; +:LucaB a js:Person; schema:name "Luca Bianchi"; schema:givenName "Luca"; schema:familyName "Bianchi"; @@ -37,7 +37,7 @@ schema:birthDate "1988-07-15"^^xsd:date; schema:birthPlace :Zurich . -:CarmenG a trip-onto:Person; +:CarmenG a js:Person; schema:name "Carmen Garcia"; schema:givenName "Carmen"; schema:familyName "Garcia"; @@ -45,7 +45,7 @@ schema:birthDate "1982-06-05"^^xsd:date; schema:birthPlace :Barcelona . -:LeaD a trip-onto:Person; +:LeaD a js:Person; schema:name "Léa Dubois"; schema:givenName "Léa"; schema:familyName "Dubois"; @@ -53,7 +53,7 @@ schema:birthDate "1990-10-25"^^xsd:date; schema:birthPlace :Paris . -:OskarH a trip-onto:Person; +:OskarH a js:Person; schema:name "Oskar Hansen"; schema:givenName "Oskar"; schema:familyName "Hansen"; @@ -64,198 +64,198 @@ ################################ ### Accommodation ############## -:HotelBarca a trip-onto:Accommodation ; +:HotelBarca a js:Accommodation ; schema:name "Hotel Barcelona" . -:AirBnBTangier a trip-onto:Accommodation ; +:AirBnBTangier a js:Accommodation ; schema:name "Air Bnb Tangier". -:HotelRabat a trip-onto:Accommodation ; +:HotelRabat a js:Accommodation ; schema:name "Hotel Rabat" . -:HotelMarrakech a trip-onto:Accommodation ; +:HotelMarrakech a js:Accommodation ; schema:name "Hotel Marrakech" . ##################################### #### Instances of locations ######### -:Zurich a trip-onto:Location; +:Zurich a js:Location; schema:name "Zurich"@en; owl:sameAs dbr:Zürich; - trip-onto:hasGeonameID "2657896" . + js:hasGeonameID "2657896" . -:Berlin a trip-onto:Location; +:Berlin a js:Location; schema:name "Berlin"@en; owl:sameAs dbr:Berlin; - trip-onto:hasGeonameID "2950159" . + js:hasGeonameID "2950159" . -:Barcelona a trip-onto:Location; +:Barcelona a js:Location; schema:name "Barcelona"@en; owl:sameAs dbr:Barcelona; - trip-onto:hasGeonameID "3128760". + js:hasGeonameID "3128760". -:Paris a trip-onto:Location; +:Paris a js:Location; schema:name "Paris"@en; owl:sameAs dbr:Paris; - trip-onto:hasGeonameID "2988507". + js:hasGeonameID "2988507". -:Rabat a trip-onto:Location; +:Rabat a js:Location; schema:name "Rabat"@en; owl:sameAs dbr:Rabat; - trip-onto:hasGeonameID "2538475". + js:hasGeonameID "2538475". -:Tangier a trip-onto:Location; +:Tangier a js:Location; schema:name "Tanger"@en; owl:sameAs dbr:Tangier; - trip-onto:hasGeonameID "2530335" . + js:hasGeonameID "2530335" . -:Marrakech a trip-onto:Location; +:Marrakech a js:Location; schema:name "Marrakech"@en; owl:sameAs dbr:Marrakesh; - trip-onto:hasGeonameID "6547285". + js:hasGeonameID "6547285". -:Morocco a trip-onto:Location; +:Morocco a js:Location; schema:name "Morocco"@en; owl:sameAs dbr:Morocco; - trip-onto:hasGeonameID "2542007". + js:hasGeonameID "2542007". ### Journey_2018_03 ### ################### -:SofiaM trip-onto:hasJourney :Journey_2018_03 . +:SofiaM js:hasJourney :Journey_2018_03 . -:Journey_2018_03 a trip-onto:Journey ; - trip-onto:hasStartLocation :Zurich; - trip-onto:hasDestination :Morocco . +:Journey_2018_03 a js:Journey ; + js:hasStartLocation :Zurich; + js:hasDestination :Morocco . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStartDate "2018-03-10"^^xsd:date . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasEndDate "2018-03-22"^^xsd:date. +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStartDate "2018-03-10"^^xsd:date . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasEndDate "2018-03-22"^^xsd:date. -<< :Journey_2018_03 trip-onto:hasStartLocation :Zurich >> trip-onto:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . -<< :Journey_2018_03 trip-onto:hasStartDestination :Morocco >> trip-onto:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . +<< :Journey_2018_03 js:hasStartLocation :Zurich >> js:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . +<< :Journey_2018_03 js:hasStartDestination :Morocco >> js:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . ### Sub Journey to Barcelona ##### ################################## -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasStartLocation :Zurich. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasStartLocation :Zurich. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasStartLocation :Zurich >> trip-onto:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasStartLocation :Zurich >> js:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:meanOfTransportation dbr:Train. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:meanOfTransportation dbr:Train. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasTransitFrom :Paris . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasTransitFrom :Paris . -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:meanOfTransportation dbr:Train >> trip-onto:hasCost 120. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:meanOfTransportation dbr:Train >> js:hasCost 120. -<< << << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:meanOfTransportation dbr:Train >> trip-onto:hasCost 120 >> trip-onto:hasCurrency currency:Euro. +<< << << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:meanOfTransportation dbr:Train >> js:hasCost 120 >> js:hasCurrency currency:Euro. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasStay :IntStay1 . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasStay :IntStay1 . -:IntStay1 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelBarca . +:IntStay1 a js:Stay ; + js:hasAccommodation :HotelBarca . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasStay :IntStay1 . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasStay :IntStay1 . -<< :IntStay1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 . -<< << :IntStay1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 >> trip-onto:hasCurrency currency:Euro . +<< :IntStay1 js:hasAccommodation :HotelBarca >> js:hasCost 240 . +<< << :IntStay1 js:hasAccommodation :HotelBarca >> js:hasCost 240 >> js:hasCurrency currency:Euro . ##sightseeing activity ## -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Barcelona >> trip-onto:hasActivity :SightSeeingSagradaFamilia1. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Barcelona >> js:hasActivity :SightSeeingSagradaFamilia1. -:SightSeeingSagradaFamilia1 a trip-onto:SightSeeing ; - trip-onto:sightingOf dbr:Sagrada_Família; - trip-onto:hasParticipant :SofiaM; - trip-onto:hasParticipant :OskarH; - trip-onto:hasParticipant :AdrianaM; - trip-onto:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; - trip-onto:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; - trip-onto:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". +:SightSeeingSagradaFamilia1 a js:SightSeeing ; + js:sightingOf dbr:Sagrada_Família; + js:hasParticipant :SofiaM; + js:hasParticipant :OskarH; + js:hasParticipant :AdrianaM; + js:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; + js:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; + js:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". ### Sub Journey to Tangier ### ####################################### -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:hasStartLocation :Barcelona. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:hasStartLocation :Barcelona. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:hasStartLocation :Barcelona >> trip-onto:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:hasStartLocation :Barcelona >> js:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime. -<< << :SofiaM trip-ontohasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Ferry. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Ferry. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Ferry>> trip-onto:hasCost 150. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Ferry>> js:hasCost 150. -<< << << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Ferry>> trip-onto:hasCost 150 >> trip-onto:hasCurrency currency:Euro. +<< << << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Ferry>> js:hasCost 150 >> js:hasCurrency currency:Euro. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:hasStay :IntStay2 . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:hasStay :IntStay2 . -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:hasStay :IntStay2 >> trip-onto:hasAccommodation :AirBnBTangier . +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:hasStay :IntStay2 >> js:hasAccommodation :AirBnBTangier . -:IntStay2 a trip-onto:Stay ; - trip-onto:hasAccommodation :AirBnBTangier . -<< :IntStay2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 . -<< << :IntStay2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 >> trip-onto:hasCurrency currency:MoroccanDirham . +:IntStay2 a js:Stay ; + js:hasAccommodation :AirBnBTangier . +<< :IntStay2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 . +<< << :IntStay2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 >> js:hasCurrency currency:MoroccanDirham . ### Sub Journey to Rabat ### ############################ -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Rabat >> trip-onto:hasStartLocation :Tangier. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Rabat >> trip-onto:hasStartLocation :Tangier >> trip-onto:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Rabat >> trip-onto:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Rabat >> js:hasStartLocation :Tangier. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Rabat >> js:hasStartLocation :Tangier >> js:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Rabat >> js:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Car . -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300. -<< << << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasCurrency currency:MoroccanDirham . -<< << << << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Tangier >> trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasCurrency currency:MoroccanDirham >> trip-onto:hasDescription "For Fuel". +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Car . +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Car >> js:hasCost 300. +<< << << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasCurrency currency:MoroccanDirham . +<< << << << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Tangier >> js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasCurrency currency:MoroccanDirham >> js:hasDescription "For Fuel". -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Rabat >> trip-onto:hasStay :IntStay3 . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Rabat >> js:hasStay :IntStay3 . -:IntStay3 a trip-onto:Stay; - trip-onto:hasAccommodation :HotelRabat . +:IntStay3 a js:Stay; + js:hasAccommodation :HotelRabat . -<< :IntStay3 trip-onto:hasAccommodation :HotelRabat >> trip-onto:hasCost 1000 . -<< << :IntStay3 trip-onto:hasAccommodation :HotelRabat >> trip-onto:hasCost 1000 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< :IntStay3 js:hasAccommodation :HotelRabat >> js:hasCost 1000 . +<< << :IntStay3 js:hasAccommodation :HotelRabat >> js:hasCost 1000 >> js:hasCurrency currency:MoroccanDirham. ### Sub Journey to Marrakech ### ############################### -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:hasStartLocation :Rabat. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:hasStartLocation :Rabat >> trip-onto:hasDeparture "2018-03-18T09:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:hasArrival "2018-03-18T14:00:00"^^xsd:dateTime. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:hasStartLocation :Rabat. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:hasStartLocation :Rabat >> js:hasDeparture "2018-03-18T09:00:00"^^xsd:dateTime. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:hasArrival "2018-03-18T14:00:00"^^xsd:dateTime. -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:meanOfTransportation dbr:Car. -<< << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:meanOfTransportation dbr:Car>> trip-onto:hasCost 500 . -<< << << << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:meanOfTransportation dbr:Car>> trip-onto:hasCost 500 >> trip-onto:hasCurrency currency:MoroccanDirham . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasIntermediateDestination :Marrakech >> trip-onto:hasStay :IntStay4 . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:meanOfTransportation dbr:Car. +<< << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:meanOfTransportation dbr:Car>> js:hasCost 500 . +<< << << << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:meanOfTransportation dbr:Car>> js:hasCost 500 >> js:hasCurrency currency:MoroccanDirham . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasIntermediateDestination :Marrakech >> js:hasStay :IntStay4 . -:IntStay4 a trip-onto:Stay; - trip-onto:hasAccommodation :HotelMarrakech . +:IntStay4 a js:Stay; + js:hasAccommodation :HotelMarrakech . -<< :IntStay4 trip-onto:hasAccommodation :HotelMarrakech >> trip-onto:hasCost 1040 . -<< << :IntStay4 trip-onto:hasAccommodation :HotelMarrakech >> trip-onto:hasCost 1040 >> trip-onto:hasCurrency currency:MoroccanDirham . +<< :IntStay4 js:hasAccommodation :HotelMarrakech >> js:hasCost 1040 . +<< << :IntStay4 js:hasAccommodation :HotelMarrakech >> js:hasCost 1040 >> js:hasCurrency currency:MoroccanDirham . ############# Journey Back to Zurich ####### -:SofiaM trip-onto:hasJourney :Journey_2018_22 . +:SofiaM js:hasJourney :Journey_2018_22 . -:Journey_2018_22 a trip-onto:Journey ; - trip-onto:hasDestination :Zurich; - trip-onto:hasStartLocation :Marrakech . +:Journey_2018_22 a js:Journey ; + js:hasDestination :Zurich; + js:hasStartLocation :Marrakech . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . diff --git a/example/Data/medrdf_tripTest.ttl b/example/Data/medrdf_tripTest.ttl index cff5a96..1b12c7f 100644 --- a/example/Data/medrdf_tripTest.ttl +++ b/example/Data/medrdf_tripTest.ttl @@ -6,14 +6,14 @@ @prefix currency: . @prefix schema: . @prefix dbr: . -@prefix trip-onto: . -@prefix : . -@base . +@prefix js: . +@prefix : . +@base . ###################### ### People ########### -:SofiaM a trip-onto:Person; +:SofiaM a js:Person; schema:name "Sofia Müller"; schema:givenName "Sofia"; schema:familyName "Müller"; @@ -21,7 +21,7 @@ schema:birthDate "1985-03-20"^^xsd:date ; schema:birthPlace :Zurich . -:AdrianaM a trip-onto:Person; +:AdrianaM a js:Person; schema:name "Adriana Martin"; schema:givenName "Adriana"; schema:familyName "Martin"; @@ -29,7 +29,7 @@ schema:birthDate "1989-11-14"^^xsd:date; schema:birthPlace :Zurich . -:LucaB a trip-onto:Person; +:LucaB a js:Person; schema:name "Luca Bianchi"; schema:givenName "Luca"; schema:familyName "Bianchi"; @@ -37,7 +37,7 @@ schema:birthDate "1988-07-15"^^xsd:date; schema:birthPlace :Zurich . -:CarmenG a trip-onto:Person; +:CarmenG a js:Person; schema:name "Carmen Garcia"; schema:givenName "Carmen"; schema:familyName "Garcia"; @@ -45,7 +45,7 @@ schema:birthDate "1982-06-05"^^xsd:date; schema:birthPlace :Barcelona . -:LeaD a trip-onto:Person; +:LeaD a js:Person; schema:name "Léa Dubois"; schema:givenName "Léa"; schema:familyName "Dubois"; @@ -53,7 +53,7 @@ schema:birthDate "1990-10-25"^^xsd:date; schema:birthPlace :Paris . -:OskarH a trip-onto:Person; +:OskarH a js:Person; schema:name "Oskar Hansen"; schema:givenName "Oskar"; schema:familyName "Hansen"; @@ -66,115 +66,115 @@ ################################ ### Accommodation ############## -:HotelBarca a trip-onto:Accommodation ; +:HotelBarca a js:Accommodation ; schema:name "Hotel Barcelona" . -:AirBnBTangier a trip-onto:Accommodation ; +:AirBnBTangier a js:Accommodation ; schema:name "Air Bnb Tangier". -:HotelRabat a trip-onto:Accommodation ; +:HotelRabat a js:Accommodation ; schema:name "Hotel Rabat" . -:HotelMarrakech a trip-onto:Accommodation ; +:HotelMarrakech a js:Accommodation ; schema:name "Hotel Marrakech" . ##################################### #### Instances of locations ######### -:Zurich a trip-onto:Location; +:Zurich a js:Location; schema:name "Zurich"@en; owl:sameAs dbr:Zürich; - trip-onto:hasGeonameID "2657896" . + js:hasGeonameID "2657896" . -:Berlin a trip-onto:Location; +:Berlin a js:Location; schema:name "Berlin"@en; owl:sameAs dbr:Berlin; - trip-onto:hasGeonameID "2950159" . + js:hasGeonameID "2950159" . -:Barcelona a trip-onto:Location; +:Barcelona a js:Location; schema:name "Barcelona"@en; owl:sameAs dbr:Barcelona; - trip-onto:hasGeonameID "3128760". + js:hasGeonameID "3128760". -:Paris a trip-onto:Location; +:Paris a js:Location; schema:name "Paris"@en; owl:sameAs dbr:Paris; - trip-onto:hasGeonameID "2988507". + js:hasGeonameID "2988507". -:Rabat a trip-onto:Location; +:Rabat a js:Location; schema:name "Rabat"@en; owl:sameAs dbr:Rabat; - trip-onto:hasGeonameID "2538475". + js:hasGeonameID "2538475". -:Tangier a trip-onto:Location; +:Tangier a js:Location; schema:name "Tanger"@en; owl:sameAs dbr:Tangier; - trip-onto:hasGeonameID "2530335" . + js:hasGeonameID "2530335" . -:Marrakech a trip-onto:Location; +:Marrakech a js:Location; schema:name "Marrakech"@en; owl:sameAs dbr:Marrakesh; - trip-onto:hasGeonameID "6547285". + js:hasGeonameID "6547285". -:Morocco a trip-onto:Location; +:Morocco a js:Location; schema:name "Morocco"@en; owl:sameAs dbr:Morocco; - trip-onto:hasGeonameID "2542007". + js:hasGeonameID "2542007". ### Journey_2018_03 ### ################### -:SofiaM trip-onto:hasJourney :Journey_2018_03 . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStartDate "2018-03-10"^^xsd:date . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasEndDate "2018-03-22"^^xsd:date. +:SofiaM js:hasJourney :Journey_2018_03 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStartDate "2018-03-10"^^xsd:date . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasEndDate "2018-03-22"^^xsd:date. -:Journey_2018_03 a trip-onto:Journey ; - trip-onto:hasStartLocation :Zurich; - trip-onto:hasDestination :Morocco . +:Journey_2018_03 a js:Journey ; + js:hasStartLocation :Zurich; + js:hasDestination :Morocco . -<< :Journey_2018_03 trip-onto:hasStartLocation :Zurich >> trip-onto:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . -<< :Journey_2018_03 trip-onto:hasDestination :Morocco >> trip-onto:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . +<< :Journey_2018_03 js:hasStartLocation :Zurich >> js:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . +<< :Journey_2018_03 js:hasDestination :Morocco >> js:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . ### Stage Journey 1 ZH-Barcelona ### ################################## -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage1 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage1 . -:Stage1 a trip-onto:Journey; - trip-onto:hasStartLocation :Zurich; - trip-onto:hasDestination :Barcelona ; - trip-onto:meanOfTransportation dbr:Train ; - trip-onto:hasParticipant :LeaD , :AdrianaM ; +:Stage1 a js:Journey; + js:hasStartLocation :Zurich; + js:hasDestination :Barcelona ; + js:meanOfTransportation dbr:Train ; + js:hasParticipant :LeaD , :AdrianaM ; -<< :Stage1 trip-onto:hasStartLocation :Zurich >> trip-onto:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . -<< :Stage1 trip-onto:hasDestination :Barcelona >> trip-onto:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . +<< :Stage1 js:hasStartLocation :Zurich >> js:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . +<< :Stage1 js:hasDestination :Barcelona >> js:hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . -<< :Stage1 trip-onto:meanOfTransportation :Train >> trip-onto:hasTransitFrom :Paris . -<< :Stage1 trip-onto:meanOfTransportation :Train >> trip-onto:hasCost 120 . -<< << :Stage1 trip-onto:meanOfTransportation :Train >> trip-onto:hasCost 120>> trip-onto:hasCurrency currency:Euro . +<< :Stage1 js:meanOfTransportation :Train >> js:hasTransitFrom :Paris . +<< :Stage1 js:meanOfTransportation :Train >> js:hasCost 120 . +<< << :Stage1 js:meanOfTransportation :Train >> js:hasCost 120>> js:hasCurrency currency:Euro . -:Stage1 trip-onto:hasStay :StayStage1 . +:Stage1 js:hasStay :StayStage1 . -:Stage1 trip-onto:hasActivity :SightSeeingSagradaFamilia1 . +:Stage1 js:hasActivity :SightSeeingSagradaFamilia1 . :SightSeeingSagradaFamilia1 a :SightSeeing ; - trip-onto:sightingOf dbr:Sagrada_Família; - trip-onto:hasParticipant :SofiaM; - trip-onto:hasParticipant :OskarH; - trip-onto:hasParticipant :AdrianaM; - trip-onto:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; - trip-onto:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; - trip-onto:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". + js:sightingOf dbr:Sagrada_Família; + js:hasParticipant :SofiaM; + js:hasParticipant :OskarH; + js:hasParticipant :AdrianaM; + js:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; + js:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; + js:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". -:StayStage1 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelBarca . +:StayStage1 a js:Stay ; + js:hasAccommodation :HotelBarca . -<< :StayStage1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 . -<< << :StayStage1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 >> trip-onto:hasCurrency currency:Euro . +<< :StayStage1 js:hasAccommodation :HotelBarca >> js:hasCost 240 . +<< << :StayStage1 js:hasAccommodation :HotelBarca >> js:hasCost 240 >> js:hasCurrency currency:Euro . @@ -182,99 +182,99 @@ ### Stage2 Barcelona–Tangier ### ####################################### -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage2 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage2 . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage2 >> trip-onto:hasStartDate "2018-03-13"^^xsd:date . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage2 >> trip-onto:hasEndDate "2018-03-15"^^xsd:date . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage2 >> js:hasStartDate "2018-03-13"^^xsd:date . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage2 >> js:hasEndDate "2018-03-15"^^xsd:date . -:Stage2 a trip-onto:Journey; - trip-onto:hasStartLocation :Barcelona; - trip-onto:hasDestination :Tangier ; - trip-onto:meanOfTransportation dbr:Ferry . +:Stage2 a js:Journey; + js:hasStartLocation :Barcelona; + js:hasDestination :Tangier ; + js:meanOfTransportation dbr:Ferry . -<< :Stage2 trip-onto:hasStartLocation :Barcelona >> trip-onto:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime . -<< :Stage2 trip-onto:hasDestination :Tangier >> trip-onto:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . -<< :Stage2 trip-onto:meanOfTransportation dbr:Ferry >> trip-onto:hasCost 150 . -<< << :Stage2 trip-onto:meanOfTransportation dbr:Ferry >> trip-onto:hasCost 150 >> trip-onto:hasCurrency currency:Euro. +<< :Stage2 js:hasStartLocation :Barcelona >> js:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime . +<< :Stage2 js:hasDestination :Tangier >> js:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . +<< :Stage2 js:meanOfTransportation dbr:Ferry >> js:hasCost 150 . +<< << :Stage2 js:meanOfTransportation dbr:Ferry >> js:hasCost 150 >> js:hasCurrency currency:Euro. -:Stage2 trip-onto:hasStay :StayStage2 . +:Stage2 js:hasStay :StayStage2 . -:StayStage2 a trip-onto:Stay ; - trip-onto:hasAccommodation :AirBnBTangier . +:StayStage2 a js:Stay ; + js:hasAccommodation :AirBnBTangier . -<< :StayStage2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 . -<< << :StayStage2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 >> trip-onto:hasCurrency currency:MoroccanDirham . +<< :StayStage2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 . +<< << :StayStage2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 >> js:hasCurrency currency:MoroccanDirham . ### Sub Journey 3 Tangier-Rabat ### ################################### -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage3 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage3 . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage3 >> trip-onto:hasStartDate "2018-03-15"^^xsd:date . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage3 >> trip-onto:hasEndDate "2018-03-18"^^xsd:date. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage3 >> js:hasStartDate "2018-03-15"^^xsd:date . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage3 >> js:hasEndDate "2018-03-18"^^xsd:date. -:Stage3 a trip-onto:Journey; - trip-onto:hasStartLocation :Tangier; - trip-onto:hasDestination :Rabat ; - trip-onto:meanOfTransportation dbr:Car . +:Stage3 a js:Journey; + js:hasStartLocation :Tangier; + js:hasDestination :Rabat ; + js:meanOfTransportation dbr:Car . -<< :Stage3 trip-onto:hasStartLocation :Tangier >> trip-onto:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime . -<< :Stage3 trip-onto:hasDestination :Rabat >> trip-onto:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime . -<< :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 . -<< << :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasDescription "For Fuel". -<< << :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< :Stage3 js:hasStartLocation :Tangier >> js:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime . +<< :Stage3 js:hasDestination :Rabat >> js:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime . +<< :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 . +<< << :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasDescription "For Fuel". +<< << :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasCurrency currency:MoroccanDirham. -:Stage3 trip-onto:hasParticipant :LeaD , :AdrianaM . -:Stage3 trip-onto:hasStay :StayStage3 . +:Stage3 js:hasParticipant :LeaD , :AdrianaM . +:Stage3 js:hasStay :StayStage3 . -:StayStage3 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelRabat . +:StayStage3 a js:Stay ; + js:hasAccommodation :HotelRabat . -<< :StayStage3 trip-onto:hasAccommodation :HotelRabat >> trip-onto:hasCost "1000" . -<< << :StayStage3 trip-onto:hasAccommodation :HotelRabat >> :hasCost "1000" >> :hasCurrency currency:MoroccanDirham . #currency:hasPrice +<< :StayStage3 js:hasAccommodation :HotelRabat >> js:hasCost "1000" . +<< << :StayStage3 js:hasAccommodation :HotelRabat >> :hasCost "1000" >> :hasCurrency currency:MoroccanDirham . #currency:hasPrice ### Sub Journey 4 Rabat–Marakech ### #################################### -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage4 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage4 . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage4>> trip-onto:hasStartDate "2018-03-18"^^xsd:date . -<< << :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStage :Stage4>> trip-onto:hasEndDate "2018-03-22"^^xsd:date. +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage4>> js:hasStartDate "2018-03-18"^^xsd:date . +<< << :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStage :Stage4>> js:hasEndDate "2018-03-22"^^xsd:date. -:Stage4 a trip-onto:Journey; - trip-onto:hasStartLocation :Rabat; - trip-onto:hasDestination :Marrakech ; - trip-onto:meanOfTransportation dbr:Car . +:Stage4 a js:Journey; + js:hasStartLocation :Rabat; + js:hasDestination :Marrakech ; + js:meanOfTransportation dbr:Car . -<< :Stage4 trip-onto:hasStartLocation :Rabat >> trip-onto:hasDeparture "2018-03-18T08:00:00"^^xsd:dateTime . +<< :Stage4 js:hasStartLocation :Rabat >> js:hasDeparture "2018-03-18T08:00:00"^^xsd:dateTime . -<< :Stage4 trip-onto:hasDestination :Marrakech >> trip-onto:hasArrival "2018-03-18T16:00:00"^^xsd:dateTime . +<< :Stage4 js:hasDestination :Marrakech >> js:hasArrival "2018-03-18T16:00:00"^^xsd:dateTime . -<< :Stage4 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 500 . -<< << :Stage4 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 500 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< :Stage4 js:meanOfTransportation dbr:Car >> js:hasCost 500 . +<< << :Stage4 js:meanOfTransportation dbr:Car >> js:hasCost 500 >> js:hasCurrency currency:MoroccanDirham. -:Stage4 trip-onto:hasParticipant :LeaD , :AdrianaM . +:Stage4 js:hasParticipant :LeaD , :AdrianaM . -:Stage4 trip-onto:hasStay :StayStage4 . +:Stage4 js:hasStay :StayStage4 . -:StayStage4 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelMarrakech . +:StayStage4 a js:Stay ; + js:hasAccommodation :HotelMarrakech . -<< :StayStage4 trip-onto:hasAccommodation :HotelMarrakech >> trip-onto:hasCost 1000 . +<< :StayStage4 js:hasAccommodation :HotelMarrakech >> js:hasCost 1000 . -<< << :StayStage4 trip-onto:hasAccommodation :HotelMarrakech>> trip-onto:hasCost 1000 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< << :StayStage4 js:hasAccommodation :HotelMarrakech>> js:hasCost 1000 >> js:hasCurrency currency:MoroccanDirham. ############# Journey Back to Zurich ####### -:SofiaM trip-onto:hasJourney :Journey_2018_22 . +:SofiaM js:hasJourney :Journey_2018_22 . -:Journey_2018_22 a trip-onto:Journey ; - trip-onto:hasDestination :Zurich; - trip-onto:hasStartLocation :Marrakech . +:Journey_2018_22 a js:Journey ; + js:hasDestination :Zurich; + js:hasStartLocation :Marrakech . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . diff --git a/example/Data/minrdf_tripTest.ttl b/example/Data/minrdf_tripTest.ttl index bd1d050..3e6b869 100644 --- a/example/Data/minrdf_tripTest.ttl +++ b/example/Data/minrdf_tripTest.ttl @@ -6,14 +6,14 @@ @prefix currency: . @prefix schema: . @prefix dbr: . -@prefix trip-onto: . -@prefix : . -@base . +@prefix js: . +@prefix : . +@base . ###################### ### People ########### -:SofiaM a trip-onto:Person; +:SofiaM a js:Person; schema:name "Sofia Müller"; schema:givenName "Sofia"; schema:familyName "Müller"; @@ -21,7 +21,7 @@ schema:birthDate "1985-03-20"^^xsd:date ; schema:birthPlace :Zurich . -:AdrianaM a trip-onto:Person; +:AdrianaM a js:Person; schema:name "Adriana Martin"; schema:givenName "Adriana"; schema:familyName "Martin"; @@ -29,7 +29,7 @@ schema:birthDate "1989-11-14"^^xsd:date; schema:birthPlace :Zurich . -:LucaB a trip-onto:Person; +:LucaB a js:Person; schema:name "Luca Bianchi"; schema:givenName "Luca"; schema:familyName "Bianchi"; @@ -37,7 +37,7 @@ schema:birthDate "1988-07-15"^^xsd:date; schema:birthPlace :Zurich . -:CarmenG a trip-onto:Person; +:CarmenG a js:Person; schema:name "Carmen Garcia"; schema:givenName "Carmen"; schema:familyName "Garcia"; @@ -45,7 +45,7 @@ schema:birthDate "1982-06-05"^^xsd:date; schema:birthPlace :Barcelona . -:LeaD a trip-onto:Person; +:LeaD a js:Person; schema:name "Léa Dubois"; schema:givenName "Léa"; schema:familyName "Dubois"; @@ -53,7 +53,7 @@ schema:birthDate "1990-10-25"^^xsd:date; schema:birthPlace :Paris . -:OskarH a trip-onto:Person; +:OskarH a js:Person; schema:name "Oskar Hansen"; schema:givenName "Oskar"; schema:familyName "Hansen"; @@ -66,61 +66,61 @@ ################################ ### Accommodation ############## -:HotelBarca a trip-onto:Accommodation ; +:HotelBarca a js:Accommodation ; schema:name "Hotel Barcelona" . -:AirBnBTangier a trip-onto:Accommodation ; +:AirBnBTangier a js:Accommodation ; schema:name "Air Bnb Tangier". -:HotelRabat a trip-onto:Accommodation ; +:HotelRabat a js:Accommodation ; schema:name "Hotel Rabat" . -:HotelMarrakech a trip-onto:Accommodation ; +:HotelMarrakech a js:Accommodation ; schema:name "Hotel Marrakech" . ##################################### #### Instances of locations ######### -:Zurich a trip-onto:Location; +:Zurich a js:Location; schema:name "Zurich"@en; owl:sameAs dbr:Zürich; - trip-onto:hasGeonameID "2657896" . + js:hasGeonameID "2657896" . -:Berlin a trip-onto:Location; +:Berlin a js:Location; schema:name "Berlin"@en; owl:sameAs dbr:Berlin; - trip-onto:hasGeonameID "2950159" . + js:hasGeonameID "2950159" . -:Barcelona a trip-onto:Location; +:Barcelona a js:Location; schema:name "Barcelona"@en; owl:sameAs dbr:Barcelona; - trip-onto:hasGeonameID "3128760". + js:hasGeonameID "3128760". -:Paris a trip-onto:Location; +:Paris a js:Location; schema:name "Paris"@en; owl:sameAs dbr:Paris; - trip-onto:hasGeonameID "2988507". + js:hasGeonameID "2988507". -:Rabat a trip-onto:Location; +:Rabat a js:Location; schema:name "Rabat"@en; owl:sameAs dbr:Rabat; - trip-onto:hasGeonameID "2538475". + js:hasGeonameID "2538475". -:Tangier a trip-onto:Location; +:Tangier a js:Location; schema:name "Tanger"@en; owl:sameAs dbr:Tangier; - trip-onto:hasGeonameID "2530335" . + js:hasGeonameID "2530335" . -:Marrakech a trip-onto:Location; +:Marrakech a js:Location; schema:name "Marrakech"@en; owl:sameAs dbr:Marrakesh; - trip-onto:hasGeonameID "6547285". + js:hasGeonameID "6547285". -:Morocco a trip-onto:Location; +:Morocco a js:Location; schema:name "Morocco"@en; owl:sameAs dbr:Morocco; - trip-onto:hasGeonameID "2542007". + js:hasGeonameID "2542007". ############################ @@ -131,159 +131,159 @@ ### Journey_2018_03 ### ################### -:SofiaM trip-onto:hasJourney :Journey_2018_03 . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasStartDate "2018-03-10"^^xsd:date . -<< :SofiaM trip-onto:hasJourney :Journey_2018_03 >> trip-onto:hasEndDate "2018-03-22"^^xsd:date. +:SofiaM js:hasJourney :Journey_2018_03 . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasStartDate "2018-03-10"^^xsd:date . +<< :SofiaM js:hasJourney :Journey_2018_03 >> js:hasEndDate "2018-03-22"^^xsd:date. -:Journey_2018_03 a trip-onto:Journey ; - trip-onto:hasStartLocation :Zurich; - trip-onto:hasDestination :Morocco . +:Journey_2018_03 a js:Journey ; + js:hasStartLocation :Zurich; + js:hasDestination :Morocco . -<<:Journey_2018_03 trip-onto:hasStartLocation :Zurich >> trip-onto:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . -<<:Journey_2018_03 trip-onto:hasDestination :Morocco >> trip-onto:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . +<<:Journey_2018_03 js:hasStartLocation :Zurich >> js:hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . +<<:Journey_2018_03 js:hasDestination :Morocco >> js:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . ### Stage Journey 1 ZH-Barcelona ### ################################## -:Journey_2018_03 trip-onto:hasStage :Stage1 . -<<:Journey_2018_03 trip-onto:hasStage :Stage1>> trip-onto:hasStartDate "2018-03-10"^^xsd:date . -<<:Journey_2018_03 trip-onto:hasStage :Stage1>> trip-onto:hasEndDate "2018-03-13"^^xsd:date . +:Journey_2018_03 js:hasStage :Stage1 . +<<:Journey_2018_03 js:hasStage :Stage1>> js:hasStartDate "2018-03-10"^^xsd:date . +<<:Journey_2018_03 js:hasStage :Stage1>> js:hasEndDate "2018-03-13"^^xsd:date . -:Stage1 a trip-onto:Journey; - trip-onto:hasStartLocation :Zurich; - trip-onto:hasDestination :Barcelona ; - trip-onto:hasTransitFrom :Paris; - trip-onto:meanOfTransportation dbr:Train . +:Stage1 a js:Journey; + js:hasStartLocation :Zurich; + js:hasDestination :Barcelona ; + js:hasTransitFrom :Paris; + js:meanOfTransportation dbr:Train . << :Stage1 :hasStartLocation :Zurich >> :hasDeparture "2018-03-10T08:00:00"^^xsd:dateTime . << :Stage1 :hasStartLocation :Barcelona >> :hasArrival "2018-03-10T22:00:00"^^xsd:dateTime . -<< :Stage1 trip-onto:meanOfTransportation dbr:Train >> trip-onto:hasCost 120 . -<< << :Stage1 trip-onto:meanOfTransportation dbr:Train >> trip-onto:hasCost 120 >> :hasCurrency currency:Euro . +<< :Stage1 js:meanOfTransportation dbr:Train >> js:hasCost 120 . +<< << :Stage1 js:meanOfTransportation dbr:Train >> js:hasCost 120 >> :hasCurrency currency:Euro . -<< :Stage1 trip-onto:meanOfTransportation dbr:Train >> trip-onto:hasTransitFrom dbr:Paris . +<< :Stage1 js:meanOfTransportation dbr:Train >> js:hasTransitFrom dbr:Paris . -:Stage1 trip-onto:hasActivity :SightSeeingSagradaFamilia1 . +:Stage1 js:hasActivity :SightSeeingSagradaFamilia1 . -:SightSeeingSagradaFamilia1 a trip-onto:SightSeeing ; - trip-onto:sightingOf dbr:Sagrada_Família; - trip-onto:hasParticipant :SofiaM; - trip-onto:hasParticipant :OskarH; - trip-onto:hasParticipant :AdrianaM; - trip-onto:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; - trip-onto:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; - trip-onto:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". +:SightSeeingSagradaFamilia1 a js:SightSeeing ; + js:sightingOf dbr:Sagrada_Família; + js:hasParticipant :SofiaM; + js:hasParticipant :OskarH; + js:hasParticipant :AdrianaM; + js:hasStartDate "2018-03-11T14:00:00"^^xsd:dateTime ; + js:hasEndDate "2018-03-11T16:45:00"^^xsd:dateTime; + js:hasDescription "Entering Sagrada Familia felt like stepping into a realm of divine artistry. The sun's gentle rays painted vibrant hues on the ornate stained glass, illuminating the sacred space. Massive columns rose like ancient trees, supporting the heavens above. Every detail, from intricately carved facades to delicate interior patterns, whispered tales of Gaudí's genius.Leaving, I carried a sense of awe that words could barely capture.". -:Stage1 trip-onto:hasParticipant :LeaD , :AdrianaM . -:Stage1 trip-onto:hasStay :StayStage1 . +:Stage1 js:hasParticipant :LeaD , :AdrianaM . +:Stage1 js:hasStay :StayStage1 . -:StayStage1 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelBarca . +:StayStage1 a js:Stay ; + js:hasAccommodation :HotelBarca . -<< :StayStage1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 . -<< << :StayStage1 trip-onto:hasAccommodation :HotelBarca >> trip-onto:hasCost 240 >> trip-onto:hasCurrency currency:Euro . +<< :StayStage1 js:hasAccommodation :HotelBarca >> js:hasCost 240 . +<< << :StayStage1 js:hasAccommodation :HotelBarca >> js:hasCost 240 >> js:hasCurrency currency:Euro . ### Stage Journey 2 Barcelona–Tangier ### ####################################### -:Journey_2018_03 trip-onto:hasStage :Stage2 . +:Journey_2018_03 js:hasStage :Stage2 . -<<:Journey_2018_03 trip-onto:hasStage :Stage2>> trip-onto:hasStartDate "2018-03-13"^^xsd:date . -<<:Journey_2018_03 trip-onto:hasStage :Stage2>> trip-onto:hasEndDate "2018-03-15"^^xsd:date . +<<:Journey_2018_03 js:hasStage :Stage2>> js:hasStartDate "2018-03-13"^^xsd:date . +<<:Journey_2018_03 js:hasStage :Stage2>> js:hasEndDate "2018-03-15"^^xsd:date . -:Stage2 a trip-onto:Journey; - trip-onto:hasStartLocation :Barcelona; - trip-onto:hasDestination :Tangier ; - trip-onto:meanOfTransportation dbr:Ferry . +:Stage2 a js:Journey; + js:hasStartLocation :Barcelona; + js:hasDestination :Tangier ; + js:meanOfTransportation dbr:Ferry . - << :Stage2 trip-onto:hasStartLocation :Barcelona >> trip-onto:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime . - << :Stage2 trip-onto:hasStartLocation :Tangier >> trip-onto:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . + << :Stage2 js:hasStartLocation :Barcelona >> js:hasDeparture "2018-03-13T09:00:00"^^xsd:dateTime . + << :Stage2 js:hasStartLocation :Tangier >> js:hasArrival "2018-03-14T14:00:00"^^xsd:dateTime . -<< :Stage2 trip-onto:meanOfTransportation dbr:Ferry >> :hasCost 150 . -<< << :Stage2 trip-onto:meanOfTransportation :Ferry >> :hasCost 150 >> trip-onto:hasCurrency currency:Euro. +<< :Stage2 js:meanOfTransportation dbr:Ferry >> :hasCost 150 . +<< << :Stage2 js:meanOfTransportation :Ferry >> :hasCost 150 >> js:hasCurrency currency:Euro. -:Stage2 trip-onto:hasParticipant :LeaD , :AdrianaM . -:Stage2 trip-onto:hasStay :StayStage2 . +:Stage2 js:hasParticipant :LeaD , :AdrianaM . +:Stage2 js:hasStay :StayStage2 . -:StayStage2 a trip-onto:Stay ; - trip-onto:hasAccommodation :AirBnBTangier . +:StayStage2 a js:Stay ; + js:hasAccommodation :AirBnBTangier . -<< :StayStage2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 . -<< << :StayStage2 trip-onto:hasAccommodation :AirBnBTangier >> trip-onto:hasCost 1040 >> trip-onto:hasCurrency currency:MoroccanDirham . +<< :StayStage2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 . +<< << :StayStage2 js:hasAccommodation :AirBnBTangier >> js:hasCost 1040 >> js:hasCurrency currency:MoroccanDirham . ### Stage Journey 3 Tangier-Rabat ### ################################### -:Journey_2018_03 trip-onto:hasStage :Stage3 . -<< :Journey_2018_03 trip-onto:hasStage :Stage3>> trip-onto:hasStartDate "2018-03-15"^^xsd:date . -<< :Journey_2018_03 trip-onto:hasStage :Stage3>> trip-onto:hasEndDate "2018-03-18"^^xsd:date. +:Journey_2018_03 js:hasStage :Stage3 . +<< :Journey_2018_03 js:hasStage :Stage3>> js:hasStartDate "2018-03-15"^^xsd:date . +<< :Journey_2018_03 js:hasStage :Stage3>> js:hasEndDate "2018-03-18"^^xsd:date. :Stage3 a :Journey; - trip-onto:hasStartLocation :Tangier; - trip-onto:hasDestination :Rabat ; - trip-onto:meanOfTransportation dbr:Car . + js:hasStartLocation :Tangier; + js:hasDestination :Rabat ; + js:meanOfTransportation dbr:Car . -<< :Stage3 trip-onto:hasStartLocation :Tangier>> trip-onto:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime . -<< :Stage3 trip-onto:hasDestination :Rabat>> trip-onto:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime . +<< :Stage3 js:hasStartLocation :Tangier>> js:hasDeparture "2018-03-15T08:00:00"^^xsd:dateTime . +<< :Stage3 js:hasDestination :Rabat>> js:hasArrival "2018-03-15T12:00:00"^^xsd:dateTime . -<< :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 . -<< << :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasDescription "Fuel" . -<< << :Stage3 trip-onto:meanOfTransportation dbr:Car >> trip-onto:hasCost 300 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 . +<< << :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasDescription "Fuel" . +<< << :Stage3 js:meanOfTransportation dbr:Car >> js:hasCost 300 >> js:hasCurrency currency:MoroccanDirham. -:Stage3 trip-onto:hasParticipant :LeaD . +:Stage3 js:hasParticipant :LeaD . -:Stage3 trip-onto:hasStay :StayStage3 . +:Stage3 js:hasStay :StayStage3 . -:StayStage3 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelRabat . +:StayStage3 a js:Stay ; + js:hasAccommodation :HotelRabat . -<< :StayStage3 trip-onto:hasAccommodation :HotelRabat >> trip-onto:hasCost 1000 . -<< << :StayStage3 trip-onto:hasAccommodation :HotelRabat >> trip-onto:hasCost 1000 >> trip-onto:hasCurrency currency:MoroccanDirham . +<< :StayStage3 js:hasAccommodation :HotelRabat >> js:hasCost 1000 . +<< << :StayStage3 js:hasAccommodation :HotelRabat >> js:hasCost 1000 >> js:hasCurrency currency:MoroccanDirham . ### Stage Journey 4 Rabat–Marakech ### #################################### -:Journey_2018_03 trip-onto:hasStage :Stage4 . +:Journey_2018_03 js:hasStage :Stage4 . -<<:Journey_2018_03 trip-onto:hasStage :Stage4>> trip-onto:hasStartDate "2018-03-18"^^xsd:date . -<<:Journey_2018_03 trip-onto:hasStage :Stage4>> trip-onto:hasEndDate "2018-03-22"^^xsd:date. +<<:Journey_2018_03 js:hasStage :Stage4>> js:hasStartDate "2018-03-18"^^xsd:date . +<<:Journey_2018_03 js:hasStage :Stage4>> js:hasEndDate "2018-03-22"^^xsd:date. -:Stage4 a trip-onto:Journey; - trip-onto:hasStartLocation :Rabat; - trip-onto:hasDestination :Marrakech ; - trip-onto:meanOfTransportation dbr:Car . +:Stage4 a js:Journey; + js:hasStartLocation :Rabat; + js:hasDestination :Marrakech ; + js:meanOfTransportation dbr:Car . -<< :Stage4 trip-onto:hasStartLocation :Rabat>> trip-onto:hasDeparture "2018-03-18T08:00:00"^^xsd:dateTime . -<< :Stage3 trip-onto:hasDestination :Marrakech>> trip-onto:hasArrival "2018-03-18T16:00:00"^^xsd:dateTime . +<< :Stage4 js:hasStartLocation :Rabat>> js:hasDeparture "2018-03-18T08:00:00"^^xsd:dateTime . +<< :Stage3 js:hasDestination :Marrakech>> js:hasArrival "2018-03-18T16:00:00"^^xsd:dateTime . -<< :Stage4 trip-onto:meanOfTransportation dbr:Car>> :hasCost 500 . -<< << :Stage4 trip-onto:meanOfTransportation dbr:Car >> :hasCost 500 >> trip-onto:hasCurrency currency:MoroccanDirham. +<< :Stage4 js:meanOfTransportation dbr:Car>> :hasCost 500 . +<< << :Stage4 js:meanOfTransportation dbr:Car >> :hasCost 500 >> js:hasCurrency currency:MoroccanDirham. -:Stage4 trip-onto:hasParticipant :LeaD . -:Stage4 trip-onto:hasStay :StayStage4 . +:Stage4 js:hasParticipant :LeaD . +:Stage4 js:hasStay :StayStage4 . -:StayStage4 a trip-onto:Stay ; - trip-onto:hasAccommodation :HotelMarrakech . +:StayStage4 a js:Stay ; + js:hasAccommodation :HotelMarrakech . -<< :StayStage4 trip-onto:hasAccommodation :HotelMarrakech >> trip-onto:hasCost 1000 . -<< << :StayStage4 trip-onto:hasAccommodation :HotelMarrakech>> trip-onto:hasCost 1000 >> trip-onto:hasCurrency currency:MoroccanDirham . +<< :StayStage4 js:hasAccommodation :HotelMarrakech >> js:hasCost 1000 . +<< << :StayStage4 js:hasAccommodation :HotelMarrakech>> js:hasCost 1000 >> js:hasCurrency currency:MoroccanDirham . ############# Journey Back to Zurich ####### -:SofiaM trip-onto:hasJourney :Journey_2018_22 . +:SofiaM js:hasJourney :Journey_2018_22 . -:Journey_2018_22 a trip-onto:Journey ; - trip-onto:hasDestination :Zurich; - trip-onto:hasStartLocation :Marrakech . +:Journey_2018_22 a js:Journey ; + js:hasDestination :Zurich; + js:hasStartLocation :Marrakech . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . -<< :SofiaM trip-onto:hasJourney :Journey_2018_22 >> trip-onto:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasDeparture "2018-03-22T10:00:00"^^xsd:dateTime . +<< :SofiaM js:hasJourney :Journey_2018_22 >> js:hasArrival "2018-03-22T14:00:00"^^xsd:dateTime . # Add Excursion || Add Dining Activity diff --git a/index.markdown b/index.markdown index af98205..fe7850b 100644 --- a/index.markdown +++ b/index.markdown @@ -29,7 +29,7 @@ defined properties for this that can be used for annotated triples. To keep this ontology generic, we have employed the existing ontologies and extended the existing definitions of the classes and properties in other ontologies such as [schema](https://schema.org/) and [Trip](http://ontology.eil.utoronto.ca/icity/Trip/Trip) -through defining subclasses. The ontology serialized in Turtle can be found [here](https://github.com/dhlab-basel/trip-ontology/blob/main/tripOntology.ttl). +through defining subclasses. The ontology serialized in Turtle can be found [here](https://github.com/dhlab-basel/JourneyStar/blob/main/journeyStar.ttl). This ontology has the prefix `js` and the namespace `http://journey-star.dhlab.unibas.ch/ontology/JourneyStar#`. From cc56bfe389fa4cd4153bcb508d0440c01662491f Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:11:43 +0200 Subject: [PATCH 09/11] spelling filename --- ...li_Basel_to_Geneva.ttl => jacob_bernoulli_Basel_to_Geneva.ttl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename example/Data/{jacon_bernoulli_Basel_to_Geneva.ttl => jacob_bernoulli_Basel_to_Geneva.ttl} (100%) diff --git a/example/Data/jacon_bernoulli_Basel_to_Geneva.ttl b/example/Data/jacob_bernoulli_Basel_to_Geneva.ttl similarity index 100% rename from example/Data/jacon_bernoulli_Basel_to_Geneva.ttl rename to example/Data/jacob_bernoulli_Basel_to_Geneva.ttl From 69bf0d411537d228a5c3d4e1926badb9b490b3ef Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:15:30 +0200 Subject: [PATCH 10/11] add namespaces --- index.markdown | 1 + journeyStar_shacl.ttl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.markdown b/index.markdown index fe7850b..ae61725 100644 --- a/index.markdown +++ b/index.markdown @@ -56,6 +56,7 @@ Below we describe a few main classes and properties of this ontology with a few @prefix trip: . @prefix activity: . @prefix js: . +@prefix js-shacl: . @prefix : . ``` diff --git a/journeyStar_shacl.ttl b/journeyStar_shacl.ttl index 9a118bb..04ceec4 100644 --- a/journeyStar_shacl.ttl +++ b/journeyStar_shacl.ttl @@ -5,7 +5,7 @@ @prefix schema: . @prefix dbr: . @prefix sh: . -@prefix js-shacl: . +@prefix js-shacl: . @prefix js: . From aec35fb98c6d9659c352e841168a91ee4b0ff669 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:32:55 +0200 Subject: [PATCH 11/11] remove redundant prefixes --- example/Data/jacob_bernoulli_Basel_to_Geneva.ttl | 7 ------- example/Data/maxrdf_tripTest.ttl | 3 --- example/Data/medrdf_tripTest.ttl | 3 --- example/Data/minrdf_tripTest.ttl | 3 --- 4 files changed, 16 deletions(-) diff --git a/example/Data/jacob_bernoulli_Basel_to_Geneva.ttl b/example/Data/jacob_bernoulli_Basel_to_Geneva.ttl index b23cfce..31d1cb8 100644 --- a/example/Data/jacob_bernoulli_Basel_to_Geneva.ttl +++ b/example/Data/jacob_bernoulli_Basel_to_Geneva.ttl @@ -1,12 +1,5 @@ -@prefix owl: . -@prefix rdf: . -@prefix rdfs: . @prefix xsd: . -@prefix currencyA: . -@prefix currency: . @prefix schema: . -@prefix wd: . -@prefix dbr: . @prefix js: . @prefix : . @base . diff --git a/example/Data/maxrdf_tripTest.ttl b/example/Data/maxrdf_tripTest.ttl index 5c6d07a..3668979 100644 --- a/example/Data/maxrdf_tripTest.ttl +++ b/example/Data/maxrdf_tripTest.ttl @@ -1,8 +1,5 @@ @prefix owl: . -@prefix rdf: . -@prefix rdfs: . @prefix xsd: . -@prefix currencyA: . @prefix currency: . @prefix schema: . @prefix dbr: . diff --git a/example/Data/medrdf_tripTest.ttl b/example/Data/medrdf_tripTest.ttl index 1b12c7f..0a2a515 100644 --- a/example/Data/medrdf_tripTest.ttl +++ b/example/Data/medrdf_tripTest.ttl @@ -1,8 +1,5 @@ @prefix owl: . -@prefix rdf: . -@prefix rdfs: . @prefix xsd: . -@prefix currencyA: . @prefix currency: . @prefix schema: . @prefix dbr: . diff --git a/example/Data/minrdf_tripTest.ttl b/example/Data/minrdf_tripTest.ttl index 3e6b869..de6b76e 100644 --- a/example/Data/minrdf_tripTest.ttl +++ b/example/Data/minrdf_tripTest.ttl @@ -1,8 +1,5 @@ @prefix owl: . -@prefix rdf: . -@prefix rdfs: . @prefix xsd: . -@prefix currencyA: . @prefix currency: . @prefix schema: . @prefix dbr: .