Simple Question (Direct)
Simple Question
Q6231956
P1196
Q1914636
USER
Which activity best describes with type of death of John Etter Clark ?
(Q6231956,P1196,c(Q1914636))
action filter_type
action find
entity Q6231956
relation P1196
type Q1914636
['Q6231956', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q6231956 property:P1196 ?v . ?v rdf:type ontology:Q1914636 }
John Etter Clark
action filter_type
action find
entity John Etter Clark
relation manner of death
type activity
['John Etter Clark', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:John_Etter_Clark property:manner_of_death ?v . ?v rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q6231956,P1196,c(Q1914636))
action filter_type
action find
entity Q6231956
relation P1196
type Q1914636
[ANSWER] best describes with type of death of John Etter Clark
['Q6231956', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q6231956 property:P1196 ?v . ?v rdf:type ontology:Q1914636 }
suicide
Suicide best describes with type of death of John Etter Clark
suicide
action filter_type
action find
entity John Etter Clark
relation manner of death
type activity
['John Etter Clark', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:John_Etter_Clark property:manner_of_death ?v . ?v rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10737
P921
Q838948
USER
What are that activity a main subject of ?
(c(Q838948),P921,Q10737)
action filter_type
action find_reverse
entity Q10737
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q10737']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q10737 . ?i rdf:type ontology:Q838948 }
suicide
action filter_type
action find_reverse
entity suicide
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'suicide']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:suicide . ?i rdf:type ontology:work_of_art }
[]
work of art
Q110278 Q157044 Q1653396
SYSTEM
Vanilla Sky, The Hours, Sin City: A Dame to Kill For
Q492455 Q6199111 Q7858909 Q7743706 Q501749 Q1595847 Q2740346 Q681092 Q3110449 Q3265568 Q6691692 Q499515 Q7771463 Q1653396 Q6946469 Q1410288 Q1740171 Q3072646 Q1123479 Q686533 Q1093085 Q216269 Q594649 Q1142950 Q1057774 Q1156769 Q3007582 Q961403 Q202548 Q2002073 Q5303159 Q300559 Q368577 Q5245315 Q493559 Q18533961 Q2034354 Q2093499 Q939163 Q1469774 Q1551916 Q526162 Q157044 Q3988393 Q2340418 Q110278 Q280918 Q657977 Q15043378 Q659756 Q15043376 Q3050405 Q463313 Q486803 Q1342540 Q80318 Q902480 Q1659640 Q184255 Q7602981 Q1616729 Q477370 Q703188 Q221992 Q7637438 Q1129186 Q5557242 Q4659170 Q214013 Q976061 Q229633 Q1507790 Q4385210 Q2574952 Q3511728 Q1679872 Q1508993 Q7077577 Q635924 Q340130 Q737870 Q2095992 Q3388893 Q1095356 Q475693 Q794178 Q570221 Q4067950 Q210873 Q2850218 Q6307469 Q22244926 Q7635333 Q7635337 Q1535050 Q950029 Q668357 Q4952080 Q1278929 Q638799 Q178568 Q4997639 Q2091985 Q602289 Q976982 Q643283 Q2548513 Q1508772 Q1033396 Q675468 Q1783897 Q533383 Q4004245 Q1423971 Q3110707 Q6495200 Q3868909 Q2985421
(c(Q838948),P921,Q10737)
action filter_type
action find_reverse
entity Q10737
relation P921
type Q838948
That activity a main subject of are the [ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q10737']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q10737 . ?i rdf:type ontology:Q838948 }
Bleak Night Jim in Bold Two Days The Joy of Life Paco Les amitiés particulières The Kovak Box The Happening Hatter's Castle Asylum Love and Suicide Ben X The Unforgiven Sin City: A Dame to Kill For My Suicidal Sweetheart The Chumscrubber Mishima: A Life in Four Chapters Le courage d'aimer The Number 23 Gods and Monsters The Big Heat 23 Colonel Redl Lilya 4-ever Noriko's Dinner Table Suicide Club Cuore Sacro Interiors Vertigo Wristcutters: A Love Story Downhearted Duckling A Single Man Harold and Maude Dead Man on Campus The Suicide Forecast Announce Earthquakes Kill Me Later Psychomania Chelsea Walls On the Beach Heathers Last Days The Hours The Moth Diaries Van de koele meren des doods Vanilla Sky Leaving Las Vegas Salò, or the 120 Days of Sodom SilkAir 185: Pilot Suicide? Shutter Love and Suicide Wilby Wonderful Romeo + Juliet Poetry To Save a Life Ken Park Lost and Delirious Imaginary Heroes Million Dollar Baby State's Evidence Love Liza Heart of America Veronika Voss 2:37 Summer Solstice Control Ghost in Love A Reason to Live 21 Grams Elvira Madigan 3 Idiots Rails & Ties Blessed by Fire Khamosh Pani Soeur Sourire Monsieur Lazhar The Last Time I Committed Suicide Ode to Billy Joe Seven Pounds Whose Life Is It Anyway? To Write Love on Her Arms The Slender Thread Triple Dog Suicide Room Oldboy Taste of Cherry Reuben, Reuben Apartment 1303 3D Leave Her to Heaven Anjaana Anjaani Julian Po Christine Suicide Dolls Suicide Manual The Death of Kevin Carter: Casualty of the Bang Bang Club The Bridge The Good Girl Boy Interrupted Turtles Can Fly Pretty Persuasion Der Todesking Bungee Jumping of Their Own The Power and the Glory The Pallbearer Double Suicide Women on the Verge of a Nervous Breakdown Romulus, My Father It's Kind of a Funny Story Cannibal The Perks of Being a Wallflower Veronika Decides to Die The Room 'night, Mother The Virgin Suicides Goodbye Solo Late Blossom Archie's Final Project It's My Party
That activity a main subject of are the Vanilla Sky, The Hours and Sin City: A Dame to Kill For
Vanilla Sky The Hours Sin City: A Dame to Kill For
action filter_type
action find_reverse
entity suicide
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'suicide']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:suicide . ?i rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q110278
P161
Q502895
USER
How many people were casted in Vanilla Sky ?
(Q110278,P161,c(Q502895))
action count
action filter_type
action find
entity Q110278
relation P161
type Q502895
['Q110278', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q110278 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Vanilla Sky
action count
action filter_type
action find
entity Vanilla Sky
relation cast member
type common name
['Vanilla Sky', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Vanilla_Sky property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
37
Q6274324 Q4119932 Q318231 Q6178348 Q1543188 Q312051 Q719083 Q6232847 Q4119466 Q2151703 Q7095358 Q273662 Q2572165 Q37079 Q563177 Q236247 Q2325642 Q200534 Q5026410 Q13560783 Q8877 Q7030204 Q41449 Q444435 Q39666 Q2924500 Q287824 Q7358535 Q4960 Q257165 Q232999 Q44380 Q331748 Q266067 Q103157 Q295739 Q486740
(Q110278,P161,c(Q502895))
action count
action filter_type
action find
entity Q110278
relation P161
type Q502895
[ANSWER]
['Q110278', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q110278 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Jonathan Sanger Mark Pinter William Mapother Jennifer Gimenez Jean Carol Ken Leung Mark Kozelek John Fedevich Tim Hopper James Murtaugh Oona Hart Shalom Harlow William Earl Brown Tom Cruise Noah Taylor Alicia Witt Stacey Sher Tilda Swinton Cameron Watson Jane Pratt Steven Spielberg Nicole Taylor Hart Michael Shannon Jennifer Aspen Penélope Cruz Brent Sexton Timothy Spall Roger Lim Jason Lee Ivana Miličević Tara Lipinski Cameron Diaz Tommy Lee Laura Fraser Kurt Russell Johnny Galecki Conan O'Brien
37
action count
action filter_type
action find
entity Vanilla Sky
relation cast member
type common name
['Vanilla Sky', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Vanilla_Sky property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6817859
P161
Q502895
USER
And also tell me about Mera Gaon Mera Desh?
(Q6817859,P161,c(Q502895))
action count
action filter_type
action find
entity Q6817859
relation P161
type Q502895
['Q6817859', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q6817859 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Mera Gaon Mera Desh
action count
action filter_type
action find
entity Mera Gaon Mera Desh
relation cast member
type common name
['Mera Gaon Mera Desh', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Mera_Gaon_Mera_Desh property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q3595311 Q2038656 Q379157
(Q6817859,P161,c(Q502895))
action count
action filter_type
action find
entity Q6817859
relation P161
type Q502895
[ANSWER]
['Q6817859', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q6817859 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Asha Parekh Vinod Khanna Dharmendra
3
action count
action filter_type
action find
entity Mera Gaon Mera Desh
relation cast member
type common name
['Mera Gaon Mera Desh', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Mera_Gaon_Mera_Desh property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q567531
Q502895
USER
And what about The Dirty Game?
(Q567531,P161,c(Q502895))
action count
action filter_type
action find
entity Q567531
relation P161
type Q502895
['Q567531', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q567531 property:P161 ?m . ?m rdf:type ontology:Q502895 }
The Dirty Game
action count
action filter_type
action find
entity The Dirty Game
relation cast member
type common name
['The Dirty Game', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:The_Dirty_Game property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
21
(Q567531,P161,c(Q502895))
action count
action filter_type
action find
entity Q567531
relation P161
type Q502895
[ANSWER]
['Q567531', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q567531 property:P161 ?m . ?m rdf:type ontology:Q502895 }
21
action count
action filter_type
action find
entity The Dirty Game
relation cast member
type common name
['The Dirty Game', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:The_Dirty_Game property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6231956
P39
Q12737077
USER
What was the position for which John Etter Clark was appointed ?
(Q6231956,P39,c(Q12737077))
action filter_type
action find
entity Q6231956
relation P39
type Q12737077
['Q6231956', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6231956 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
John Etter Clark
action filter_type
action find
entity John Etter Clark
relation position held
type occupation
['John Etter Clark', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:John_Etter_Clark property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q15964815
SYSTEM
member of Alberta Legislative Assembly
Q15964815
(Q6231956,P39,c(Q12737077))
action filter_type
action find
entity Q6231956
relation P39
type Q12737077
In [ANSWER]
['Q6231956', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6231956 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of Alberta Legislative Assembly
In member of Alberta Legislative Assembly
member of Alberta Legislative Assembly
action filter_type
action find
entity John Etter Clark
relation position held
type occupation
['John Etter Clark', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:John_Etter_Clark property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6231956
P102
Q7210356
USER
Which political organization is John Etter Clark a member of ?
(Q6231956,P102,c(Q7210356))
action filter_type
action find
entity Q6231956
relation P102
type Q7210356
['Q6231956', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q6231956 property:P102 ?k }
John Etter Clark
action filter_type
action find
entity John Etter Clark
relation member of political party
type political organization
['John Etter Clark', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:John_Etter_Clark property:member_of_political_party ?k }
[]
political organization
Q1518382
SYSTEM
Alberta Social Credit Party
Q1518382
(Q6231956,P102,c(Q7210356))
action filter_type
action find
entity Q6231956
relation P102
type Q7210356
[ANSWER] is John Etter Clark a member of
['Q6231956', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q6231956 property:P102 ?k }
Alberta Social Credit Party
Alberta Social Credit Party is John Etter Clark a member of
Alberta Social Credit Party
action filter_type
action find
entity John Etter Clark
relation member of political party
type political organization
['John Etter Clark', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:John_Etter_Clark property:member_of_political_party ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1518382
P159
Q2089229
USER
Which city in Alberta is the HQ of that political organization ?
(Q1518382,P159,c(Q2089229))
action filter_type
action find
entity Q1518382
relation P159
type Q2089229
['Q1518382', 'P159', {'concept': 'Q2089229'}]
SELECT DISTINCT ?y WHERE { resource:Q1518382 property:P159 ?y . ?y rdf:type ontology:Q2089229 }
Alberta Social Credit Party
action filter_type
action find
entity Alberta Social Credit Party
relation headquarters location
type city in Alberta
['Alberta Social Credit Party', 'headquarters location', {'concept': 'city in Alberta'}]
SELECT DISTINCT ?y WHERE { resource:Alberta_Social_Credit_Party property:headquarters_location ?y . ?y rdf:type ontology:city_in_Alberta }
[]
city in Alberta
Q36312
SYSTEM
Calgary
Q36312
(Q1518382,P159,c(Q2089229))
action filter_type
action find
entity Q1518382
relation P159
type Q2089229
[ANSWER] is the HQ of that political organization
['Q1518382', 'P159', {'concept': 'Q2089229'}]
SELECT DISTINCT ?y WHERE { resource:Q1518382 property:P159 ?y . ?y rdf:type ontology:Q2089229 }
Calgary
Calgary is the HQ of that political organization
Calgary
action filter_type
action find
entity Alberta Social Credit Party
relation headquarters location
type city in Alberta
['Alberta Social Credit Party', 'headquarters location', {'concept': 'city in Alberta'}]
SELECT DISTINCT ?y WHERE { resource:Alberta_Social_Credit_Party property:headquarters_location ?y . ?y rdf:type ontology:city_in_Alberta }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q36312 Q843043 Q2093942
P190
Q515
USER
Is that city in Alberta a sister city of Sárvár and Smiřice ?
(Q36312,P190,Q843043) (Q36312,P190,Q2093942)
action is_in
entity Q36312
action intersection
action find_reverse
entity Q843043
relation P190
action find_reverse
entity Q2093942
relation P190
['Q36312', 'P190', 'Q843043'] ['Q36312', 'P190', 'Q2093942']
ASK WHERE { resource:Q36312 property:P190 resource:Q843043 . resource:Q36312 property:P190 resource:Q2093942 }
Calgary Sárvár Smiřice
action is_in
entity Calgary
action intersection
action find_reverse
entity Sárvár
relation sister city
action find_reverse
entity Smiřice
relation sister city
['Calgary', 'sister city', 'Sárvár'] ['Calgary', 'sister city', 'Smiřice']
ASK WHERE { resource:Calgary property:sister_city resource:Sárvár . resource:Calgary property:sister_city resource:Smiřice }
[]
city
SYSTEM
NO
(Q36312,P190,Q843043) (Q36312,P190,Q2093942)
action is_in
entity Q36312
action intersection
action find_reverse
entity Q843043
relation P190
action find_reverse
entity Q2093942
relation P190
[ANSWER]
['Q36312', 'P190', 'Q843043'] ['Q36312', 'P190', 'Q2093942']
ASK WHERE { resource:Q36312 property:P190 resource:Q843043 . resource:Q36312 property:P190 resource:Q2093942 }
No
action is_in
entity Calgary
action intersection
action find_reverse
entity Sárvár
relation sister city
action find_reverse
entity Smiřice
relation sister city
['Calgary', 'sister city', 'Sárvár'] ['Calgary', 'sister city', 'Smiřice']
ASK WHERE { resource:Calgary property:sister_city resource:Sárvár . resource:Calgary property:sister_city resource:Smiřice }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36312
P551
Q502895
USER
Which people dwell at Calgary ?
(c(Q502895),P551,Q36312)
action filter_type
action find_reverse
entity Q36312
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q36312']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q36312 . ?y rdf:type ontology:Q502895 }
Calgary
action filter_type
action find_reverse
entity Calgary
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Calgary']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Calgary . ?y rdf:type ontology:common_name }
[]
common name
Q279318 Q374118 Q15994926
SYSTEM
Tonny de Jong, Adrian Scheidegger, Helen Belyea
Q16170600 Q2903317 Q6384658 Q1041552 Q15994926 Q1681404 Q279318 Q1000799 Q1909271 Q2160105 Q374118 Q1738307 Q20828285
(c(Q502895),P551,Q36312)
action filter_type
action find_reverse
entity Q36312
relation P551
type Q502895
[ANSWERS] dwell at Calgary
[{'concept': 'Q502895'}, 'P551', 'Q36312']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q36312 . ?y rdf:type ontology:Q502895 }
Jeth Weinrich Bill Phipps Keith Loach Carla Pavan Helen Belyea Jamie Landry Tonny de Jong Herbert Greenfield Matt Skolnik Robynne Thompson Adrian Scheidegger Kelly Forbes Beverley Anderson-Abbs
Tonny de Jong, Adrian Scheidegger and Helen Belyea dwell at Calgary
Tonny de Jong Adrian Scheidegger Helen Belyea
action filter_type
action find_reverse
entity Calgary
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Calgary']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Calgary . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q279318 Q374118 Q15994926
P21
Q290
USER
Which sexes do Tonny de Jong, Adrian Scheidegger and Helen Belyea belong to ?
(Q279318,P21,c(Q290)) (Q374118,P21,c(Q290)) (Q15994926,P21,c(Q290))
action union
action filter_type
action find
entity Q279318
relation P21
type Q290
action filter_type
action find
entity Q374118
relation P21
type Q290
action filter_type
action find
entity Q15994926
relation P21
type Q290
['Q279318', 'P21', {'concept': 'Q290'}] ['Q374118', 'P21', {'concept': 'Q290'}] ['Q15994926', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { resource:Q279318 property:P21 ?a . ?a rdf:type ontology:Q290 } UNION { resource:Q374118 property:P21 ?a . ?a rdf:type ontology:Q290 } }
Tonny de Jong Adrian Scheidegger Helen Belyea
action union
action filter_type
action find
entity Tonny de Jong
relation gender
type sex
action filter_type
action find
entity Adrian Scheidegger
relation gender
type sex
action filter_type
action find
entity Helen Belyea
relation gender
type sex
['Tonny de Jong', 'gender', {'concept': 'sex'}] ['Adrian Scheidegger', 'gender', {'concept': 'sex'}] ['Helen Belyea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { resource:Tonny_de_Jong property:gender ?a . ?a rdf:type ontology:sex } UNION { resource:Adrian_Scheidegger property:gender ?a . ?a rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q279318,P21,c(Q290)) (Q374118,P21,c(Q290)) (Q15994926,P21,c(Q290))
action union
action filter_type
action find
entity Q279318
relation P21
type Q290
action filter_type
action find
entity Q374118
relation P21
type Q290
action filter_type
action find
entity Q15994926
relation P21
type Q290
[ANSWERS]
['Q279318', 'P21', {'concept': 'Q290'}] ['Q374118', 'P21', {'concept': 'Q290'}] ['Q15994926', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { resource:Q279318 property:P21 ?a . ?a rdf:type ontology:Q290 } UNION { resource:Q374118 property:P21 ?a . ?a rdf:type ontology:Q290 } }
female male female
Tonny de Jong , Adrian Scheidegger and Helen Belyea belong to the female, male and female
female male female
action union
action filter_type
action find
entity Tonny de Jong
relation gender
type sex
action filter_type
action find
entity Adrian Scheidegger
relation gender
type sex
action filter_type
action find
entity Helen Belyea
relation gender
type sex
['Tonny de Jong', 'gender', {'concept': 'sex'}] ['Adrian Scheidegger', 'gender', {'concept': 'sex'}] ['Helen Belyea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { resource:Tonny_de_Jong property:gender ?a . ?a rdf:type ontology:sex } UNION { resource:Adrian_Scheidegger property:gender ?a . ?a rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15964815
P17
Q1048835
USER
Which political territory does member of Alberta Legislative Assembly belong to ?
(Q15964815,P17,c(Q1048835))
action filter_type
action find
entity Q15964815
relation P17
type Q1048835
['Q15964815', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q15964815 property:P17 ?b }
member of Alberta Legislative Assembly
action filter_type
action find
entity member of Alberta Legislative Assembly
relation country
type political territorial entity
['member of Alberta Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:member_of_Alberta_Legislative_Assembly property:country ?b }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q15964815,P17,c(Q1048835))
action filter_type
action find
entity Q15964815
relation P17
type Q1048835
Member of Alberta Legislative Assembly belongs to of [ANSWER]
['Q15964815', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q15964815 property:P17 ?b }
Canada
Member of Alberta Legislative Assembly belongs to of Canada
Canada
action filter_type
action find
entity member of Alberta Legislative Assembly
relation country
type political territorial entity
['member of Alberta Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:member_of_Alberta_Legislative_Assembly property:country ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5012222
Q1048835
USER
And what about CJTR-FM?
(Q5012222,P17,c(Q1048835))
action filter_type
action find
entity Q5012222
relation P17
type Q1048835
['Q5012222', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q5012222 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
CJTR-FM
action filter_type
action find
entity CJTR-FM
relation country
type political territorial entity
['CJTR-FM', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:CJTR-FM property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q5012222,P17,c(Q1048835))
action filter_type
action find
entity Q5012222
relation P17
type Q1048835
[ANSWER]
['Q5012222', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q5012222 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find
entity CJTR-FM
relation country
type political territorial entity
['CJTR-FM', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:CJTR-FM property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]