Simple Question (Direct)
Simple Question
Q16031315
P102
Q7210356
USER
Which political organization is Andrew Jackson Turner a member of ?
(Q16031315,P102,c(Q7210356))
action filter_type
action find
entity Q16031315
relation P102
type Q7210356
['Q16031315', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q16031315 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Andrew Jackson Turner
action filter_type
action find
entity Andrew Jackson Turner
relation member of political party
type political organization
['Andrew Jackson Turner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Andrew_Jackson_Turner property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16031315,P102,c(Q7210356))
action filter_type
action find
entity Q16031315
relation P102
type Q7210356
The [ANSWER] is Andrew Jackson Turner a member of
['Q16031315', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q16031315 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is Andrew Jackson Turner a member of
Republican Party
action filter_type
action find
entity Andrew Jackson Turner
relation member of political party
type political organization
['Andrew Jackson Turner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Andrew_Jackson_Turner property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16031315
P39
Q12737077
USER
What was the position for which Andrew Jackson Turner was appointed ?
(Q16031315,P39,c(Q12737077))
action filter_type
action find
entity Q16031315
relation P39
type Q12737077
['Q16031315', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16031315 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Andrew Jackson Turner
action filter_type
action find
entity Andrew Jackson Turner
relation position held
type occupation
['Andrew Jackson Turner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Andrew_Jackson_Turner property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q18526160
SYSTEM
member of the Wisconsin State Assembly
Q18526160
(Q16031315,P39,c(Q12737077))
action filter_type
action find
entity Q16031315
relation P39
type Q12737077
The [ANSWER]
['Q16031315', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16031315 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the Wisconsin State Assembly
The member of the Wisconsin State Assembly
member of the Wisconsin State Assembly
action filter_type
action find
entity Andrew Jackson Turner
relation position held
type occupation
['Andrew Jackson Turner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Andrew_Jackson_Turner property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16031315
P40
Q502895
USER
Who is a child of Andrew Jackson Turner ?
(Q16031315,P40,c(Q502895))
action filter_type
action find
entity Q16031315
relation P40
type Q502895
['Q16031315', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q16031315 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Andrew Jackson Turner
action filter_type
action find
entity Andrew Jackson Turner
relation child
type common name
['Andrew Jackson Turner', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Andrew_Jackson_Turner property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q548462
SYSTEM
Frederick Jackson Turner
Q548462
(Q16031315,P40,c(Q502895))
action filter_type
action find
entity Q16031315
relation P40
type Q502895
A child of Andrew Jackson Turner is named [ANSWER]
['Q16031315', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q16031315 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Frederick Jackson Turner
A child of Andrew Jackson Turner is named Frederick Jackson Turner
Frederick Jackson Turner
action filter_type
action find
entity Andrew Jackson Turner
relation child
type common name
['Andrew Jackson Turner', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Andrew_Jackson_Turner property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q548462
P22
Q502895
USER
Who was the father of that one ?
(Q548462,P22,c(Q502895))
action filter_type
action find
entity Q548462
relation P22
type Q502895
['Q548462', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q548462 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Frederick Jackson Turner
action filter_type
action find
entity Frederick Jackson Turner
relation father
type common name
['Frederick Jackson Turner', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Frederick_Jackson_Turner property:father ?y . ?y rdf:type ontology:common_name }
[]
common name
Q16031315
SYSTEM
Andrew Jackson Turner
Q16031315
(Q548462,P22,c(Q502895))
action filter_type
action find
entity Q548462
relation P22
type Q502895
The father of that one was the [ANSWER]
['Q548462', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q548462 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Andrew Jackson Turner
The father of that one was the Andrew Jackson Turner
Andrew Jackson Turner
action filter_type
action find
entity Frederick Jackson Turner
relation father
type common name
['Frederick Jackson Turner', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Frederick_Jackson_Turner property:father ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q548462
P108
Q163740 Q3918
USER
How many nonprofit organizations or universities are the employers of Frederick Jackson Turner ?
(Q548462,P108,c(Q163740)) (Q548462,P108,c(Q3918))
action count
action union
action filter_type
action find
entity Q548462
relation P108
type Q163740
action filter_type
action find
entity Q548462
relation P108
type Q3918
['Q548462', 'P108', {'concept': 'Q163740'}] ['Q548462', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ontology:Q163740 . resource:Q548462 property:P108 ?z } UNION { resource:Q548462 property:P108 ?z . ?z rdf:type ontology:Q3918 } }
Frederick Jackson Turner
action count
action union
action filter_type
action find
entity Frederick Jackson Turner
relation employer
type nonprofit organization
action filter_type
action find
entity Frederick Jackson Turner
relation employer
type university
['Frederick Jackson Turner', 'employer', {'concept': 'nonprofit organization'}] ['Frederick Jackson Turner', 'employer', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ontology:nonprofit_organization . resource:Frederick_Jackson_Turner property:employer ?z } UNION { resource:Frederick_Jackson_Turner property:employer ?z . ?z rdf:type ontology:university } }
[]
nonprofit organization university
SYSTEM
2
Q13371 Q838330
(Q548462,P108,c(Q163740)) (Q548462,P108,c(Q3918))
action count
action union
action filter_type
action find
entity Q548462
relation P108
type Q163740
action filter_type
action find
entity Q548462
relation P108
type Q3918
[ANSWER]
['Q548462', 'P108', {'concept': 'Q163740'}] ['Q548462', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ontology:Q163740 . resource:Q548462 property:P108 ?z } UNION { resource:Q548462 property:P108 ?z . ?z rdf:type ontology:Q3918 } }
Harvard University University of Wisconsin–Madison
2
action count
action union
action filter_type
action find
entity Frederick Jackson Turner
relation employer
type nonprofit organization
action filter_type
action find
entity Frederick Jackson Turner
relation employer
type university
['Frederick Jackson Turner', 'employer', {'concept': 'nonprofit organization'}] ['Frederick Jackson Turner', 'employer', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ontology:nonprofit_organization . resource:Frederick_Jackson_Turner property:employer ?z } UNION { resource:Frederick_Jackson_Turner property:employer ?z . ?z rdf:type ontology:university } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1151872 Q16031315
P27
Q15617994
USER
Which administrative territories are Andrew Jackson Turner and Adrian Gonzalez a civilian of ?
AND((Q16031315,P27,c(Q15617994)), (Q1151872,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16031315
relation P27
action find
entity Q1151872
relation P27
type Q15617994
{'AND': [['Q16031315', 'P27', {'concept': 'Q15617994'}], ['Q1151872', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q16031315 property:P27 ?e . resource:Q1151872 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Adrian Gonzalez Andrew Jackson Turner
action filter_type
action intersection
action find
entity Andrew Jackson Turner
relation country of citizenship
action find
entity Adrian Gonzalez
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Andrew Jackson Turner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adrian Gonzalez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Andrew_Jackson_Turner property:country_of_citizenship ?e . resource:Adrian_Gonzalez property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q16031315,P27,c(Q15617994)), (Q1151872,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16031315
relation P27
action find
entity Q1151872
relation P27
type Q15617994
[ANSWER] is Andrew Jackson Turner and Adrian Gonzalez a civilian of
{'AND': [['Q16031315', 'P27', {'concept': 'Q15617994'}], ['Q1151872', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q16031315 property:P27 ?e . resource:Q1151872 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
United States of America is Andrew Jackson Turner and Adrian Gonzalez a civilian of
United States of America
action filter_type
action intersection
action find
entity Andrew Jackson Turner
relation country of citizenship
action find
entity Adrian Gonzalez
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Andrew Jackson Turner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adrian Gonzalez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Andrew_Jackson_Turner property:country_of_citizenship ?e . resource:Adrian_Gonzalez property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1151872
P21
Q290
USER
Which sex does Adrian Gonzalez possess ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1151872
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1151872 property:P21 ?y . ?y rdf:type ontology:Q290 }
Adrian Gonzalez
action filter_type
action find
entity Adrian Gonzalez
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Adrian_Gonzalez property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1151872
relation P21
type Q290
Adrian Gonzalez possesses a [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1151872 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Adrian Gonzalez possesses a male
male
action filter_type
action find
entity Adrian Gonzalez
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Adrian_Gonzalez property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q16206732 Q1151872
P21
Q290
USER
And also Dhritiman Deori
AND((Q1151872,P21,c(Q290)), (Q16206732,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1151872
relation P21
action find
entity Q16206732
relation P21
type Q290
{'AND': [['Q1151872', 'P21', {'concept': 'Q290'}], ['Q16206732', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1151872 property:P21 ?f . resource:Q16206732 property:P21 ?f . ?f rdf:type ontology:Q290 }
Dhritiman Deori Adrian Gonzalez
action filter_type
action intersection
action find
entity Adrian Gonzalez
relation gender
action find
entity Dhritiman Deori
relation gender
type sex
{'AND': [['Adrian Gonzalez', 'gender', {'concept': 'sex'}], ['Dhritiman Deori', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { resource:Adrian_Gonzalez property:gender ?f . resource:Dhritiman_Deori property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1151872,P21,c(Q290)), (Q16206732,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1151872
relation P21
action find
entity Q16206732
relation P21
type Q290
[ANSWER]
{'AND': [['Q1151872', 'P21', {'concept': 'Q290'}], ['Q16206732', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1151872 property:P21 ?f . resource:Q16206732 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Adrian Gonzalez
relation gender
action find
entity Dhritiman Deori
relation gender
type sex
{'AND': [['Adrian Gonzalez', 'gender', {'concept': 'sex'}], ['Dhritiman Deori', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { resource:Adrian_Gonzalez property:gender ?f . resource:Dhritiman_Deori property:gender ?f . ?f rdf:type ontology:sex }
[]