Simple Question (Direct)
Simple Question
Q14565172
P7
Q502895
USER
Which people are the brothers of Cindy To ?
(Q14565172,P7,c(Q502895))
action filter_type
action find
entity Q14565172
relation P7
type Q502895
['Q14565172', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q14565172 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Cindy To
action filter_type
action find
entity Cindy To
relation brother
type common name
['Cindy To', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Cindy_To property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q14565175 Q14565174 Q14565164
SYSTEM
Alexander Gygax, Luke Gygax, Ernest Gary Gygax Jr.
Q14565175 Q14565174 Q14565164
(Q14565172,P7,c(Q502895))
action filter_type
action find
entity Q14565172
relation P7
type Q502895
[ANSWERS] are the brothers of Cindy To
['Q14565172', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q14565172 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Alexander Gygax Luke Gygax Ernest Gary Gygax Jr.
Alexander Gygax, Luke Gygax and Ernest Gary Gygax Jr. are the brothers of Cindy To
Alexander Gygax Luke Gygax Ernest Gary Gygax Jr.
action filter_type
action find
entity Cindy To
relation brother
type common name
['Cindy To', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Cindy_To property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14565172
P25
Q502895
USER
Which female person has a child named Cindy To ?
(Q14565172,P25,c(Q502895))
action filter_type
action find
entity Q14565172
relation P25
type Q502895
['Q14565172', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q14565172 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Cindy To
action filter_type
action find
entity Cindy To
relation mother
type common name
['Cindy To', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cindy_To property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q14565158
SYSTEM
Mary Jo Powell
Q14565158
(Q14565172,P25,c(Q502895))
action filter_type
action find
entity Q14565172
relation P25
type Q502895
And [ANSWER] has a child named Cindy To
['Q14565172', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q14565172 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Mary Jo Powell
And Mary Jo Powell has a child named Cindy To
Mary Jo Powell
action filter_type
action find
entity Cindy To
relation mother
type common name
['Cindy To', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cindy_To property:mother ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14565158 Q14565172
P25
Q502895
USER
Does Cindy To have that one as mom ?
(Q14565172,P25,Q14565158)
action is_in
entity Q14565158
action find
entity Q14565172
relation P25
['Q14565172', 'P25', 'Q14565158']
ASK WHERE { resource:Q14565172 property:P25 resource:Q14565158 }
Mary Jo Powell Cindy To
action is_in
entity Mary Jo Powell
action find
entity Cindy To
relation mother
['Cindy To', 'mother', 'Mary Jo Powell']
ASK WHERE { resource:Cindy_To property:mother resource:Mary_Jo_Powell }
[]
common name
SYSTEM
YES
(Q14565172,P25,Q14565158)
action is_in
entity Q14565158
action find
entity Q14565172
relation P25
[ANSWER]
['Q14565172', 'P25', 'Q14565158']
ASK WHERE { resource:Q14565172 property:P25 resource:Q14565158 }
Yes
action is_in
entity Mary Jo Powell
action find
entity Cindy To
relation mother
['Cindy To', 'mother', 'Mary Jo Powell']
ASK WHERE { resource:Cindy_To property:mother resource:Mary_Jo_Powell }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q14565158 Q175833
P40
Q502895
USER
How many people are the children of Mary Jo Powell or Wenceslaus I of Bohemia ?
(Q14565158,P40,c(Q502895)) (Q175833,P40,c(Q502895))
action count
action union
action filter_type
action find
entity Q14565158
relation P40
type Q502895
action filter_type
action find
entity Q175833
relation P40
type Q502895
['Q14565158', 'P40', {'concept': 'Q502895'}] ['Q175833', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?q property:P40 ?f . VALUES ( ?q ) { ( resource:Q14565158 ) ( resource:Q175833 ) } }
Mary Jo Powell Wenceslaus I of Bohemia
action count
action union
action filter_type
action find
entity Mary Jo Powell
relation child
type common name
action filter_type
action find
entity Wenceslaus I of Bohemia
relation child
type common name
['Mary Jo Powell', 'child', {'concept': 'common name'}] ['Wenceslaus I of Bohemia', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?q property:child ?f . VALUES ( ?q ) { ( resource:Mary_Jo_Powell ) ( resource:Wenceslaus_I_of_Bohemia ) } }
[]
common name
SYSTEM
8
Q2378785 Q150320 Q14565168 Q14565174 Q14565164 Q2351806 Q14565170 Q14565172
(Q14565158,P40,c(Q502895)) (Q175833,P40,c(Q502895))
action count
action union
action filter_type
action find
entity Q14565158
relation P40
type Q502895
action filter_type
action find
entity Q175833
relation P40
type Q502895
[ANSWER]
['Q14565158', 'P40', {'concept': 'Q502895'}] ['Q175833', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?q property:P40 ?f . VALUES ( ?q ) { ( resource:Q14565158 ) ( resource:Q175833 ) } }
Beatrice of Bohemia Ottokar II of Bohemia Elise Cousino Luke Gygax Ernest Gary Gygax Jr. Vladislaus, Margrave of Moravia Heidi Gygax Cindy To
8
action count
action union
action filter_type
action find
entity Mary Jo Powell
relation child
type common name
action filter_type
action find
entity Wenceslaus I of Bohemia
relation child
type common name
['Mary Jo Powell', 'child', {'concept': 'common name'}] ['Wenceslaus I of Bohemia', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?q property:child ?f . VALUES ( ?q ) { ( resource:Mary_Jo_Powell ) ( resource:Wenceslaus_I_of_Bohemia ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14565158
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q14565158
relation P26
type Q502895
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q14565158 property:P26 ?p }
Mary Jo Powell
action filter_type
action find
entity Mary Jo Powell
relation spouse
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Mary_Jo_Powell property:spouse ?p }
[]
common name
Q1379
SYSTEM
Gary Gygax
Q1379
action filter_type
action find
entity Q14565158
relation P26
type Q502895
The spouse of that one is the [ANSWER]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q14565158 property:P26 ?p }
Gary Gygax
The spouse of that one is the Gary Gygax
Gary Gygax
action filter_type
action find
entity Mary Jo Powell
relation spouse
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Mary_Jo_Powell property:spouse ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1379 Q30
P27
Q15617994
USER
Is that person a civilian of United States of America ?
(Q1379,P27,Q30)
action is_in
entity Q30
action find
entity Q1379
relation P27
['Q1379', 'P27', 'Q30']
ASK WHERE { resource:Q1379 property:P27 resource:Q30 }
Gary Gygax United States of America
action is_in
entity United States of America
action find
entity Gary Gygax
relation country of citizenship
['Gary Gygax', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Gary_Gygax property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1379,P27,Q30)
action is_in
entity Q30
action find
entity Q1379
relation P27
[ANSWER]
['Q1379', 'P27', 'Q30']
ASK WHERE { resource:Q1379 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Gary Gygax
relation country of citizenship
['Gary Gygax', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Gary_Gygax property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1379
P112
Q43229
USER
Which organization was started by that person ?
action filter_type
action find_reverse
entity Q1379
relation P112
type Q43229
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q1379 . ?l rdf:type ontology:Q43229 }
Gary Gygax
action filter_type
action find_reverse
entity Gary Gygax
relation founder
type organization
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Gary_Gygax . ?l rdf:type ontology:organization }
[]
organization
Q1543201
SYSTEM
TSR
Q1543201
action filter_type
action find_reverse
entity Q1379
relation P112
type Q43229
[ANSWER] was started by that person
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q1379 . ?l rdf:type ontology:Q43229 }
TSR
TSR was started by that person
TSR
action filter_type
action find_reverse
entity Gary Gygax
relation founder
type organization
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Gary_Gygax . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1379
P61
Q131436
USER
What was invented or discoverd by that person ?
(c(Q131436),P61,Q1543201)
action filter_type
action find_reverse
entity Q1379
relation P61
type Q131436
[{'concept': 'Q131436'}, 'P61', 'Q1543201']
SELECT DISTINCT ?d WHERE { ?d property:P61 resource:Q1379 . ?d rdf:type ontology:Q131436 }
Gary Gygax
action filter_type
action find_reverse
entity Gary Gygax
relation discoverer or inventor
type board game
[{'concept': 'board game'}, 'discoverer or inventor', 'TSR']
SELECT DISTINCT ?d WHERE { ?d property:discoverer_or_inventor resource:Gary_Gygax . ?d rdf:type ontology:board_game }
[]
board game
Q5305346
SYSTEM
Dragonchess
Q5305346
(c(Q131436),P61,Q1543201)
action filter_type
action find_reverse
entity Q1379
relation P61
type Q131436
[ANSWER] was invented or discoverd by that person
[{'concept': 'Q131436'}, 'P61', 'Q1543201']
SELECT DISTINCT ?d WHERE { ?d property:P61 resource:Q1379 . ?d rdf:type ontology:Q131436 }
Dragonchess
Dragonchess was invented or discoverd by that person
Dragonchess
action filter_type
action find_reverse
entity Gary Gygax
relation discoverer or inventor
type board game
[{'concept': 'board game'}, 'discoverer or inventor', 'TSR']
SELECT DISTINCT ?d WHERE { ?d property:discoverer_or_inventor resource:Gary_Gygax . ?d rdf:type ontology:board_game }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q483110
USER
How many stadia were managed by atleast 1 organization ?
(c(Q483110),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q483110
type Q43229
value 1
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z property:P137 ?a . ?z rdf:type ontology:Q483110 . ?a rdf:type ontology:Q43229 } GROUP BY ?z } . FILTER ( ?i >= 1 ) }
action count
action atleast
action find_tuple_counts
relation operator
type stadium
type organization
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z property:operator ?a . ?z rdf:type ontology:stadium . ?a rdf:type ontology:organization } GROUP BY ?z } . FILTER ( ?i >= 1 ) }
[]
organization stadium
SYSTEM
8
Q62149 Q320454 Q673373 Q771800 Q1142393 Q77118 Q7571588 Q49136
(c(Q483110),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q483110
type Q43229
value 1
[ANSWER]
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z property:P137 ?a . ?z rdf:type ontology:Q483110 . ?a rdf:type ontology:Q43229 } GROUP BY ?z } . FILTER ( ?i >= 1 ) }
Juventus Stadium Azteca Stadium Stadio di Corsi Sebastopoli Estadio Tigres De la UANL Crystal Palace National Sports Centre Don Valley Stadium Santander Stadium Fenway Park
8
action count
action atleast
action find_tuple_counts
relation operator
type stadium
type organization
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z property:operator ?a . ?z rdf:type ontology:stadium . ?a rdf:type ontology:organization } GROUP BY ?z } . FILTER ( ?i >= 1 ) }
[]