Simple Question (Direct)
Simple Question
Q1749608
P27
Q15617994
USER
Which administrative territory is Lawrence C. Evans an inhabitant of ?
(Q1749608,P27,c(Q15617994))
action filter_type
action find
entity Q1749608
relation P27
type Q15617994
['Q1749608', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1749608 property:P27 ?f }
Lawrence C. Evans
action filter_type
action find
entity Lawrence C. Evans
relation country of citizenship
type designation for an administrative territorial entity
['Lawrence C. Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lawrence_C._Evans property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1749608,P27,c(Q15617994))
action filter_type
action find
entity Q1749608
relation P27
type Q15617994
[ANSWER] is Lawrence C. Evans an inhabitant of
['Q1749608', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1749608 property:P27 ?f }
United States of America
United States of America is Lawrence C. Evans an inhabitant of
United States of America
action filter_type
action find
entity Lawrence C. Evans
relation country of citizenship
type designation for an administrative territorial entity
['Lawrence C. Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lawrence_C._Evans property:country_of_citizenship ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1749608
P184
Q502895
USER
Which person was the doctoral advisor of that one ?
(Q30,P184,c(Q502895))
action filter_type
action find
entity Q1749608
relation P184
type Q502895
['Q30', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1749608 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Lawrence C. Evans
action filter_type
action find
entity Lawrence C. Evans
relation doctoral advisor
type common name
['United States of America', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Lawrence_C._Evans property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1496707
SYSTEM
Michael G. Crandall
Q1496707
(Q30,P184,c(Q502895))
action filter_type
action find
entity Q1749608
relation P184
type Q502895
[ANSWER] was the doctoral advisor of that one
['Q30', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1749608 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Michael G. Crandall
Michael G. Crandall was the doctoral advisor of that one
Michael G. Crandall
action filter_type
action find
entity Lawrence C. Evans
relation doctoral advisor
type common name
['United States of America', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Lawrence_C._Evans property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24034511
P725
Q502895 Q15961987
USER
How many television genres have been dubbed by around the same number of people as Voltron: Legendary Defender ?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?z ) WHERE { ?s rdf:type ontology:Q15961987 . ?k rdf:type ontology:Q502895 . ?s property:P725 ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q24034511 property:P725 ?q . ?q rdf:type ontology:Q15961987 } } . FILTER ( ?z = ?f ) }
Voltron: Legendary Defender
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?z ) WHERE { ?s rdf:type ontology:television_genre . ?k rdf:type ontology:common_name . ?s property:voice_actor ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Voltron:_Legendary_Defender property:voice_actor ?q . ?q rdf:type ontology:television_genre } } . FILTER ( ?z = ?f ) }
[]
common name television genre
SYSTEM
10
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?z ) WHERE { ?s rdf:type ontology:Q15961987 . ?k rdf:type ontology:Q502895 . ?s property:P725 ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q24034511 property:P725 ?q . ?q rdf:type ontology:Q15961987 } } . FILTER ( ?z = ?f ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
10
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?z ) WHERE { ?s rdf:type ontology:television_genre . ?k rdf:type ontology:common_name . ?s property:voice_actor ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Voltron:_Legendary_Defender property:voice_actor ?q . ?q rdf:type ontology:television_genre } } . FILTER ( ?z = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q917543
P725
Q502895 Q15961987
USER
And how about The Garfield Show?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?u ) WHERE { ?v property:P725 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15961987 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q917543 property:P725 ?n . ?n rdf:type ontology:Q15961987 } } . FILTER ( ?u = ?r ) }
The Garfield Show
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?u ) WHERE { ?v property:voice_actor ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:television_genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:The_Garfield_Show property:voice_actor ?n . ?n rdf:type ontology:television_genre } } . FILTER ( ?u = ?r ) }
[]
common name television genre
SYSTEM
8
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?u ) WHERE { ?v property:P725 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15961987 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q917543 property:P725 ?n . ?n rdf:type ontology:Q15961987 } } . FILTER ( ?u = ?r ) }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
8
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?u ) WHERE { ?v property:voice_actor ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:television_genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:The_Garfield_Show property:voice_actor ?n . ?n rdf:type ontology:television_genre } } . FILTER ( ?u = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2107
P840
Q15617994 Q838948 Q15416
USER
Which administrative territories are less number of works of art and television programs set in than Wuppertal ?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q2107
relation P840
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?b rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15416 } } . ?e property:P840 resource:Q2107 } } . FILTER ( ?x < ?s ) }
Wuppertal
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Wuppertal
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?b rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:television_program } } . ?e property:narrative_location resource:Wuppertal } } . FILTER ( ?x < ?s ) }
[]
designation for an administrative territorial entity work of art television program
Q230 Q32 Q1011
SYSTEM
Georgia, Luxembourg, Cape Verde
Q805 Q20837 Q265 Q18021 Q712 Q711 Q252 Q1460 Q399 Q403 Q1979 Q858 Q165040 Q490398 Q12515 Q32 Q928 Q424 Q733 Q854 Q819 Q340628 Q769680 Q230 Q12538 Q233 Q1045 Q1044 Q1860611 Q1027 Q2009 Q2007 Q1029 Q511806 Q225 Q223 Q12700 Q3207 Q159689 Q114 Q219 Q20571 Q1210 Q1005 Q833 Q683 Q874 Q948 Q817 Q1016 Q1011 Q678 Q12545 Q53216
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q2107
relation P840
type Q838948
type Q15416
[ANSWERS] are less number of works of art and television programs set in than Wuppertal
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?b rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15416 } } . ?e property:P840 resource:Q2107 } } . FILTER ( ?x < ?s ) }
Yemen Fanø Uzbekistan Biella Fiji Mongolia Indonesia Sicily Armenia Serbia Prince Edward Island Syria Duchy of Parma Peenemünde Gard Luxembourg Philippines Cambodia Paraguay Sri Lanka Laos Aggius Bornholm Georgia Haute-Garonne Malta Somalia Sierra Leone Viby Mauritius Yukon Northwest Territories Mozambique North Slope Borough Bosnia and Herzegovina Greenland Hautes-Pyrénées Aude Bomarzo Kenya Bulgaria Spoleto Lombardy Gambia Malaysia Samoa Turkmenistan Tunisia Kuwait Libya Cape Verde Tonga Hérault Aquileia
Georgia, Luxembourg and Cape Verde are less number of works of art and television programs set in than Wuppertal
Georgia Luxembourg Cape Verde
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Wuppertal
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?b rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:television_program } } . ?e property:narrative_location resource:Wuppertal } } . FILTER ( ?x < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q241
P840
Q15617994 Q838948 Q15416
USER
And what about Cuba?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q241
relation P840
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?j rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P840 resource:Q241 . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?y < ?w ) }
Cuba
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Cuba
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?j rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:narrative_location resource:Cuba . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?y < ?w ) }
[]
designation for an administrative territorial entity work of art television program
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q241
relation P840
type Q838948
type Q15416
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?j rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P840 resource:Q241 . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?y < ?w ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Russia France
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Cuba
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?j rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:narrative_location resource:Cuba . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?y < ?w ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q503926
P530
Q15617994
USER
Are Dollern known to have diplomatic connections with those ones ?
(Q503926,P530,Q230) (Q503926,P530,Q159) (Q503926,P530,Q142)
action is_in
entity prev_answer
action find
entity Q503926
relation P530
['Q503926', 'P530', 'Q230'] ['Q503926', 'P530', 'Q159'] ['Q503926', 'P530', 'Q142']
ASK WHERE { resource:Q503926 property:P530 ?h . VALUES ( ?h ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } }
Dollern
action is_in
entity prev_answer
action find
entity Dollern
relation diplomatic relation
['Dollern', 'diplomatic relation', 'Georgia'] ['Dollern', 'diplomatic relation', 'Russia'] ['Dollern', 'diplomatic relation', 'France']
ASK WHERE { resource:Dollern property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q503926,P530,Q230) (Q503926,P530,Q159) (Q503926,P530,Q142)
action is_in
entity prev_answer
action find
entity Q503926
relation P530
[ANSWER]
['Q503926', 'P530', 'Q230'] ['Q503926', 'P530', 'Q159'] ['Q503926', 'P530', 'Q142']
ASK WHERE { resource:Q503926 property:P530 ?h . VALUES ( ?h ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } }
No
action is_in
entity prev_answer
action find
entity Dollern
relation diplomatic relation
['Dollern', 'diplomatic relation', 'Georgia'] ['Dollern', 'diplomatic relation', 'Russia'] ['Dollern', 'diplomatic relation', 'France']
ASK WHERE { resource:Dollern property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?l property:P530 ?x } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?q ) WHERE { ?f property:P530 ?e . ?f rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?q = ?d ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?x } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?q ) WHERE { ?f property:diplomatic_relation ?e . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?q = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?l property:P530 ?x } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?q ) WHERE { ?f property:P530 ?e . ?f rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?q = ?d ) }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?x } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?q ) WHERE { ?f property:diplomatic_relation ?e . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?q = ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q38,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q38 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Italy
action filter_type
action find
entity Italy
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Italy property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q38,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q38', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q38 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity Italy
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Italy property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q1292279
USER
Which administrative territories are judicially linked to approximately 39 positions or political borders ?
(c(Q4164871)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 39
[[{'concept': 'Q4164871'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1292279 . ?f property:P1001 ?v } UNION { ?f property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q4164871 } } GROUP BY ?v } . FILTER ( ?j = 39 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 39
[[{'concept': 'position'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction ?v } UNION { ?f property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:position } } GROUP BY ?v } . FILTER ( ?j = 39 ) }
[]
designation for an administrative territorial entity position political border
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
(c(Q4164871)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 39
[ANSWERS] are judicially linked to approximately 39 positions or political borders
[[{'concept': 'Q4164871'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1292279 . ?f property:P1001 ?v } UNION { ?f property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q4164871 } } GROUP BY ?v } . FILTER ( ?j = 39 ) }
France United Kingdom
France and United Kingdom are judicially linked to approximately 39 positions or political borders
France United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 39
[[{'concept': 'position'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction ?v } UNION { ?f property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:position } } GROUP BY ?v } . FILTER ( ?j = 39 ) }
[]