Simple Question (Direct)
Simple Question
Q327580
P20
Q56061
USER
Where did the demise of Peter Dumont Vroom occur ?
(Q327580,P20,c(Q56061))
action filter_type
action find
entity Q327580
relation P20
type Q56061
['Q327580', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q327580 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Peter Dumont Vroom
action filter_type
action find
entity Peter Dumont Vroom
relation place of death
type administrative territorial entity
['Peter Dumont Vroom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Dumont_Vroom property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q327580,P20,c(Q56061))
action filter_type
action find
entity Q327580
relation P20
type Q56061
[ANSWER]
['Q327580', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q327580 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Trenton
Trenton
action filter_type
action find
entity Peter Dumont Vroom
relation place of death
type administrative territorial entity
['Peter Dumont Vroom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Dumont_Vroom property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q327580
P106
Q12737077
USER
Which occupations are the professions of Peter Dumont Vroom ?
(Q327580,P106,c(Q12737077))
action filter_type
action find
entity Q327580
relation P106
type Q12737077
['Q327580', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q327580 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Peter Dumont Vroom
action filter_type
action find
entity Peter Dumont Vroom
relation occupation
type occupation
['Peter Dumont Vroom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Dumont_Vroom property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q327580,P106,c(Q12737077))
action filter_type
action find
entity Q327580
relation P106
type Q12737077
[ANSWERS]
['Q327580', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q327580 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
diplomat politician
diplomat politician
action filter_type
action find
entity Peter Dumont Vroom
relation occupation
type occupation
['Peter Dumont Vroom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Dumont_Vroom property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327580
P1412
Q34770
USER
Which language is spoken by that person ?
(Q193391,P1412,c(Q34770)) (Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q327580
relation P1412
type Q34770
['Q193391', 'P1412', {'concept': 'Q34770'}] ['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q327580 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Peter Dumont Vroom
action filter_type
action find
entity Peter Dumont Vroom
relation languages spoken, written or signed
type language
['diplomat', 'languages spoken, written or signed', {'concept': 'language'}] ['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Peter_Dumont_Vroom property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q193391,P1412,c(Q34770)) (Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q327580
relation P1412
type Q34770
[ANSWER]
['Q193391', 'P1412', {'concept': 'Q34770'}] ['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q327580 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Peter Dumont Vroom
relation languages spoken, written or signed
type language
['diplomat', 'languages spoken, written or signed', {'concept': 'language'}] ['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Peter_Dumont_Vroom property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q43229 Q341
USER
How many languages are associated with around the same number of organizations and free software as that language ?
(c(Q43229)|c(Q341),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q43229
type Q341
[[{'concept': 'Q43229'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?k ) WHERE { { ?c rdf:type ontology:Q34770 . ?p rdf:type ontology:Q43229 . ?p property:P2439 ?c } UNION { ?p property:P2439 ?c . ?c rdf:type ontology:Q34770 . ?p rdf:type ontology:Q341 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P2439 resource:Q1860 . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q341 ) ( ontology:Q43229 ) } } } } . FILTER ( ?k = ?h ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type organization
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity English
relation language
type organization
type free software
[[{'concept': 'organization'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?k ) WHERE { { ?c rdf:type ontology:language . ?p rdf:type ontology:organization . ?p property:language ?c } UNION { ?p property:language ?c . ?c rdf:type ontology:language . ?p rdf:type ontology:free_software } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:language resource:English . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:free_software ) ( ontology:organization ) } } } } . FILTER ( ?k = ?h ) }
[]
language organization free software
SYSTEM
1
Q1860
(c(Q43229)|c(Q341),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q43229
type Q341
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?k ) WHERE { { ?c rdf:type ontology:Q34770 . ?p rdf:type ontology:Q43229 . ?p property:P2439 ?c } UNION { ?p property:P2439 ?c . ?c rdf:type ontology:Q34770 . ?p rdf:type ontology:Q341 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P2439 resource:Q1860 . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q341 ) ( ontology:Q43229 ) } } } } . FILTER ( ?k = ?h ) }
English
1
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type organization
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity English
relation language
type organization
type free software
[[{'concept': 'organization'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?k ) WHERE { { ?c rdf:type ontology:language . ?p rdf:type ontology:organization . ?p property:language ?c } UNION { ?p property:language ?c . ?c rdf:type ontology:language . ?p rdf:type ontology:free_software } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:language resource:English . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:free_software ) ( ontology:organization ) } } } } . FILTER ( ?k = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24964 Q25330
P17
Q15617994
USER
Which administrative territories do Trenton or Pisagua Prison Camp belong to ?
OR((Q25330,P17,c(Q15617994)), (Q24964,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25330
relation P17
action find
entity Q24964
relation P17
type Q15617994
{'OR': [['Q25330', 'P17', {'concept': 'Q15617994'}], ['Q24964', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q25330 ) ( resource:Q24964 ) } . ?r property:P17 ?n } }
Pisagua Prison Camp Trenton
action filter_type
action union
action find
entity Trenton
relation country
action find
entity Pisagua Prison Camp
relation country
type designation for an administrative territorial entity
{'OR': [['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pisagua Prison Camp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Trenton ) ( resource:Pisagua_Prison_Camp ) } . ?r property:country ?n } }
[]
designation for an administrative territorial entity
Q298 Q30
SYSTEM
Chile, United States of America
Q298 Q30
OR((Q25330,P17,c(Q15617994)), (Q24964,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25330
relation P17
action find
entity Q24964
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q25330', 'P17', {'concept': 'Q15617994'}], ['Q24964', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q25330 ) ( resource:Q24964 ) } . ?r property:P17 ?n } }
Chile United States of America
Chile United States of America
action filter_type
action union
action find
entity Trenton
relation country
action find
entity Pisagua Prison Camp
relation country
type designation for an administrative territorial entity
{'OR': [['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pisagua Prison Camp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Trenton ) ( resource:Pisagua_Prison_Camp ) } . ?r property:country ?n } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean United States of America ?
United States of America
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Chile. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q298
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
134
Q805 Q804 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q711 Q717 Q1460 Q399 Q398 Q403 Q657 Q45 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q244 Q811 Q153136 Q32 Q924 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Mongolia Venezuela Sicily Armenia Bahrain Serbia Chad Portugal El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
134
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 ?m WHERE { ?m property:P291 resource:Q30 . ?m 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 ?m WHERE { ?m property:place_of_publication resource:United_States_of_America . ?m 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]
[{'concept': 'Q2342494'}, 'P291', 'Q30']
SELECT DISTINCT ?m WHERE { ?m property:P291 resource:Q30 . ?m 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 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 ?m WHERE { ?m property:place_of_publication resource:United_States_of_America . ?m rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2894284
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q2894284,P364,c(Q34770))
action filter_type
action find
entity Q2894284
relation P364
type Q34770
['Q2894284', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q2894284 property:P364 ?y . ?y rdf:type ontology:Q34770 }
Doctor Dolittle and the Green Canary
action filter_type
action find
entity Doctor Dolittle and the Green Canary
relation original language of work
type language
['Doctor Dolittle and the Green Canary', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Doctor_Dolittle_and_the_Green_Canary property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q2894284
SYSTEM
Did you mean Doctor Dolittle and the Green Canary ?
Q251604 Q2894284 Q7773132
(Q251604,P364,c(Q34770)) (Q2894284,P364,c(Q34770)) (Q7773132,P364,c(Q34770))
[ANSWER]
['Q251604', 'P364', {'concept': 'Q34770'}] ['Q2894284', 'P364', {'concept': 'Q34770'}] ['Q7773132', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q2894284 property:P364 ?y . ?y rdf:type ontology:Q34770 }
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
['The Story of Doctor Dolittle', 'original language of work', {'concept': 'language'}] ['Doctor Dolittle and the Green Canary', 'original language of work', {'concept': 'language'}] ['The Voyages of Doctor Dolittle', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Doctor_Dolittle_and_the_Green_Canary property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2894284,P364,c(Q34770))
['Q2894284', 'P364', {'concept': 'Q34770'}]
['Doctor Dolittle and the Green Canary', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q2894284,P364,c(Q34770))
action filter_type
action find
entity Q2894284
relation P364
type Q34770
[ANSWER]
['Q2894284', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q2894284 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Doctor Dolittle and the Green Canary
relation original language of work
type language
['Doctor Dolittle and the Green Canary', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Doctor_Dolittle_and_the_Green_Canary property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]