Simple Question (Direct)
Simple Question
Q369320
P21
Q290
USER
Which sex does Herman Schmid belong to ?
(Q369320,P21,c(Q290))
action filter_type
action find
entity Q369320
relation P21
type Q290
['Q369320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q369320 property:P21 ?m . ?m rdf:type ontology:Q290 }
Herman Schmid
action filter_type
action find
entity Herman Schmid
relation gender
type sex
['Herman Schmid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Herman_Schmid property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q369320,P21,c(Q290))
action filter_type
action find
entity Q369320
relation P21
type Q290
[ANSWER]
['Q369320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q369320 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Herman Schmid
relation gender
type sex
['Herman Schmid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Herman_Schmid property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q369320
P937
Q56061
USER
Where did that person work ?
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q369320
relation P937
type Q56061
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q369320 property:P937 ?o }
Herman Schmid
action filter_type
action find
entity Herman Schmid
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Herman_Schmid property:work_location ?o }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q369320
relation P937
type Q56061
[ANSWER]
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q369320 property:P937 ?o }
Brussels
Brussels
action filter_type
action find
entity Herman Schmid
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Herman_Schmid property:work_location ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q239 Q5817822 Q61
P190
Q56061
USER
Is Brussels partner town of Gurebrahim and Washington, D.C. ?
(Q239,P190,Q5817822) (Q239,P190,Q61)
action is_in
entity Q239
action intersection
action find_reverse
entity Q5817822
relation P190
action find_reverse
entity Q61
relation P190
['Q239', 'P190', 'Q5817822'] ['Q239', 'P190', 'Q61']
ASK WHERE { resource:Q239 property:P190 resource:Q61 . resource:Q239 property:P190 resource:Q5817822 }
Brussels Gurebrahim Washington, D.C.
action is_in
entity Brussels
action intersection
action find_reverse
entity Gurebrahim
relation sister city
action find_reverse
entity Washington, D.C.
relation sister city
['Brussels', 'sister city', 'Gurebrahim'] ['Brussels', 'sister city', 'Washington, D.C.']
ASK WHERE { resource:Brussels property:sister_city resource:Washington,_D.C. . resource:Brussels property:sister_city resource:Gurebrahim }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q239,P190,Q5817822) (Q239,P190,Q61)
action is_in
entity Q239
action intersection
action find_reverse
entity Q5817822
relation P190
action find_reverse
entity Q61
relation P190
[ANSWER]
['Q239', 'P190', 'Q5817822'] ['Q239', 'P190', 'Q61']
ASK WHERE { resource:Q239 property:P190 resource:Q61 . resource:Q239 property:P190 resource:Q5817822 }
NO and YES respectively
action is_in
entity Brussels
action intersection
action find_reverse
entity Gurebrahim
relation sister city
action find_reverse
entity Washington, D.C.
relation sister city
['Brussels', 'sister city', 'Gurebrahim'] ['Brussels', 'sister city', 'Washington, D.C.']
ASK WHERE { resource:Brussels property:sister_city resource:Washington,_D.C. . resource:Brussels property:sister_city resource:Gurebrahim }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239
P17
Q15617994
USER
Which administrative territory does Brussels belong to ?
(Q239,P17,c(Q15617994))
action filter_type
action find
entity Q239
relation P17
type Q15617994
['Q239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q239 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Brussels
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Brussels property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q239,P17,c(Q15617994))
action filter_type
action find
entity Q239
relation P17
type Q15617994
[ANSWER]
['Q239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q239 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Belgium
Belgium
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Brussels property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4188997
Q15617994
USER
And how about Zachativka?
(Q4188997,P17,c(Q15617994))
action filter_type
action find
entity Q4188997
relation P17
type Q15617994
['Q4188997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4188997 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Zachativka
action filter_type
action find
entity Zachativka
relation country
type designation for an administrative territorial entity
['Zachativka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zachativka property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q4188997,P17,c(Q15617994))
action filter_type
action find
entity Q4188997
relation P17
type Q15617994
[ANSWER]
['Q4188997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4188997 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Ukraine
Ukraine
action filter_type
action find
entity Zachativka
relation country
type designation for an administrative territorial entity
['Zachativka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zachativka property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q212 Q36
P47
Q15617994
USER
Is Poland bordered by that one ?
(Q36,P47,Q212)
action is_in
entity Q36
action find
entity Q212
relation P47
['Q36', 'P47', 'Q212']
ASK WHERE { resource:Q212 property:P47 resource:Q36 }
Ukraine Poland
action is_in
entity Poland
action find
entity Ukraine
relation shares border with
['Poland', 'shares border with', 'Ukraine']
ASK WHERE { resource:Ukraine property:shares_border_with resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q36,P47,Q212)
action is_in
entity Q36
action find
entity Q212
relation P47
[ANSWER]
['Q36', 'P47', 'Q212']
ASK WHERE { resource:Q212 property:P47 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Ukraine
relation shares border with
['Poland', 'shares border with', 'Ukraine']
ASK WHERE { resource:Ukraine property:shares_border_with resource:Poland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P30
Q2221906
USER
Which geographic location is Belgium located in ?
(Q31,P30,c(Q2221906))
action filter_type
action find
entity Q31
relation P30
type Q2221906
['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2221906 . resource:Q31 property:P30 ?a }
Belgium
action filter_type
action find
entity Belgium
relation continent
type geographic location
['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:geographic_location . resource:Belgium property:continent ?a }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q31,P30,c(Q2221906))
action filter_type
action find
entity Q31
relation P30
type Q2221906
[ANSWER]
['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2221906 . resource:Q31 property:P30 ?a }
Europe
Europe
action filter_type
action find
entity Belgium
relation continent
type geographic location
['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:geographic_location . resource:Belgium property:continent ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P1532
Q6979593
USER
Who play for Belgium ?
(c(Q6979593),P1532,Q31)
action filter_type
action find_reverse
entity Q31
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q31']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q31 . ?b rdf:type ontology:Q6979593 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Belgium']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Belgium . ?b rdf:type ontology:national_association_football_team }
[]
national association football team
Q15076848 Q792326 Q2530197
SYSTEM
Belgium women's national under-17 football team, Belgium women's national football team, Belgium Olympic football team
Q15076848 Q792326 Q2530197 Q15872987
(c(Q6979593),P1532,Q31)
action filter_type
action find_reverse
entity Q31
relation P1532
type Q6979593
[ANSWERS]
[{'concept': 'Q6979593'}, 'P1532', 'Q31']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q31 . ?b rdf:type ontology:Q6979593 }
Belgium women's national under-17 football team Belgium women's national football team Belgium Olympic football team Belgium women's national under-19 football team
Belgium women's national under-17 football team Belgium women's national football team Belgium Olympic football team
action filter_type
action find_reverse
entity Belgium
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Belgium']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Belgium . ?b rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15076848 Q792326 Q2530197
P1532
Q15617994
USER
Which administrative territories are played by those national association football teams ?
(Q15076848,P1532,c(Q15617994)) (Q792326,P1532,c(Q15617994)) (Q2530197,P1532,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1532
type Q15617994
['Q15076848', 'P1532', {'concept': 'Q15617994'}] ['Q792326', 'P1532', {'concept': 'Q15617994'}] ['Q2530197', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?l property:P1532 ?m . VALUES ( ?l ) { ( resource:Q15076848 ) ( resource:Q792326 ) ( resource:Q2530197 ) } }
Belgium women's national under-17 football team Belgium women's national football team Belgium Olympic football team
action filter_type
action find
entity prev_answer
relation country for sport
type designation for an administrative territorial entity
["Belgium women's national under-17 football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ["Belgium women's national football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Belgium Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_for_sport ?m . VALUES ( ?l ) { ( resource:Belgium_women's_national_under-17_football_team ) ( resource:Belgium_women's_national_football_team ) ( resource:Belgium_Olympic_football_team ) } }
[]
designation for an administrative territorial entity
Q31 Q31 Q31
SYSTEM
Belgium
Q31 Q31 Q31
(Q15076848,P1532,c(Q15617994)) (Q792326,P1532,c(Q15617994)) (Q2530197,P1532,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1532
type Q15617994
[ANSWER]
['Q15076848', 'P1532', {'concept': 'Q15617994'}] ['Q792326', 'P1532', {'concept': 'Q15617994'}] ['Q2530197', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?l property:P1532 ?m . VALUES ( ?l ) { ( resource:Q15076848 ) ( resource:Q792326 ) ( resource:Q2530197 ) } }
Belgium Belgium Belgium
Belgium Belgium Belgium
action filter_type
action find
entity prev_answer
relation country for sport
type designation for an administrative territorial entity
["Belgium women's national under-17 football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ["Belgium women's national football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Belgium Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_for_sport ?m . VALUES ( ?l ) { ( resource:Belgium_women's_national_under-17_football_team ) ( resource:Belgium_women's_national_football_team ) ( resource:Belgium_Olympic_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P750
Q838948
USER
Who is Belgium a distributor of ?
(c(Q838948),P750,Q31)
action filter_type
action find_reverse
entity Q31
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q31']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P750 resource:Q31 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Belgium']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:distributor resource:Belgium }
[]
work of art
Q21998615
SYSTEM
K3 Dierenhotel
Q21998615
(c(Q838948),P750,Q31)
action filter_type
action find_reverse
entity Q31
relation P750
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P750', 'Q31']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P750 resource:Q31 }
K3 Dierenhotel
K3 Dierenhotel
action filter_type
action find_reverse
entity Belgium
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Belgium']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:distributor resource:Belgium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P36
Q56061
USER
What is the capital of Belgium ?
(Q31,P36,c(Q56061))
action filter_type
action find
entity Q31
relation P36
type Q56061
['Q31', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q31 property:P36 ?k . ?k rdf:type ontology:Q56061 }
Belgium
action filter_type
action find
entity Belgium
relation capital
type administrative territorial entity
['Belgium', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Belgium property:capital ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q31,P36,c(Q56061))
action filter_type
action find
entity Q31
relation P36
type Q56061
[ANSWER]
['Q31', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q31 property:P36 ?k . ?k rdf:type ontology:Q56061 }
Brussels
Brussels
action filter_type
action find
entity Belgium
relation capital
type administrative territorial entity
['Belgium', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Belgium property:capital ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q870055
Q56061
USER
And also tell me about Kingdom of Laos?
(Q870055,P36,c(Q56061))
action filter_type
action find
entity Q870055
relation P36
type Q56061
['Q870055', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q870055 property:P36 ?y }
Kingdom of Laos
action filter_type
action find
entity Kingdom of Laos
relation capital
type administrative territorial entity
['Kingdom of Laos', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Kingdom_of_Laos property:capital ?y }
[]
administrative territorial entity
Q9326 Q190165
SYSTEM
Vientiane, Luang Prabang
Q9326 Q190165
(Q870055,P36,c(Q56061))
action filter_type
action find
entity Q870055
relation P36
type Q56061
[ANSWERS]
['Q870055', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q870055 property:P36 ?y }
Vientiane Luang Prabang
Vientiane Luang Prabang
action filter_type
action find
entity Kingdom of Laos
relation capital
type administrative territorial entity
['Kingdom of Laos', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Kingdom_of_Laos property:capital ?y }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of max number of administrative territories ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?c ) WHERE { ?x property:P532 ?y . ?x rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P532 ?k . ?v rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?f = ?d ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?c ) WHERE { ?x property:port_of_registry ?y . ?x rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:port_of_registry ?k . ?v rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?f = ?d ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?c ) WHERE { ?x property:P532 ?y . ?x rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P532 ?k . ?v rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?f = ?d ) }
MS Arrow
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?c ) WHERE { ?x property:port_of_registry ?y . ?x rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:port_of_registry ?k . ?v rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?f = ?d ) }
[]