Simple Question (Direct)
Simple Question
Q1900776
P6
Q502895
USER
Which person does Ivars d'Urgell serve as the head of government for ?
(Q1900776,P6,c(Q502895))
action filter_type
action find
entity Q1900776
relation P6
type Q502895
['Q1900776', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1900776 property:P6 ?c }
Ivars d'Urgell
action filter_type
action find
entity Ivars d'Urgell
relation head of government
type common name
["Ivars d'Urgell", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Ivars_d'Urgell property:head_of_government ?c }
[]
common name
Q14087759
SYSTEM
Ramón María Guiu Pujol
Q14087759
(Q1900776,P6,c(Q502895))
action filter_type
action find
entity Q1900776
relation P6
type Q502895
Ivars d' Urgell serves with [ANSWER] as the head of government for
['Q1900776', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1900776 property:P6 ?c }
Ramón María Guiu Pujol
Ivars d' Urgell serves with Ramón María Guiu Pujol as the head of government for
Ramón María Guiu Pujol
action filter_type
action find
entity Ivars d'Urgell
relation head of government
type common name
["Ivars d'Urgell", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Ivars_d'Urgell property:head_of_government ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14087759
P106
Q12737077
USER
What is the job of that person ?
(Q14087759,P106,c(Q12737077))
action filter_type
action find
entity Q14087759
relation P106
type Q12737077
['Q14087759', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q14087759 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Ramón María Guiu Pujol
action filter_type
action find
entity Ramón María Guiu Pujol
relation occupation
type occupation
['Ramón María Guiu Pujol', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ramón_María_Guiu_Pujol property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q14087759,P106,c(Q12737077))
action filter_type
action find
entity Q14087759
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q14087759', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q14087759 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Ramón María Guiu Pujol
relation occupation
type occupation
['Ramón María Guiu Pujol', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ramón_María_Guiu_Pujol property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P921
Q223393
USER
Which literary genre was primarily based on that occupation ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q82955 . ?q rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:politician . ?q rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
The [ANSWER] was primarily based on that occupation
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q82955 . ?q rdf:type ontology:Q223393 }
worldstatesmen
The worldstatesmen was primarily based on that occupation
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:politician . ?q rdf:type ontology:literary_genre }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21815179 Q18846372 Q82955
P921
Q12737077
USER
Does that literary genre have Member of the Executive Council of Manitoba and politician as its main topic ?
(Q21815179,P921,Q18846372) (Q21815179,P921,Q82955)
action is_in
entity Q21815179
action intersection
action find_reverse
entity Q18846372
relation P921
action find_reverse
entity Q82955
relation P921
['Q21815179', 'P921', 'Q18846372'] ['Q21815179', 'P921', 'Q82955']
ASK WHERE { resource:Q21815179 property:P921 resource:Q18846372 . resource:Q21815179 property:P921 resource:Q82955 }
worldstatesmen Member of the Executive Council of Manitoba politician
action is_in
entity worldstatesmen
action intersection
action find_reverse
entity Member of the Executive Council of Manitoba
relation main subject
action find_reverse
entity politician
relation main subject
['worldstatesmen', 'main subject', 'Member of the Executive Council of Manitoba'] ['worldstatesmen', 'main subject', 'politician']
ASK WHERE { resource:worldstatesmen property:main_subject resource:Member_of_the_Executive_Council_of_Manitoba . resource:worldstatesmen property:main_subject resource:politician }
[]
occupation
SYSTEM
NO and YES respectively
(Q21815179,P921,Q18846372) (Q21815179,P921,Q82955)
action is_in
entity Q21815179
action intersection
action find_reverse
entity Q18846372
relation P921
action find_reverse
entity Q82955
relation P921
[ANSWER]
['Q21815179', 'P921', 'Q18846372'] ['Q21815179', 'P921', 'Q82955']
ASK WHERE { resource:Q21815179 property:P921 resource:Q18846372 . resource:Q21815179 property:P921 resource:Q82955 }
NO and YES respectively
action is_in
entity worldstatesmen
action intersection
action find_reverse
entity Member of the Executive Council of Manitoba
relation main subject
action find_reverse
entity politician
relation main subject
['worldstatesmen', 'main subject', 'Member of the Executive Council of Manitoba'] ['worldstatesmen', 'main subject', 'politician']
ASK WHERE { resource:worldstatesmen property:main_subject resource:Member_of_the_Executive_Council_of_Manitoba . resource:worldstatesmen property:main_subject resource:politician }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11841
P674
Q502895 Q15619164 Q223393
USER
How many literary genres have the character lesser number of people or abstract beings than Cinderella ?
(c(Q223393),P674,c(Q502895)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P674
type Q223393
type Q502895
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action count
action filter_multi_types
action find
entity Q11841
relation P674
type Q502895
type Q15619164
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?g WHERE { { ?g property:P674 ?k . ?k rdf:type ontology:Q15619164 . ?g rdf:type ontology:Q223393 } UNION { ?g property:P674 ?k . ?g rdf:type ontology:Q223393 . ?k rdf:type ontology:Q502895 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q11841 property:P674 ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?v < ?n ) }
Cinderella
action count
action less
action union
action find_tuple_counts
relation characters
type literary genre
type common name
action find_tuple_counts
relation characters
type literary genre
type abstract being
action count
action filter_multi_types
action find
entity Cinderella
relation characters
type common name
type abstract being
[{'concept': 'literary genre'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?g WHERE { { ?g property:characters ?k . ?k rdf:type ontology:abstract_being . ?g rdf:type ontology:literary_genre } UNION { ?g property:characters ?k . ?g rdf:type ontology:literary_genre . ?k rdf:type ontology:common_name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Cinderella property:characters ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:abstract_being ) } } } } . FILTER ( ?v < ?n ) }
[]
common name abstract being literary genre
SYSTEM
107
Q15090995 Q692374 Q1094049 Q240358 Q17631737 Q1477843 Q15091341 Q16653695 Q7739198 Q764318 Q926746 Q1122722 Q15090981 Q15090984 Q978891 Q531676 Q15091014 Q2090062 Q15091019 Q15091344 Q840339 Q1093839 Q15091290 Q831556 Q1094573 Q3986390 Q15091000 Q1747447 Q1753161 Q7718450 Q15091166 Q4395895 Q651424 Q15091168 Q1069560 Q15091284 Q765615 Q35160 Q1443582 Q15091287 Q2260098 Q15091280 Q11716256 Q15091066 Q15091329 Q15091070 Q15091073 Q15091325 Q1094143 Q3795335 Q1093607 Q5984367 Q266395 Q15090953 Q857836 Q11831 Q15091102 Q2891432 Q1093690 Q1061779 Q13390016 Q383811 Q15091334 Q2703893 Q378168 Q7540460 Q6189671 Q15091297 Q1093614 Q5984390 Q9362463 Q3792660 Q15091119 Q15091115 Q1141815 Q15091005 Q15091304 Q15091301 Q4369850 Q15091125 Q1093970 Q17304994 Q15091122 Q16651073 Q3223440 Q15074331 Q16654047 Q15091129 Q2891519 Q15091314 Q1029999 Q4378273 Q4439291 Q15090967 Q1088946 Q16651670 Q15091137 Q5984401 Q1429923 Q9192501 Q977202 Q2512207 Q2891569 Q5003827 Q2891564 Q30604 Q2966018
(c(Q223393),P674,c(Q502895)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P674
type Q223393
type Q502895
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action count
action filter_multi_types
action find
entity Q11841
relation P674
type Q502895
type Q15619164
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?g WHERE { { ?g property:P674 ?k . ?k rdf:type ontology:Q15619164 . ?g rdf:type ontology:Q223393 } UNION { ?g property:P674 ?k . ?g rdf:type ontology:Q223393 . ?k rdf:type ontology:Q502895 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q11841 property:P674 ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?v < ?n ) }
Counterfeit for Murder Galley Slave The Invader of Fort Duckburg Batman: The Killing Joke The Herb of Death The Adventures of Alix Invitation to Murder The Double Clue The Heart of a Monkey Two Gallants The Terror of the Transvaal All Star Batman and Robin the Boy Wonder Cordially Invited to Meet Death Omit Flowers A Dame to Kill For Queen of the Black Coast Immune to Murder Beyond the Black River Man Alive Kill Now—Pay Later Rich man and Lazarus The New Laird of Castle McDuck Bullet for One Mirror Image The Empire-Builder from Calisota The Complete Peanuts Death of a Demon The Scarlet Citadel Black Colossus The Black Stranger Door to Death A Witch Shall be Born The Buckaroo of the Badlands Die Like a Dog The Frost-Giant's Daughter This Won't Kill You The Pool of the Black One the Odyssey Batman versus Predator Not Quite Dead Enough The Cowboy Captain of the Cutty Sark The Next Witness Come va il vostro giardino? Disguise for Murder Easter Parade Blood Will Tell Instead of Evidence Murder Is No Joke The Last of the Clan McDuck The Problem of Cell 13 The Richest Duck in the World Poison à la Carte Batman: A Death in the Family The Cop-Killer Star Wars Snow White Christmas Party Batman: Ego Dreamtime Duck of the Never-Never The Tower of the Elephant Murder Is Corny Batman: Year One Booby Trap Raider of the Copper Hill The Prisoner of White Agony Creek Slight Rebellion off Madison Jewels of Gwahlur Black Orchids The Billionaire of Dismal Downs Method Three for Murder Triangle at Rhodes The God in the Bowl Too Many Detectives The Gun with Wings The Call of Cthulhu Bitter End Before I Die Fourth of July Picnic Xuthal of the Dusk The Squirt and the Monkey King of the Klondike Pygmalion and Galatea Help Wanted, Male The Plymouth Express Wasps' Nest A Window for Death The Mystery of the Spanish Chest Home to Roost The Joker: Devil's Advocate When a Man Murders The Master of the Mississippi The Man-Eaters of Zamboula The Devil in Iron Eeny Meeny Murder Mo Rogues in the House The Chocolate Box The Zero Clue The Rodeo Murder Grímnismál Iron Shadows in the Moon The Hard Goodbye The Phoenix on the Sword Batman and the Mad Monk By This Axe I Rule! Alternative versions of Captain America#Elseworlds Tomb of the Lion The Adventure of the Christmas Pudding
107
action count
action less
action union
action find_tuple_counts
relation characters
type literary genre
type common name
action find_tuple_counts
relation characters
type literary genre
type abstract being
action count
action filter_multi_types
action find
entity Cinderella
relation characters
type common name
type abstract being
[{'concept': 'literary genre'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?g WHERE { { ?g property:characters ?k . ?k rdf:type ontology:abstract_being . ?g rdf:type ontology:literary_genre } UNION { ?g property:characters ?k . ?g rdf:type ontology:literary_genre . ?k rdf:type ontology:common_name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Cinderella property:characters ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:abstract_being ) } } } } . FILTER ( ?v < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2264590
P674
Q502895 Q15619164 Q223393
USER
And also tell me about Di Nü Hua?
(c(Q223393),P674,c(Q502895)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P674
type Q223393
type Q502895
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action count
action filter_multi_types
action find
entity Q2264590
relation P674
type Q502895
type Q15619164
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } . ?k rdf:type ?a } GROUP BY ?j } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q2264590 property:P674 ?q . { { ?q rdf:type ontology:Q15619164 } UNION { ?q rdf:type ontology:Q502895 } } } } }
Di Nü Hua
action count
action less
action union
action find_tuple_counts
relation characters
type literary genre
type common name
action find_tuple_counts
relation characters
type literary genre
type abstract being
action count
action filter_multi_types
action find
entity Di Nü Hua
relation characters
type common name
type abstract being
[{'concept': 'literary genre'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:abstract_being ) } . ?k rdf:type ?a } GROUP BY ?j } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Di_Nü_Hua property:characters ?q . { { ?q rdf:type ontology:abstract_being } UNION { ?q rdf:type ontology:common_name } } } } }
[]
common name abstract being literary genre
SYSTEM
107
Q15090995 Q692374 Q1094049 Q240358 Q17631737 Q1477843 Q15091341 Q16653695 Q7739198 Q764318 Q926746 Q1122722 Q15090981 Q15090984 Q978891 Q531676 Q15091014 Q2090062 Q15091019 Q15091344 Q840339 Q1093839 Q15091290 Q831556 Q1094573 Q3986390 Q15091000 Q1747447 Q1753161 Q7718450 Q15091166 Q4395895 Q651424 Q15091168 Q1069560 Q15091284 Q765615 Q35160 Q1443582 Q15091287 Q2260098 Q15091280 Q11716256 Q15091066 Q15091329 Q15091070 Q15091073 Q15091325 Q1094143 Q3795335 Q1093607 Q5984367 Q266395 Q15090953 Q857836 Q11831 Q15091102 Q2891432 Q1093690 Q1061779 Q13390016 Q383811 Q15091334 Q2703893 Q378168 Q7540460 Q6189671 Q15091297 Q1093614 Q5984390 Q9362463 Q3792660 Q15091119 Q15091115 Q1141815 Q15091005 Q15091304 Q15091301 Q4369850 Q15091125 Q1093970 Q17304994 Q15091122 Q16651073 Q3223440 Q15074331 Q16654047 Q15091129 Q2891519 Q15091314 Q1029999 Q4378273 Q4439291 Q15090967 Q1088946 Q16651670 Q15091137 Q5984401 Q1429923 Q9192501 Q977202 Q2512207 Q2891569 Q5003827 Q2891564 Q30604 Q2966018
(c(Q223393),P674,c(Q502895)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P674
type Q223393
type Q502895
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action count
action filter_multi_types
action find
entity Q2264590
relation P674
type Q502895
type Q15619164
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } . ?k rdf:type ?a } GROUP BY ?j } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q2264590 property:P674 ?q . { { ?q rdf:type ontology:Q15619164 } UNION { ?q rdf:type ontology:Q502895 } } } } }
Counterfeit for Murder Galley Slave The Invader of Fort Duckburg Batman: The Killing Joke The Herb of Death The Adventures of Alix Invitation to Murder The Double Clue The Heart of a Monkey Two Gallants The Terror of the Transvaal All Star Batman and Robin the Boy Wonder Cordially Invited to Meet Death Omit Flowers A Dame to Kill For Queen of the Black Coast Immune to Murder Beyond the Black River Man Alive Kill Now—Pay Later Rich man and Lazarus The New Laird of Castle McDuck Bullet for One Mirror Image The Empire-Builder from Calisota The Complete Peanuts Death of a Demon The Scarlet Citadel Black Colossus The Black Stranger Door to Death A Witch Shall be Born The Buckaroo of the Badlands Die Like a Dog The Frost-Giant's Daughter This Won't Kill You The Pool of the Black One the Odyssey Batman versus Predator Not Quite Dead Enough The Cowboy Captain of the Cutty Sark The Next Witness Come va il vostro giardino? Disguise for Murder Easter Parade Blood Will Tell Instead of Evidence Murder Is No Joke The Last of the Clan McDuck The Problem of Cell 13 The Richest Duck in the World Poison à la Carte Batman: A Death in the Family The Cop-Killer Star Wars Snow White Christmas Party Batman: Ego Dreamtime Duck of the Never-Never The Tower of the Elephant Murder Is Corny Batman: Year One Booby Trap Raider of the Copper Hill The Prisoner of White Agony Creek Slight Rebellion off Madison Jewels of Gwahlur Black Orchids The Billionaire of Dismal Downs Method Three for Murder Triangle at Rhodes The God in the Bowl Too Many Detectives The Gun with Wings The Call of Cthulhu Bitter End Before I Die Fourth of July Picnic Xuthal of the Dusk The Squirt and the Monkey King of the Klondike Pygmalion and Galatea Help Wanted, Male The Plymouth Express Wasps' Nest A Window for Death The Mystery of the Spanish Chest Home to Roost The Joker: Devil's Advocate When a Man Murders The Master of the Mississippi The Man-Eaters of Zamboula The Devil in Iron Eeny Meeny Murder Mo Rogues in the House The Chocolate Box The Zero Clue The Rodeo Murder Grímnismál Iron Shadows in the Moon The Hard Goodbye The Phoenix on the Sword Batman and the Mad Monk By This Axe I Rule! Alternative versions of Captain America#Elseworlds Tomb of the Lion The Adventure of the Christmas Pudding
107
action count
action less
action union
action find_tuple_counts
relation characters
type literary genre
type common name
action find_tuple_counts
relation characters
type literary genre
type abstract being
action count
action filter_multi_types
action find
entity Di Nü Hua
relation characters
type common name
type abstract being
[{'concept': 'literary genre'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:abstract_being ) } . ?k rdf:type ?a } GROUP BY ?j } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Di_Nü_Hua property:characters ?q . { { ?q rdf:type ontology:abstract_being } UNION { ?q rdf:type ontology:common_name } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P1313
Q12737077
USER
Which occupation is fulfilled by Ukraine ?
(Q212,P1313,c(Q12737077))
action filter_type
action find
entity Q212
relation P1313
type Q12737077
['Q212', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q212 property:P1313 ?x }
Ukraine
action filter_type
action find
entity Ukraine
relation office held by head of government
type occupation
['Ukraine', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Ukraine property:office_held_by_head_of_government ?x }
[]
occupation
Q1145714
SYSTEM
Prime Minister of Ukraine
Q1145714
(Q212,P1313,c(Q12737077))
action filter_type
action find
entity Q212
relation P1313
type Q12737077
Ukraine [ANSWER] is fulfilled by Ukraine
['Q212', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q212 property:P1313 ?x }
Prime Minister of Ukraine
Ukraine Prime Minister of Ukraine is fulfilled by Ukraine
Prime Minister of Ukraine
action filter_type
action find
entity Ukraine
relation office held by head of government
type occupation
['Ukraine', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Ukraine property:office_held_by_head_of_government ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1145714
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q1145714)
action filter_type
action find_reverse
entity Q1145714
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1145714']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q1145714 . ?x rdf:type ontology:Q502895 }
Prime Minister of Ukraine
action filter_type
action find_reverse
entity Prime Minister of Ukraine
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Ukraine']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:Prime_Minister_of_Ukraine . ?x rdf:type ontology:common_name }
[]
common name
Q1459658 Q629702 Q1459699
SYSTEM
Viktor Yanukovych, Leonid Kuchma, Viktor Yushchenko
Q629702 Q4150130 Q559607 Q927269 Q48283 Q1459658 Q1711587 Q1000061 Q964173 Q553216 Q350857 Q311116 Q1459699 Q488180 Q57590 Q15850 Q546694 Q471730 Q372463 Q715633 Q927993
(c(Q502895),P39,Q1145714)
action filter_type
action find_reverse
entity Q1145714
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q1145714']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q1145714 . ?x rdf:type ontology:Q502895 }
Leonid Kuchma Volodymyr Groysman Pavlo Lazarenko Yukhym Zvyahilsky Yulia Tymoshenko Viktor Yanukovych Serhiy Arbuzov Valentyn Symonenko Vasyl Durdynets Valeriy Pustovoitenko Christian Rakovsky Yuriy Yekhanurov Viktor Yushchenko Anatoliy Kinakh Mykola Azarov Oleksandr Turchynov Vitaliy Masol Arseniy Yatsenyuk Georgy Pyatakov Yevhen Marchuk Vitold Fokin
Viktor Yanukovych, Leonid Kuchma and Viktor Yushchenko were responsible for occupying the position of that occupation
Viktor Yanukovych Leonid Kuchma Viktor Yushchenko
action filter_type
action find_reverse
entity Prime Minister of Ukraine
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Ukraine']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:Prime_Minister_of_Ukraine . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1145714
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of Prime Minister of Ukraine ?
(Q1145714,P1001,c(Q15617994))
action filter_type
action find
entity Q1145714
relation P1001
type Q15617994
['Q1145714', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1145714 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Prime Minister of Ukraine
action filter_type
action find
entity Prime Minister of Ukraine
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of Ukraine', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Prime_Minister_of_Ukraine property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q1145714,P1001,c(Q15617994))
action filter_type
action find
entity Q1145714
relation P1001
type Q15617994
[ANSWER] applies to jurisdiction of Prime Minister of [ANSWER]
['Q1145714', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1145714 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Ukraine
Ukraine applies to jurisdiction of Prime Minister of Ukraine
Ukraine
action filter_type
action find
entity Prime Minister of Ukraine
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of Ukraine', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Prime_Minister_of_Ukraine property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3088669
Q15617994
USER
And how about Afghanistan–Turkmenistan border?
(Q3088669,P1001,c(Q15617994))
action filter_type
action find
entity Q3088669
relation P1001
type Q15617994
['Q3088669', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q3088669 property:P1001 ?b }
Afghanistan–Turkmenistan border
action filter_type
action find
entity Afghanistan–Turkmenistan border
relation applies to jurisdiction
type designation for an administrative territorial entity
['Afghanistan–Turkmenistan border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Afghanistan–Turkmenistan_border property:applies_to_jurisdiction ?b }
[]
designation for an administrative territorial entity
Q874 Q889
SYSTEM
Turkmenistan, Afghanistan
Q874 Q889
(Q3088669,P1001,c(Q15617994))
action filter_type
action find
entity Q3088669
relation P1001
type Q15617994
[ANSWERS]
['Q3088669', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q3088669 property:P1001 ?b }
Turkmenistan Afghanistan
Turkmenistan Afghanistan
action filter_type
action find
entity Afghanistan–Turkmenistan border
relation applies to jurisdiction
type designation for an administrative territorial entity
['Afghanistan–Turkmenistan border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Afghanistan–Turkmenistan_border property:applies_to_jurisdiction ?b }
[]