Simple Question (Direct)
Simple Question
Q639869
P57
Q502895
USER
Who was Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!! directed by ?
(Q639869,P57,c(Q502895))
action filter_type
action find
entity Q639869
relation P57
type Q502895
['Q639869', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q639869 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
action filter_type
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation director
type common name
['Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q3297130
SYSTEM
Masakazu Hashimoto
Q3297130
(Q639869,P57,c(Q502895))
action filter_type
action find
entity Q639869
relation P57
type Q502895
Was Crayon Shin-chan : Very Tasty ! [ANSWER]
['Q639869', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q639869 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Masakazu Hashimoto
Was Crayon Shin-chan : Very Tasty ! Masakazu Hashimoto
Masakazu Hashimoto
action filter_type
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation director
type common name
['Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q639869
P272
Q375336
USER
Who produced that work of art ?
(Q3297130,P272,c(Q375336))
action filter_type
action find
entity Q639869
relation P272
type Q375336
['Q3297130', 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?b WHERE { resource:Q639869 property:P272 ?b . ?b rdf:type ontology:Q375336 }
Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
action filter_type
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation production company
type film studio
['Masakazu Hashimoto', 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?b WHERE { resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! property:production_company ?b . ?b rdf:type ontology:film_studio }
[]
film studio
Q1136386
SYSTEM
Shin-Ei Animation
Q1136386
(Q3297130,P272,c(Q375336))
action filter_type
action find
entity Q639869
relation P272
type Q375336
[ANSWER] produced that work of art
['Q3297130', 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?b WHERE { resource:Q639869 property:P272 ?b . ?b rdf:type ontology:Q375336 }
Shin-Ei Animation
Shin-Ei Animation produced that work of art
Shin-Ei Animation
action filter_type
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation production company
type film studio
['Masakazu Hashimoto', 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?b WHERE { resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! property:production_company ?b . ?b rdf:type ontology:film_studio }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1136386 Q12121184
P740
Q56061
USER
Did that film studio orginate Manonyane ?
(Q1136386,P740,Q12121184)
action is_in
entity Q12121184
action find
entity Q1136386
relation P740
['Q1136386', 'P740', 'Q12121184']
ASK WHERE { resource:Q1136386 property:P740 resource:Q12121184 }
Shin-Ei Animation Manonyane
action is_in
entity Manonyane
action find
entity Shin-Ei Animation
relation location of formation
['Shin-Ei Animation', 'location of formation', 'Manonyane']
ASK WHERE { resource:Shin-Ei_Animation property:location_of_formation resource:Manonyane }
[]
administrative territorial entity
SYSTEM
NO
(Q1136386,P740,Q12121184)
action is_in
entity Q12121184
action find
entity Q1136386
relation P740
[ANSWER]
['Q1136386', 'P740', 'Q12121184']
ASK WHERE { resource:Q1136386 property:P740 resource:Q12121184 }
No
action is_in
entity Manonyane
action find
entity Shin-Ei Animation
relation location of formation
['Shin-Ei Animation', 'location of formation', 'Manonyane']
ASK WHERE { resource:Shin-Ei_Animation property:location_of_formation resource:Manonyane }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5432650 Q639869
P495
Q15617994
USER
Which administrative territories are the countries of origin of Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!! or False Impression ?
OR((Q639869,P495,c(Q15617994)), (Q5432650,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q639869
relation P495
action find
entity Q5432650
relation P495
type Q15617994
{'OR': [['Q639869', 'P495', {'concept': 'Q15617994'}], ['Q5432650', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?b property:P495 ?i . VALUES ( ?b ) { ( resource:Q639869 ) ( resource:Q5432650 ) } } . ?i rdf:type ontology:Q15617994 }
False Impression Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
action filter_type
action union
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation country of origin
action find
entity False Impression
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['False Impression', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?b property:country_of_origin ?i . VALUES ( ?b ) { ( resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! ) ( resource:False_Impression ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q639869,P495,c(Q15617994)), (Q5432650,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q639869
relation P495
action find
entity Q5432650
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!! or False Impression
{'OR': [['Q639869', 'P495', {'concept': 'Q15617994'}], ['Q5432650', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?b property:P495 ?i . VALUES ( ?b ) { ( resource:Q639869 ) ( resource:Q5432650 ) } } . ?i rdf:type ontology:Q15617994 }
Japan United Kingdom
Japan and United Kingdom are the countries of origin of Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!! or False Impression
Japan United Kingdom
action filter_type
action union
action find
entity Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!
relation country of origin
action find
entity False Impression
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Crayon Shin-chan: Very Tasty! B-class Gourmet Survival!!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['False Impression', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?b property:country_of_origin ?i . VALUES ( ?b ) { ( resource:Crayon_Shin-chan:_Very_Tasty!_B-class_Gourmet_Survival!! ) ( resource:False_Impression ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with lesser number of administrative territories than New Zealand ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?f ) WHERE { ?z property:P530 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q664 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?f < ?u ) }
New Zealand
action less
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?f ) WHERE { ?z property:diplomatic_relation ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:New_Zealand property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?f < ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWERS] have diplomatic associations with lesser number of administrative territories than New Zealand
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?f ) WHERE { ?z property:P530 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q664 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?f < ?u ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
Gabon, Grenada and Papua New Guinea have diplomatic associations with lesser number of administrative territories than New Zealand
Gabon Grenada Papua New Guinea
action less
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?f ) WHERE { ?z property:diplomatic_relation ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:New_Zealand property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?f < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35
P530
Q15617994 Q1048835
USER
And how about Denmark?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?p ) WHERE { ?o property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q35 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?u ) }
Denmark
action less
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 Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?p ) WHERE { ?o property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q664 Q1000 Q769
SYSTEM
New Zealand, Gabon, Grenada
Q1000 Q781 Q778 Q769 Q685 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?p ) WHERE { ?o property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q35 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?u ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea New Zealand Jamaica
New Zealand Gabon Grenada
action less
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 Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?p ) WHERE { ?o property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?u ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q22687 Q484652
USER
How many banks or international organizations had that political territory as their member ?
(Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q664,P463,c(Q22687)) (Q664,P463,c(Q484652)) (Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q769,P463,c(Q22687)) (Q769,P463,c(Q484652))
['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q22687'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q769', 'P463', {'concept': 'Q22687'}] ['Q769', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } UNION { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q2897304 property:P463 ?z } UNION { resource:Q2897304 property:P463 ?y } } . ?z rdf:type ontology:Q806610 . ?y rdf:type ontology:Q484652 }
['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'bank'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['Grenada', 'member of', {'concept': 'bank'}] ['Grenada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } UNION { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:Grenada property:member_of ?z } UNION { resource:Grenada property:member_of ?y } } . ?z rdf:type ontology:bank . ?y rdf:type ontology:international_organization }
[]
bank international organization
Quantitative|Count|Mult. entity type|Clarification
Q769
SYSTEM
Did you mean Grenada ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } UNION { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q2897304 property:P463 ?z } UNION { resource:Q2897304 property:P463 ?y } } . ?z rdf:type ontology:Q806610 . ?y rdf:type ontology:Q484652 }
Did you mean Grenada ?
Grenada
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } UNION { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:Grenada property:member_of ?z } UNION { resource:Grenada property:member_of ?y } } . ?z rdf:type ontology:bank . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gabon. Could you tell me the answer for that?
(Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q664,P463,c(Q22687)) (Q664,P463,c(Q484652)) (Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q769,P463,c(Q22687)) (Q769,P463,c(Q484652))
Q1000
['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q22687'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q769', 'P463', {'concept': 'Q22687'}] ['Q769', 'P463', {'concept': 'Q484652'}]
['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'bank'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['Grenada', 'member of', {'concept': 'bank'}] ['Grenada', 'member of', {'concept': 'international organization'}]
[]
SYSTEM
4
Q189972 Q1065 Q294278 Q1043527
(Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q664,P463,c(Q22687)) (Q664,P463,c(Q484652)) (Q1000,P463,c(Q22687)) (Q1000,P463,c(Q484652)) (Q769,P463,c(Q22687)) (Q769,P463,c(Q484652))
[ANSWER]
['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q22687'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q1000', 'P463', {'concept': 'Q22687'}] ['Q1000', 'P463', {'concept': 'Q484652'}] ['Q769', 'P463', {'concept': 'Q22687'}] ['Q769', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } UNION { resource:Q1241571 property:P463 ?z } UNION { resource:Q1241571 property:P463 ?y } UNION { resource:Q2897304 property:P463 ?z } UNION { resource:Q2897304 property:P463 ?y } } . ?z rdf:type ontology:Q806610 . ?y rdf:type ontology:Q484652 }
Bank of Central African States United Nations African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency
4
['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'bank'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['Gabon', 'member of', {'concept': 'bank'}] ['Gabon', 'member of', {'concept': 'international organization'}] ['Grenada', 'member of', {'concept': 'bank'}] ['Grenada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } UNION { resource:Gabon property:member_of ?z } UNION { resource:Gabon property:member_of ?y } UNION { resource:Grenada property:member_of ?z } UNION { resource:Grenada property:member_of ?y } } . ?z rdf:type ontology:bank . ?y rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1000
P1376
Q56061
USER
Which administrative territory is the county seat of that political territory ?
action filter_type
action find_reverse
entity Q1000
relation P1376
type Q56061
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q1000 . ?e rdf:type ontology:Q56061 }
Gabon
action filter_type
action find_reverse
entity Gabon
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Gabon . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3825
SYSTEM
Libreville
Q3825
action filter_type
action find_reverse
entity Q1000
relation P1376
type Q56061
[ANSWER] is the county seat of that political territory
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q1000 . ?e rdf:type ontology:Q56061 }
Libreville
Libreville is the county seat of that political territory
Libreville
action filter_type
action find_reverse
entity Gabon
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Gabon . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3825 Q4522156 Q1000
P1376
Q1048835
USER
Is that administrative territory the capital of Shevchenko and Gabon ?
(Q3825,P1376,Q4522156) (Q3825,P1376,Q1000)
action is_in
entity Q3825
action intersection
action find_reverse
entity Q4522156
relation P1376
action find_reverse
entity Q1000
relation P1376
['Q3825', 'P1376', 'Q4522156'] ['Q3825', 'P1376', 'Q1000']
ASK WHERE { resource:Q3825 property:P1376 resource:Q4522156 . resource:Q3825 property:P1376 resource:Q1000 }
Libreville Shevchenko Gabon
action is_in
entity Libreville
action intersection
action find_reverse
entity Shevchenko
relation capital of
action find_reverse
entity Gabon
relation capital of
['Libreville', 'capital of', 'Shevchenko'] ['Libreville', 'capital of', 'Gabon']
ASK WHERE { resource:Libreville property:capital_of resource:Shevchenko . resource:Libreville property:capital_of resource:Gabon }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q3825,P1376,Q4522156) (Q3825,P1376,Q1000)
action is_in
entity Q3825
action intersection
action find_reverse
entity Q4522156
relation P1376
action find_reverse
entity Q1000
relation P1376
[ANSWER]
['Q3825', 'P1376', 'Q4522156'] ['Q3825', 'P1376', 'Q1000']
ASK WHERE { resource:Q3825 property:P1376 resource:Q4522156 . resource:Q3825 property:P1376 resource:Q1000 }
NO and YES respectively
action is_in
entity Libreville
action intersection
action find_reverse
entity Shevchenko
relation capital of
action find_reverse
entity Gabon
relation capital of
['Libreville', 'capital of', 'Shevchenko'] ['Libreville', 'capital of', 'Gabon']
ASK WHERE { resource:Libreville property:capital_of resource:Shevchenko . resource:Libreville property:capital_of resource:Gabon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P35
Q502895
USER
Which people have the highest formal authority in United Kingdom ?
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q145 property:P35 ?m . ?m rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:United_Kingdom property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
common name
Q9682 Q280856 Q269412
SYSTEM
Elizabeth II, George VI, George V
Q590227 Q269412 Q280856 Q9682
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
[ANSWERS] have the highest formal authority in United Kingdom
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q145 property:P35 ?m . ?m rdf:type ontology:Q502895 }
Edward VIII George V George VI Elizabeth II
Elizabeth II, George VI and George V have the highest formal authority in United Kingdom
Elizabeth II George VI George V
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:United_Kingdom property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q145
P27
Q502895
USER
Which people are a citizen of United Kingdom and United States of America ?
AND((c(Q502895),P27,Q145), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q145'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q145 . ?t property:P27 resource:Q30 . ?t rdf:type ontology:Q502895 }
United States of America United Kingdom
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:United_Kingdom . ?t property:country_of_citizenship resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
common name
Q3438272 Q17364581 Q182543 Q365310 Q6270415 Q1399545 Q5548829 Q656507 Q16066624 Q1356381
SYSTEM
Some of them are Whitney Straight, Stephanie Gandy, William Samuel Johnson, Adolph Deutsch, Jon Boden, Thomas Heyward, Jr., Geraint Wyn Davies, Sydney Greenstreet, Alfred Grindle, Ernest Henry Wilson
Q1682584 Q387664 Q312639 Q156552 Q656507 Q661176 Q7328480 Q5339815 Q739522 Q318734 Q2580066 Q878666 Q232757 Q516092 Q2699786 Q283872 Q3040111 Q314252 Q304675 Q1347934 Q1387862 Q6106725 Q464245 Q727015 Q949208 Q115962 Q656478 Q938558 Q2442859 Q5951232 Q123849 Q274686 Q1683691 Q3674951 Q206191 Q698102 Q1396241 Q924974 Q731813 Q5262188 Q230636 Q655575 Q20734426 Q212498 Q721599 Q1566970 Q3984634 Q310178 Q360550 Q712851 Q5331651 Q444362 Q16389 Q7788344 Q430720 Q349629 Q553825 Q16066624 Q969341 Q22569521 Q1507425 Q5126191 Q6270415 Q17305891 Q7374 Q193458 Q193517 Q2062124 Q743472 Q7373022 Q485298 Q1658098 Q817419 Q1750774 Q887130 Q929691 Q7534529 Q4772322 Q965138 Q28941 Q880686 Q6248664 Q1369216 Q272042 Q15096603 Q511948 Q1337848 Q4934976 Q4773455 Q323503 Q725907 Q16198926 Q2624066 Q2120396 Q3891594 Q1699451 Q4078431 Q74894 Q6231916 Q15982397 Q144813 Q450871 Q34851 Q1425193 Q215006 Q12898 Q240238 Q1377706 Q6831482 Q1813622 Q376398 Q442104 Q5240697 Q86502 Q344080 Q864938 Q16003604 Q375574 Q1772523 Q182543 Q979131 Q709825 Q560647 Q6250095 Q5451142 Q220234 Q6726008 Q5546526 Q1701617 Q234959 Q1606992 Q7358984 Q234952 Q5538421 Q365650 Q1969780 Q5046567 Q230958 Q817758 Q334001 Q2767 Q15900159 Q27067481 Q16708005 Q180589 Q6548149 Q6730626 Q542043 Q1566314 Q2580805 Q459337 Q375395 Q4367134 Q1356686 Q2277418 Q20985495 Q363930 Q763507 Q20899726 Q5628433 Q5272994 Q636496 Q573264 Q5141749 Q817523 Q7025658 Q7408117 Q263215 Q2339401 Q4967847 Q465977 Q3703306 Q684226 Q19342590 Q709076 Q1345669 Q72867 Q326229 Q2578277 Q7816441 Q285521 Q436719 Q185724 Q516082 Q250080 Q3607769 Q451501 Q316629 Q464876 Q3476164 Q2832924 Q25191 Q714967 Q6243416 Q6245744 Q6259109 Q206856 Q549532 Q80405 Q442393 Q20882479 Q1681162 Q7326826 Q21997793 Q1443029 Q4718914 Q16885250 Q261159 Q240605 Q457856 Q4739648 Q430085 Q709081 Q485904 Q1675579 Q1592323 Q6680375 Q6385002 Q345692 Q215999 Q379580 Q7422573 Q6128892 Q5442146 Q6231539 Q1701256 Q380456 Q881165 Q2094347 Q107656 Q5216354 Q708913 Q2606824 Q530037 Q6349249 Q329870 Q6789450 Q182104 Q4716725 Q809031 Q1675940 Q5804895 Q3830671 Q3760867 Q1022544 Q17403654 Q3299377 Q329577 Q37767 Q4100323 Q1240192 Q1675628 Q298423 Q102406 Q6114447 Q232945 Q6200521 Q20792609 Q2416639 Q20684324 Q454595 Q4712334 Q498390 Q1136106 Q439394 Q553124 Q466055 Q587741 Q5241349 Q313023 Q5077663 Q5045035 Q4483815 Q4894345 Q1385662 Q5132920 Q2753075 Q1701928 Q7145619 Q5982416 Q95076 Q432007 Q5338695 Q1399545 Q506275 Q4355077 Q2088432 Q336074 Q1666382 Q4231614 Q14623628 Q143317 Q178698 Q1443080 Q2170922 Q728106 Q4772491 Q16295011 Q4960924 Q7320263 Q1507199 Q15439811 Q3723403 Q1700222 Q1387018 Q535951 Q1666814 Q6251980 Q17364581 Q126462 Q22087324 Q5415553 Q686126 Q532417 Q537583 Q2831143 Q6248966 Q931286 Q2042628 Q372788 Q2501572 Q743079 Q718735 Q2161949 Q230939 Q1268997 Q3713629 Q16942568 Q2852869 Q7172899 Q547485 Q22210897 Q7648469 Q1293950 Q902670 Q5528788 Q287572 Q550569 Q447612 Q3086858 Q2281614 Q5601503 Q5078958 Q3161860 Q5542128 Q2945133 Q766814 Q63189 Q653683 Q1655589 Q1359909 Q195013 Q3493017 Q235712 Q242656 Q405463 Q430893 Q1381060 Q6447203 Q7788340 Q652791 Q23043134 Q5537675 Q234909 Q18325771 Q328181 Q159636 Q1368351 Q920513 Q3675866 Q6529595 Q1837775 Q148669 Q365124 Q337089 Q1680873 Q455188 Q5548829 Q365310 Q458815 Q76532 Q303380 Q22667590 Q548140 Q6267451 Q3939846 Q904681 Q273434 Q6681440 Q3438272 Q1397321 Q223235 Q3880866 Q2418689 Q355024 Q1822138 Q7788139 Q128507 Q880222 Q7410287 Q92596 Q1441768 Q1356381 Q243011 Q540283 Q4730845 Q201893 Q19325754 Q1399643 Q20392014 Q5365533 Q1523989 Q346895 Q709552 Q3604988 Q725248 Q315734 Q1115886 Q1422690 Q5079543 Q10864 Q227142 Q5126557 Q1064473 Q18911824 Q11833634 Q2366114 Q258629 Q741323 Q718341 Q710057 Q278657 Q192718 Q2695518 Q1508599 Q721842 Q504233 Q1586837 Q6775987 Q95068 Q19519537 Q1066304 Q1658692 Q49081 Q4971551 Q6174185 Q204078 Q1413147 Q1741772 Q103099 Q353133 Q730483 Q16541041 Q727752 Q25078 Q6246525 Q683299 Q12177029 Q4769407 Q455572 Q6380228 Q207458 Q327981 Q207515 Q3973269 Q657569 Q22162595 Q5585078 Q2422211 Q449766 Q951409 Q1167568 Q671585 Q5525034 Q263022 Q332783 Q5982539 Q234572 Q7790309 Q1960839 Q5134646 Q567964 Q507763 Q453859 Q16193745 Q446115 Q3161311 Q102128 Q1108635 Q1397375 Q310765 Q6258301 Q817605 Q1701279 Q94081 Q1947379 Q5702488 Q22102945 Q1796439 Q156814 Q3811251 Q647979 Q271590 Q1132431 Q2157133 Q8006577 Q1507563 Q276028 Q963741 Q445158 Q94031 Q315601 Q58444 Q153717 Q902986 Q725974 Q522396 Q18607498 Q302752 Q5218493 Q7791659 Q1681005 Q524325 Q6688828 Q5931340 Q559409 Q5171067 Q4416037 Q3528592 Q4893276 Q2066635 Q327196 Q1370039 Q1343508 Q2651957 Q439302 Q449156 Q722472 Q5496975 Q2982661 Q5538701 Q1811907 Q2075812 Q2526329 Q35011 Q6233396 Q16761510 Q590856 Q7421687 Q328857 Q260575 Q2642209 Q203165 Q17017189 Q366078 Q15599188 Q1367952 Q4767718 Q437981 Q459482 Q2077683 Q505520 Q459800 Q7794200 Q331123 Q5489581 Q1738853 Q981821 Q21476608 Q1356531 Q273192 Q911566 Q344655 Q7188525 Q23787695 Q1606917
AND((c(Q502895),P27,Q145), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
Australia [ANSWERS] are a citizen of United Kingdom and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q145'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q145 . ?t property:P27 resource:Q30 . ?t rdf:type ontology:Q502895 }
Jane Colman Turell Benjamin Harrison V Fred Perry Lynn Redgrave Sydney Greenstreet Alexander Gardner Richard Portes Edmund Severn Freddie Bartholomew Claude Rains William Moultrie Edward Rutledge Gabrielle Anwar Ian Whittaker Colin Campbell Veronica Cartwright James J. Andrews Gregory Bateson MF DOOM William Thornton Neil Summers J. P. Wearing Arthur St. Clair James Stephenson Kim Butler David Coverdale Benjamin Rush Harry Bateman Tony Thomas Huw Edwards Jane Seymour Evangeline Booth William J. Porter China Soul Abigail Adams William Patrick Stuart-Houston Margaret Corbin Guy Bolton Oliver Wolcott Derek McLane Geraldine Chaplin George Ross Thomas David Edwards Adam Zamoyski James Smith Norman Felton Terrell Myers Alasdair MacIntyre Jaye Davidson Oliver Wallace Ebenezer Beesley Nicola Griffith Charles K. Kao Thomas Charles Farrer Charles Brabin Adam Gunn Moses I. Finley Alfred Grindle Owney Madden John Arthur Barratt George Gliddon Clare Kenny Jon Boden ED Berman Alfred Hitchcock Sienna Miller Emily Blunt Conway Tearle Robert Treat Paine Roy Keith Black Gillian Anderson Ike Isaacs Benjamin Bowden Roger Rees Samuel Huntington Rupert Charles Barneby Skelton Knaggs Anthony Cox Amelia Edith Huddleston Barr Frank Lloyd Thomas McKean John Michael Tobin George Taylor Denise Levertov Ashley Hamilton Marsha Hunt Henry Eckford Bobby Elliott Anthony Shaw Hamilton Camp Richard Henry Lee Michael Benz Nicholas Stoller Wilson Greatbatch Richard Talbert John Bull Cooper Barnes Martin Fowler John Escreet Euphemia Vale Blake Gunning Bedford, Jr. Philip Johnson-Laird Elizabeth Taylor Michael Mann Otto Hermann Kahn Humphrey Tonkin Bessie Love Grey Owl Michael J. Parlett William Carr Charles Klein Samuel Slater David W. Doyle Rudolf Bing Talbot Mundy Henry Chadwick Ivan Mackenzie Lamb Darren Phillip Seth Pomeroy William Samuel Johnson Louis Theroux Francis Lightfoot Lee Ronald Rivlin Peter Youngblood Hills Fionn Ó Lochlainn Diana Deutsch Mad Mel George Worsley Adamson John Rubens Smith Hayley Atwell Rose Coghlan Roger Tangri Betsy Ross George Davis Allan Pinkerton William Whipple Carroll Gibbons Merle Oberon Benjamin Zander Thomas Cole Daniel Morgan David A. B. Miller Priscilla K. S. Fawcett Elisha Bostwick Boris Johnson Lillian Kemble-Cooper Magic Alex Derek Prince Roger Cohen William Trent Nici Sterling Richard Bache Philip Barry Tomlinson Michael Bentt Shaun Wallace Stephen Maitland-Lewis Geoffrey Burbidge Frank Harris Joseph Foxcroft Cole Henry Morse Stephens Dick Hensold Charlie Hall Jeremy Belknap Cokni O'Dire Benjamin Guerard Nicholas John Benson Sam Sarpong Gloria Holden Prince Andrew Romanov Brigid Dawson Sheena Easton David Randall-MacIver Richard Fraser Simon Majumdar Stephen Hopkins William Hooper Craig Ferguson William Waldorf Astor, 1st Viscount Astor William Church Tom Kent Samuel Chase Patrick Macnee Mike Myers Colin Ferguson Helen Adam Alan R. Katritzky Steve-O Alan Cumming Robert Morris Scott Alexander Alex Corbisiero Christopher Nolan Philip Livingston John Kosh John M. Chamberlain John Stevenson Angela Lansbury Robert Smith Julianne Moore William Maclay Anya Taylor-Joy James T. Callender Richard Janko Robert D. Acland Frank Butler Alexander G. Fraser Jeff Forrest Kay Parker Emily Bergl Jessica Mitford Amanda Hillwood Phyllis Kaberry Arthur Darby Nock Bob Weston Ivan Moffat Ronald Noel Walpole Loren Gold Keith Semple Alfred Hayes Rudolf Wittkower John Muir Sarah Marshall James Ash Felix Borowski John Elder Robison John Oliver Hobbes Edward B. Titchener Thomas Pinckney Alistair Cooke Jean Simmons Daniel Adams George Clymer Harry Bernstein John Penn Matt Martians Abraham Clark Matt Tucker Jessica Tandy Alex Boyé Barry Fell Thomas Symmes Tony Hicks Leopold Wharton Gerald McMorrow Gold Selleck Silliman Robert J. Getty Benjamin Wilson Victor McLaglen T. S. Eliot Francis Boott Donald Moffat Ivan T. Sanderson Chelsea Manning Herbert C. Brown Jack Oliver Marina Sirtis Terry Sylvester Gaie Sebold Thelma Kingsbury Kaya Stewart Helen MacInnes Albhy Galuten James McCartney Robert Morrison MacIver Tim Hetherington A. E. Waite Gordon Welchman Jule Styne David Yarritu David McCallum Charles J. Finger Caroline Dale Joseph Fielding Bernie Calvert Joe Penny Clifford Davis Christopher O'Neill John Thomas Underwood Patricia Harmsworth, Viscountess Rothermere Ian Millington Joan Fontaine Kit Watkins Edith Wynne Matthison Thomas Heyward, Jr. Andrew McNally Belle Moore Phoebe Foster Christopher Guest Joseph Hewes Sally Jewell James Gwyn Henry Middleton W. H. Auden Frank Cioffi Roy Walker Charles Henry Stanley Anthony Fawcett Thomas K. Caughey Brendan Hill Rhashan Stone George Dangerfield Lucy Toulmin Smith Elizabeth J. Braswell John Gillespie Magee, Jr. George Nuttall Audrey Lawson-Johnston Albert Crewe John Parry Stephanie Gandy Thomas Paine Eric Underwood Evan Stephens James Carroll China Chow Thomas Lynch Albert E. Smith John Minto IV Alexander Wilson Owen Marks Jonathan Nolan Dayton Callie Leslie Charteris Donald Meek Roger Wolcott Catherine Bell Hans O. Peters Donald Garstang Peter Rodger Anthony Haden-Guest Peter Bourne John Badham Chloe Farnworth Susan Treggiari Edward V. Robertson David Mallet Gayle Day Rebecca Pidgeon Richard Stockton Binnie Barnes Fred Huntley Sid Cassel Colin Campbell Charles Henry Mills Jane Feather George Manwaring Meg Mundy William Paca Dana Wynter Paul Gambaccini Ian McLellan Hunter Keith Devlin Nancy Astor, Viscountess Astor Spencer Dunkley Margaret Burbidge Madeleine Carroll Charles Cotesworth Pinckney Charles Kent William Floyd Kurtis Mantronik Thomas Charles Byde Rooke Christopher Soghoian Arthur Edward Whatham George Careless Cecilia Payne-Gaposchkin Frederick William Anderson Lewis Morris Joseph Priestley Matthew Thornton Quentin Crisp Christopher Morrison Les Hinton Jackie Collins Ida Lupino Horatio Gates Peter Frampton James N. Goodier Jayne Atkinson Geraint Wyn Davies Adolph Deutsch Alexandra Byrne William Joyce John Abbot Kate Alberta Meakin Eric Temple Bell Johnny Pate Rod Brown William Worrall Mayo Elizabeth Jagger Lorne Cousin Whitney Straight George Wythe Francis Lewis Odile Crick Theodore Spicer-Simson Jamie Bamber Lewis Nicola Thomas C. Griggs Lauren Cohan Thomas Nelson Samrat Chakrabarti Edgar F. Codd Francis Wayland Palmer Ernest Henry Wilson Lady Randolph Churchill John Taylor Allan McKeown Fortune Gordien John Sullivan Stephen Hopkins Max Arthur Cohn Elliot Mintz Gilbert Highet Jeffrey Goldstone Arthur Gould-Porter Adam Henley Grant Allen John Houseman Philip Schuyler Tom Cole Charles John Thomas Karen Bardsley Zoë Wanamaker Clarence Hackney Charles G. Booth Russell D. George Diana Decker George Washington Samuel Pasco Stanley Dance William Williams Josiah Bartlett A. Edward Sutherland Anthony James Leggett John Van Druten George W. Brindley Thomas Stone Andrew Lawson Harry Van Gorkum Martin Lee Stephenson Olivia de Havilland Eliza Wheeler Charles Valentine Riley Sammy Morris Christopher Hitchens Britt Love Jeff Jones Angus Deaton Ricardia Bramley Thomas Fitch Wolfgang Friedmann Raymond Cattell Hartley Power Chris Ayer David Soul Terry Gilliam John Mallet Stephen Boyd Robert Gair Annie Pinnock Malin Gerald B. Whitham Kay Laurell Mischa Barton John Alan Robinson P.G. Wodehouse Sterling Davis Arthur Middleton Larry Sanders Gordon Downie Thomas Baldwin Peddie Wendy Barrie Georg Kreisel Leslie Fenton Jonathan Law Gary Etherington Edmund Goulding John Jacob Astor, 1st Baron Astor of Hever Ian Parker Elizabeth Blackwell Thomas H. Parrott Chris Harris Clive Pearse William Ellery Thomas Horsfield Edith Penrose David McNally Anne Treisman James O'Donnell Jef Murray Colin Pittendrigh Francis Hopkinson David Bohm John Smith Benjamin Lincoln John O'Keefe Bob Hope Mordaunt Hall Helen Hopekirk Helen Leah Reed Robert Crosser Yehudi Menuhin June Tripp Carter Braxton Ione Skye Young MC Robert Foster Kennedy William Carpenter George Henry Hamilton Tate Frances Eliza Hodgson Burnett Peyton Randolph James Ferguson Rudolf Kompfner Hiram Stevens Maxim Liam Neeson Freeman Dyson Edward Weston Ashley Montagu Thomas Francis Meagher Luke Somers G. Evelyn Hutchinson Daniel Protheroe Thomas L. Thomas James Quayle Dealey Norma Varden Louise Lindner Hugh Keelan Piers Anthony Hugh Wheeler Frank St. Leger Arthur Hilton Bernard J. Taylor Richard Upjohn Joseph Silk Esther Edwards Burr Enoch Poor Oliver Selfridge Boaz Myhill Alvin Langdon Coburn Homer H. Dubs Frederic Archer Colin Turnbull George E. A. Hallett Lee Mantle Peter Marris John Sinclair Frances Fisher Raymond Watts Mortimer Singer Lyman Hall Sara Lee Cyril J. Mockridge Alice Bailey Alexander Gordon Bearn Alma Reville Beatie Wolfe David Edward Hughes Ernest Yarrow John Hart Annabelle Cripps Julia Annas Kathryn Hunter Peter Marler Kenneth E. Boulding Daisy Donovan Thomas Stevens W. Franke Harling Frank Simes Kenneth Davidson Burn Gorman Phil Dunham Ernest T. Hargrove Tanya Streeter Harry Revel John Mahoney Phyllis Barry Clams Casino (musician) Henry Jaglom
Australia Whitney Straight, Stephanie Gandy, William Samuel Johnson, Adolph Deutsch, Jon Boden, Thomas Heyward, Jr., Geraint Wyn Davies, Sydney Greenstreet, Alfred Grindle and Ernest Henry Wilson are a citizen of United Kingdom and United States of America
Whitney Straight Stephanie Gandy William Samuel Johnson Adolph Deutsch Jon Boden Thomas Heyward, Jr. Geraint Wyn Davies Sydney Greenstreet Alfred Grindle Ernest Henry Wilson
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:United_Kingdom . ?t property:country_of_citizenship resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q5548829,P27,c(Q15617994))
['Q5548829', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5548829 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Geraint Wyn Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Geraint_Wyn_Davies property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1399545
SYSTEM
Did you mean Thomas Heyward, Jr. ?
(Q3438272,P27,c(Q15617994)) (Q17364581,P27,c(Q15617994)) (Q182543,P27,c(Q15617994)) (Q365310,P27,c(Q15617994)) (Q6270415,P27,c(Q15617994)) (Q1399545,P27,c(Q15617994)) (Q5548829,P27,c(Q15617994)) (Q656507,P27,c(Q15617994)) (Q16066624,P27,c(Q15617994)) (Q1356381,P27,c(Q15617994))
[ANSWER]
['Q3438272', 'P27', {'concept': 'Q15617994'}] ['Q17364581', 'P27', {'concept': 'Q15617994'}] ['Q182543', 'P27', {'concept': 'Q15617994'}] ['Q365310', 'P27', {'concept': 'Q15617994'}] ['Q6270415', 'P27', {'concept': 'Q15617994'}] ['Q1399545', 'P27', {'concept': 'Q15617994'}] ['Q5548829', 'P27', {'concept': 'Q15617994'}] ['Q656507', 'P27', {'concept': 'Q15617994'}] ['Q16066624', 'P27', {'concept': 'Q15617994'}] ['Q1356381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5548829 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Thomas Heyward, Jr. ?
Thomas Heyward, Jr.
['Whitney Straight', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Stephanie Gandy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['William Samuel Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Adolph Deutsch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jon Boden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Heyward, Jr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Geraint Wyn Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sydney Greenstreet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Alfred Grindle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ernest Henry Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Geraint_Wyn_Davies property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Geraint Wyn Davies. Could you tell me the answer for that?
(Q5548829,P27,c(Q15617994))
Q5548829
['Q5548829', 'P27', {'concept': 'Q15617994'}]
['Geraint Wyn Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q30 Q145
(Q5548829,P27,c(Q15617994))
[ANSWER]
['Q5548829', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5548829 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America United Kingdom
2
['Geraint Wyn Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Geraint_Wyn_Davies property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did min number of people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { ?f rdf:type ontology:Q386724 . ?d rdf:type ontology:Q502895 . ?f property:P725 ?d } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?l ) WHERE { ?o property:P725 ?g . ?g rdf:type ontology:Q502895 . ?o rdf:type ontology:Q386724 } GROUP BY ?o } . FILTER ( ?l = ?e ) }
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { ?f rdf:type ontology:work . ?d rdf:type ontology:common_name . ?f property:voice_actor ?d } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?l ) WHERE { ?o property:voice_actor ?g . ?g rdf:type ontology:common_name . ?o rdf:type ontology:work } GROUP BY ?o } . FILTER ( ?l = ?e ) }
[]
common name work
Q10864091
SYSTEM
Isshūkan Friends
Q10864091
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
Min number of people did the dubbing of [ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { ?f rdf:type ontology:Q386724 . ?d rdf:type ontology:Q502895 . ?f property:P725 ?d } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?l ) WHERE { ?o property:P725 ?g . ?g rdf:type ontology:Q502895 . ?o rdf:type ontology:Q386724 } GROUP BY ?o } . FILTER ( ?l = ?e ) }
Isshūkan Friends
Min number of people did the dubbing of Isshūkan Friends
Isshūkan Friends
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { ?f rdf:type ontology:work . ?d rdf:type ontology:common_name . ?f property:voice_actor ?d } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?l ) WHERE { ?o property:voice_actor ?g . ?g rdf:type ontology:common_name . ?o rdf:type ontology:work } GROUP BY ?o } . FILTER ( ?l = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10864091
P449
Q4830453
USER
Which network did that work originally air in ?
(Q10864091,P449,c(Q4830453))
action filter_type
action find
entity Q10864091
relation P449
type Q4830453
['Q10864091', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q10864091 property:P449 ?u . ?u rdf:type ontology:Q4830453 }
Isshūkan Friends
action filter_type
action find
entity Isshūkan Friends
relation original network
type business enterprise
['Isshūkan Friends', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Isshūkan_Friends property:original_network ?u . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q1331921 Q115146 Q298702
SYSTEM
Mainichi Broadcasting System, Tokyo Metropolitan Television, AT-X
Q298702 Q1331921 Q115146 Q1324062
(Q10864091,P449,c(Q4830453))
action filter_type
action find
entity Q10864091
relation P449
type Q4830453
Originally that work aired on [ANSWERS]
['Q10864091', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q10864091 property:P449 ?u . ?u rdf:type ontology:Q4830453 }
AT-X Mainichi Broadcasting System Tokyo Metropolitan Television Television Aichi Broadcasting
Originally that work aired on Mainichi Broadcasting System, Tokyo Metropolitan Television and AT-X
Mainichi Broadcasting System Tokyo Metropolitan Television AT-X
action filter_type
action find
entity Isshūkan Friends
relation original network
type business enterprise
['Isshūkan Friends', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Isshūkan_Friends property:original_network ?u . ?u rdf:type ontology:business_enterprise }
[]