Simple Question (Direct)
Simple Question
Q4277748
P27
Q15617994
USER
Which administrative territory does Volodymyr Malyk belong to ?
(Q4277748,P27,c(Q15617994))
action filter_type
action find
entity Q4277748
relation P27
type Q15617994
['Q4277748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q4277748 property:P27 ?g }
Volodymyr Malyk
action filter_type
action find
entity Volodymyr Malyk
relation country of citizenship
type designation for an administrative territorial entity
['Volodymyr Malyk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Volodymyr_Malyk property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q4277748,P27,c(Q15617994))
action filter_type
action find
entity Q4277748
relation P27
type Q15617994
Volodymyr Malyk belongs to [ANSWER]
['Q4277748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q4277748 property:P27 ?g }
Ukraine
Volodymyr Malyk belongs to Ukraine
Ukraine
action filter_type
action find
entity Volodymyr Malyk
relation country of citizenship
type designation for an administrative territorial entity
['Volodymyr Malyk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Volodymyr_Malyk property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P706
Q151885
USER
Which concepts are located in that administrative territory ?
(c(Q151885),P706,Q212)
action filter_type
action find_reverse
entity Q212
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q212']
SELECT DISTINCT ?b WHERE { ?b property:P706 resource:Q212 . ?b rdf:type ontology:Q151885 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Ukraine']
SELECT DISTINCT ?b WHERE { ?b property:located_on_terrain_feature resource:Ukraine . ?b rdf:type ontology:concept }
[]
concept
Q1002169 Q1474345 Q2994546
SYSTEM
Bug-Dniester culture, Chernyakhov culture, Penkovka culture
Q2994546 Q2446445 Q2636498 Q1002169 Q2015677 Q1474345
(c(Q151885),P706,Q212)
action filter_type
action find_reverse
entity Q212
relation P706
type Q151885
[ANSWERS] are located in that administrative territory
[{'concept': 'Q151885'}, 'P706', 'Q212']
SELECT DISTINCT ?b WHERE { ?b property:P706 resource:Q212 . ?b rdf:type ontology:Q151885 }
Penkovka culture Milograd culture Chernoles culture Bug-Dniester culture Zarubintsy culture Chernyakhov culture
Bug-Dniester culture, Chernyakhov culture and Penkovka culture are located in that administrative territory
Bug-Dniester culture Chernyakhov culture Penkovka culture
action filter_type
action find_reverse
entity Ukraine
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Ukraine']
SELECT DISTINCT ?b WHERE { ?b property:located_on_terrain_feature resource:Ukraine . ?b rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q15617994 Q15416 Q2342494
USER
Which administrative territories are min number of television programs and collectables set in ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?o WHERE { { ?p property:P840 ?o . ?p rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15617994 } UNION { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?x WHERE { { ?n property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15416 } UNION { ?n property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?x } . FILTER ( ?j = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?o WHERE { { ?p property:narrative_location ?o . ?p rdf:type ontology:television_program . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?x WHERE { { ?n property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:television_program } UNION { ?n property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:collectable } } GROUP BY ?x } . FILTER ( ?j = ?b ) }
[]
designation for an administrative territorial entity television program collectable
Q184 Q32 Q31
SYSTEM
Belarus, Luxembourg, Belgium
Q377277 Q804 Q278221 Q186115 Q262 Q189 Q47428 Q18021 Q842 Q36678 Q710 Q837 Q1460 Q403 Q790 Q419 Q165040 Q232782 Q244 Q12515 Q32 Q31 Q37 Q34 Q928 Q851 Q769680 Q12798 Q236 Q12538 Q232 Q233 Q1093 Q1860611 Q913434 Q127043 Q184 Q1029 Q1028 Q1458 Q91217 Q1452 Q225 Q12700 Q2336399 Q3207 Q1033 Q1030 Q962 Q159689 Q114 Q41158 Q212 Q517107 Q217 Q912 Q2107 Q1007 Q833 Q14859 Q2742 Q836 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q800 Q12545 Q53216 Q6247
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
Min number of television programs and collectables are set in [ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?o WHERE { { ?p property:P840 ?o . ?p rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15617994 } UNION { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?x WHERE { { ?n property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15416 } UNION { ?n property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?x } . FILTER ( ?j = ?b ) }
Glückstadt Panama Berchtesgaden Montmartre Algeria Iceland Valdobbiadene Biella Oman West Bank Kiribati Nepal Sicily Serbia Haiti Peru Duchy of Parma Portofino Barbados Gard Luxembourg Belgium Lithuania Sweden Philippines Saudi Arabia Bornholm Vendée Montenegro Haute-Garonne Kazakhstan Malta Limburg Viby Les Halles Garmisch-Partenkirchen Belarus Mozambique Morocco Calabria Montepulciano Basilicata Bosnia and Herzegovina Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Benin Bomarzo Kenya Cortina d'Ampezzo Ukraine Rudolstadt Republic of Moldova Mali Wuppertal Guinea-Bissau Malaysia Ansbach Münster Myanmar Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Costa Rica Hérault Aquileia Mantua
Min number of television programs and collectables are set in Belarus, Luxembourg and Belgium
Belarus Luxembourg Belgium
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?o WHERE { { ?p property:narrative_location ?o . ?p rdf:type ontology:television_program . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?x WHERE { { ?n property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:television_program } UNION { ?n property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:collectable } } GROUP BY ?x } . FILTER ( ?j = ?b ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q15416
USER
Which administrative territories are the origins of greater number of literary works and television programs than that administrative territory ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity literary work television program
Comparative|More/Less|Mult. entity type|Clarification
Q31
SYSTEM
Did you mean Belgium ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Belgium ?
Belgium
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q43 Q155 Q884 Q30 Q34 Q928 Q38 Q739 Q96 Q17 Q29
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWERS] are the origins of greater number of literary works and television programs than that administrative territory
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Turkey Brazil South Korea United States of America Sweden Philippines Italy Colombia Mexico Japan Spain
Italy, Brazil and United States of America are the origins of greater number of literary works and television programs than that administrative territory
Italy Brazil United States of America
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q647439
P530
Q15617994
USER
Are Macken known to have diplomatic connections with those ones ?
(Q647439,P530,Q38) (Q647439,P530,Q155) (Q647439,P530,Q30)
action is_in
entity prev_answer
action find
entity Q647439
relation P530
['Q647439', 'P530', 'Q38'] ['Q647439', 'P530', 'Q155'] ['Q647439', 'P530', 'Q30']
ASK WHERE { VALUES ( ?o ) { ( resource:Q668 ) ( resource:Q414 ) ( resource:Q142 ) } . resource:Q647439 property:P530 ?o }
Macken
action is_in
entity prev_answer
action find
entity Macken
relation diplomatic relation
['Macken', 'diplomatic relation', 'Italy'] ['Macken', 'diplomatic relation', 'Brazil'] ['Macken', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?o ) { ( resource:India ) ( resource:Argentina ) ( resource:France ) } . resource:Macken property:diplomatic_relation ?o }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q647439,P530,Q38) (Q647439,P530,Q155) (Q647439,P530,Q30)
action is_in
entity prev_answer
action find
entity Q647439
relation P530
[ANSWER]
['Q647439', 'P530', 'Q38'] ['Q647439', 'P530', 'Q155'] ['Q647439', 'P530', 'Q30']
ASK WHERE { VALUES ( ?o ) { ( resource:Q668 ) ( resource:Q414 ) ( resource:Q142 ) } . resource:Q647439 property:P530 ?o }
No
action is_in
entity prev_answer
action find
entity Macken
relation diplomatic relation
['Macken', 'diplomatic relation', 'Italy'] ['Macken', 'diplomatic relation', 'Brazil'] ['Macken', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?o ) { ( resource:India ) ( resource:Argentina ) ( resource:France ) } . resource:Macken property:diplomatic_relation ?o }
[]