Simple Question (Direct)
Simple Question
Q6225618
P39
Q12737077
USER
What were the positions held by John Cessna ?
(Q6225618,P39,c(Q12737077))
action filter_type
action find
entity Q6225618
relation P39
type Q12737077
['Q6225618', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6225618 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
John Cessna
action filter_type
action find
entity John Cessna
relation position held
type occupation
['John Cessna', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:John_Cessna property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q13218630 Q14616716
SYSTEM
United States representative, member of the Pennsylvania House of Representatives
Q13218630 Q14616716
(Q6225618,P39,c(Q12737077))
action filter_type
action find
entity Q6225618
relation P39
type Q12737077
The positions held by John Cessna were [ANSWERS]
['Q6225618', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6225618 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
United States representative member of the Pennsylvania House of Representatives
The positions held by John Cessna were United States representative and member of the Pennsylvania House of Representatives
United States representative member of the Pennsylvania House of Representatives
action filter_type
action find
entity John Cessna
relation position held
type occupation
['John Cessna', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:John_Cessna property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6225618
P102
Q7210356
USER
Which political organizations are John Cessna a member of ?
(Q6225618,P102,c(Q7210356))
action filter_type
action find
entity Q6225618
relation P102
type Q7210356
['Q6225618', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q6225618 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
John Cessna
action filter_type
action find
entity John Cessna
relation member of political party
type political organization
['John Cessna', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:John_Cessna property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q29552 Q29468
SYSTEM
Democratic Party, Republican Party
Q29552 Q29468
(Q6225618,P102,c(Q7210356))
action filter_type
action find
entity Q6225618
relation P102
type Q7210356
The [ANSWERS] are John Cessna a member of
['Q6225618', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q6225618 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Democratic Party Republican Party
The Democratic Party and Republican Party are John Cessna a member of
Democratic Party Republican Party
action filter_type
action find
entity John Cessna
relation member of political party
type political organization
['John Cessna', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:John_Cessna property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29552 Q29468
P488
Q502895
USER
Who were the chair of those political organizations ?
(Q29552,P488,c(Q502895)) (Q29468,P488,c(Q502895))
action filter_type
action find
entity prev_answer
relation P488
type Q502895
['Q29552', 'P488', {'concept': 'Q502895'}] ['Q29468', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q29552 ) ( resource:Q29468 ) } . ?j property:P488 ?s }
Democratic Party Republican Party
action filter_type
action find
entity prev_answer
relation chairperson
type common name
['Democratic Party', 'chairperson', {'concept': 'common name'}] ['Republican Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:Democratic_Party ) ( resource:Republican_Party ) } . ?j property:chairperson ?s }
[]
common name
Q50104 Q1357640
SYSTEM
Debbie Wasserman Schultz, Reince Priebus
Q50104 Q1357640
(Q29552,P488,c(Q502895)) (Q29468,P488,c(Q502895))
action filter_type
action find
entity prev_answer
relation P488
type Q502895
The chair of those political organizations were the [ANSWERS]
['Q29552', 'P488', {'concept': 'Q502895'}] ['Q29468', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q29552 ) ( resource:Q29468 ) } . ?j property:P488 ?s }
Debbie Wasserman Schultz Reince Priebus
The chair of those political organizations were the Debbie Wasserman Schultz and Reince Priebus
Debbie Wasserman Schultz Reince Priebus
action filter_type
action find
entity prev_answer
relation chairperson
type common name
['Democratic Party', 'chairperson', {'concept': 'common name'}] ['Republican Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:Democratic_Party ) ( resource:Republican_Party ) } . ?j property:chairperson ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6225618
P27
Q15617994
USER
Which administrative territory does John Cessna belong to ?
(Q6225618,P27,c(Q15617994))
action filter_type
action find
entity Q6225618
relation P27
type Q15617994
['Q6225618', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6225618 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
John Cessna
action filter_type
action find
entity John Cessna
relation country of citizenship
type designation for an administrative territorial entity
['John Cessna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Cessna 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
(Q6225618,P27,c(Q15617994))
action filter_type
action find
entity Q6225618
relation P27
type Q15617994
John Cessna belongs to [ANSWER]
['Q6225618', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6225618 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
John Cessna belongs to United States of America
United States of America
action filter_type
action find
entity John Cessna
relation country of citizenship
type designation for an administrative territorial entity
['John Cessna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Cessna property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6225618
P937
Q852446
USER
Which US administrative territory is the work location of that person ?
(Q30,P937,c(Q852446))
action filter_type
action find
entity Q6225618
relation P937
type Q852446
['Q30', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q852446 . resource:Q6225618 property:P937 ?b }
John Cessna
action filter_type
action find
entity John Cessna
relation work location
type administrative territorial entity of the United States
['United States of America', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:John_Cessna property:work_location ?b }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q30,P937,c(Q852446))
action filter_type
action find
entity Q6225618
relation P937
type Q852446
[ANSWER] is the work location of that person
['Q30', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q852446 . resource:Q6225618 property:P937 ?b }
Harrisburg
Harrisburg is the work location of that person
Harrisburg
action filter_type
action find
entity John Cessna
relation work location
type administrative territorial entity of the United States
['United States of America', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:John_Cessna property:work_location ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6225618
P106
Q28640
USER
What does that person do for a living ?
(Q25280,P106,c(Q28640))
action filter_type
action find
entity Q6225618
relation P106
type Q28640
['Q25280', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q28640 . resource:Q6225618 property:P106 ?w }
John Cessna
action filter_type
action find
entity John Cessna
relation occupation
type profession
['Harrisburg', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:profession . resource:John_Cessna property:occupation ?w }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q25280,P106,c(Q28640))
action filter_type
action find
entity Q6225618
relation P106
type Q28640
That person does a [ANSWER] for a living
['Q25280', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q28640 . resource:Q6225618 property:P106 ?w }
lawyer
That person does a lawyer for a living
lawyer
action filter_type
action find
entity John Cessna
relation occupation
type profession
['Harrisburg', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:profession . resource:John_Cessna property:occupation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6225618
P21
Q290
USER
What is the sex of John Cessna ?
(Q6225618,P21,c(Q290))
action filter_type
action find
entity Q6225618
relation P21
type Q290
['Q6225618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6225618 property:P21 ?k . ?k rdf:type ontology:Q290 }
John Cessna
action filter_type
action find
entity John Cessna
relation gender
type sex
['John Cessna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:John_Cessna property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6225618,P21,c(Q290))
action filter_type
action find
entity Q6225618
relation P21
type Q290
The sex of John Cessna is a [ANSWER]
['Q6225618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6225618 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of John Cessna is a male
male
action filter_type
action find
entity John Cessna
relation gender
type sex
['John Cessna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:John_Cessna property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18170787 Q50104
P27 P495
Q15617994
USER
Which administrative territories are Debbie Wasserman Schultz a civilian of or are the origins of La vida de Jose Rizal ?
OR((Q50104,P27,c(Q15617994)), (Q18170787,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q50104
relation P27
action find
entity Q18170787
relation P495
type Q15617994
{'OR': [['Q50104', 'P27', {'concept': 'Q15617994'}], ['Q18170787', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q18170787 property:P495 ?j } UNION { resource:Q50104 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
La vida de Jose Rizal Debbie Wasserman Schultz
action filter_type
action union
action find
entity Debbie Wasserman Schultz
relation country of citizenship
action find
entity La vida de Jose Rizal
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Debbie Wasserman Schultz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['La vida de Jose Rizal', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:La_vida_de_Jose_Rizal property:country_of_origin ?j } UNION { resource:Debbie_Wasserman_Schultz property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q30
SYSTEM
Philippines, United States of America
Q928 Q30
OR((Q50104,P27,c(Q15617994)), (Q18170787,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q50104
relation P27
action find
entity Q18170787
relation P495
type Q15617994
[ANSWERS] are Debbie Wasserman Schultz a civilian of or are the origins of La vida de Jose Rizal
{'OR': [['Q50104', 'P27', {'concept': 'Q15617994'}], ['Q18170787', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q18170787 property:P495 ?j } UNION { resource:Q50104 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Philippines United States of America
Philippines and United States of America are Debbie Wasserman Schultz a civilian of or are the origins of La vida de Jose Rizal
Philippines United States of America
action filter_type
action union
action find
entity Debbie Wasserman Schultz
relation country of citizenship
action find
entity La vida de Jose Rizal
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Debbie Wasserman Schultz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['La vida de Jose Rizal', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:La_vida_de_Jose_Rizal property:country_of_origin ?j } UNION { resource:Debbie_Wasserman_Schultz property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16527187
P27
Q502895
USER
Are Antimo Cesaro a citizen of those administrative territories ?
(Q16527187,P27,Q928) (Q16527187,P27,Q30)
action is_in
entity prev_answer
action find
entity Q16527187
relation P27
['Q16527187', 'P27', 'Q928'] ['Q16527187', 'P27', 'Q30']
ASK WHERE { VALUES ( ?o ) { ( resource:Q928 ) ( resource:Q30 ) } . resource:Q16527187 property:P27 ?o }
Antimo Cesaro
action is_in
entity prev_answer
action find
entity Antimo Cesaro
relation country of citizenship
['Antimo Cesaro', 'country of citizenship', 'Philippines'] ['Antimo Cesaro', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?o ) { ( resource:Philippines ) ( resource:United_States_of_America ) } . resource:Antimo_Cesaro property:country_of_citizenship ?o }
[]
common name
SYSTEM
NO
(Q16527187,P27,Q928) (Q16527187,P27,Q30)
action is_in
entity prev_answer
action find
entity Q16527187
relation P27
[ANSWER]
['Q16527187', 'P27', 'Q928'] ['Q16527187', 'P27', 'Q30']
ASK WHERE { VALUES ( ?o ) { ( resource:Q928 ) ( resource:Q30 ) } . resource:Q16527187 property:P27 ?o }
No
action is_in
entity prev_answer
action find
entity Antimo Cesaro
relation country of citizenship
['Antimo Cesaro', 'country of citizenship', 'Philippines'] ['Antimo Cesaro', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?o ) { ( resource:Philippines ) ( resource:United_States_of_America ) } . resource:Antimo_Cesaro property:country_of_citizenship ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1357640 Q42352
P27
Q15617994
USER
Is Redondesco the native country of Reince Priebus ?
(Q1357640,P27,Q42352)
action is_in
entity Q42352
action find
entity Q1357640
relation P27
['Q1357640', 'P27', 'Q42352']
ASK WHERE { resource:Q1357640 property:P27 resource:Q42352 }
Reince Priebus Redondesco
action is_in
entity Redondesco
action find
entity Reince Priebus
relation country of citizenship
['Reince Priebus', 'country of citizenship', 'Redondesco']
ASK WHERE { resource:Reince_Priebus property:country_of_citizenship resource:Redondesco }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1357640,P27,Q42352)
action is_in
entity Q42352
action find
entity Q1357640
relation P27
[ANSWER]
['Q1357640', 'P27', 'Q42352']
ASK WHERE { resource:Q1357640 property:P27 resource:Q42352 }
No
action is_in
entity Redondesco
action find
entity Reince Priebus
relation country of citizenship
['Reince Priebus', 'country of citizenship', 'Redondesco']
ASK WHERE { resource:Reince_Priebus property:country_of_citizenship resource:Redondesco }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q50104 Q60
P19
Q56061
USER
Was that person born in New York City ?
(Q50104,P19,Q60)
action is_in
entity Q60
action find
entity Q50104
relation P19
['Q50104', 'P19', 'Q60']
ASK WHERE { resource:Q50104 property:P19 resource:Q60 }
Debbie Wasserman Schultz New York City
action is_in
entity New York City
action find
entity Debbie Wasserman Schultz
relation place of birth
['Debbie Wasserman Schultz', 'place of birth', 'New York City']
ASK WHERE { resource:Debbie_Wasserman_Schultz property:place_of_birth resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q50104,P19,Q60)
action is_in
entity Q60
action find
entity Q50104
relation P19
[ANSWER]
['Q50104', 'P19', 'Q60']
ASK WHERE { resource:Q50104 property:P19 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Debbie Wasserman Schultz
relation place of birth
['Debbie Wasserman Schultz', 'place of birth', 'New York City']
ASK WHERE { resource:Debbie_Wasserman_Schultz property:place_of_birth resource:New_York_City }
[]