Simple Question (Direct)
Simple Question
Q1152010
P264
Q334453
USER
Who sponsored the recoding of DJ Clue ?
(Q1152010,P264,c(Q334453))
action filter_type
action find
entity Q1152010
relation P264
type Q334453
['Q1152010', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q1152010 property:P264 ?r . ?r rdf:type ontology:Q334453 }
DJ Clue
action filter_type
action find
entity DJ Clue
relation record label
type division
['DJ Clue', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:DJ_Clue property:record_label ?r . ?r rdf:type ontology:division }
[]
division
Q920079
SYSTEM
Desert Storm Records
Q920079
(Q1152010,P264,c(Q334453))
action filter_type
action find
entity Q1152010
relation P264
type Q334453
[ANSWER] sponsored the recoding of DJ Clue
['Q1152010', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q1152010 property:P264 ?r . ?r rdf:type ontology:Q334453 }
Desert Storm Records
Desert Storm Records sponsored the recoding of DJ Clue
Desert Storm Records
action filter_type
action find
entity DJ Clue
relation record label
type division
['DJ Clue', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:DJ_Clue property:record_label ?r . ?r rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1152010
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q920079,P27,c(Q15617994))
action filter_type
action find
entity Q1152010
relation P27
type Q15617994
['Q920079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1152010 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
DJ Clue
action filter_type
action find
entity DJ Clue
relation country of citizenship
type designation for an administrative territorial entity
['Desert Storm Records', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:DJ_Clue property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q920079,P27,c(Q15617994))
action filter_type
action find
entity Q1152010
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q920079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1152010 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity DJ Clue
relation country of citizenship
type designation for an administrative territorial entity
['Desert Storm Records', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:DJ_Clue property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q219
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with lesser number of administrative territories than Bulgaria ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P530 resource:Q219 . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?h ) }
Bulgaria
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:diplomatic_relation resource:Bulgaria . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q219
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with lesser number of administrative territories than Bulgaria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P530 resource:Q219 . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?h ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia have a diplomatic relationship with lesser number of administrative territories than Bulgaria
Romania Norway Tunisia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:diplomatic_relation resource:Bulgaria . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q189
P530
Q15617994 Q15617994
USER
And also tell me about Iceland?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q189
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?c property:P530 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P530 resource:Q189 . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?b ) }
Iceland
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:diplomatic_relation resource:Iceland . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q189
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?c property:P530 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P530 resource:Q189 . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?b ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania Norway Tunisia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:diplomatic_relation resource:Iceland . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4186336
P530
Q1048835
USER
Are Zaozerne known to have diplomatic connections with those administrative territories ?
(Q4186336,P530,Q218) (Q4186336,P530,Q20) (Q4186336,P530,Q948)
action is_in
entity prev_answer
action find
entity Q4186336
relation P530
['Q4186336', 'P530', 'Q218'] ['Q4186336', 'P530', 'Q20'] ['Q4186336', 'P530', 'Q948']
ASK WHERE { resource:Q4186336 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q783 ) } }
Zaozerne
action is_in
entity prev_answer
action find
entity Zaozerne
relation diplomatic relation
['Zaozerne', 'diplomatic relation', 'Romania'] ['Zaozerne', 'diplomatic relation', 'Norway'] ['Zaozerne', 'diplomatic relation', 'Tunisia']
ASK WHERE { resource:Zaozerne property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Honduras ) } }
[]
political territorial entity
SYSTEM
NO
(Q4186336,P530,Q218) (Q4186336,P530,Q20) (Q4186336,P530,Q948)
action is_in
entity prev_answer
action find
entity Q4186336
relation P530
[ANSWER]
['Q4186336', 'P530', 'Q218'] ['Q4186336', 'P530', 'Q20'] ['Q4186336', 'P530', 'Q948']
ASK WHERE { resource:Q4186336 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q783 ) } }
No
action is_in
entity prev_answer
action find
entity Zaozerne
relation diplomatic relation
['Zaozerne', 'diplomatic relation', 'Romania'] ['Zaozerne', 'diplomatic relation', 'Norway'] ['Zaozerne', 'diplomatic relation', 'Tunisia']
ASK WHERE { resource:Zaozerne property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Honduras ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P291
Q2342494
USER
Which collectables have United States of America as their release location ?
(c(Q2342494),P291,Q30)
action filter_type
action find_reverse
entity Q30
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q30 . ?b rdf:type ontology:Q2342494 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:United_States_of_America . ?b rdf:type ontology:collectable }
[]
collectable
Q251604 Q2894284 Q7773132
SYSTEM
The Story of Doctor Dolittle, Doctor Dolittle and the Green Canary, The Voyages of Doctor Dolittle
Q5287318 Q251604 Q5233762 Q5200228 Q11323183 Q5287315 Q5614417 Q5287316 Q5287321 Q2894284 Q22337596 Q7773132 Q130310 Q5287313 Q5287314 Q7745921 Q4632382 Q4102794
(c(Q2342494),P291,Q30)
action filter_type
action find_reverse
entity Q30
relation P291
type Q2342494
[ANSWERS] have United States of America as their release location
[{'concept': 'Q2342494'}, 'P291', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q30 . ?b rdf:type ontology:Q2342494 }
Doctor Dolittle's Zoo The Story of Doctor Dolittle Doctor Dolittle and the Secret Lake Cypherpunks Doctor Dolittle's Puddleby Adventures Doctor Dolittle's Circus Gub Gub's Book Doctor Dolittle's Post Office Doctor Dolittle in the Moon Doctor Dolittle and the Green Canary Historical Dictionary of Tennis The Voyages of Doctor Dolittle Sweet Dreams Doctor Dolittle's Caravan Doctor Dolittle's Garden The Last Opium Den 26 Fairmount Avenue Valentine
The Story of Doctor Dolittle, Doctor Dolittle and the Green Canary and The Voyages of Doctor Dolittle have United States of America as their release location
The Story of Doctor Dolittle Doctor Dolittle and the Green Canary The Voyages of Doctor Dolittle
action filter_type
action find_reverse
entity United States of America
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:United_States_of_America . ?b rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q251604
P800
Q7725634
USER
Who is author of that collectable ?
(c(Q7725634),P800,Q251604)
action filter_type
action find_reverse
entity Q251604
relation P800
type Q7725634
[{'concept': 'Q7725634'}, 'P800', 'Q251604']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q251604 . ?j rdf:type ontology:Q7725634 }
The Story of Doctor Dolittle
action filter_type
action find_reverse
entity The Story of Doctor Dolittle
relation notable work
type literary work
[{'concept': 'literary work'}, 'notable work', 'The Story of Doctor Dolittle']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:The_Story_of_Doctor_Dolittle . ?j rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q2894284
SYSTEM
Did you mean Doctor Dolittle and the Green Canary ?
Q251604 Q2894284 Q7773132
(c(Q7725634),P800,Q251604) (c(Q7725634),P800,Q2894284) (c(Q7725634),P800,Q7773132)
[ANSWER]
[{'concept': 'Q7725634'}, 'P800', 'Q251604'] [{'concept': 'Q7725634'}, 'P800', 'Q2894284'] [{'concept': 'Q7725634'}, 'P800', 'Q7773132']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q251604 . ?j rdf:type ontology:Q7725634 }
The Story of Doctor Dolittle Doctor Dolittle and the Green Canary The Voyages of Doctor Dolittle
Did you mean Doctor Dolittle and the Green Canary ?
Doctor Dolittle and the Green Canary
[{'concept': 'literary work'}, 'notable work', 'The Story of Doctor Dolittle'] [{'concept': 'literary work'}, 'notable work', 'Doctor Dolittle and the Green Canary'] [{'concept': 'literary work'}, 'notable work', 'The Voyages of Doctor Dolittle']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:The_Story_of_Doctor_Dolittle . ?j rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant The Story of Doctor Dolittle. Could you tell me the answer for that?
(c(Q7725634),P800,Q251604)
Q251604
[{'concept': 'Q7725634'}, 'P800', 'Q251604']
[{'concept': 'literary work'}, 'notable work', 'The Story of Doctor Dolittle']
[]
Q11310767
SYSTEM
Doctor Dolittle Books
Q11310767
(c(Q7725634),P800,Q251604)
action filter_type
action find_reverse
entity Q251604
relation P800
type Q7725634
[ANSWER] is author of that collectable
[{'concept': 'Q7725634'}, 'P800', 'Q251604']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q251604 . ?j rdf:type ontology:Q7725634 }
Doctor Dolittle Books
Doctor Dolittle Books is author of that collectable
Doctor Dolittle Books
action filter_type
action find_reverse
entity The Story of Doctor Dolittle
relation notable work
type literary work
[{'concept': 'literary work'}, 'notable work', 'The Story of Doctor Dolittle']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:The_Story_of_Doctor_Dolittle . ?j rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P50
Q502895
USER
How many people were the writers of that literary work ?
(Q11310767,P50,c(Q502895))
action count
action filter_type
action find
entity Q11310767
relation P50
type Q502895
['Q11310767', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q11310767 property:P50 ?j }
action count
action filter_type
action find
entity Doctor Dolittle Books
relation author
type common name
['Doctor Dolittle Books', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:common_name . resource:Doctor_Dolittle_Books property:author ?j }
[]
common name
SYSTEM
1
Q560015
(Q11310767,P50,c(Q502895))
action count
action filter_type
action find
entity Q11310767
relation P50
type Q502895
[ANSWER]
['Q11310767', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q11310767 property:P50 ?j }
Hugh Lofting
1
action count
action filter_type
action find
entity Doctor Dolittle Books
relation author
type common name
['Doctor Dolittle Books', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:common_name . resource:Doctor_Dolittle_Books property:author ?j }
[]