Simple Question (Direct)
Simple Question
Q8014872
P39
Q12737077
USER
Which occupation was a position held by William M. Fenton ?
(Q8014872,P39,c(Q12737077))
action filter_type
action find
entity Q8014872
relation P39
type Q12737077
['Q8014872', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q8014872 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
William M. Fenton
action filter_type
action find
entity William M. Fenton
relation position held
type occupation
['William M. Fenton', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:William_M._Fenton property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q18675883
SYSTEM
member of the State Senate of Michigan
Q18675883
(Q8014872,P39,c(Q12737077))
action filter_type
action find
entity Q8014872
relation P39
type Q12737077
A [ANSWER] was a position held by William M. Fenton
['Q8014872', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q8014872 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
member of the State Senate of Michigan
A member of the State Senate of Michigan was a position held by William M. Fenton
member of the State Senate of Michigan
action filter_type
action find
entity William M. Fenton
relation position held
type occupation
['William M. Fenton', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:William_M._Fenton property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8014872
P69
Q163740
USER
Which nonprofit organization is William M. Fenton an alumni of ?
(Q8014872,P69,c(Q163740))
action filter_type
action find
entity Q8014872
relation P69
type Q163740
['Q8014872', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q8014872 property:P69 ?e . ?e rdf:type ontology:Q163740 }
William M. Fenton
action filter_type
action find
entity William M. Fenton
relation educated at
type nonprofit organization
['William M. Fenton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:William_M._Fenton property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q3113011
SYSTEM
Hamilton College
Q3113011
(Q8014872,P69,c(Q163740))
action filter_type
action find
entity Q8014872
relation P69
type Q163740
Is [ANSWER] is William M. Fenton an alumni of
['Q8014872', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q8014872 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Hamilton College
Is Hamilton College is William M. Fenton an alumni of
Hamilton College
action filter_type
action find
entity William M. Fenton
relation educated at
type nonprofit organization
['William M. Fenton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:William_M._Fenton property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3113011
P112
Q502895
USER
Which person was the founder of that nonprofit organization ?
(Q3113011,P112,c(Q502895))
action filter_type
action find
entity Q3113011
relation P112
type Q502895
['Q3113011', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3113011 property:P112 ?i . ?i rdf:type ontology:Q502895 }
Hamilton College
action filter_type
action find
entity Hamilton College
relation founder
type common name
['Hamilton College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Hamilton_College property:founder ?i . ?i rdf:type ontology:common_name }
[]
common name
Q2218495
SYSTEM
Samuel Kirkland
Q2218495
(Q3113011,P112,c(Q502895))
action filter_type
action find
entity Q3113011
relation P112
type Q502895
[ANSWER] was the founder of that nonprofit organization
['Q3113011', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3113011 property:P112 ?i . ?i rdf:type ontology:Q502895 }
Samuel Kirkland
Samuel Kirkland was the founder of that nonprofit organization
Samuel Kirkland
action filter_type
action find
entity Hamilton College
relation founder
type common name
['Hamilton College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Hamilton_College property:founder ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques did atleast 56 people dub for ?
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 56
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { ?b property:P725 ?r . ?b rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a >= 56 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 56
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { ?b property:voice_actor ?r . ?b rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a >= 56 ) }
[]
common name cinematic technique
SYSTEM
1
Q9321426
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 56
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { ?b property:P725 ?r . ?b rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a >= 56 ) }
Finding Dory
1
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 56
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { ?b property:voice_actor ?r . ?b rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a >= 56 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11973755 Q8014872
P27
Q15617994
USER
Which administrative territories are William M. Fenton or Hallvard Sandnes an inhabitant of ?
OR((Q8014872,P27,c(Q15617994)), (Q11973755,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8014872
relation P27
action find
entity Q11973755
relation P27
type Q15617994
{'OR': [['Q8014872', 'P27', {'concept': 'Q15617994'}], ['Q11973755', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q8014872 property:P27 ?v } UNION { resource:Q11973755 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Hallvard Sandnes William M. Fenton
action filter_type
action union
action find
entity William M. Fenton
relation country of citizenship
action find
entity Hallvard Sandnes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William M. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hallvard Sandnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:William_M._Fenton property:country_of_citizenship ?v } UNION { resource:Hallvard_Sandnes property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q30
SYSTEM
Norway, United States of America
Q20 Q30
OR((Q8014872,P27,c(Q15617994)), (Q11973755,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8014872
relation P27
action find
entity Q11973755
relation P27
type Q15617994
[ANSWERS] are William M. Fenton or Hallvard Sandnes an inhabitant of
{'OR': [['Q8014872', 'P27', {'concept': 'Q15617994'}], ['Q11973755', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q8014872 property:P27 ?v } UNION { resource:Q11973755 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Norway United States of America
Norway and United States of America are William M. Fenton or Hallvard Sandnes an inhabitant of
Norway United States of America
action filter_type
action union
action find
entity William M. Fenton
relation country of citizenship
action find
entity Hallvard Sandnes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William M. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hallvard Sandnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:William_M._Fenton property:country_of_citizenship ?v } UNION { resource:Hallvard_Sandnes property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3826817
P530
Q1048835
USER
Are Santo Tomás District known to have diplomatic connections with those administrative territories ?
(Q3826817,P530,Q20) (Q3826817,P530,Q30)
action is_in
entity prev_answer
action find
entity Q3826817
relation P530
['Q3826817', 'P530', 'Q20'] ['Q3826817', 'P530', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q20 ) ( resource:Q30 ) } . resource:Q3826817 property:P530 ?y }
Santo Tomás District
action is_in
entity prev_answer
action find
entity Santo Tomás District
relation diplomatic relation
['Santo Tomás District', 'diplomatic relation', 'Norway'] ['Santo Tomás District', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Norway ) ( resource:United_States_of_America ) } . resource:Santo_Tomás_District property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q3826817,P530,Q20) (Q3826817,P530,Q30)
action is_in
entity prev_answer
action find
entity Q3826817
relation P530
[ANSWER]
['Q3826817', 'P530', 'Q20'] ['Q3826817', 'P530', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q20 ) ( resource:Q30 ) } . resource:Q3826817 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Santo Tomás District
relation diplomatic relation
['Santo Tomás District', 'diplomatic relation', 'Norway'] ['Santo Tomás District', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Norway ) ( resource:United_States_of_America ) } . resource:Santo_Tomás_District property:diplomatic_relation ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18675883 Q3707717 Q649607
P17
Q15617994
USER
Is member of the State Senate of Michigan located in Dimaina and Daasdorf am Berge ?
(Q18675883,P17,Q3707717) (Q18675883,P17,Q649607)
action is_in
entity Q18675883
action intersection
action find_reverse
entity Q3707717
relation P17
action find_reverse
entity Q649607
relation P17
['Q18675883', 'P17', 'Q3707717'] ['Q18675883', 'P17', 'Q649607']
ASK WHERE { resource:Q18675883 property:P17 resource:Q3707717 . resource:Q18675883 property:P17 resource:Q649607 }
member of the State Senate of Michigan Dimaina Daasdorf am Berge
action is_in
entity member of the State Senate of Michigan
action intersection
action find_reverse
entity Dimaina
relation country
action find_reverse
entity Daasdorf am Berge
relation country
['member of the State Senate of Michigan', 'country', 'Dimaina'] ['member of the State Senate of Michigan', 'country', 'Daasdorf am Berge']
ASK WHERE { resource:member_of_the_State_Senate_of_Michigan property:country resource:Dimaina . resource:member_of_the_State_Senate_of_Michigan property:country resource:Daasdorf_am_Berge }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18675883,P17,Q3707717) (Q18675883,P17,Q649607)
action is_in
entity Q18675883
action intersection
action find_reverse
entity Q3707717
relation P17
action find_reverse
entity Q649607
relation P17
[ANSWER]
['Q18675883', 'P17', 'Q3707717'] ['Q18675883', 'P17', 'Q649607']
ASK WHERE { resource:Q18675883 property:P17 resource:Q3707717 . resource:Q18675883 property:P17 resource:Q649607 }
No
action is_in
entity member of the State Senate of Michigan
action intersection
action find_reverse
entity Dimaina
relation country
action find_reverse
entity Daasdorf am Berge
relation country
['member of the State Senate of Michigan', 'country', 'Dimaina'] ['member of the State Senate of Michigan', 'country', 'Daasdorf am Berge']
ASK WHERE { resource:member_of_the_State_Senate_of_Michigan property:country resource:Dimaina . resource:member_of_the_State_Senate_of_Michigan property:country resource:Daasdorf_am_Berge }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q15180 Q20
P27
Q502895
USER
Which people are a citizen of Norway and Soviet Union ?
AND((c(Q502895),P27,Q20), (c(Q502895),P27,Q15180))
action filter_type
action intersection
action find_reverse
entity Q20
relation P27
action find_reverse
entity Q15180
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q20'], [{'concept': 'Q502895'}, 'P27', 'Q15180']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q20 . ?e property:P27 resource:Q15180 . ?e rdf:type ontology:Q502895 }
Soviet Union Norway
action filter_type
action intersection
action find_reverse
entity Norway
relation country of citizenship
action find_reverse
entity Soviet Union
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Norway'], [{'concept': 'common name'}, 'country of citizenship', 'Soviet Union']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Norway . ?e property:country_of_citizenship resource:Soviet_Union . ?e rdf:type ontology:common_name }
[]
common name
Q967611 Q2220978 Q181145
SYSTEM
Gennady Olonkin, Sandra Drouker, Issay Dobrowen
Q967611 Q2220978 Q181145
AND((c(Q502895),P27,Q20), (c(Q502895),P27,Q15180))
action filter_type
action intersection
action find_reverse
entity Q20
relation P27
action find_reverse
entity Q15180
relation P27
type Q502895
[ANSWERS] are a citizen of Norway and Soviet Union
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q20'], [{'concept': 'Q502895'}, 'P27', 'Q15180']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q20 . ?e property:P27 resource:Q15180 . ?e rdf:type ontology:Q502895 }
Gennady Olonkin Sandra Drouker Issay Dobrowen
Gennady Olonkin, Sandra Drouker and Issay Dobrowen are a citizen of Norway and Soviet Union
Gennady Olonkin Sandra Drouker Issay Dobrowen
action filter_type
action intersection
action find_reverse
entity Norway
relation country of citizenship
action find_reverse
entity Soviet Union
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Norway'], [{'concept': 'common name'}, 'country of citizenship', 'Soviet Union']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Norway . ?e property:country_of_citizenship resource:Soviet_Union . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q437852 Q8014872
P27
Q15617994
USER
Which administrative territories are William M. Fenton and Pete Sessions an inhabitant of ?
AND((Q8014872,P27,c(Q15617994)), (Q437852,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q8014872
relation P27
action find
entity Q437852
relation P27
type Q15617994
{'AND': [['Q8014872', 'P27', {'concept': 'Q15617994'}], ['Q437852', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q8014872 property:P27 ?k . resource:Q437852 property:P27 ?k }
Pete Sessions William M. Fenton
action filter_type
action intersection
action find
entity William M. Fenton
relation country of citizenship
action find
entity Pete Sessions
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['William M. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pete Sessions', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_M._Fenton property:country_of_citizenship ?k . resource:Pete_Sessions property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q8014872,P27,c(Q15617994)), (Q437852,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q8014872
relation P27
action find
entity Q437852
relation P27
type Q15617994
[ANSWER] is William M. Fenton and Pete Sessions an inhabitant of
{'AND': [['Q8014872', 'P27', {'concept': 'Q15617994'}], ['Q437852', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q8014872 property:P27 ?k . resource:Q437852 property:P27 ?k }
United States of America
United States of America is William M. Fenton and Pete Sessions an inhabitant of
United States of America
action filter_type
action intersection
action find
entity William M. Fenton
relation country of citizenship
action find
entity Pete Sessions
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['William M. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pete Sessions', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_M._Fenton property:country_of_citizenship ?k . resource:Pete_Sessions property:country_of_citizenship ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437852
P140
Q9174
USER
What is the religious affiliation of Pete Sessions?
(Q30,P140,c(Q9174))
action filter_type
action find
entity Q437852
relation P140
type Q9174
['Q30', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?v WHERE { resource:Q437852 property:P140 ?v . ?v rdf:type ontology:Q9174 }
Pete Sessions
action filter_type
action find
entity Pete Sessions
relation religion
type religion
['United States of America', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?v WHERE { resource:Pete_Sessions property:religion ?v . ?v rdf:type ontology:religion }
[]
religion
Q33203
SYSTEM
Methodism
Q33203
(Q30,P140,c(Q9174))
action filter_type
action find
entity Q437852
relation P140
type Q9174
The religious affiliation of Pete Sessions is [ANSWER]
['Q30', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?v WHERE { resource:Q437852 property:P140 ?v . ?v rdf:type ontology:Q9174 }
Methodism
The religious affiliation of Pete Sessions is Methodism
Methodism
action filter_type
action find
entity Pete Sessions
relation religion
type religion
['United States of America', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?v WHERE { resource:Pete_Sessions property:religion ?v . ?v rdf:type ontology:religion }
[]