Simple Question (Direct)
Simple Question
Q3476768
P54
Q12973014
USER
Which sports teams are Sean O'Sullivan a member of ?
(Q3476768,P54,c(Q12973014))
action filter_type
action find
entity Q3476768
relation P54
type Q12973014
['Q3476768', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3476768 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Sean O'Sullivan
action filter_type
action find
entity Sean O'Sullivan
relation member of sports team
type sports team
["Sean O'Sullivan", 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Sean_O'Sullivan property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q650840 Q7101532 Q721134
SYSTEM
Philadelphia Phillies, Orem Owlz, San Diego Padres
Q650840 Q7101532 Q721134
(Q3476768,P54,c(Q12973014))
action filter_type
action find
entity Q3476768
relation P54
type Q12973014
[ANSWERS] are Sean O'Sullivan a member of
['Q3476768', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3476768 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Philadelphia Phillies Orem Owlz San Diego Padres
Philadelphia Phillies, Orem Owlz and San Diego Padres are Sean O'Sullivan a member of
Philadelphia Phillies Orem Owlz San Diego Padres
action filter_type
action find
entity Sean O'Sullivan
relation member of sports team
type sports team
["Sean O'Sullivan", 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Sean_O'Sullivan property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q650840 Q7101532 Q721134
P641
Q349
USER
Which sports did those sports teams participate in ?
(Q650840,P641,c(Q349)) (Q7101532,P641,c(Q349)) (Q721134,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q650840', 'P641', {'concept': 'Q349'}] ['Q7101532', 'P641', {'concept': 'Q349'}] ['Q721134', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?l ) { ( resource:Q650840 ) ( resource:Q7101532 ) ( resource:Q721134 ) } . ?a rdf:type ontology:Q349 . ?l property:P641 ?a }
Philadelphia Phillies Orem Owlz San Diego Padres
action filter_type
action find
entity prev_answer
relation sport
type sport
['Philadelphia Phillies', 'sport', {'concept': 'sport'}] ['Orem Owlz', 'sport', {'concept': 'sport'}] ['San Diego Padres', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?l ) { ( resource:Philadelphia_Phillies ) ( resource:Orem_Owlz ) ( resource:San_Diego_Padres ) } . ?a rdf:type ontology:sport . ?l property:sport ?a }
[]
sport
Q5369 Q5369 Q5369
SYSTEM
baseball
Q5369 Q5369 Q5369
(Q650840,P641,c(Q349)) (Q7101532,P641,c(Q349)) (Q721134,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
Those sports teams participated in [ANSWER], [ANSWER] and [ANSWER]
['Q650840', 'P641', {'concept': 'Q349'}] ['Q7101532', 'P641', {'concept': 'Q349'}] ['Q721134', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?l ) { ( resource:Q650840 ) ( resource:Q7101532 ) ( resource:Q721134 ) } . ?a rdf:type ontology:Q349 . ?l property:P641 ?a }
baseball baseball baseball
Those sports teams participated in baseball, baseball and baseball
baseball baseball baseball
action filter_type
action find
entity prev_answer
relation sport
type sport
['Philadelphia Phillies', 'sport', {'concept': 'sport'}] ['Orem Owlz', 'sport', {'concept': 'sport'}] ['San Diego Padres', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?l ) { ( resource:Philadelphia_Phillies ) ( resource:Orem_Owlz ) ( resource:San_Diego_Padres ) } . ?a rdf:type ontology:sport . ?l property:sport ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q650840
P137
Q811979
USER
Which architectural structure was managed by Philadelphia Phillies ?
(c(Q811979),P137,Q650840)
action filter_type
action find_reverse
entity Q650840
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q650840']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . ?j property:P137 resource:Q650840 }
Philadelphia Phillies
action filter_type
action find_reverse
entity Philadelphia Phillies
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Philadelphia Phillies']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . ?j property:operator resource:Philadelphia_Phillies }
[]
architectural structure
Q4967422
SYSTEM
Bright House Field
Q4967422
(c(Q811979),P137,Q650840)
action filter_type
action find_reverse
entity Q650840
relation P137
type Q811979
And [ANSWER] was managed by Philadelphia Phillies
[{'concept': 'Q811979'}, 'P137', 'Q650840']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . ?j property:P137 resource:Q650840 }
Bright House Field
And Bright House Field was managed by Philadelphia Phillies
Bright House Field
action filter_type
action find_reverse
entity Philadelphia Phillies
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Philadelphia Phillies']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . ?j property:operator resource:Philadelphia_Phillies }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q650840
P17
Q15617994
USER
Which administrative territory is that sports team a part of ?
(Q4967422,P17,c(Q15617994))
action filter_type
action find
entity Q650840
relation P17
type Q15617994
['Q4967422', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q650840 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Philadelphia Phillies
action filter_type
action find
entity Philadelphia Phillies
relation country
type designation for an administrative territorial entity
['Bright House Field', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Philadelphia_Phillies property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4967422,P17,c(Q15617994))
action filter_type
action find
entity Q650840
relation P17
type Q15617994
The [ANSWER] is that sports team a part of
['Q4967422', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q650840 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
The United States of America is that sports team a part of
United States of America
action filter_type
action find
entity Philadelphia Phillies
relation country
type designation for an administrative territorial entity
['Bright House Field', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Philadelphia_Phillies property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26622064 Q4967422
P17
Q15617994
USER
Which administrative territories are Bright House Field or Pond Cottages situated in ?
OR((Q4967422,P17,c(Q15617994)), (Q26622064,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4967422
relation P17
action find
entity Q26622064
relation P17
type Q15617994
{'OR': [['Q4967422', 'P17', {'concept': 'Q15617994'}], ['Q26622064', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q26622064 property:P17 ?w } UNION { resource:Q4967422 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Pond Cottages Bright House Field
action filter_type
action union
action find
entity Bright House Field
relation country
action find
entity Pond Cottages
relation country
type designation for an administrative territorial entity
{'OR': [['Bright House Field', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pond Cottages', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pond_Cottages property:country ?w } UNION { resource:Bright_House_Field property:country ?w } } . ?w 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((Q4967422,P17,c(Q15617994)), (Q26622064,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4967422
relation P17
action find
entity Q26622064
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q4967422', 'P17', {'concept': 'Q15617994'}], ['Q26622064', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q26622064 property:P17 ?w } UNION { resource:Q4967422 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America United Kingdom
Which administrative territories are Bright House Field or Pond Cottages situated in
United States of America United Kingdom
action filter_type
action union
action find
entity Bright House Field
relation country
action find
entity Pond Cottages
relation country
type designation for an administrative territorial entity
{'OR': [['Bright House Field', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pond Cottages', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pond_Cottages property:country ?w } UNION { resource:Bright_House_Field property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q201893
P27
Q502895
USER
Are Fortune Gordien a native of those administrative territories ?
(Q201893,P27,Q30) (Q201893,P27,Q145)
action is_in
entity prev_answer
action find
entity Q201893
relation P27
['Q201893', 'P27', 'Q30'] ['Q201893', 'P27', 'Q145']
ASK WHERE { resource:Q201893 property:P27 ?o . VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q145 ) } }
Fortune Gordien
action is_in
entity prev_answer
action find
entity Fortune Gordien
relation country of citizenship
['Fortune Gordien', 'country of citizenship', 'United States of America'] ['Fortune Gordien', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Fortune_Gordien property:country_of_citizenship ?o . VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q201893,P27,Q30) (Q201893,P27,Q145)
action is_in
entity prev_answer
action find
entity Q201893
relation P27
[ANSWER]
['Q201893', 'P27', 'Q30'] ['Q201893', 'P27', 'Q145']
ASK WHERE { resource:Q201893 property:P27 ?o . VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Fortune Gordien
relation country of citizenship
['Fortune Gordien', 'country of citizenship', 'United States of America'] ['Fortune Gordien', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Fortune_Gordien property:country_of_citizenship ?o . VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P495
Q185217
USER
Which dairy products originated in United Kingdom ?
(c(Q185217),P495,Q145)
action filter_type
action find_reverse
entity Q145
relation P495
type Q185217
[{'concept': 'Q185217'}, 'P495', 'Q145']
SELECT DISTINCT ?d WHERE { ?d property:P495 resource:Q145 . ?d rdf:type ontology:Q185217 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ?d WHERE { ?d property:country_of_origin resource:United_Kingdom . ?d rdf:type ontology:dairy_product }
[]
dairy product
Q19361017 Q3566692 Q3058285
SYSTEM
British cheese, Waterloo cheese, Y Fenni cheese
Q3566692 Q3058285 Q1591102 Q377020 Q7295192 Q19361017 Q3570104
(c(Q185217),P495,Q145)
action filter_type
action find_reverse
entity Q145
relation P495
type Q185217
[ANSWERS] originated in United Kingdom
[{'concept': 'Q185217'}, 'P495', 'Q145']
SELECT DISTINCT ?d WHERE { ?d property:P495 resource:Q145 . ?d rdf:type ontology:Q185217 }
Waterloo cheese Y Fenni cheese Sage Derby Yarg Raspberry Ripple British cheese Wrekin White
British cheese, Waterloo cheese and Y Fenni cheese originated in United Kingdom
British cheese Waterloo cheese Y Fenni cheese
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ?d WHERE { ?d property:country_of_origin resource:United_Kingdom . ?d rdf:type ontology:dairy_product }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19361017 Q3566692 Q3058285
P495
Q15617994
USER
Where did those dairy products originate ?
(Q19361017,P495,c(Q15617994)) (Q3566692,P495,c(Q15617994)) (Q3058285,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q19361017', 'P495', {'concept': 'Q15617994'}] ['Q3566692', 'P495', {'concept': 'Q15617994'}] ['Q3058285', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . ?u property:P495 ?z . VALUES ( ?u ) { ( resource:Q3566692 ) ( resource:Q3058285 ) ( resource:Q1591102 ) } }
British cheese Waterloo cheese Y Fenni cheese
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['British cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Waterloo cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Y Fenni cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:country_of_origin ?z . VALUES ( ?u ) { ( resource:Waterloo_cheese ) ( resource:Y_Fenni_cheese ) ( resource:Sage_Derby ) } }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q19361017,P495,c(Q15617994)) (Q3566692,P495,c(Q15617994)) (Q3058285,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
Those dairy products originated from [ANSWER], [ANSWER] and [ANSWER]
['Q19361017', 'P495', {'concept': 'Q15617994'}] ['Q3566692', 'P495', {'concept': 'Q15617994'}] ['Q3058285', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . ?u property:P495 ?z . VALUES ( ?u ) { ( resource:Q3566692 ) ( resource:Q3058285 ) ( resource:Q1591102 ) } }
United Kingdom United Kingdom United Kingdom
Those dairy products originated from United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['British cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Waterloo cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Y Fenni cheese', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:country_of_origin ?z . VALUES ( ?u ) { ( resource:Waterloo_cheese ) ( resource:Y_Fenni_cheese ) ( resource:Sage_Derby ) } }
[]