Simple Question (Direct)
Simple Question
Q15378636
P641
Q349
USER
Which sport was Haim Shabo a part of ?
(Q15378636,P641,c(Q349))
action filter_type
action find
entity Q15378636
relation P641
type Q349
['Q15378636', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q15378636 property:P641 ?a . ?a rdf:type ontology:Q349 }
Haim Shabo
action filter_type
action find
entity Haim Shabo
relation sport
type sport
['Haim Shabo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Haim_Shabo property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15378636,P641,c(Q349))
action filter_type
action find
entity Q15378636
relation P641
type Q349
Which sport was Haim Shabo a part of
['Q15378636', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q15378636 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Which sport was Haim Shabo a part of
association football
action filter_type
action find
entity Haim Shabo
relation sport
type sport
['Haim Shabo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Haim_Shabo property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?j }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?j }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?j }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21 Q6221277
P27
Q502895
USER
Is John Beaumont a civilian of that territory ?
(Q6221277,P27,Q21)
action is_in
entity Q21
action find
entity Q6221277
relation P27
['Q6221277', 'P27', 'Q21']
ASK WHERE { resource:Q6221277 property:P27 resource:Q21 }
England John Beaumont
action is_in
entity England
action find
entity John Beaumont
relation country of citizenship
['John Beaumont', 'country of citizenship', 'England']
ASK WHERE { resource:John_Beaumont property:country_of_citizenship resource:England }
[]
common name
SYSTEM
YES
(Q6221277,P27,Q21)
action is_in
entity Q21
action find
entity Q6221277
relation P27
[ANSWER]
['Q6221277', 'P27', 'Q21']
ASK WHERE { resource:Q6221277 property:P27 resource:Q21 }
Yes
action is_in
entity England
action find
entity John Beaumont
relation country of citizenship
['John Beaumont', 'country of citizenship', 'England']
ASK WHERE { resource:John_Beaumont property:country_of_citizenship resource:England }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6694591 Q21
P17
Q15617994
USER
Which administrative territories do England or Loyola Sacred Heart High School belong to ?
OR((Q21,P17,c(Q15617994)), (Q6694591,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21
relation P17
action find
entity Q6694591
relation P17
type Q15617994
{'OR': [['Q21', 'P17', {'concept': 'Q15617994'}], ['Q6694591', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?u property:P17 ?l . VALUES ( ?u ) { ( resource:Q21 ) ( resource:Q6694591 ) } } . ?l rdf:type ontology:Q15617994 }
Loyola Sacred Heart High School England
action filter_type
action union
action find
entity England
relation country
action find
entity Loyola Sacred Heart High School
relation country
type designation for an administrative territorial entity
{'OR': [['England', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Loyola Sacred Heart High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?u property:country ?l . VALUES ( ?u ) { ( resource:England ) ( resource:Loyola_Sacred_Heart_High_School ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q21,P17,c(Q15617994)), (Q6694591,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21
relation P17
action find
entity Q6694591
relation P17
type Q15617994
England or Loyola Sacred Heart High School belong to the [ANSWERS]
{'OR': [['Q21', 'P17', {'concept': 'Q15617994'}], ['Q6694591', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?u property:P17 ?l . VALUES ( ?u ) { ( resource:Q21 ) ( resource:Q6694591 ) } } . ?l rdf:type ontology:Q15617994 }
United States of America United Kingdom
England or Loyola Sacred Heart High School belong to the United States of America and United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity England
relation country
action find
entity Loyola Sacred Heart High School
relation country
type designation for an administrative territorial entity
{'OR': [['England', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Loyola Sacred Heart High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?u property:country ?l . VALUES ( ?u ) { ( resource:England ) ( resource:Loyola_Sacred_Heart_High_School ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21647074
P495
Q838948
USER
Did Swamir Ghar originate in those administrative territories ?
(Q21647074,P495,Q30) (Q21647074,P495,Q145)
action is_in
entity prev_answer
action find
entity Q21647074
relation P495
['Q21647074', 'P495', 'Q30'] ['Q21647074', 'P495', 'Q145']
ASK WHERE { VALUES ( ?u ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q21647074 property:P495 ?u }
Swamir Ghar
action is_in
entity prev_answer
action find
entity Swamir Ghar
relation country of origin
['Swamir Ghar', 'country of origin', 'United States of America'] ['Swamir Ghar', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?u ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Swamir_Ghar property:country_of_origin ?u }
[]
work of art
SYSTEM
NO
(Q21647074,P495,Q30) (Q21647074,P495,Q145)
action is_in
entity prev_answer
action find
entity Q21647074
relation P495
[ANSWER]
['Q21647074', 'P495', 'Q30'] ['Q21647074', 'P495', 'Q145']
ASK WHERE { VALUES ( ?u ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q21647074 property:P495 ?u }
No
action is_in
entity prev_answer
action find
entity Swamir Ghar
relation country of origin
['Swamir Ghar', 'country of origin', 'United States of America'] ['Swamir Ghar', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?u ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Swamir_Ghar property:country_of_origin ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q148 Q801
P530
Q15617994
USER
Does United States of America have diplomatic associations with People's Republic of China and Israel ?
(Q30,P530,Q148) (Q30,P530,Q801)
action is_in
entity Q30
action intersection
action find_reverse
entity Q148
relation P530
action find_reverse
entity Q801
relation P530
['Q30', 'P530', 'Q148'] ['Q30', 'P530', 'Q801']
ASK WHERE { resource:Q30 property:P530 resource:Q801 . resource:Q30 property:P530 resource:Q148 }
United States of America People's Republic of China Israel
action is_in
entity United States of America
action intersection
action find_reverse
entity People's Republic of China
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['United States of America', 'diplomatic relation', "People's Republic of China"] ['United States of America', 'diplomatic relation', 'Israel']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Israel . resource:United_States_of_America property:diplomatic_relation resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q148) (Q30,P530,Q801)
action is_in
entity Q30
action intersection
action find_reverse
entity Q148
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q30', 'P530', 'Q148'] ['Q30', 'P530', 'Q801']
ASK WHERE { resource:Q30 property:P530 resource:Q801 . resource:Q30 property:P530 resource:Q148 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity People's Republic of China
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['United States of America', 'diplomatic relation', "People's Republic of China"] ['United States of America', 'diplomatic relation', 'Israel']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Israel . resource:United_States_of_America property:diplomatic_relation resource:People's_Republic_of_China }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15378636 Q5468697
P106
Q12737077
USER
Is forensic accountant the job of Haim Shabo ?
(Q15378636,P106,Q5468697)
action is_in
entity Q5468697
action find
entity Q15378636
relation P106
['Q15378636', 'P106', 'Q5468697']
ASK WHERE { resource:Q15378636 property:P106 resource:Q5468697 }
Haim Shabo forensic accountant
action is_in
entity forensic accountant
action find
entity Haim Shabo
relation occupation
['Haim Shabo', 'occupation', 'forensic accountant']
ASK WHERE { resource:Haim_Shabo property:occupation resource:forensic_accountant }
[]
occupation
SYSTEM
NO
(Q15378636,P106,Q5468697)
action is_in
entity Q5468697
action find
entity Q15378636
relation P106
[ANSWER]
['Q15378636', 'P106', 'Q5468697']
ASK WHERE { resource:Q15378636 property:P106 resource:Q5468697 }
No
action is_in
entity forensic accountant
action find
entity Haim Shabo
relation occupation
['Haim Shabo', 'occupation', 'forensic accountant']
ASK WHERE { resource:Haim_Shabo property:occupation resource:forensic_accountant }
[]