Simple Question (Direct)
Simple Question
Q957312
P641
Q31629
USER
Which type of sport was Peter Klein a part of ?
(Q957312,P641,c(Q31629))
action filter_type
action find
entity Q957312
relation P641
type Q31629
['Q957312', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q31629 . resource:Q957312 property:P641 ?j }
Peter Klein
action filter_type
action find
entity Peter Klein
relation sport
type type of sport
['Peter Klein', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_sport . resource:Peter_Klein property:sport ?j }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q957312,P641,c(Q31629))
action filter_type
action find
entity Q957312
relation P641
type Q31629
The [ANSWER] was Peter Klein a part of
['Q957312', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q31629 . resource:Q957312 property:P641 ?j }
athletics
The athletics was Peter Klein a part of
athletics
action filter_type
action find
entity Peter Klein
relation sport
type type of sport
['Peter Klein', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_sport . resource:Peter_Klein property:sport ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q957312
P19
Q486972
USER
Which human settlement was Peter Klein born in ?
(Q957312,P19,c(Q486972))
action filter_type
action find
entity Q957312
relation P19
type Q486972
['Q957312', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q486972 . resource:Q957312 property:P19 ?p }
Peter Klein
action filter_type
action find
entity Peter Klein
relation place of birth
type human settlement
['Peter Klein', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:human_settlement . resource:Peter_Klein property:place_of_birth ?p }
[]
human settlement
Q2259617
SYSTEM
Schötmar
Q2259617
(Q957312,P19,c(Q486972))
action filter_type
action find
entity Q957312
relation P19
type Q486972
Peter Klein was born in [ANSWER]
['Q957312', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q486972 . resource:Q957312 property:P19 ?p }
Schötmar
Peter Klein was born in Schötmar
Schötmar
action filter_type
action find
entity Peter Klein
relation place of birth
type human settlement
['Peter Klein', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:human_settlement . resource:Peter_Klein property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q957312
P21
Q290
USER
Which sex does that person belong to ?
(Q2259617,P21,c(Q290))
action filter_type
action find
entity Q957312
relation P21
type Q290
['Q2259617', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q957312 property:P21 ?h . ?h rdf:type ontology:Q290 }
Peter Klein
action filter_type
action find
entity Peter Klein
relation gender
type sex
['Schötmar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Peter_Klein property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2259617,P21,c(Q290))
action filter_type
action find
entity Q957312
relation P21
type Q290
That person belongs to [ANSWER]
['Q2259617', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q957312 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Peter Klein
relation gender
type sex
['Schötmar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Peter_Klein property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting depicts that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q6581097 . ?m rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:male . ?m rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] depicts that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q6581097 . ?m rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister depicts that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:male . ?m rdf:type ontology:painting }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18713957 Q30
P17
Q15617994
USER
Is that painting a part of United States of America ?
(Q18713957,P17,Q30)
action is_in
entity Q30
action find
entity Q18713957
relation P17
['Q18713957', 'P17', 'Q30']
ASK WHERE { resource:Q18713957 property:P17 resource:Q30 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister United States of America
action is_in
entity United States of America
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'United States of America']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18713957,P17,Q30)
action is_in
entity Q30
action find
entity Q18713957
relation P17
[ANSWER]
['Q18713957', 'P17', 'Q30']
ASK WHERE { resource:Q18713957 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'United States of America']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P138
Q3977918 Q11173
USER
How many mineral supergroupss or chemical compounds are named after male ?
(c(Q3977918),P138,Q6581097) (c(Q11173),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
[{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } }
[]
mineral supergroups chemical compound
SYSTEM
2
Q19861994 Q19861203
(c(Q3977918),P138,Q6581097) (c(Q11173),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
[ANSWER]
[{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } }
tazzoliite postite
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q957312
P106
Q12737077
USER
What does Peter Klein do for a living ?
(Q957312,P106,c(Q12737077))
action filter_type
action find
entity Q957312
relation P106
type Q12737077
['Q957312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q957312 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Peter Klein
action filter_type
action find
entity Peter Klein
relation occupation
type occupation
['Peter Klein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Klein property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q4009406
SYSTEM
sprinter
Q4009406
(Q957312,P106,c(Q12737077))
action filter_type
action find
entity Q957312
relation P106
type Q12737077
Peter Klein does the [ANSWER] for a living
['Q957312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q957312 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
sprinter
Peter Klein does the sprinter for a living
sprinter
action filter_type
action find
entity Peter Klein
relation occupation
type occupation
['Peter Klein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Klein property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q957312
Q151885
USER
And which concept?
(Q957312,P106,c(Q151885))
action filter_type
action find
entity Q957312
relation P106
type Q151885
['Q957312', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q957312 property:P106 ?g . ?g rdf:type ontology:Q151885 }
Peter Klein
action filter_type
action find
entity Peter Klein
relation occupation
type concept
['Peter Klein', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Klein property:occupation ?g . ?g rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q957312,P106,c(Q151885))
action filter_type
action find
entity Q957312
relation P106
type Q151885
[ANSWER]
['Q957312', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q957312 property:P106 ?g . ?g rdf:type ontology:Q151885 }
athletics competitor
athletics competitor
action filter_type
action find
entity Peter Klein
relation occupation
type concept
['Peter Klein', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Klein property:occupation ?g . ?g rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20489476 Q18713957
P127 P276
Q33506
USER
Which museums own Raja Surendra Vikram Shah at the age of 15 with his prime minister or are the locations of (Peach blossoms and willow leaves) ?
OR((Q18713957,P127,c(Q33506)), (Q20489476,P276,c(Q33506)))
action filter_type
action union
action find
entity Q18713957
relation P127
action find
entity Q20489476
relation P276
type Q33506
{'OR': [['Q18713957', 'P127', {'concept': 'Q33506'}], ['Q20489476', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q33506 . { { resource:Q18713957 property:P127 ?n } UNION { resource:Q20489476 property:P276 ?n } } }
(Peach blossoms and willow leaves) Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation owned by
action find
entity (Peach blossoms and willow leaves)
relation location
type museum
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'owned by', {'concept': 'museum'}], ['(Peach blossoms and willow leaves)', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:museum . { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:owned_by ?n } UNION { resource:(Peach_blossoms_and_willow_leaves) property:location ?n } } }
[]
museum
Q705551 Q1368166
SYSTEM
Art Gallery of New South Wales, San Diego Museum of Art
Q705551 Q1368166
OR((Q18713957,P127,c(Q33506)), (Q20489476,P276,c(Q33506)))
action filter_type
action union
action find
entity Q18713957
relation P127
action find
entity Q20489476
relation P276
type Q33506
[ANSWERS] own Raja Surendra Vikram Shah at the age of 15 with his prime minister or are the locations of (Peach blossoms and willow leaves)
{'OR': [['Q18713957', 'P127', {'concept': 'Q33506'}], ['Q20489476', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q33506 . { { resource:Q18713957 property:P127 ?n } UNION { resource:Q20489476 property:P276 ?n } } }
Art Gallery of New South Wales San Diego Museum of Art
Art Gallery of New South Wales and San Diego Museum of Art own Raja Surendra Vikram Shah at the age of 15 with his prime minister or are the locations of (Peach blossoms and willow leaves)
Art Gallery of New South Wales San Diego Museum of Art
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation owned by
action find
entity (Peach blossoms and willow leaves)
relation location
type museum
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'owned by', {'concept': 'museum'}], ['(Peach blossoms and willow leaves)', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:museum . { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:owned_by ?n } UNION { resource:(Peach_blossoms_and_willow_leaves) property:location ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20441368 Q20489476
P276 P195
Q33506
USER
Which museums can (Peach blossoms and willow leaves) be found or have Moon Gate Garden in it ?
OR((Q20489476,P276,c(Q33506)), (Q20441368,P195,c(Q33506)))
action filter_type
action union
action find
entity Q20489476
relation P276
action find
entity Q20441368
relation P195
type Q33506
{'OR': [['Q20489476', 'P276', {'concept': 'Q33506'}], ['Q20441368', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q20441368 property:P195 ?z } UNION { resource:Q20489476 property:P276 ?z } } . ?z rdf:type ontology:Q33506 }
Moon Gate Garden (Peach blossoms and willow leaves)
action filter_type
action union
action find
entity (Peach blossoms and willow leaves)
relation location
action find
entity Moon Gate Garden
relation collection
type museum
{'OR': [['(Peach blossoms and willow leaves)', 'location', {'concept': 'museum'}], ['Moon Gate Garden', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Moon_Gate_Garden property:collection ?z } UNION { resource:(Peach_blossoms_and_willow_leaves) property:location ?z } } . ?z rdf:type ontology:museum }
[]
museum
Q705551
SYSTEM
Art Gallery of New South Wales
Q705551
OR((Q20489476,P276,c(Q33506)), (Q20441368,P195,c(Q33506)))
action filter_type
action union
action find
entity Q20489476
relation P276
action find
entity Q20441368
relation P195
type Q33506
[ANSWER] can (Peach blossoms and willow leaves) be found or have Moon Gate Garden in it
{'OR': [['Q20489476', 'P276', {'concept': 'Q33506'}], ['Q20441368', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q20441368 property:P195 ?z } UNION { resource:Q20489476 property:P276 ?z } } . ?z rdf:type ontology:Q33506 }
Art Gallery of New South Wales
Art Gallery of New South Wales can (Peach blossoms and willow leaves) be found or have Moon Gate Garden in it
Art Gallery of New South Wales
action filter_type
action union
action find
entity (Peach blossoms and willow leaves)
relation location
action find
entity Moon Gate Garden
relation collection
type museum
{'OR': [['(Peach blossoms and willow leaves)', 'location', {'concept': 'museum'}], ['Moon Gate Garden', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Moon_Gate_Garden property:collection ?z } UNION { resource:(Peach_blossoms_and_willow_leaves) property:location ?z } } . ?z rdf:type ontology:museum }
[]