Simple Question (Direct)
Simple Question
Q3328209
P21
Q290
USER
What is the sex of Murray Murdoch ?
(Q3328209,P21,c(Q290))
action filter_type
action find
entity Q3328209
relation P21
type Q290
['Q3328209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3328209 property:P21 ?u . ?u rdf:type ontology:Q290 }
Murray Murdoch
action filter_type
action find
entity Murray Murdoch
relation gender
type sex
['Murray Murdoch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Murray_Murdoch property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3328209,P21,c(Q290))
action filter_type
action find
entity Q3328209
relation P21
type Q290
The sex of Murray Murdoch is a [ANSWER]
['Q3328209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3328209 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Murray Murdoch is a male
male
action filter_type
action find
entity Murray Murdoch
relation gender
type sex
['Murray Murdoch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Murray_Murdoch property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3328209
P54
Q12973014
USER
What is that person a member of ?
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q3328209
relation P54
type Q12973014
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { resource:Q3328209 property:P54 ?w . ?w rdf:type ontology:Q12973014 }
Murray Murdoch
action filter_type
action find
entity Murray Murdoch
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { resource:Murray_Murdoch property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team }
[]
sports team
Q188984
SYSTEM
New York Rangers
Q188984
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q3328209
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { resource:Q3328209 property:P54 ?w . ?w rdf:type ontology:Q12973014 }
New York Rangers
That person a member of is the New York Rangers
New York Rangers
action filter_type
action find
entity Murray Murdoch
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { resource:Murray_Murdoch property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q438315 Q3328209
P54
Q12973014
USER
Or Juho Jokinen?
OR((Q3328209,P54,c(Q12973014)), (Q438315,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3328209
relation P54
action find
entity Q438315
relation P54
type Q12973014
{'OR': [['Q3328209', 'P54', {'concept': 'Q12973014'}], ['Q438315', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Q3328209 ) ( resource:Q438315 ) } . ?x property:P54 ?n } . ?n rdf:type ontology:Q12973014 }
Juho Jokinen Murray Murdoch
action filter_type
action union
action find
entity Murray Murdoch
relation member of sports team
action find
entity Juho Jokinen
relation member of sports team
type sports team
{'OR': [['Murray Murdoch', 'member of sports team', {'concept': 'sports team'}], ['Juho Jokinen', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Murray_Murdoch ) ( resource:Juho_Jokinen ) } . ?x property:member_of_sports_team ?n } . ?n rdf:type ontology:sports_team }
[]
sports team
Q188984 Q1130636
SYSTEM
New York Rangers, Oulun Kärpät
Q188984 Q1130636
OR((Q3328209,P54,c(Q12973014)), (Q438315,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3328209
relation P54
action find
entity Q438315
relation P54
type Q12973014
[ANSWERS]
{'OR': [['Q3328209', 'P54', {'concept': 'Q12973014'}], ['Q438315', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Q3328209 ) ( resource:Q438315 ) } . ?x property:P54 ?n } . ?n rdf:type ontology:Q12973014 }
New York Rangers Oulun Kärpät
New York Rangers Oulun Kärpät
action filter_type
action union
action find
entity Murray Murdoch
relation member of sports team
action find
entity Juho Jokinen
relation member of sports team
type sports team
{'OR': [['Murray Murdoch', 'member of sports team', {'concept': 'sports team'}], ['Juho Jokinen', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Murray_Murdoch ) ( resource:Juho_Jokinen ) } . ?x property:member_of_sports_team ?n } . ?n rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11033371 Q188984
P17
Q15617994
USER
Which administrative territories are New York Rangers or Voat Ta Muem a part of ?
OR((Q188984,P17,c(Q15617994)), (Q11033371,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q188984
relation P17
action find
entity Q11033371
relation P17
type Q15617994
{'OR': [['Q188984', 'P17', {'concept': 'Q15617994'}], ['Q11033371', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:P17 ?h . VALUES ( ?t ) { ( resource:Q188984 ) ( resource:Q11033371 ) } } . ?h rdf:type ontology:Q15617994 }
Voat Ta Muem New York Rangers
action filter_type
action union
action find
entity New York Rangers
relation country
action find
entity Voat Ta Muem
relation country
type designation for an administrative territorial entity
{'OR': [['New York Rangers', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Voat Ta Muem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:country ?h . VALUES ( ?t ) { ( resource:New_York_Rangers ) ( resource:Voat_Ta_Muem ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q424
SYSTEM
United States of America, Cambodia
Q30 Q424
OR((Q188984,P17,c(Q15617994)), (Q11033371,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q188984
relation P17
action find
entity Q11033371
relation P17
type Q15617994
The [ANSWERS] are New York Rangers or Voat Ta Muem a part of
{'OR': [['Q188984', 'P17', {'concept': 'Q15617994'}], ['Q11033371', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:P17 ?h . VALUES ( ?t ) { ( resource:Q188984 ) ( resource:Q11033371 ) } } . ?h rdf:type ontology:Q15617994 }
United States of America Cambodia
The United States of America and Cambodia are New York Rangers or Voat Ta Muem a part of
United States of America Cambodia
action filter_type
action union
action find
entity New York Rangers
relation country
action find
entity Voat Ta Muem
relation country
type designation for an administrative territorial entity
{'OR': [['New York Rangers', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Voat Ta Muem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:country ?h . VALUES ( ?t ) { ( resource:New_York_Rangers ) ( resource:Voat_Ta_Muem ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2981267
P495
Q838948
USER
Did Pigs and Battleships originate in those administrative territories ?
(Q2981267,P495,Q30) (Q2981267,P495,Q424)
action is_in
entity prev_answer
action find
entity Q2981267
relation P495
['Q2981267', 'P495', 'Q30'] ['Q2981267', 'P495', 'Q424']
ASK WHERE { resource:Q2981267 property:P495 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q424 ) } }
Pigs and Battleships
action is_in
entity prev_answer
action find
entity Pigs and Battleships
relation country of origin
['Pigs and Battleships', 'country of origin', 'United States of America'] ['Pigs and Battleships', 'country of origin', 'Cambodia']
ASK WHERE { resource:Pigs_and_Battleships property:country_of_origin ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Cambodia ) } }
[]
work of art
SYSTEM
NO
(Q2981267,P495,Q30) (Q2981267,P495,Q424)
action is_in
entity prev_answer
action find
entity Q2981267
relation P495
[ANSWER]
['Q2981267', 'P495', 'Q30'] ['Q2981267', 'P495', 'Q424']
ASK WHERE { resource:Q2981267 property:P495 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q424 ) } }
No
action is_in
entity prev_answer
action find
entity Pigs and Battleships
relation country of origin
['Pigs and Battleships', 'country of origin', 'United States of America'] ['Pigs and Battleships', 'country of origin', 'Cambodia']
ASK WHERE { resource:Pigs_and_Battleships property:country_of_origin ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Cambodia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1130636 Q33
P17
Q15617994
USER
Is Oulun Kärpät situated in Finland ?
(Q1130636,P17,Q33)
action is_in
entity Q33
action find
entity Q1130636
relation P17
['Q1130636', 'P17', 'Q33']
ASK WHERE { resource:Q1130636 property:P17 resource:Q33 }
Oulun Kärpät Finland
action is_in
entity Finland
action find
entity Oulun Kärpät
relation country
['Oulun Kärpät', 'country', 'Finland']
ASK WHERE { resource:Oulun_Kärpät property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1130636,P17,Q33)
action is_in
entity Q33
action find
entity Q1130636
relation P17
[ANSWER]
['Q1130636', 'P17', 'Q33']
ASK WHERE { resource:Q1130636 property:P17 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity Oulun Kärpät
relation country
['Oulun Kärpät', 'country', 'Finland']
ASK WHERE { resource:Oulun_Kärpät property:country resource:Finland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1130636
P17
Q15617994
USER
How many administrative territories are Oulun Kärpät present in ?
(Q1130636,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1130636
relation P17
type Q15617994
['Q1130636', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q1130636 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Oulun Kärpät
action count
action filter_type
action find
entity Oulun Kärpät
relation country
type designation for an administrative territorial entity
['Oulun Kärpät', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Oulun_Kärpät property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q1130636,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1130636
relation P17
type Q15617994
[ANSWER]
['Q1130636', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q1130636 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Finland
1
action count
action filter_type
action find
entity Oulun Kärpät
relation country
type designation for an administrative territorial entity
['Oulun Kärpät', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Oulun_Kärpät property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1130636
P115
Q41176
USER
Which building is the ground of that sports team ?
action filter_type
action find
entity Q1130636
relation P115
type Q41176
SELECT DISTINCT ?g WHERE { resource:Q1130636 property:P115 ?g . ?g rdf:type ontology:Q41176 }
Oulun Kärpät
action filter_type
action find
entity Oulun Kärpät
relation home venue
type building
SELECT DISTINCT ?g WHERE { resource:Oulun_Kärpät property:home_venue ?g . ?g rdf:type ontology:building }
[]
building
Q926373
SYSTEM
Oulu Ice Hall
Q926373
action filter_type
action find
entity Q1130636
relation P115
type Q41176
[ANSWER] is the ground of that sports team
SELECT DISTINCT ?g WHERE { resource:Q1130636 property:P115 ?g . ?g rdf:type ontology:Q41176 }
Oulu Ice Hall
Oulu Ice Hall is the ground of that sports team
Oulu Ice Hall
action filter_type
action find
entity Oulun Kärpät
relation home venue
type building
SELECT DISTINCT ?g WHERE { resource:Oulun_Kärpät property:home_venue ?g . ?g rdf:type ontology:building }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P115
Q12973014 Q618123
USER
How many sports teams and geographical objects have that building as their home venue ?
(c(Q12973014),P115,Q926373) (c(Q618123),P115,Q926373) (c(Q12973014),P115,Q926373) (c(Q618123),P115,Q926373)
action count
action union
action filter_type
action find_reverse
entity Q926373
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q926373
relation P115
type Q618123
[{'concept': 'Q12973014'}, 'P115', 'Q926373'] [{'concept': 'Q618123'}, 'P115', 'Q926373'] [{'concept': 'Q12973014'}, 'P115', 'Q926373'] [{'concept': 'Q618123'}, 'P115', 'Q926373']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x property:P115 resource:Q926373 . ?x rdf:type ontology:Q12973014 } UNION { ?x property:P115 resource:Q926373 . ?x rdf:type ontology:Q618123 } }
action count
action union
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type sports team
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type geographical object
[{'concept': 'sports team'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'sports team'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x property:home_venue resource:Oulu_Ice_Hall . ?x rdf:type ontology:sports_team } UNION { ?x property:home_venue resource:Oulu_Ice_Hall . ?x rdf:type ontology:geographical_object } }
[]
sports team geographical object
SYSTEM
1 sports teams and 2 geographical objects
Q11889561 Q18661118 Q1130636
(c(Q12973014),P115,Q926373) (c(Q618123),P115,Q926373) (c(Q12973014),P115,Q926373) (c(Q618123),P115,Q926373)
action count
action union
action filter_type
action find_reverse
entity Q926373
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q926373
relation P115
type Q618123
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', 'Q926373'] [{'concept': 'Q618123'}, 'P115', 'Q926373'] [{'concept': 'Q12973014'}, 'P115', 'Q926373'] [{'concept': 'Q618123'}, 'P115', 'Q926373']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x property:P115 resource:Q926373 . ?x rdf:type ontology:Q12973014 } UNION { ?x property:P115 resource:Q926373 . ?x rdf:type ontology:Q618123 } }
RB-Oulu Oulun Luistelukerho Oulun Kärpät
1 sports teams and 2 geographical objects
action count
action union
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type sports team
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type geographical object
[{'concept': 'sports team'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'sports team'}, 'home venue', 'Oulu Ice Hall'] [{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x property:home_venue resource:Oulu_Ice_Hall . ?x rdf:type ontology:sports_team } UNION { ?x property:home_venue resource:Oulu_Ice_Hall . ?x rdf:type ontology:geographical_object } }
[]