Simple Question (Direct)
Simple Question
Q372806
P106
Q12737077
USER
What does Adrian Crișan do for a living ?
(Q372806,P106,c(Q12737077))
action filter_type
action find
entity Q372806
relation P106
type Q12737077
['Q372806', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q372806 property:P106 ?t }
Adrian Crișan
action filter_type
action find
entity Adrian Crișan
relation occupation
type occupation
['Adrian Crișan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Adrian_Crișan property:occupation ?t }
[]
occupation
Q13382519
SYSTEM
table tennis player
Q13382519
(Q372806,P106,c(Q12737077))
action filter_type
action find
entity Q372806
relation P106
type Q12737077
Adrian Crișan does for a living a [ANSWER]
['Q372806', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q372806 property:P106 ?t }
table tennis player
Adrian Crișan does for a living a table tennis player
table tennis player
action filter_type
action find
entity Adrian Crișan
relation occupation
type occupation
['Adrian Crișan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Adrian_Crișan property:occupation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q372806
P21
Q290
USER
Which sex does that person have ?
(Q13382519,P21,c(Q290))
action filter_type
action find
entity Q372806
relation P21
type Q290
['Q13382519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q372806 property:P21 ?y . ?y rdf:type ontology:Q290 }
Adrian Crișan
action filter_type
action find
entity Adrian Crișan
relation gender
type sex
['table tennis player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Adrian_Crișan property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13382519,P21,c(Q290))
action filter_type
action find
entity Q372806
relation P21
type Q290
That person has a [ANSWER]
['Q13382519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q372806 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Adrian Crișan
relation gender
type sex
['table tennis player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Adrian_Crișan property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5585501 Q372806
P21
Q290
USER
And also Gordon Mackie
AND((Q372806,P21,c(Q290)), (Q5585501,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q372806
relation P21
action find
entity Q5585501
relation P21
type Q290
{'AND': [['Q372806', 'P21', {'concept': 'Q290'}], ['Q5585501', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { resource:Q5585501 property:P21 ?x . resource:Q372806 property:P21 ?x . ?x rdf:type ontology:Q290 }
Gordon Mackie Adrian Crișan
action filter_type
action intersection
action find
entity Adrian Crișan
relation gender
action find
entity Gordon Mackie
relation gender
type sex
{'AND': [['Adrian Crișan', 'gender', {'concept': 'sex'}], ['Gordon Mackie', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { resource:Gordon_Mackie property:gender ?x . resource:Adrian_Crișan property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q372806,P21,c(Q290)), (Q5585501,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q372806
relation P21
action find
entity Q5585501
relation P21
type Q290
[ANSWER]
{'AND': [['Q372806', 'P21', {'concept': 'Q290'}], ['Q5585501', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { resource:Q5585501 property:P21 ?x . resource:Q372806 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Adrian Crișan
relation gender
action find
entity Gordon Mackie
relation gender
type sex
{'AND': [['Adrian Crișan', 'gender', {'concept': 'sex'}], ['Gordon Mackie', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { resource:Gordon_Mackie property:gender ?x . resource:Adrian_Crișan property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372806
P1344
Q2312410
USER
Which sport discipline did Adrian Crișan take part in ?
(Q372806,P1344,c(Q2312410))
action filter_type
action find
entity Q372806
relation P1344
type Q2312410
['Q372806', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?x WHERE { resource:Q372806 property:P1344 ?x . ?x rdf:type ontology:Q2312410 }
Adrian Crișan
action filter_type
action find
entity Adrian Crișan
relation participant of
type sport discipline
['Adrian Crișan', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?x WHERE { resource:Adrian_Crișan property:participant_of ?x . ?x rdf:type ontology:sport_discipline }
[]
sport discipline
Q5392247
SYSTEM
table tennis at the 2016 Summer Olympics
Q5392247
(Q372806,P1344,c(Q2312410))
action filter_type
action find
entity Q372806
relation P1344
type Q2312410
Adrian Crișan took in part in [ANSWER]
['Q372806', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?x WHERE { resource:Q372806 property:P1344 ?x . ?x rdf:type ontology:Q2312410 }
table tennis at the 2016 Summer Olympics
Adrian Crișan took in part in table tennis at the 2016 Summer Olympics
table tennis at the 2016 Summer Olympics
action filter_type
action find
entity Adrian Crișan
relation participant of
type sport discipline
['Adrian Crișan', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?x WHERE { resource:Adrian_Crișan property:participant_of ?x . ?x rdf:type ontology:sport_discipline }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5392247
P361
Q16510064
USER
Which sporting events are a part of that sport discipline ?
(c(Q16510064),P361,Q5392247)
action filter_type
action find_reverse
entity Q5392247
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q5392247']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q5392247 . ?j rdf:type ontology:Q16510064 }
table tennis at the 2016 Summer Olympics
action filter_type
action find_reverse
entity table tennis at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'table tennis at the 2016 Summer Olympics']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:table_tennis_at_the_2016_Summer_Olympics . ?j rdf:type ontology:sporting_event }
[]
sporting event
Q26217860 Q26212366 Q26217722
SYSTEM
Table tennis at the 2016 Summer Olympics – Women's team, Table tennis at the 2016 Summer Olympics – Men's singles, Table tennis at the 2016 Summer Olympics – Men's team
Q26217860 Q26212366 Q26217722
(c(Q16510064),P361,Q5392247)
action filter_type
action find_reverse
entity Q5392247
relation P361
type Q16510064
[ANSWERS] are a part of that sport discipline
[{'concept': 'Q16510064'}, 'P361', 'Q5392247']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q5392247 . ?j rdf:type ontology:Q16510064 }
Table tennis at the 2016 Summer Olympics – Women's team Table tennis at the 2016 Summer Olympics – Men's singles Table tennis at the 2016 Summer Olympics – Men's team
Table tennis at the 2016 Summer Olympics – Women's team, Table tennis at the 2016 Summer Olympics – Men's singles and Table tennis at the 2016 Summer Olympics – Men's team are a part of that sport discipline
Table tennis at the 2016 Summer Olympics – Women's team Table tennis at the 2016 Summer Olympics – Men's singles Table tennis at the 2016 Summer Olympics – Men's team
action filter_type
action find_reverse
entity table tennis at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'table tennis at the 2016 Summer Olympics']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:table_tennis_at_the_2016_Summer_Olympics . ?j rdf:type ontology:sporting_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26217860
P641
Q349
USER
Which sport was that sporting event a part of ?
(Q26217860,P641,c(Q349))
action filter_type
action find
entity Q26217860
relation P641
type Q349
['Q26217860', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q26217860 property:P641 ?h . ?h rdf:type ontology:Q349 }
Table tennis at the 2016 Summer Olympics – Women's team
action filter_type
action find
entity Table tennis at the 2016 Summer Olympics – Women's team
relation sport
type sport
["Table tennis at the 2016 Summer Olympics – Women's team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Table_tennis_at_the_2016_Summer_Olympics_–_Women's_team property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q26217722
SYSTEM
Did you mean Table tennis at the 2016 Summer Olympics – Men's team ?
Q26217860 Q26212366 Q26217722
(Q26217860,P641,c(Q349)) (Q26212366,P641,c(Q349)) (Q26217722,P641,c(Q349))
[ANSWER]
['Q26217860', 'P641', {'concept': 'Q349'}] ['Q26212366', 'P641', {'concept': 'Q349'}] ['Q26217722', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q26217860 property:P641 ?h . ?h rdf:type ontology:Q349 }
Table tennis at the 2016 Summer Olympics – Women's team Table tennis at the 2016 Summer Olympics – Men's singles Table tennis at the 2016 Summer Olympics – Men's team
Did you mean Table tennis at the 2016 Summer Olympics – Men's team ?
Table tennis at the 2016 Summer Olympics – Men's team
["Table tennis at the 2016 Summer Olympics – Women's team", 'sport', {'concept': 'sport'}] ["Table tennis at the 2016 Summer Olympics – Men's singles", 'sport', {'concept': 'sport'}] ["Table tennis at the 2016 Summer Olympics – Men's team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Table_tennis_at_the_2016_Summer_Olympics_–_Women's_team property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Table tennis at the 2016 Summer Olympics – Women's team. Could you tell me the answer for that?
(Q26217860,P641,c(Q349))
Q26217860
['Q26217860', 'P641', {'concept': 'Q349'}]
["Table tennis at the 2016 Summer Olympics – Women's team", 'sport', {'concept': 'sport'}]
[]
Q3930
SYSTEM
table tennis
Q3930
(Q26217860,P641,c(Q349))
action filter_type
action find
entity Q26217860
relation P641
type Q349
The [ANSWER] was that sporting event a part of
['Q26217860', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q26217860 property:P641 ?h . ?h rdf:type ontology:Q349 }
table tennis
The table tennis was that sporting event a part of
table tennis
action filter_type
action find
entity Table tennis at the 2016 Summer Olympics – Women's team
relation sport
type sport
["Table tennis at the 2016 Summer Olympics – Women's team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Table_tennis_at_the_2016_Summer_Olympics_–_Women's_team property:sport ?h . ?h rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q26212366
P21 P1344
Q502895
USER
Which people participated in Table tennis at the 2016 Summer Olympics – Men's singles and are a male ?
AND((c(Q502895),P1344,Q26212366), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q26212366
relation P1344
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q26212366'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P1344 resource:Q26212366 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Table tennis at the 2016 Summer Olympics – Men's singles
action filter_type
action intersection
action find_reverse
entity Table tennis at the 2016 Summer Olympics – Men's singles
relation participant of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', "Table tennis at the 2016 Summer Olympics – Men's singles"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:participant_of resource:Table_tennis_at_the_2016_Summer_Olympics_–_Men's_singles . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q197218 Q459114 Q1332747
SYSTEM
Zhang Jike, Ma Long, Jun Mizutani
Q197218 Q459114 Q1332747
AND((c(Q502895),P1344,Q26212366), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q26212366
relation P1344
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] participated in Table tennis at the 2016 Summer Olympics – Men's singles and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q26212366'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P1344 resource:Q26212366 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Zhang Jike Ma Long Jun Mizutani
Zhang Jike, Ma Long and Jun Mizutani participated in Table tennis at the 2016 Summer Olympics – Men's singles and are a male
Zhang Jike Ma Long Jun Mizutani
action filter_type
action intersection
action find_reverse
entity Table tennis at the 2016 Summer Olympics – Men's singles
relation participant of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', "Table tennis at the 2016 Summer Olympics – Men's singles"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:participant_of resource:Table_tennis_at_the_2016_Summer_Olympics_–_Men's_singles . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1332747
P1344
Q2312410 Q18608583
USER
How many sport disciplines and recurring sporting events did Jun Mizutani participate in ?
(Q1332747,P1344,c(Q2312410)) (Q1332747,P1344,c(Q18608583))
action count
action union
action filter_type
action find
entity Q1332747
relation P1344
type Q2312410
action filter_type
action find
entity Q1332747
relation P1344
type Q18608583
['Q1332747', 'P1344', {'concept': 'Q2312410'}] ['Q1332747', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2312410 ) ( ontology:Q18608583 ) } }
Jun Mizutani
action count
action union
action filter_type
action find
entity Jun Mizutani
relation participant of
type sport discipline
action filter_type
action find
entity Jun Mizutani
relation participant of
type recurring sporting event
['Jun Mizutani', 'participant of', {'concept': 'sport discipline'}] ['Jun Mizutani', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:sport_discipline ) ( ontology:recurring_sporting_event ) } }
[]
sport discipline recurring sporting event
SYSTEM
1 sport disciplines and 2 recurring sporting events
Q244322 Q329679 Q5392247
(Q1332747,P1344,c(Q2312410)) (Q1332747,P1344,c(Q18608583))
action count
action union
action filter_type
action find
entity Q1332747
relation P1344
type Q2312410
action filter_type
action find
entity Q1332747
relation P1344
type Q18608583
[ANSWER]
['Q1332747', 'P1344', {'concept': 'Q2312410'}] ['Q1332747', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2312410 ) ( ontology:Q18608583 ) } }
2010 Asian Games 2006 Asian Games table tennis at the 2016 Summer Olympics
1 sport disciplines and 2 recurring sporting events
action count
action union
action filter_type
action find
entity Jun Mizutani
relation participant of
type sport discipline
action filter_type
action find
entity Jun Mizutani
relation participant of
type recurring sporting event
['Jun Mizutani', 'participant of', {'concept': 'sport discipline'}] ['Jun Mizutani', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:sport_discipline ) ( ontology:recurring_sporting_event ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1332747
P19
Q515
USER
Which city is the birthplace of that person ?
action filter_type
action find
entity Q1332747
relation P19
type Q515
SELECT DISTINCT ?a WHERE { resource:Q1332747 property:P19 ?a . ?a rdf:type ontology:Q515 }
Jun Mizutani
action filter_type
action find
entity Jun Mizutani
relation place of birth
type city
SELECT DISTINCT ?a WHERE { resource:Jun_Mizutani property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
city
Q386651
SYSTEM
Iwata
Q386651
action filter_type
action find
entity Q1332747
relation P19
type Q515
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?a WHERE { resource:Q1332747 property:P19 ?a . ?a rdf:type ontology:Q515 }
Iwata
Iwata is the birthplace of that person
Iwata
action filter_type
action find
entity Jun Mizutani
relation place of birth
type city
SELECT DISTINCT ?a WHERE { resource:Jun_Mizutani property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1332747
P641
Q349
USER
Which sport did that person participate in ?
(Q386651,P641,c(Q349))
action filter_type
action find
entity Q1332747
relation P641
type Q349
['Q386651', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q1332747 property:P641 ?l . ?l rdf:type ontology:Q349 }
Jun Mizutani
action filter_type
action find
entity Jun Mizutani
relation sport
type sport
['Iwata', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Jun_Mizutani property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q3930
SYSTEM
table tennis
Q3930
(Q386651,P641,c(Q349))
action filter_type
action find
entity Q1332747
relation P641
type Q349
That person participated in [ANSWER]
['Q386651', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q1332747 property:P641 ?l . ?l rdf:type ontology:Q349 }
table tennis
That person participated in table tennis
table tennis
action filter_type
action find
entity Jun Mizutani
relation sport
type sport
['Iwata', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Jun_Mizutani property:sport ?l . ?l rdf:type ontology:sport }
[]