Simple Question (Direct)
Simple Question
Q3562350
P21
Q290
USER
Which sex does James H. Fay belong to ?
(Q3562350,P21,c(Q290))
action filter_type
action find
entity Q3562350
relation P21
type Q290
['Q3562350', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3562350 property:P21 ?u . ?u rdf:type ontology:Q290 }
James H. Fay
action filter_type
action find
entity James H. Fay
relation gender
type sex
['James H. Fay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:James_H._Fay property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3562350,P21,c(Q290))
action filter_type
action find
entity Q3562350
relation P21
type Q290
James H. Fay belongs to [ANSWER]
['Q3562350', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3562350 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
James H. Fay belongs to male
male
action filter_type
action find
entity James H. Fay
relation gender
type sex
['James H. Fay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:James_H._Fay property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3562350
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q3562350
relation P102
type Q7210356
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q3562350 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
James H. Fay
action filter_type
action find
entity James H. Fay
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:James_H._Fay property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q3562350
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q3562350 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Democratic Party
That person is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity James H. Fay
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:James_H._Fay property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3562350
P27
Q15617994
USER
How many administrative territories are James H. Fay a civilian of ?
(Q3562350,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3562350
relation P27
type Q15617994
['Q3562350', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q3562350 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
James H. Fay
action count
action filter_type
action find
entity James H. Fay
relation country of citizenship
type designation for an administrative territorial entity
['James H. Fay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:James_H._Fay property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q3562350,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3562350
relation P27
type Q15617994
[ANSWER]
['Q3562350', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q3562350 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity James H. Fay
relation country of citizenship
type designation for an administrative territorial entity
['James H. Fay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:James_H._Fay property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3562350
P39
Q12737077
USER
Which occupation was a position held by that person ?
action filter_type
action find
entity Q3562350
relation P39
type Q12737077
SELECT DISTINCT ?t WHERE { resource:Q3562350 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
James H. Fay
action filter_type
action find
entity James H. Fay
relation position held
type occupation
SELECT DISTINCT ?t WHERE { resource:James_H._Fay property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
action filter_type
action find
entity Q3562350
relation P39
type Q12737077
The [ANSWER] was a position held by that person
SELECT DISTINCT ?t WHERE { resource:Q3562350 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position held by that person
United States representative
action filter_type
action find
entity James H. Fay
relation position held
type occupation
SELECT DISTINCT ?t WHERE { resource:James_H._Fay property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13218630 Q30 Q705808
P1001
Q15617994
USER
Does that occupation have control over the jurisdiction of United States of America and Murr ?
(Q13218630,P1001,Q30) (Q13218630,P1001,Q705808)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q30
relation P1001
action find_reverse
entity Q705808
relation P1001
['Q13218630', 'P1001', 'Q30'] ['Q13218630', 'P1001', 'Q705808']
ASK WHERE { resource:Q13218630 property:P1001 resource:Q30 . resource:Q13218630 property:P1001 resource:Q705808 }
United States representative United States of America Murr
action is_in
entity United States representative
action intersection
action find_reverse
entity United States of America
relation applies to jurisdiction
action find_reverse
entity Murr
relation applies to jurisdiction
['United States representative', 'applies to jurisdiction', 'United States of America'] ['United States representative', 'applies to jurisdiction', 'Murr']
ASK WHERE { resource:United_States_representative property:applies_to_jurisdiction resource:United_States_of_America . resource:United_States_representative property:applies_to_jurisdiction resource:Murr }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q13218630,P1001,Q30) (Q13218630,P1001,Q705808)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q30
relation P1001
action find_reverse
entity Q705808
relation P1001
[ANSWER]
['Q13218630', 'P1001', 'Q30'] ['Q13218630', 'P1001', 'Q705808']
ASK WHERE { resource:Q13218630 property:P1001 resource:Q30 . resource:Q13218630 property:P1001 resource:Q705808 }
YES and NO respectively
action is_in
entity United States representative
action intersection
action find_reverse
entity United States of America
relation applies to jurisdiction
action find_reverse
entity Murr
relation applies to jurisdiction
['United States representative', 'applies to jurisdiction', 'United States of America'] ['United States representative', 'applies to jurisdiction', 'Murr']
ASK WHERE { resource:United_States_representative property:applies_to_jurisdiction resource:United_States_of_America . resource:United_States_representative property:applies_to_jurisdiction resource:Murr }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4938611 Q3562350
P27
Q15617994
USER
Which administrative territories do James H. Fay or Bojan Čukić belong to ?
OR((Q3562350,P27,c(Q15617994)), (Q4938611,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3562350
relation P27
action find
entity Q4938611
relation P27
type Q15617994
{'OR': [['Q3562350', 'P27', {'concept': 'Q15617994'}], ['Q4938611', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3562350 property:P27 ?f } UNION { resource:Q4938611 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Bojan Čukić James H. Fay
action filter_type
action union
action find
entity James H. Fay
relation country of citizenship
action find
entity Bojan Čukić
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['James H. Fay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bojan Čukić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:James_H._Fay property:country_of_citizenship ?f } UNION { resource:Bojan_Čukić property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q30
SYSTEM
Serbia, United States of America
Q403 Q30
OR((Q3562350,P27,c(Q15617994)), (Q4938611,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3562350
relation P27
action find
entity Q4938611
relation P27
type Q15617994
[ANSWERS] do James H. Fay or Bojan Čukić belong to
{'OR': [['Q3562350', 'P27', {'concept': 'Q15617994'}], ['Q4938611', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3562350 property:P27 ?f } UNION { resource:Q4938611 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Serbia United States of America
Serbia and United States of America do James H. Fay or Bojan Čukić belong to
Serbia United States of America
action filter_type
action union
action find
entity James H. Fay
relation country of citizenship
action find
entity Bojan Čukić
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['James H. Fay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bojan Čukić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:James_H._Fay property:country_of_citizenship ?f } UNION { resource:Bojan_Čukić property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4938611
P641
Q349
USER
What was the sport that Bojan Čukić was a part of ?
(Q4938611,P641,c(Q349))
action filter_type
action find
entity Q4938611
relation P641
type Q349
['Q4938611', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q4938611 property:P641 ?h . ?h rdf:type ontology:Q349 }
Bojan Čukić
action filter_type
action find
entity Bojan Čukić
relation sport
type sport
['Bojan Čukić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Bojan_Čukić property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4938611,P641,c(Q349))
action filter_type
action find
entity Q4938611
relation P641
type Q349
The sport that Bojan Čukić was a part of was the [ANSWER]
['Q4938611', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q4938611 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
The sport that Bojan Čukić was a part of was the association football
association football
action filter_type
action find
entity Bojan Čukić
relation sport
type sport
['Bojan Čukić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Bojan_Čukić property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4938611
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q4938611
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4938611 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Bojan Čukić
action filter_type
action find
entity Bojan Čukić
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bojan_Čukić property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q4938611
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4938611 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Belgrade
Belgrade is the birthplace of that person
Belgrade
action filter_type
action find
entity Bojan Čukić
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bojan_Čukić property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]