Simple Question (Direct)
Simple Question
Q12357079
P39
Q4164871
USER
What was a position held by Zsuzsanna Károlyi ?
(Q12357079,P39,c(Q4164871))
action filter_type
action find
entity Q12357079
relation P39
type Q4164871
['Q12357079', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?d WHERE { resource:Q12357079 property:P39 ?d . ?d rdf:type ontology:Q4164871 }
Zsuzsanna Károlyi
action filter_type
action find
entity Zsuzsanna Károlyi
relation position held
type position
['Zsuzsanna Károlyi', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?d WHERE { resource:Zsuzsanna_Károlyi property:position_held ?d . ?d rdf:type ontology:position }
[]
position
Q719039
SYSTEM
queen consort
Q719039
(Q12357079,P39,c(Q4164871))
action filter_type
action find
entity Q12357079
relation P39
type Q4164871
A position held by Zsuzsanna Károlyi was the [ANSWER]
['Q12357079', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?d WHERE { resource:Q12357079 property:P39 ?d . ?d rdf:type ontology:Q4164871 }
queen consort
A position held by Zsuzsanna Károlyi was the queen consort
queen consort
action filter_type
action find
entity Zsuzsanna Károlyi
relation position held
type position
['Zsuzsanna Károlyi', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?d WHERE { resource:Zsuzsanna_Károlyi property:position_held ?d . ?d rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12357079
P9
Q502895
USER
Who had Zsuzsanna Károlyi as their sibling ?
(c(Q502895),P9,Q12357079)
action filter_type
action find
entity Q12357079
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q12357079']
SELECT DISTINCT ?v WHERE { resource:Q12357079 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Zsuzsanna Károlyi
action filter_type
action find
entity Zsuzsanna Károlyi
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Zsuzsanna Károlyi']
SELECT DISTINCT ?v WHERE { resource:Zsuzsanna_Károlyi property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1123491
SYSTEM
Katalin Károlyi
Q1123491
(c(Q502895),P9,Q12357079)
action filter_type
action find
entity Q12357079
relation P9
type Q502895
[ANSWER] had Zsuzsanna Károlyi as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q12357079']
SELECT DISTINCT ?v WHERE { resource:Q12357079 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Katalin Károlyi
Katalin Károlyi had Zsuzsanna Károlyi as their sibling
Katalin Károlyi
action filter_type
action find
entity Zsuzsanna Károlyi
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Zsuzsanna Károlyi']
SELECT DISTINCT ?v WHERE { resource:Zsuzsanna_Károlyi property:sister ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12357079
P26
Q502895
USER
Who is the spouse of Zsuzsanna Károlyi ?
(Q12357079,P26,c(Q502895))
action filter_type
action find
entity Q12357079
relation P26
type Q502895
['Q12357079', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q12357079 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Zsuzsanna Károlyi
action filter_type
action find
entity Zsuzsanna Károlyi
relation spouse
type common name
['Zsuzsanna Károlyi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Zsuzsanna_Károlyi property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q313494
SYSTEM
Gabriel Bethlen
Q313494
(Q12357079,P26,c(Q502895))
action filter_type
action find
entity Q12357079
relation P26
type Q502895
The spouse of Zsuzsanna Károlyi is born [ANSWER]
['Q12357079', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q12357079 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Gabriel Bethlen
The spouse of Zsuzsanna Károlyi is born Gabriel Bethlen
Gabriel Bethlen
action filter_type
action find
entity Zsuzsanna Károlyi
relation spouse
type common name
['Zsuzsanna Károlyi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Zsuzsanna_Károlyi property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313494
P53
Q874405
USER
What dynasty does that person belong to ?
(Q313494,P53,c(Q874405))
action filter_type
action find
entity Q313494
relation P53
type Q874405
['Q313494', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q313494 property:P53 ?k }
Gabriel Bethlen
action filter_type
action find
entity Gabriel Bethlen
relation noble family
type social group
['Gabriel Bethlen', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Gabriel_Bethlen property:noble_family ?k }
[]
social group
Q283299
SYSTEM
Bethlen family
Q283299
(Q313494,P53,c(Q874405))
action filter_type
action find
entity Q313494
relation P53
type Q874405
That person belongs to [ANSWER]
['Q313494', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q313494 property:P53 ?k }
Bethlen family
That person belongs to Bethlen family
Bethlen family
action filter_type
action find
entity Gabriel Bethlen
relation noble family
type social group
['Gabriel Bethlen', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Gabriel_Bethlen property:noble_family ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q283299 Q19518639
P53
Q502895
USER
Is Alec Rayme a member of that social group ?
(Q19518639,P53,Q283299)
action is_in
entity Q19518639
action find
entity Q283299
relation P53
['Q19518639', 'P53', 'Q283299']
ASK WHERE { resource:Q283299 property:P53 resource:Q19518639 }
Bethlen family Alec Rayme
action is_in
entity Alec Rayme
action find
entity Bethlen family
relation noble family
['Alec Rayme', 'noble family', 'Bethlen family']
ASK WHERE { resource:Bethlen_family property:noble_family resource:Alec_Rayme }
[]
common name
SYSTEM
NO
(Q19518639,P53,Q283299)
action is_in
entity Q19518639
action find
entity Q283299
relation P53
[ANSWER]
['Q19518639', 'P53', 'Q283299']
ASK WHERE { resource:Q283299 property:P53 resource:Q19518639 }
No
action is_in
entity Alec Rayme
action find
entity Bethlen family
relation noble family
['Alec Rayme', 'noble family', 'Bethlen family']
ASK WHERE { resource:Bethlen_family property:noble_family resource:Alec_Rayme }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q313494 Q425962
P7
Q502895
USER
Is Stephen Bethlen the brother of that one ?
(Q313494,P7,Q425962)
action is_in
entity Q425962
action find
entity Q313494
relation P7
['Q313494', 'P7', 'Q425962']
ASK WHERE { resource:Q313494 property:P7 resource:Q425962 }
Gabriel Bethlen Stephen Bethlen
action is_in
entity Stephen Bethlen
action find
entity Gabriel Bethlen
relation brother
['Gabriel Bethlen', 'brother', 'Stephen Bethlen']
ASK WHERE { resource:Gabriel_Bethlen property:brother resource:Stephen_Bethlen }
[]
common name
SYSTEM
YES
(Q313494,P7,Q425962)
action is_in
entity Q425962
action find
entity Q313494
relation P7
[ANSWER]
['Q313494', 'P7', 'Q425962']
ASK WHERE { resource:Q313494 property:P7 resource:Q425962 }
Yes
action is_in
entity Stephen Bethlen
action find
entity Gabriel Bethlen
relation brother
['Gabriel Bethlen', 'brother', 'Stephen Bethlen']
ASK WHERE { resource:Gabriel_Bethlen property:brother resource:Stephen_Bethlen }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q1076486
USER
Which sports venues can be described as service operator of atleast 1 social group ?
(c(Q1076486),P137,c(Q874405))
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q874405
value 1
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n property:P137 ?q . ?n rdf:type ontology:Q1076486 . ?q rdf:type ontology:Q874405 } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
action atleast
action find_tuple_counts
relation operator
type sports venue
type social group
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n property:operator ?q . ?n rdf:type ontology:sports_venue . ?q rdf:type ontology:social_group } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
[]
social group sports venue
Q995550 Q1190230 Q7181636
SYSTEM
Tseung Kwan O Sports Ground, Todoroki Athletics Stadium, PhilSports Football and Athletics Stadium
Q7040605 Q6429656 Q7081643 Q1190230 Q4739118 Q11586043 Q7181636 Q11548615 Q7830567 Q7828500 Q995550 Q838937
(c(Q1076486),P137,c(Q874405))
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q874405
value 1
[ANSWERS] can be described as service operator of atleast 1 social group
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n property:P137 ?q . ?n rdf:type ontology:Q1076486 . ?q rdf:type ontology:Q874405 } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
Nishikyogoku Athletic Stadium Konosu Stadium Ojiyama Stadium Todoroki Athletics Stadium Amagasaki Memorial Park Stadium Ishikawa Kanazawa Stadium PhilSports Football and Athletics Stadium K's denki Stadium Mito Toyama Athletic Stadium Tottori Athletics Stadium Tseung Kwan O Sports Ground Mong Kok Stadium
Tseung Kwan O Sports Ground, Todoroki Athletics Stadium and PhilSports Football and Athletics Stadium can be described as service operator of atleast 1 social group
Tseung Kwan O Sports Ground Todoroki Athletics Stadium PhilSports Football and Athletics Stadium
action atleast
action find_tuple_counts
relation operator
type sports venue
type social group
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n property:operator ?q . ?n rdf:type ontology:sports_venue . ?q rdf:type ontology:social_group } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q995550 Q1190230 Q7181636
P137
Q874405
USER
Who operates Tseung Kwan O Sports Ground, Todoroki Athletics Stadium and PhilSports Football and Athletics Stadium ?
(Q995550,P137,c(Q874405)) (Q1190230,P137,c(Q874405)) (Q7181636,P137,c(Q874405))
action union
action filter_type
action find
entity Q995550
relation P137
type Q874405
action filter_type
action find
entity Q1190230
relation P137
type Q874405
action filter_type
action find
entity Q7181636
relation P137
type Q874405
['Q995550', 'P137', {'concept': 'Q874405'}] ['Q1190230', 'P137', {'concept': 'Q874405'}] ['Q7181636', 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { resource:Q995550 property:P137 ?c . ?c rdf:type ontology:Q874405 } UNION { resource:Q1190230 property:P137 ?c . ?c rdf:type ontology:Q874405 } }
Tseung Kwan O Sports Ground Todoroki Athletics Stadium PhilSports Football and Athletics Stadium
action union
action filter_type
action find
entity Tseung Kwan O Sports Ground
relation operator
type social group
action filter_type
action find
entity Todoroki Athletics Stadium
relation operator
type social group
action filter_type
action find
entity PhilSports Football and Athletics Stadium
relation operator
type social group
['Tseung Kwan O Sports Ground', 'operator', {'concept': 'social group'}] ['Todoroki Athletics Stadium', 'operator', {'concept': 'social group'}] ['PhilSports Football and Athletics Stadium', 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { resource:Tseung_Kwan_O_Sports_Ground property:operator ?c . ?c rdf:type ontology:social_group } UNION { resource:Todoroki_Athletics_Stadium property:operator ?c . ?c rdf:type ontology:social_group } }
[]
social group
Q2353346 Q157031 Q7185255
SYSTEM
Leisure and Cultural Services Department, foundation, Philippine Sports Commission
Q2353346 Q157031 Q7185255
(Q995550,P137,c(Q874405)) (Q1190230,P137,c(Q874405)) (Q7181636,P137,c(Q874405))
action union
action filter_type
action find
entity Q995550
relation P137
type Q874405
action filter_type
action find
entity Q1190230
relation P137
type Q874405
action filter_type
action find
entity Q7181636
relation P137
type Q874405
[ANSWERS] operate Tseung Kwan O Sports Ground, Todoroki Athletics Stadium and PhilSports Football and Athletics Stadium
['Q995550', 'P137', {'concept': 'Q874405'}] ['Q1190230', 'P137', {'concept': 'Q874405'}] ['Q7181636', 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { resource:Q995550 property:P137 ?c . ?c rdf:type ontology:Q874405 } UNION { resource:Q1190230 property:P137 ?c . ?c rdf:type ontology:Q874405 } }
Leisure and Cultural Services Department foundation Philippine Sports Commission
Leisure and Cultural Services Department, foundation and Philippine Sports Commission operate Tseung Kwan O Sports Ground, Todoroki Athletics Stadium and PhilSports Football and Athletics Stadium
Leisure and Cultural Services Department foundation Philippine Sports Commission
action union
action filter_type
action find
entity Tseung Kwan O Sports Ground
relation operator
type social group
action filter_type
action find
entity Todoroki Athletics Stadium
relation operator
type social group
action filter_type
action find
entity PhilSports Football and Athletics Stadium
relation operator
type social group
['Tseung Kwan O Sports Ground', 'operator', {'concept': 'social group'}] ['Todoroki Athletics Stadium', 'operator', {'concept': 'social group'}] ['PhilSports Football and Athletics Stadium', 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { resource:Tseung_Kwan_O_Sports_Ground property:operator ?c . ?c rdf:type ontology:social_group } UNION { resource:Todoroki_Athletics_Stadium property:operator ?c . ?c rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7185255
P159
Q56061
USER
Which administrative territory is the HQ of that social group ?
(Q7185255,P159,c(Q56061))
action filter_type
action find
entity Q7185255
relation P159
type Q56061
['Q7185255', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7185255 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Philippine Sports Commission
action filter_type
action find
entity Philippine Sports Commission
relation headquarters location
type administrative territorial entity
['Philippine Sports Commission', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Philippine_Sports_Commission property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q7185255
SYSTEM
Did you mean Philippine Sports Commission ?
Q2353346 Q157031 Q7185255
(Q2353346,P159,c(Q56061)) (Q157031,P159,c(Q56061)) (Q7185255,P159,c(Q56061))
[ANSWER]
['Q2353346', 'P159', {'concept': 'Q56061'}] ['Q157031', 'P159', {'concept': 'Q56061'}] ['Q7185255', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7185255 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Leisure and Cultural Services Department foundation Philippine Sports Commission
Did you mean Philippine Sports Commission ?
Philippine Sports Commission
['Leisure and Cultural Services Department', 'headquarters location', {'concept': 'administrative territorial entity'}] ['foundation', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Philippine Sports Commission', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Philippine_Sports_Commission property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7185255,P159,c(Q56061))
['Q7185255', 'P159', {'concept': 'Q56061'}]
['Philippine Sports Commission', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q13580
SYSTEM
Metro Manila
Q13580
(Q7185255,P159,c(Q56061))
action filter_type
action find
entity Q7185255
relation P159
type Q56061
[ANSWER] is the HQ of that social group
['Q7185255', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7185255 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Metro Manila
Metro Manila is the HQ of that social group
Metro Manila
action filter_type
action find
entity Philippine Sports Commission
relation headquarters location
type administrative territorial entity
['Philippine Sports Commission', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Philippine_Sports_Commission property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]