Simple Question (Direct)
Simple Question
Q182844
P36
Q56061
USER
Which administrative territory is known as the capital of Herat ?
(Q182844,P36,c(Q56061))
action filter_type
action find
entity Q182844
relation P36
type Q56061
['Q182844', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q182844 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Herat
action filter_type
action find
entity Herat
relation capital
type administrative territorial entity
['Herat', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Herat property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q45313
SYSTEM
Herat
Q45313
(Q182844,P36,c(Q56061))
action filter_type
action find
entity Q182844
relation P36
type Q56061
To [ANSWER] is known as the capital of [ANSWER]
['Q182844', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q182844 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Herat
To Herat is known as the capital of Herat
Herat
action filter_type
action find
entity Herat
relation capital
type administrative territorial entity
['Herat', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Herat property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45313
P1376
Q3024240
USER
What has that administrative territory as its capital ?
(Q45313,P1376,c(Q3024240))
action filter_type
action find
entity Q45313
relation P1376
type Q3024240
['Q45313', 'P1376', {'concept': 'Q3024240'}]
SELECT DISTINCT ?j WHERE { resource:Q45313 property:P1376 ?j . ?j rdf:type ontology:Q3024240 }
Herat
action filter_type
action find
entity Herat
relation capital of
type former country
['Herat', 'capital of', {'concept': 'former country'}]
SELECT DISTINCT ?j WHERE { resource:Herat property:capital_of ?j . ?j rdf:type ontology:former_country }
[]
former country
Q484195
SYSTEM
Timurid Empire
Q484195
(Q45313,P1376,c(Q3024240))
action filter_type
action find
entity Q45313
relation P1376
type Q3024240
[ANSWER] has that administrative territory as its capital
['Q45313', 'P1376', {'concept': 'Q3024240'}]
SELECT DISTINCT ?j WHERE { resource:Q45313 property:P1376 ?j . ?j rdf:type ontology:Q3024240 }
Timurid Empire
Timurid Empire has that administrative territory as its capital
Timurid Empire
action filter_type
action find
entity Herat
relation capital of
type former country
['Herat', 'capital of', {'concept': 'former country'}]
SELECT DISTINCT ?j WHERE { resource:Herat property:capital_of ?j . ?j rdf:type ontology:former_country }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P122
Q22676587 Q3024240
USER
How many former countries have greater number of monarchic systems as government than that former country ?
(c(Q3024240),P122,c(Q22676587))
action count
action greater
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action count
action filter_type
action find
entity Q484195
relation P122
type Q3024240
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { FILTER ( ?a > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q484195 property:P122 ?l . ?l rdf:type ontology:Q3024240 } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:P122 ?b . ?p rdf:type ontology:Q3024240 . ?b rdf:type ontology:Q22676587 } GROUP BY ?p } }
action count
action greater
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action count
action filter_type
action find
entity Timurid Empire
relation basic form of government
type former country
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { FILTER ( ?a > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Timurid_Empire property:basic_form_of_government ?l . ?l rdf:type ontology:former_country } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:basic_form_of_government ?b . ?p rdf:type ontology:former_country . ?b rdf:type ontology:monarchic_system } GROUP BY ?p } }
[]
monarchic system former country
SYSTEM
2
Q34266 Q43287
(c(Q3024240),P122,c(Q22676587))
action count
action greater
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action count
action filter_type
action find
entity Q484195
relation P122
type Q3024240
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { FILTER ( ?a > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q484195 property:P122 ?l . ?l rdf:type ontology:Q3024240 } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:P122 ?b . ?p rdf:type ontology:Q3024240 . ?b rdf:type ontology:Q22676587 } GROUP BY ?p } }
Russian Empire German Empire
2
action count
action greater
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action count
action filter_type
action find
entity Timurid Empire
relation basic form of government
type former country
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { FILTER ( ?a > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Timurid_Empire property:basic_form_of_government ?l . ?l rdf:type ontology:former_country } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?a ) WHERE { ?p property:basic_form_of_government ?b . ?p rdf:type ontology:former_country . ?b rdf:type ontology:monarchic_system } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484195
P17
Q56061
USER
Which administrative territory is situated in Timurid Empire ?
(c(Q56061),P17,Q484195)
action filter_type
action find_reverse
entity Q484195
relation P17
type Q56061
[{'concept': 'Q56061'}, 'P17', 'Q484195']
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q484195 . ?q rdf:type ontology:Q56061 }
Timurid Empire
action filter_type
action find_reverse
entity Timurid Empire
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Timurid Empire']
SELECT DISTINCT ?q WHERE { ?q property:country resource:Timurid_Empire . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q45313
SYSTEM
Herat
Q45313
(c(Q56061),P17,Q484195)
action filter_type
action find_reverse
entity Q484195
relation P17
type Q56061
[ANSWER] is situated in Timurid Empire
[{'concept': 'Q56061'}, 'P17', 'Q484195']
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q484195 . ?q rdf:type ontology:Q56061 }
Herat
Herat is situated in Timurid Empire
Herat
action filter_type
action find_reverse
entity Timurid Empire
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Timurid Empire']
SELECT DISTINCT ?q WHERE { ?q property:country resource:Timurid_Empire . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45313
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q45313)
action filter_type
action find_reverse
entity Q45313
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q45313']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q45313 . ?v rdf:type ontology:Q502895 }
Herat
action filter_type
action find_reverse
entity Herat
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Herat']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Herat . ?v rdf:type ontology:common_name }
[]
common name
Q558205 Q333703 Q312458
SYSTEM
Khwaja Abdullah Ansari, Fakhr al-Din al-Razi, Jami
Q7273005 Q374608 Q2511004 Q469319 Q6414068 Q503340 Q334875 Q464986 Q1907049 Q325317 Q6414838 Q32027 Q310233 Q3918363 Q333703 Q471985 Q1377629 Q312458 Q154886 Q558205
(c(Q502895),P20,Q45313)
action filter_type
action find_reverse
entity Q45313
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q45313']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q45313 . ?v rdf:type ontology:Q502895 }
Qutb Shah Badi' al-Zaman al-Hamadani Abdur Razzaq Nadia Anjuman Hossein Vaez Kashefi Ali-Shir Nava'i Kamāl ud-Dīn Behzād Goharshad Mashal Mirwais Sadiq Jafar Tabrizi Dost Mohammad Khan Peroz I Ghiyas ad-Din Ghori Fakhr al-Din al-Razi Chupan Mīr-Khvānd Jami Bagha Qaghan Khwaja Abdullah Ansari
Khwaja Abdullah Ansari, Fakhr al-Din al-Razi and Jami expired at that administrative territory
Khwaja Abdullah Ansari Fakhr al-Din al-Razi Jami
action filter_type
action find_reverse
entity Herat
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Herat']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Herat . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters did approximately 2 people dub for ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?m ) WHERE { ?h property:P725 ?k . ?h rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 } GROUP BY ?h } }
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?m ) WHERE { ?h property:voice_actor ?k . ?h rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name } GROUP BY ?h } }
[]
common name fictional character
Q1621656 Q16027672 Q15710873
SYSTEM
Solid Snake, Dr. Stewart, Princess Celestia
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
Approximately 2 people dubbed [ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?m ) WHERE { ?h property:P725 ?k . ?h rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 } GROUP BY ?h } }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
Approximately 2 people dubbed Solid Snake, Dr. Stewart and Princess Celestia
Solid Snake Dr. Stewart Princess Celestia
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?m ) WHERE { ?h property:voice_actor ?k . ?h rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name } GROUP BY ?h } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P170
Q502895 Q95074
USER
Which fictional characters were developed by lesser number of people than that fictional character ?
(c(Q95074),P170,c(Q502895))
[{'concept': 'Q95074'}, 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2500638 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 }
[{'concept': 'fictional character'}, 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:creator ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name }
[]
common name fictional character
Comparative|More/Less|Single entity type|Clarification
Q16027672
SYSTEM
Did you mean Dr. Stewart ?
(c(Q95074),P170,c(Q502895))
[ANSWER]
[{'concept': 'Q95074'}, 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2500638 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 }
Did you mean Dr. Stewart ?
Dr. Stewart
[{'concept': 'fictional character'}, 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:creator ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Solid Snake. Could you tell me the answer for that?
(c(Q95074),P170,c(Q502895))
Q1621656
[{'concept': 'Q95074'}, 'P170', {'concept': 'Q502895'}]
[{'concept': 'fictional character'}, 'creator', {'concept': 'common name'}]
[]
Q3388787 Q247120 Q27101591
SYSTEM
Pinocchio, Neo, Ultron
Q27101591 Q10904385 Q3388787 Q247120
(c(Q95074),P170,c(Q502895))
[ANSWERS] were developed by lesser number of people than that fictional character
[{'concept': 'Q95074'}, 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2500638 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 }
Ultron Diddy Kong Pinocchio Neo
Pinocchio, Neo and Ultron were developed by lesser number of people than that fictional character
Pinocchio Neo Ultron
[{'concept': 'fictional character'}, 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:creator ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name }
[]