Simple Question (Direct)
Simple Question
Q1261246
P1344
Q799469
USER
What did Miyuki Tai participate in ?
(Q1261246,P1344,c(Q799469))
action filter_type
action find
entity Q1261246
relation P1344
type Q799469
['Q1261246', 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ?w WHERE { resource:Q1261246 property:P1344 ?w . ?w rdf:type ontology:Q799469 }
Miyuki Tai
action filter_type
action find
entity Miyuki Tai
relation participant of
type Badminton World Championships
['Miyuki Tai', 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ?w WHERE { resource:Miyuki_Tai property:participant_of ?w . ?w rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships
Q799546
SYSTEM
2005 Badminton World Championships – Mixed Doubles
Q799546
(Q1261246,P1344,c(Q799469))
action filter_type
action find
entity Q1261246
relation P1344
type Q799469
Miyuki Tai participated in [ANSWER]
['Q1261246', 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ?w WHERE { resource:Q1261246 property:P1344 ?w . ?w rdf:type ontology:Q799469 }
2005 Badminton World Championships – Mixed Doubles
Miyuki Tai participated in 2005 Badminton World Championships – Mixed Doubles
2005 Badminton World Championships – Mixed Doubles
action filter_type
action find
entity Miyuki Tai
relation participant of
type Badminton World Championships
['Miyuki Tai', 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ?w WHERE { resource:Miyuki_Tai property:participant_of ?w . ?w rdf:type ontology:Badminton_World_Championships }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1261246
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q799546,P27,c(Q15617994))
action filter_type
action find
entity Q1261246
relation P27
type Q15617994
['Q799546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1261246 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Miyuki Tai
action filter_type
action find
entity Miyuki Tai
relation country of citizenship
type designation for an administrative territorial entity
['2005 Badminton World Championships – Mixed Doubles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Miyuki_Tai property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q799546,P27,c(Q15617994))
action filter_type
action find
entity Q1261246
relation P27
type Q15617994
To [ANSWER] is the native country of that person
['Q799546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1261246 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Japan
To Japan is the native country of that person
Japan
action filter_type
action find
entity Miyuki Tai
relation country of citizenship
type designation for an administrative territorial entity
['2005 Badminton World Championships – Mixed Doubles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Miyuki_Tai property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3047223 Q17
P530 P19
Q15617994
USER
Which administrative territories have a diplomatic relationship with Japan or are the places of birth of Edafe Egbedi ?
OR((Q17,P530,c(Q15617994)), (Q3047223,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q3047223
relation P19
type Q15617994
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q3047223', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q17 property:P530 ?v } UNION { resource:Q3047223 property:P19 ?v } } . ?v rdf:type ontology:Q15617994 }
Edafe Egbedi Japan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Edafe Egbedi
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edafe Egbedi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Japan property:diplomatic_relation ?v } UNION { resource:Edafe_Egbedi property:place_of_birth ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q227 Q155 Q711 Q869 Q30 Q1033 Q145 Q142 Q884
SYSTEM
Some of them are Israel, Azerbaijan, Brazil, Mongolia, Thailand, United States of America, Nigeria, United Kingdom, France, South Korea
Q227 Q142 Q711 Q884 Q159 Q1033 Q801 Q145 Q155 Q30 Q869 Q38
OR((Q17,P530,c(Q15617994)), (Q3047223,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q3047223
relation P19
type Q15617994
[ANSWERS] have a diplomatic relationship with Japan or are the places of birth of Edafe Egbedi
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q3047223', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q17 property:P530 ?v } UNION { resource:Q3047223 property:P19 ?v } } . ?v rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Russia Nigeria Israel United Kingdom Brazil United States of America Thailand Italy
Israel, Azerbaijan, Brazil, Mongolia, Thailand, United States of America, Nigeria, United Kingdom, France and South Korea have a diplomatic relationship with Japan or are the places of birth of Edafe Egbedi
Israel Azerbaijan Brazil Mongolia Thailand United States of America Nigeria United Kingdom France South Korea
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Edafe Egbedi
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edafe Egbedi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Japan property:diplomatic_relation ?v } UNION { resource:Edafe_Egbedi property:place_of_birth ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1708938 Q1261246
P710
Q799469
USER
Which Badminton World Championshipss have Miyuki Tai or José Antonio Crespo as their participant ?
OR((c(Q799469),P710,Q1261246), (c(Q799469),P710,Q1708938))
action filter_type
action union
action find_reverse
entity Q1261246
relation P710
action find_reverse
entity Q1708938
relation P710
type Q799469
{'OR': [[{'concept': 'Q799469'}, 'P710', 'Q1261246'], [{'concept': 'Q799469'}, 'P710', 'Q1708938']]}
SELECT DISTINCT ?q WHERE { { ?q property:P710 ?b . VALUES ( ?b ) { ( resource:Q1261246 ) ( resource:Q1708938 ) } } . ?q rdf:type ontology:Q799469 }
José Antonio Crespo Miyuki Tai
action filter_type
action union
action find_reverse
entity Miyuki Tai
relation participant
action find_reverse
entity José Antonio Crespo
relation participant
type Badminton World Championships
{'OR': [[{'concept': 'Badminton World Championships'}, 'participant', 'Miyuki Tai'], [{'concept': 'Badminton World Championships'}, 'participant', 'José Antonio Crespo']]}
SELECT DISTINCT ?q WHERE { { ?q property:participant ?b . VALUES ( ?b ) { ( resource:Miyuki_Tai ) ( resource:José_Antonio_Crespo ) } } . ?q rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships
Q799535 Q799522 Q188406 Q799527 Q535973 Q799538 Q799546
SYSTEM
2003 Badminton World Championships – Men's Doubles, 1999 Badminton World Championships – Mixed Doubles, 1999 Badminton World Championships – Men's Doubles, 2001 Badminton World Championships – Men's Doubles, 2001 Badminton World Championships – Mixed Doubles, 2003 Badminton World Championships – Mixed Doubles, 2005 Badminton World Championships – Mixed Doubles
Q799535 Q799522 Q188406 Q799527 Q535973 Q799538 Q799546
OR((c(Q799469),P710,Q1261246), (c(Q799469),P710,Q1708938))
action filter_type
action union
action find_reverse
entity Q1261246
relation P710
action find_reverse
entity Q1708938
relation P710
type Q799469
[ANSWERS]
{'OR': [[{'concept': 'Q799469'}, 'P710', 'Q1261246'], [{'concept': 'Q799469'}, 'P710', 'Q1708938']]}
SELECT DISTINCT ?q WHERE { { ?q property:P710 ?b . VALUES ( ?b ) { ( resource:Q1261246 ) ( resource:Q1708938 ) } } . ?q rdf:type ontology:Q799469 }
2003 Badminton World Championships – Men's Doubles 1999 Badminton World Championships – Mixed Doubles 1999 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Mixed Doubles 2003 Badminton World Championships – Mixed Doubles 2005 Badminton World Championships – Mixed Doubles
2001 Badminton World Championships – mixed Doubles, 2003 Badminton World Championships – mixed Doubles and 2005 Badminton World Championships – mixed Doubles have Miyuki Tai or José Antonio Crespo as their participant
2003 Badminton World Championships – Men's Doubles 1999 Badminton World Championships – Mixed Doubles 1999 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Mixed Doubles 2003 Badminton World Championships – Mixed Doubles 2005 Badminton World Championships – Mixed Doubles
action filter_type
action union
action find_reverse
entity Miyuki Tai
relation participant
action find_reverse
entity José Antonio Crespo
relation participant
type Badminton World Championships
{'OR': [[{'concept': 'Badminton World Championships'}, 'participant', 'Miyuki Tai'], [{'concept': 'Badminton World Championships'}, 'participant', 'José Antonio Crespo']]}
SELECT DISTINCT ?q WHERE { { ?q property:participant ?b . VALUES ( ?b ) { ( resource:Miyuki_Tai ) ( resource:José_Antonio_Crespo ) } } . ?q rdf:type ontology:Badminton_World_Championships }
[]
Clarification
Simple Question|Single Entity|Indirect
Q799535
P361
Q18608583
USER
What is that Badminton World Championships a part of ?
(Q799535,P361,c(Q18608583))
action filter_type
action find
entity Q799535
relation P361
type Q18608583
['Q799535', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?l WHERE { resource:Q799535 property:P361 ?l . ?l rdf:type ontology:Q18608583 }
2003 Badminton World Championships – Men's Doubles
action filter_type
action find
entity 2003 Badminton World Championships – Men's Doubles
relation part of
type recurring sporting event
["2003 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?l WHERE { resource:2003_Badminton_World_Championships_–_Men's_Doubles property:part_of ?l . ?l rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Clarification for simple ques.
Q799538
SYSTEM
Did you mean 2003 Badminton World Championships – Mixed Doubles ?
Q799535 Q799522 Q188406 Q799527 Q535973 Q799538 Q799546
(Q799535,P361,c(Q18608583)) (Q799522,P361,c(Q18608583)) (Q188406,P361,c(Q18608583)) (Q799527,P361,c(Q18608583)) (Q535973,P361,c(Q18608583)) (Q799538,P361,c(Q18608583)) (Q799546,P361,c(Q18608583))
[ANSWER]
['Q799535', 'P361', {'concept': 'Q18608583'}] ['Q799522', 'P361', {'concept': 'Q18608583'}] ['Q188406', 'P361', {'concept': 'Q18608583'}] ['Q799527', 'P361', {'concept': 'Q18608583'}] ['Q535973', 'P361', {'concept': 'Q18608583'}] ['Q799538', 'P361', {'concept': 'Q18608583'}] ['Q799546', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?l WHERE { resource:Q799535 property:P361 ?l . ?l rdf:type ontology:Q18608583 }
2003 Badminton World Championships – Men's Doubles 1999 Badminton World Championships – Mixed Doubles 1999 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Men's Doubles 2001 Badminton World Championships – Mixed Doubles 2003 Badminton World Championships – Mixed Doubles 2005 Badminton World Championships – Mixed Doubles
Did you mean 2003 Badminton World Championships – Mixed Doubles ?
2003 Badminton World Championships – Mixed Doubles
["2003 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}] ['1999 Badminton World Championships – Mixed Doubles', 'part of', {'concept': 'recurring sporting event'}] ["1999 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}] ["2001 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}] ['2001 Badminton World Championships – Mixed Doubles', 'part of', {'concept': 'recurring sporting event'}] ['2003 Badminton World Championships – Mixed Doubles', 'part of', {'concept': 'recurring sporting event'}] ['2005 Badminton World Championships – Mixed Doubles', 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?l WHERE { resource:2003_Badminton_World_Championships_–_Men's_Doubles property:part_of ?l . ?l rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
USER
No, I meant 2003 Badminton World Championships – Men's Doubles. Could you tell me the answer for that?
(Q799535,P361,c(Q18608583))
Q799535
['Q799535', 'P361', {'concept': 'Q18608583'}]
["2003 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}]
[]
Q799540
SYSTEM
2003 Badminton World Championships
Q799540
(Q799535,P361,c(Q18608583))
action filter_type
action find
entity Q799535
relation P361
type Q18608583
[ANSWER] is that Badminton World Championships a part of
['Q799535', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?l WHERE { resource:Q799535 property:P361 ?l . ?l rdf:type ontology:Q18608583 }
2003 Badminton World Championships
2003 Badminton World Championships is that Badminton World Championships a part of
2003 Badminton World Championships
action filter_type
action find
entity 2003 Badminton World Championships – Men's Doubles
relation part of
type recurring sporting event
["2003 Badminton World Championships – Men's Doubles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?l WHERE { resource:2003_Badminton_World_Championships_–_Men's_Doubles property:part_of ?l . ?l rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P710
Q15275719 Q1190554
USER
How many recurring events or events were France a participant of ?
(c(Q15275719),P710,Q142) (c(Q1190554),P710,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P710
type Q15275719
action filter_type
action find_reverse
entity Q142
relation P710
type Q1190554
[{'concept': 'Q15275719'}, 'P710', 'Q142'] [{'concept': 'Q1190554'}, 'P710', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q15275719 } UNION { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q1190554 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation participant
type recurring event
action filter_type
action find_reverse
entity France
relation participant
type event
[{'concept': 'recurring event'}, 'participant', 'France'] [{'concept': 'event'}, 'participant', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:participant resource:France . ?j rdf:type ontology:recurring_event } UNION { ?j property:participant resource:France . ?j rdf:type ontology:event } }
[]
recurring event event
SYSTEM
5
Q838704 Q300738 Q3486058 Q13435464 Q207815
(c(Q15275719),P710,Q142) (c(Q1190554),P710,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P710
type Q15275719
action filter_type
action find_reverse
entity Q142
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q142'] [{'concept': 'Q1190554'}, 'P710', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q15275719 } UNION { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q1190554 } }
Battle of Durazzo Congress of Aix-la-Chapelle (1818) Battle of Crête-à-Pierrot Invasion of Luxembourg Eurovision Song Contest 1996
5
action count
action union
action filter_type
action find_reverse
entity France
relation participant
type recurring event
action filter_type
action find_reverse
entity France
relation participant
type event
[{'concept': 'recurring event'}, 'participant', 'France'] [{'concept': 'event'}, 'participant', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:participant resource:France . ?j rdf:type ontology:recurring_event } UNION { ?j property:participant resource:France . ?j rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P1532
Q1194951
USER
Which national sports team represents Israel ?
(c(Q1194951),P1532,Q801)
action filter_type
action find_reverse
entity Q801
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q801 . ?e rdf:type ontology:Q1194951 }
Israel
action filter_type
action find_reverse
entity Israel
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:Israel . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q191406
SYSTEM
Israel national football team
Q191406
(c(Q1194951),P1532,Q801)
action filter_type
action find_reverse
entity Q801
relation P1532
type Q1194951
And [ANSWER] represents Israel
[{'concept': 'Q1194951'}, 'P1532', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q801 . ?e rdf:type ontology:Q1194951 }
Israel national football team
And Israel national football team represents Israel
Israel national football team
action filter_type
action find_reverse
entity Israel
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:Israel . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P35
Q502895
USER
Who are the heads of state of Israel ?
(Q801,P35,c(Q502895))
action filter_type
action find
entity Q801
relation P35
type Q502895
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q801 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Israel
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Israel property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]
common name
Q57410 Q295141 Q110330
SYSTEM
Shimon Peres, Chaim Herzog, Ephraim Katzir
Q128894 Q295141 Q455854 Q110330 Q299100 Q57410 Q311583 Q128911 Q181832 Q172183
(Q801,P35,c(Q502895))
action filter_type
action find
entity Q801
relation P35
type Q502895
The heads of state of Israel are [ANSWERS]
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q801 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Yitzhak Ben-Zvi Chaim Herzog Reuven Rivlin Ephraim Katzir Zalman Shazar Shimon Peres Yitzhak Navon Ezer Weizman Moshe Katsav Chaim Weizmann
The heads of state of Israel are Shimon Peres, Chaim Herzog and Ephraim Katzir
Shimon Peres Chaim Herzog Ephraim Katzir
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Israel property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]