Simple Question (Direct)
Simple Question
Q27244101
P641
Q349
USER
Which sport was Badminton at the 1978 Asian Games – Women's doubles a part of ?
(Q27244101,P641,c(Q349))
action filter_type
action find
entity Q27244101
relation P641
type Q349
['Q27244101', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q27244101 property:P641 ?v . ?v rdf:type ontology:Q349 }
Badminton at the 1978 Asian Games – Women's doubles
action filter_type
action find
entity Badminton at the 1978 Asian Games – Women's doubles
relation sport
type sport
["Badminton at the 1978 Asian Games – Women's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Badminton_at_the_1978_Asian_Games_–_Women's_doubles property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27244101,P641,c(Q349))
action filter_type
action find
entity Q27244101
relation P641
type Q349
[ANSWER] was [ANSWER] at the 1978 Asian Games – Women's doubles a part of
['Q27244101', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q27244101 property:P641 ?v . ?v rdf:type ontology:Q349 }
badminton
Badminton was Badminton at the 1978 Asian Games – Women's doubles a part of
badminton
action filter_type
action find
entity Badminton at the 1978 Asian Games – Women's doubles
relation sport
type sport
["Badminton at the 1978 Asian Games – Women's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Badminton_at_the_1978_Asian_Games_–_Women's_doubles property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27244101
P1344
Q502895
USER
Which people took part in Badminton at the 1978 Asian Games – Women's doubles ?
(c(Q502895),P1344,Q27244101)
action filter_type
action find_reverse
entity Q27244101
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q27244101']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P1344 resource:Q27244101 }
Badminton at the 1978 Asian Games – Women's doubles
action filter_type
action find_reverse
entity Badminton at the 1978 Asian Games – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Badminton at the 1978 Asian Games – Women's doubles"]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:participant_of resource:Badminton_at_the_1978_Asian_Games_–_Women's_doubles }
[]
common name
Q544645 Q520229 Q2419701
SYSTEM
Verawaty Wiharjo, Imelda Wiguna, Theresia Widiastuti
Q520229 Q2290054 Q1298280 Q2419701 Q2428774 Q544645
(c(Q502895),P1344,Q27244101)
action filter_type
action find_reverse
entity Q27244101
relation P1344
type Q502895
[ANSWERS] took part in Badminton at the 1978 Asian Games – Women's doubles
[{'concept': 'Q502895'}, 'P1344', 'Q27244101']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P1344 resource:Q27244101 }
Imelda Wiguna Sirisriro Patama Ruth Damayanti Theresia Widiastuti Thongkam Kingmanee Verawaty Wiharjo
Verawaty Wiharjo, Imelda Wiguna and Theresia Widiastuti took part in Badminton at the 1978 Asian Games – Women's doubles
Verawaty Wiharjo Imelda Wiguna Theresia Widiastuti
action filter_type
action find_reverse
entity Badminton at the 1978 Asian Games – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Badminton at the 1978 Asian Games – Women's doubles"]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:participant_of resource:Badminton_at_the_1978_Asian_Games_–_Women's_doubles }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2419701
P106
Q12737077
USER
What is the profession of that person ?
(Q2419701,P106,c(Q12737077))
action filter_type
action find
entity Q2419701
relation P106
type Q12737077
['Q2419701', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q2419701 property:P106 ?f }
Theresia Widiastuti
action filter_type
action find
entity Theresia Widiastuti
relation occupation
type occupation
['Theresia Widiastuti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Theresia_Widiastuti property:occupation ?f }
[]
occupation
Clarification for simple ques.
Q2419701
SYSTEM
Did you mean Theresia Widiastuti ?
Q544645 Q520229 Q2419701
(Q544645,P106,c(Q12737077)) (Q520229,P106,c(Q12737077)) (Q2419701,P106,c(Q12737077))
[ANSWER]
['Q544645', 'P106', {'concept': 'Q12737077'}] ['Q520229', 'P106', {'concept': 'Q12737077'}] ['Q2419701', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q2419701 property:P106 ?f }
Verawaty Wiharjo Imelda Wiguna Theresia Widiastuti
Did you mean Theresia Widiastuti ?
Theresia Widiastuti
['Verawaty Wiharjo', 'occupation', {'concept': 'occupation'}] ['Imelda Wiguna', 'occupation', {'concept': 'occupation'}] ['Theresia Widiastuti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Theresia_Widiastuti property:occupation ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2419701,P106,c(Q12737077))
['Q2419701', 'P106', {'concept': 'Q12737077'}]
['Theresia Widiastuti', 'occupation', {'concept': 'occupation'}]
[]
Q13141064
SYSTEM
badminton player
Q13141064
(Q2419701,P106,c(Q12737077))
action filter_type
action find
entity Q2419701
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q2419701', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q2419701 property:P106 ?f }
badminton player
The profession of that person is a badminton player
badminton player
action filter_type
action find
entity Theresia Widiastuti
relation occupation
type occupation
['Theresia Widiastuti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Theresia_Widiastuti property:occupation ?f }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q252358 Q2419701
P1344
Q799469
USER
Which Badminton World Championshipss did Theresia Widiastuti and Steen Skovgaard compete in ?
AND((Q2419701,P1344,c(Q799469)), (Q252358,P1344,c(Q799469)))
action filter_type
action intersection
action find
entity Q2419701
relation P1344
action find
entity Q252358
relation P1344
type Q799469
{'AND': [['Q2419701', 'P1344', {'concept': 'Q799469'}], ['Q252358', 'P1344', {'concept': 'Q799469'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q799469 . resource:Q2419701 property:P1344 ?w . resource:Q252358 property:P1344 ?w }
Steen Skovgaard Theresia Widiastuti
action filter_type
action intersection
action find
entity Theresia Widiastuti
relation participant of
action find
entity Steen Skovgaard
relation participant of
type Badminton World Championships
{'AND': [['Theresia Widiastuti', 'participant of', {'concept': 'Badminton World Championships'}], ['Steen Skovgaard', 'participant of', {'concept': 'Badminton World Championships'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Badminton_World_Championships . resource:Theresia_Widiastuti property:participant_of ?w . resource:Steen_Skovgaard property:participant_of ?w }
[]
Badminton World Championships
Q799460
SYSTEM
1980 Badminton World Championships – Mixed Doubles
Q799460
AND((Q2419701,P1344,c(Q799469)), (Q252358,P1344,c(Q799469)))
action filter_type
action intersection
action find
entity Q2419701
relation P1344
action find
entity Q252358
relation P1344
type Q799469
Which Badminton World Championshipss Theresia Widiastuti and Steen Skovgaard competed in
{'AND': [['Q2419701', 'P1344', {'concept': 'Q799469'}], ['Q252358', 'P1344', {'concept': 'Q799469'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q799469 . resource:Q2419701 property:P1344 ?w . resource:Q252358 property:P1344 ?w }
1980 Badminton World Championships – Mixed Doubles
Which Badminton World Championshipss Theresia Widiastuti and Steen Skovgaard competed in
1980 Badminton World Championships – Mixed Doubles
action filter_type
action intersection
action find
entity Theresia Widiastuti
relation participant of
action find
entity Steen Skovgaard
relation participant of
type Badminton World Championships
{'AND': [['Theresia Widiastuti', 'participant of', {'concept': 'Badminton World Championships'}], ['Steen Skovgaard', 'participant of', {'concept': 'Badminton World Championships'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Badminton_World_Championships . resource:Theresia_Widiastuti property:participant_of ?w . resource:Steen_Skovgaard property:participant_of ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q799460 Q19661260
P710
Q502895
USER
Was Reggie Hannah the artist who participated in that Badminton World Championships ?
(Q799460,P710,Q19661260)
action is_in
entity Q19661260
action find
entity Q799460
relation P710
['Q799460', 'P710', 'Q19661260']
ASK WHERE { resource:Q799460 property:P710 resource:Q19661260 }
1980 Badminton World Championships – Mixed Doubles Reggie Hannah
action is_in
entity Reggie Hannah
action find
entity 1980 Badminton World Championships – Mixed Doubles
relation participant
['1980 Badminton World Championships – Mixed Doubles', 'participant', 'Reggie Hannah']
ASK WHERE { resource:1980_Badminton_World_Championships_–_Mixed_Doubles property:participant resource:Reggie_Hannah }
[]
common name
SYSTEM
NO
(Q799460,P710,Q19661260)
action is_in
entity Q19661260
action find
entity Q799460
relation P710
[ANSWER]
['Q799460', 'P710', 'Q19661260']
ASK WHERE { resource:Q799460 property:P710 resource:Q19661260 }
No
action is_in
entity Reggie Hannah
action find
entity 1980 Badminton World Championships – Mixed Doubles
relation participant
['1980 Badminton World Championships – Mixed Doubles', 'participant', 'Reggie Hannah']
ASK WHERE { resource:1980_Badminton_World_Championships_–_Mixed_Doubles property:participant resource:Reggie_Hannah }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q15416 Q340169
USER
How many people inspired atleast 1 television programs and medias ?
(c(Q15416)|c(Q340169),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { FILTER ( ?i >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?w WHERE { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q15416 ) } . ?z rdf:type ?n } GROUP BY ?w } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'television program'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { FILTER ( ?i >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?w WHERE { VALUES ( ?n ) { ( ontology:media ) ( ontology:television_program ) } . ?z rdf:type ?n } GROUP BY ?w } }
[]
common name television program media
SYSTEM
2
Q183458 Q5675905
(c(Q15416)|c(Q340169),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { FILTER ( ?i >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?w WHERE { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q15416 ) } . ?z rdf:type ?n } GROUP BY ?w } }
Andrea del Verrocchio Andrés López Muñoz
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'television program'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { FILTER ( ?i >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?w WHERE { VALUES ( ?n ) { ( ontology:media ) ( ontology:television_program ) } . ?z rdf:type ?n } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q456106 Q2419701
P710
Q799469
USER
Which Badminton World Championshipss have Theresia Widiastuti or Donna Kellogg as their participant ?
OR((c(Q799469),P710,Q2419701), (c(Q799469),P710,Q456106))
action filter_type
action union
action find_reverse
entity Q2419701
relation P710
action find_reverse
entity Q456106
relation P710
type Q799469
{'OR': [[{'concept': 'Q799469'}, 'P710', 'Q2419701'], [{'concept': 'Q799469'}, 'P710', 'Q456106']]}
SELECT DISTINCT ?w WHERE { { ?w property:P710 ?d . VALUES ( ?d ) { ( resource:Q2419701 ) ( resource:Q456106 ) } } . ?w rdf:type ontology:Q799469 }
Donna Kellogg Theresia Widiastuti
action filter_type
action union
action find_reverse
entity Theresia Widiastuti
relation participant
action find_reverse
entity Donna Kellogg
relation participant
type Badminton World Championships
{'OR': [[{'concept': 'Badminton World Championships'}, 'participant', 'Theresia Widiastuti'], [{'concept': 'Badminton World Championships'}, 'participant', 'Donna Kellogg']]}
SELECT DISTINCT ?w WHERE { { ?w property:participant ?d . VALUES ( ?d ) { ( resource:Theresia_Widiastuti ) ( resource:Donna_Kellogg ) } } . ?w rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships
Q799522 Q799441 Q799457 Q799533 Q799442 Q799555 Q799546 Q799524 Q799460 Q535973
SYSTEM
1999 Badminton World Championships – Mixed Doubles, 1977 Badminton World Championships – Women's Doubles, 1980 Badminton World Championships – Women's Doubles, 2003 Badminton World Championships – Women's Doubles, 1977 Badminton World Championships – Women's Singles, 2006 Badminton World Championships – Mixed Doubles, 2005 Badminton World Championships – Mixed Doubles, 2001 Badminton World Championships – Women's Doubles, 1980 Badminton World Championships – Mixed Doubles, 2001 Badminton World Championships – Mixed Doubles
Q799522 Q799441 Q799457 Q799533 Q799442 Q799555 Q799546 Q799524 Q799460 Q535973
OR((c(Q799469),P710,Q2419701), (c(Q799469),P710,Q456106))
action filter_type
action union
action find_reverse
entity Q2419701
relation P710
action find_reverse
entity Q456106
relation P710
type Q799469
[ANSWERS]
{'OR': [[{'concept': 'Q799469'}, 'P710', 'Q2419701'], [{'concept': 'Q799469'}, 'P710', 'Q456106']]}
SELECT DISTINCT ?w WHERE { { ?w property:P710 ?d . VALUES ( ?d ) { ( resource:Q2419701 ) ( resource:Q456106 ) } } . ?w rdf:type ontology:Q799469 }
1999 Badminton World Championships – Mixed Doubles 1977 Badminton World Championships – Women's Doubles 1980 Badminton World Championships – Women's Doubles 2003 Badminton World Championships – Women's Doubles 1977 Badminton World Championships – Women's Singles 2006 Badminton World Championships – Mixed Doubles 2005 Badminton World Championships – Mixed Doubles 2001 Badminton World Championships – Women's Doubles 1980 Badminton World Championships – Mixed Doubles 2001 Badminton World Championships – Mixed Doubles
2001 Badminton World Championships – Women's Doubles, 1980 Badminton World Championships – mixed Doubles and 2001 Badminton World Championships – mixed Doubles have Theresia Widiastuti or Donna Kellogg as their participant
1999 Badminton World Championships – Mixed Doubles 1977 Badminton World Championships – Women's Doubles 1980 Badminton World Championships – Women's Doubles 2003 Badminton World Championships – Women's Doubles 1977 Badminton World Championships – Women's Singles 2006 Badminton World Championships – Mixed Doubles 2005 Badminton World Championships – Mixed Doubles 2001 Badminton World Championships – Women's Doubles 1980 Badminton World Championships – Mixed Doubles 2001 Badminton World Championships – Mixed Doubles
action filter_type
action union
action find_reverse
entity Theresia Widiastuti
relation participant
action find_reverse
entity Donna Kellogg
relation participant
type Badminton World Championships
{'OR': [[{'concept': 'Badminton World Championships'}, 'participant', 'Theresia Widiastuti'], [{'concept': 'Badminton World Championships'}, 'participant', 'Donna Kellogg']]}
SELECT DISTINCT ?w WHERE { { ?w property:participant ?d . VALUES ( ?d ) { ( resource:Theresia_Widiastuti ) ( resource:Donna_Kellogg ) } } . ?w rdf:type ontology:Badminton_World_Championships }
[]