# WELLNESS PROFILE - P0001 @prefix : . @prefix rdf: . @prefix rdfs: . @prefix math: . @prefix log: . @prefix e: . ############## # RSVP QUERY # ############## :rsvpQuery_1 rdf:type :RSVPQuery; :profileID :p0001; :minRSVP 2; :maxRSVP 6. ############ # CALENDAR # ############ :calendar_1 rdf:type :Calendar; :profileID :p0001; :calendarID :c0001. ##################### # EVENTS - possible # ##################### :event_1 rdf:type :Event; :calendarID :c0001; :aspect ?; :tense :possible; :startTime "2009-06-15T10:15:00"; :endTime "2009-06-15T11:15:00". :event_2 rdf:type :Event; :calendarID :c0001; :aspect ?; :tense :possible; :startTime "2009-06-13T16:00:00"; :endTime "2009-06-13T17:00:00". :event_3 rdf:type :Event; :calendarID :c0001; :aspect ?; :tense :possible; :startTime "2009-12-14T14:00:00"; :endTime "2009-12-14T15:30:00". :event_4 rdf:type :Event; :calendarID :c0001; :aspect ?; :tense :possible; :startTime "2009-12-12T12:00:00"; :endTime "2009-12-12T17:00:00". ############### # PAST EVENTS # ############### :event_5 rdf:type :Event; :calendarID :c0001; :aspect :Running; :tense :past; :startTime "2009-06-12T16:00:00"; :endTime "2009-06-12T17:00:00". ####### # MAP # ####### :map_1 rdf:type :Map; :profileID :p0001; :mapID :m0001. ########################### # EXPECTED FITNESS LEVELS # ########################### :fitness_1 rdf:type :Fitness; :profileID :p0001; :startTime "2009-06-15T10:15:00"; :expectedFitness 6. :fitness_2 rdf:type :Fitness; :profileID :p0001; :startTime "2009-06-13T16:00:00"; :expectedFitness 6. :fitness_3 rdf:type :Fitness; :profileID :p0001; :startTime "2009-12-14T14:00:00"; :expectedFitness 3. :fitness_4 rdf:type :Fitness; :profileID :p0001; :startTime "2009-12-12T12:00:00"; :expectedFitness 4. ################################## # MEETUP LOCATION FITNESS LEVELS # ################################## :level_1 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :conniesStation; :duration "P10M"; :fitnessLevel 1. :level_2 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :conniesStation; :duration "P20M"; :fitnessLevel 2. :level_3 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :conniesStation; :duration "P40M"; :fitnessLevel 3. :level_4 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :conniesStation; :duration "P60M"; :fitnessLevel 4. :level_5 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :conniesStation; :duration "P80M"; :fitnessLevel 5. :level_6 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :debbiesValley; :duration "P10M"; :fitnessLevel 2. :level_7 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :debbiesValley; :duration "P20M"; :fitnessLevel 3. :level_8 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :debbiesValley; :duration "P40M"; :fitnessLevel 4. :level_9 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :debbiesValley; :duration "P60M"; :fitnessLevel 5. :level_10 rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location :debbiesValley; :duration "P80M"; :fitnessLevel 7. :level_11 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :conniesStation; :duration "P10M"; :fitnessLevel 3. :level_12 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :conniesStation; :duration "P20M"; :fitnessLevel 4. :level_13 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :conniesStation; :duration "P40M"; :fitnessLevel 5. :level_14 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :conniesStation; :duration "P60M"; :fitnessLevel 8. :level_15 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :conniesStation; :duration "P80M"; :fitnessLevel 9. :level_16 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :petersWagon; :duration "P10M"; :fitnessLevel 2. :level_17 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :petersWagon; :duration "P20M"; :fitnessLevel 3. :level_18 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :petersWagon; :duration "P40M"; :fitnessLevel 5. :level_19 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :petersWagon; :duration "P60M"; :fitnessLevel 7. :level_20 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :petersWagon; :duration "P80M"; :fitnessLevel 10. :level_21 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :allensBrook; :duration "P10M"; :fitnessLevel 1. :level_22 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :allensBrook; :duration "P20M"; :fitnessLevel 2. :level_23 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :allensBrook; :duration "P40M"; :fitnessLevel 4. :level_24 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :allensBrook; :duration "P60M"; :fitnessLevel 6. :level_25 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location :allensBrook; :duration "P80M"; :fitnessLevel 8. :level_26 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location :johnsPool; :duration "P10M"; :fitnessLevel 2. :level_27 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location :johnsPool; :duration "P20M"; :fitnessLevel 3. :level_28 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location :johnsPool; :duration "P40M"; :fitnessLevel 4. :level_29 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location :johnsPool; :duration "P60M"; :fitnessLevel 5. :level_30 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location :johnsPool; :duration "P80M"; :fitnessLevel 7. :level_31 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location :sandrasLake; :duration "P10M"; :fitnessLevel 3. :level_32 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location :sandrasLake; :duration "P20M"; :fitnessLevel 4. :level_33 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location :sandrasLake; :duration "P40M"; :fitnessLevel 5. :level_34 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location :sandrasLake; :duration "P60M"; :fitnessLevel 6. :level_35 rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location :sandrasLake; :duration "P80M"; :fitnessLevel 9. :level_36 rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location :sandrasLake; :duration "P10M"; :fitnessLevel 2. :level_37 rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location :sandrasLake; :duration "P20M"; :fitnessLevel 3. :level_38 rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location :sandrasLake; :duration "P40M"; :fitnessLevel 5. :level_39 rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location :sandrasLake; :duration "P60M"; :fitnessLevel 7. :level_40 rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location :sandrasLake; :duration "P80M"; :fitnessLevel 8. :level_41 rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location :lukesHall; :duration "P10M"; :fitnessLevel 1. :level_42 rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location :lukesHall; :duration "P20M"; :fitnessLevel 2. :level_43 rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location :lukesHall; :duration "P40M"; :fitnessLevel 3. :level_44 rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location :lukesHall; :duration "P60M"; :fitnessLevel 4. :level_45 rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location :lukesHall; :duration "P80M"; :fitnessLevel 5. :level_46 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location :joesGym; :duration "P60M"; :fitnessLevel 5. :level_47 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location :joesGym; :duration "P80M"; :fitnessLevel 7. :level_48 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location :joesGym; :duration "P80M"; :fitnessLevel 8. :level_49 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location :joesGym; :duration "P80M"; :fitnessLevel 9. :level_50 rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location :joesGym; :duration "P80M"; :fitnessLevel 10. ######################### # PREFERRED GROUP SIZES # ######################### :groupSize_1 rdf:type :GroupSize; :profileID :p0001; :activity :walk; :inOut :out; :min 1; :max 20. :groupSize_2 rdf:type :GroupSize; :profileID :p0001; :activity :run; :inOut :out; :min 2; :max 8. :groupSize_3 rdf:type :GroupSize; :profileID :p0001; :activity :swim; :inOut :in; :min 1; :max 3. :groupSize_4 rdf:type :GroupSize; :profileID :p0001; :activity :swim; :inOut :out; :min 2; :max 4. :groupSize_5 rdf:type :GroupSize; :profileID :p0001; :activity :skate; :inOut :out; :min 1; :max 12. :groupSize_6 rdf:type :GroupSize; :profileID :p0001; :activity :yoga; :inOut :in; :min 1; :max 7. :groupSize_6 rdf:type :GroupSize; :profileID :p0001; :activity :run; :inOut :in; :min 2; :max 6. ############################## # ACTIVITIES - WALKING (OUT) # ############################## { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Walking; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :walk; :inOut :out; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value :summer. ?forecast rdf:type :Forecast; :startTime ?StartTime; :aspect :sky; :value ?Weather. ?Weather log:notEqualTo :raining. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :walk; :inOut :out; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :walk; :inOut :out; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Walking; :inOut :out; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ############################## # ACTIVITIES - RUNNING (OUT) # ############################## { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Running; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :run; :inOut :out; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value ?TheSeason. ?TheSeason log:notEqualTo :winter. ?forecast rdf:type :Forecast; :startTime ?StartTime; :aspect :sky; :value ?Weather. ?Weather log:notEqualTo :raining. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :run; :inOut :out; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :run; :inOut :out; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Running; :inOut :out; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ############################# # ACTIVITIES - RUNNING (IN) # ############################# { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Running; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?yesterday rdf:type :Yesterday; :startTime ?StartTime; :startTimeYDay ?StartTimeYDay; :endTime ?EndTime; :endTimeYDay ?EndTimeYDay. ?SCP e:findall (?event_2 {?event_2 rdf:type :Event; :calendarID ?CalendarID; :aspect :Running; :tense :past; :startTime ?StartTimeYDay; :endTime ?EndTimeYDay.} ()). ?participation rdf:type :Participation; :profileID :p0001; :activity :run; :inOut :in; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value :summer. ?forecast rdf:type :Forecast; :startTime ?StartTime; :aspect :temperature; :value ?Temp. ?Temp math:notLessThan 20. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :run; :inOut :in; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :run; :inOut :in; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Running; :inOut :in; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ############################## # ACTIVITIES - SWIMMING (IN) # ############################## { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Swimming; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :swim; :inOut :in; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value :winter. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :swim; :inOut :in; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :in; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Swimming; :inOut :in; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ############################### # ACTIVITIES - SWIMMING (OUT) # ############################### { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Swimming; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :swim; :inOut :out; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value :summer. ?forecast rdf:type :Forecast; :startTime ?StartTime; :aspect :sky; :value :sunny. ?forecast_2 rdf:type :Forecast; :startTime ?StartTime; :aspect :temperature; :value ?Temp. ?Temp math:notLessThan 27. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :swim; :inOut :out; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :swim; :inOut :out; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Swimming; :inOut :out; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ############################ # ACTIVITIES - SKATE (OUT) # ############################ { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Skating; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :skate; :inOut :out; :min ?MinRSVP; :max ?MaxRSVP. ?season rdf:type :Season; :startTime ?StartTime; :value :winter. ?forecast rdf:type :Forecast; :startTime ?StartTime; :aspect :sky; :value ?Weather. ?forecast_2 rdf:type :Forecast; :startTime ?StartTime; :aspect :temperature; :value ?Temp. ?Weather log:notEqualTo :snowing. ?Temp math:notGreaterThan 0. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :skate; :inOut :out; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :skate; :inOut :out; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Skating; :inOut :out; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }. ########################## # ACTIVITIES - YOGA (IN) # ########################## { ?calendar rdf:type :Calendar; :profileID :p0001; :calendarID ?CalendarID. ?event rdf:type :Event; :calendarID ?CalendarID; :aspect :Yoga; :tense :possible; :startTime ?StartTime; :endTime ?EndTime. ?participation rdf:type :Participation; :profileID :p0001; :activity :yoga; :inOut :in; :min ?MinRSVP; :max ?MaxRSVP. ?map rdf:type :Map; :profileID :p0001; :mapID ?MapID. ?meetup rdf:type :Meetup; :mapID ?MapID; :activity :yoga; :inOut :in; :location ?Place. ?level rdf:type :Level; :profileID :p0001; :activity :yoga; :inOut :in; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. ?fitness rdf:type :Fitness; :profileID :p0001; :startTime ?StartTime; :expectedFitness ?ExpectedFitness. ?ExpectedFitness math:notLessThan ?FitnessLevel. ?goodDuration rdf:type :GoodDuration; :duration ?Duration; :startTime ?StartTime; :endTime ?EndTime. } => { _:myActivity rdf:type :MyActivity; :profileID :p0001; :activity :Yoga; :inOut :in; :minRSVP ?MinRSVP; :maxRSVP ?MaxRSVP; :startTime ?StartTime; :endTime ?EndTime; :location ?Place; :duration ?Duration; :fitnessLevel ?FitnessLevel. }.