Simple Question (Direct)
Simple Question
Q4898951
P27
Q15617994
USER
Which administrative territory does Betty Reed belong to ?
(Q4898951,P27,c(Q15617994))
action filter_type
action find
entity Q4898951
relation P27
type Q15617994
['Q4898951', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4898951 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Betty Reed
action filter_type
action find
entity Betty Reed
relation country of citizenship
type designation for an administrative territorial entity
['Betty Reed', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Betty_Reed property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4898951,P27,c(Q15617994))
action filter_type
action find
entity Q4898951
relation P27
type Q15617994
Betty Reed belongs to [ANSWER]
['Q4898951', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4898951 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
Betty Reed belongs to United States of America
United States of America
action filter_type
action find
entity Betty Reed
relation country of citizenship
type designation for an administrative territorial entity
['Betty Reed', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Betty_Reed property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P172
Q502895
USER
Who have that administrative territory as ethnic group ?
(c(Q502895),P172,Q30)
action filter_type
action find_reverse
entity Q30
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P172 resource:Q30 . ?c rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:ethnic_group resource:United_States_of_America . ?c rdf:type ontology:common_name }
[]
common name
Q1617040 Q1339445 Q6248626
SYSTEM
Heywood Broun, Rolf Saxon, John Michael Ferrari
Q6498788 Q1617040 Q1121923 Q1309248 Q881282 Q4881771 Q5550870 Q6229442 Q6286945 Q7166358 Q1752858 Q6248626 Q6789001 Q7558698 Q1282481 Q2352411 Q702510 Q1339445 Q7928107 Q1120176 Q6532530 Q467925 Q4515626 Q5371265 Q6794903 Q4411969 Q7827487 Q5497389 Q6451062 Q4648425 Q460312
(c(Q502895),P172,Q30)
action filter_type
action find_reverse
entity Q30
relation P172
type Q502895
[ANSWERS] have that administrative territory as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P172 resource:Q30 . ?c rdf:type ontology:Q502895 }
Laura Chang Heywood Broun Don Yenko Ray Dragon Blake Riley Bela Hubbard Gerit Quealy John Dillard Joseph Sexton Pepper Jay Eric Ries John Michael Ferrari Matt Majors Solomon Lee Van Meter, Jr. Jake Deckard Jason Ridge Jennifer 8. Lee Rolf Saxon Vidkid Timo Ricky Sinz Jenny Lawson Desireé Cousteau C. J. Chivers Emil Guillermo Max Jones Bruce Seven Tory Mason Frederick Blantford Bate Kyle Bradford A. T. Mann Matthew Rush
Heywood Broun, Rolf Saxon and John Michael Ferrari have that administrative territory as ethnic group
Heywood Broun Rolf Saxon John Michael Ferrari
action filter_type
action find_reverse
entity United States of America
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:ethnic_group resource:United_States_of_America . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q881439 Q4898951
P102
Q7210356
USER
Which political organizations are Betty Reed and Octaviano Ambrosio Larrazolo affiliated with ?
AND((Q4898951,P102,c(Q7210356)), (Q881439,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q4898951
relation P102
action find
entity Q881439
relation P102
type Q7210356
{'AND': [['Q4898951', 'P102', {'concept': 'Q7210356'}], ['Q881439', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . resource:Q4898951 property:P102 ?h . resource:Q881439 property:P102 ?h }
Octaviano Ambrosio Larrazolo Betty Reed
action filter_type
action intersection
action find
entity Betty Reed
relation member of political party
action find
entity Octaviano Ambrosio Larrazolo
relation member of political party
type political organization
{'AND': [['Betty Reed', 'member of political party', {'concept': 'political organization'}], ['Octaviano Ambrosio Larrazolo', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . resource:Betty_Reed property:member_of_political_party ?h . resource:Octaviano_Ambrosio_Larrazolo property:member_of_political_party ?h }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
AND((Q4898951,P102,c(Q7210356)), (Q881439,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q4898951
relation P102
action find
entity Q881439
relation P102
type Q7210356
Betty Reed and Octaviano Ambrosio Larrazolo are affiliated with [ANSWER]
{'AND': [['Q4898951', 'P102', {'concept': 'Q7210356'}], ['Q881439', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . resource:Q4898951 property:P102 ?h . resource:Q881439 property:P102 ?h }
Democratic Party
Betty Reed and Octaviano Ambrosio Larrazolo are affiliated with Democratic Party
Democratic Party
action filter_type
action intersection
action find
entity Betty Reed
relation member of political party
action find
entity Octaviano Ambrosio Larrazolo
relation member of political party
type political organization
{'AND': [['Betty Reed', 'member of political party', {'concept': 'political organization'}], ['Octaviano Ambrosio Larrazolo', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . resource:Betty_Reed property:member_of_political_party ?h . resource:Octaviano_Ambrosio_Larrazolo property:member_of_political_party ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1545333 Q4898951
P937
Q56061
USER
Which administrative territories are the locations where Betty Reed or Gregory Fuller worked ?
OR((Q4898951,P937,c(Q56061)), (Q1545333,P937,c(Q56061)))
action filter_type
action union
action find
entity Q4898951
relation P937
action find
entity Q1545333
relation P937
type Q56061
{'OR': [['Q4898951', 'P937', {'concept': 'Q56061'}], ['Q1545333', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Q1545333 ) ( resource:Q4898951 ) } . ?k property:P937 ?u } . ?u rdf:type ontology:Q56061 }
Gregory Fuller Betty Reed
action filter_type
action union
action find
entity Betty Reed
relation work location
action find
entity Gregory Fuller
relation work location
type administrative territorial entity
{'OR': [['Betty Reed', 'work location', {'concept': 'administrative territorial entity'}], ['Gregory Fuller', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Gregory_Fuller ) ( resource:Betty_Reed ) } . ?k property:work_location ?u } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37043 Q1022
SYSTEM
Tallahassee, Stuttgart
Q37043 Q1022
OR((Q4898951,P937,c(Q56061)), (Q1545333,P937,c(Q56061)))
action filter_type
action union
action find
entity Q4898951
relation P937
action find
entity Q1545333
relation P937
type Q56061
[ANSWERS] are the locations where Betty Reed or Gregory Fuller worked
{'OR': [['Q4898951', 'P937', {'concept': 'Q56061'}], ['Q1545333', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Q1545333 ) ( resource:Q4898951 ) } . ?k property:P937 ?u } . ?u rdf:type ontology:Q56061 }
Tallahassee Stuttgart
Tallahassee and Stuttgart are the locations where Betty Reed or Gregory Fuller worked
Tallahassee Stuttgart
action filter_type
action union
action find
entity Betty Reed
relation work location
action find
entity Gregory Fuller
relation work location
type administrative territorial entity
{'OR': [['Betty Reed', 'work location', {'concept': 'administrative territorial entity'}], ['Gregory Fuller', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Gregory_Fuller ) ( resource:Betty_Reed ) } . ?k property:work_location ?u } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1339445
P161 P495
Q838948
USER
Which works of art stars Rolf Saxon as actor and have United States of America as their place of origin ?
AND((c(Q838948),P161,Q1339445), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1339445
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1339445'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q1339445 . ?a property:P495 resource:Q30 . ?a rdf:type ontology:Q838948 }
United States of America Rolf Saxon
action filter_type
action intersection
action find_reverse
entity Rolf Saxon
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Rolf Saxon'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Rolf_Saxon . ?a property:country_of_origin resource:United_States_of_America . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1741232 Q578873 Q16251439
SYSTEM
Mission: Impossible, Entrapment, A Hologram for the King
Q1741232 Q578873 Q16251439
AND((c(Q838948),P161,Q1339445), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1339445
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] star Rolf Saxon as actor and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1339445'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q1339445 . ?a property:P495 resource:Q30 . ?a rdf:type ontology:Q838948 }
Mission: Impossible Entrapment A Hologram for the King
Mission: Impossible, Entrapment and A Hologram for the King star Rolf Saxon as actor and have United States of America as their place of origin
Mission: Impossible Entrapment A Hologram for the King
action filter_type
action intersection
action find_reverse
entity Rolf Saxon
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Rolf Saxon'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Rolf_Saxon . ?a property:country_of_origin resource:United_States_of_America . ?a rdf:type ontology:work_of_art }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1441
Q838948 Q15619164 Q15707583
USER
How many works of art feature less number of abstract beings or fictional taxons than that work of art ?
(c(Q15619164)|c(Q15707583),P1441,c(Q838948))
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
work of art abstract being fictional taxon
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1741232
SYSTEM
Did you mean Mission: Impossible ?
(c(Q15619164)|c(Q15707583),P1441,c(Q838948))
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
Did you mean Mission: Impossible ?
Mission: Impossible
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q15619164)|c(Q15707583),P1441,c(Q838948))
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
[]
SYSTEM
0
(c(Q15619164)|c(Q15707583),P1441,c(Q838948))
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
0
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q838948 . ?b rdf:type ontology:Q386724 . ?b property:P1445 ?y } GROUP BY ?b } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { ?l property:P1445 ?r . ?l rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?l } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:work_of_art . ?b rdf:type ontology:work . ?b property:fictional_universe_described_in ?y } GROUP BY ?b } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { ?l property:fictional_universe_described_in ?r . ?l rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?l } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] represents a fictional universe described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q838948 . ?b rdf:type ontology:Q386724 . ?b property:P1445 ?y } GROUP BY ?b } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { ?l property:P1445 ?r . ?l rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?l } }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:work_of_art . ?b rdf:type ontology:work . ?b property:fictional_universe_described_in ?y } GROUP BY ?b } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { ?l property:fictional_universe_described_in ?r . ?l rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15223686 Q6248626
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of John Michael Ferrari or are Hepet a part of ?
OR((Q6248626,P27,c(Q15617994)), (Q15223686,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6248626
relation P27
action find
entity Q15223686
relation P17
type Q15617994
{'OR': [['Q6248626', 'P27', {'concept': 'Q15617994'}], ['Q15223686', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6248626 property:P27 ?s } UNION { resource:Q15223686 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Hepet John Michael Ferrari
action filter_type
action union
action find
entity John Michael Ferrari
relation country of citizenship
action find
entity Hepet
relation country
type designation for an administrative territorial entity
{'OR': [['John Michael Ferrari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hepet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:John_Michael_Ferrari property:country_of_citizenship ?s } UNION { resource:Hepet property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q836
SYSTEM
United States of America, Myanmar
Q30 Q836
OR((Q6248626,P27,c(Q15617994)), (Q15223686,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6248626
relation P27
action find
entity Q15223686
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of John Michael Ferrari or are Hepet a part of
{'OR': [['Q6248626', 'P27', {'concept': 'Q15617994'}], ['Q15223686', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6248626 property:P27 ?s } UNION { resource:Q15223686 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
United States of America Myanmar
United States of America and Myanmar are the countries of citizenship of John Michael Ferrari or are Hepet a part of
United States of America Myanmar
action filter_type
action union
action find
entity John Michael Ferrari
relation country of citizenship
action find
entity Hepet
relation country
type designation for an administrative territorial entity
{'OR': [['John Michael Ferrari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hepet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:John_Michael_Ferrari property:country_of_citizenship ?s } UNION { resource:Hepet property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5235523
P27
Q502895
USER
Are David Jack a citizen of those administrative territories ?
(Q5235523,P27,Q30) (Q5235523,P27,Q836)
action is_in
entity prev_answer
action find
entity Q5235523
relation P27
['Q5235523', 'P27', 'Q30'] ['Q5235523', 'P27', 'Q836']
ASK WHERE { VALUES ( ?b ) { ( resource:Q30 ) ( resource:Q836 ) } . resource:Q5235523 property:P27 ?b }
David Jack
action is_in
entity prev_answer
action find
entity David Jack
relation country of citizenship
['David Jack', 'country of citizenship', 'United States of America'] ['David Jack', 'country of citizenship', 'Myanmar']
ASK WHERE { VALUES ( ?b ) { ( resource:United_States_of_America ) ( resource:Myanmar ) } . resource:David_Jack property:country_of_citizenship ?b }
[]
common name
SYSTEM
NO
(Q5235523,P27,Q30) (Q5235523,P27,Q836)
action is_in
entity prev_answer
action find
entity Q5235523
relation P27
[ANSWER]
['Q5235523', 'P27', 'Q30'] ['Q5235523', 'P27', 'Q836']
ASK WHERE { VALUES ( ?b ) { ( resource:Q30 ) ( resource:Q836 ) } . resource:Q5235523 property:P27 ?b }
No
action is_in
entity prev_answer
action find
entity David Jack
relation country of citizenship
['David Jack', 'country of citizenship', 'United States of America'] ['David Jack', 'country of citizenship', 'Myanmar']
ASK WHERE { VALUES ( ?b ) { ( resource:United_States_of_America ) ( resource:Myanmar ) } . resource:David_Jack property:country_of_citizenship ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q384426 Q7415263 Q8031613
P1445
Q838948
USER
Is Pirates of the Caribbean recounted in San Saba and Women of Twilight ?
(Q384426,P1445,Q7415263) (Q384426,P1445,Q8031613)
action is_in
entity Q384426
action intersection
action find_reverse
entity Q7415263
relation P1445
action find_reverse
entity Q8031613
relation P1445
['Q384426', 'P1445', 'Q7415263'] ['Q384426', 'P1445', 'Q8031613']
ASK WHERE { resource:Q384426 property:P1445 resource:Q7415263 . resource:Q384426 property:P1445 resource:Q8031613 }
Pirates of the Caribbean San Saba Women of Twilight
action is_in
entity Pirates of the Caribbean
action intersection
action find_reverse
entity San Saba
relation fictional universe described in
action find_reverse
entity Women of Twilight
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'San Saba'] ['Pirates of the Caribbean', 'fictional universe described in', 'Women of Twilight']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:San_Saba . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Women_of_Twilight }
[]
work of art
SYSTEM
NO
(Q384426,P1445,Q7415263) (Q384426,P1445,Q8031613)
action is_in
entity Q384426
action intersection
action find_reverse
entity Q7415263
relation P1445
action find_reverse
entity Q8031613
relation P1445
[ANSWER]
['Q384426', 'P1445', 'Q7415263'] ['Q384426', 'P1445', 'Q8031613']
ASK WHERE { resource:Q384426 property:P1445 resource:Q7415263 . resource:Q384426 property:P1445 resource:Q8031613 }
No
action is_in
entity Pirates of the Caribbean
action intersection
action find_reverse
entity San Saba
relation fictional universe described in
action find_reverse
entity Women of Twilight
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'San Saba'] ['Pirates of the Caribbean', 'fictional universe described in', 'Women of Twilight']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:San_Saba . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Women_of_Twilight }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q811
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of administrative territories than Nicaragua ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?c ) WHERE { ?w property:P530 ?k . ?w rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q811 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?n ) }
Nicaragua
action count
action greater
action find_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
entity Nicaragua
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 ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?c ) WHERE { ?w property:diplomatic_relation ?k . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Nicaragua property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?c ) WHERE { ?w property:P530 ?k . ?w rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q811 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?n ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_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
entity Nicaragua
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 ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?c ) WHERE { ?w property:diplomatic_relation ?k . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Nicaragua property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q142
P530
Q15617994 Q15617994
USER
And also tell me about France?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q142 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?s ) }
France
action count
action greater
action find_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
entity France
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 ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:France property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
10
Q801 Q805 Q159 Q155 Q30 Q38 Q230 Q184 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q142 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?s ) }
Israel Yemen Russia Brazil United States of America Italy Georgia Belarus Kenya Zambia
10
action count
action greater
action find_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
entity France
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 ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:France property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with approximately the same number of administrative territories as Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?d ) WHERE { ?f property:P530 ?v . ?f rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q781 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?y ) }
Antigua and Barbuda
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?d ) WHERE { ?f property:diplomatic_relation ?v . ?f rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?y ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?d ) WHERE { ?f property:P530 ?v . ?f rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q781 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?y ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?d ) WHERE { ?f property:diplomatic_relation ?v . ?f rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q15617994 Q1048835
USER
And also tell me about Jamaica?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?r ) }
Jamaica
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?r ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?r ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?r ) }
[]