Simple Question (Direct)
Simple Question
Q17466327
P106
Q12737077
USER
What does Kim Tae-bong do for a living ?
(Q17466327,P106,c(Q12737077))
action filter_type
action find
entity Q17466327
relation P106
type Q12737077
['Q17466327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q17466327 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Kim Tae-bong
action filter_type
action find
entity Kim Tae-bong
relation occupation
type occupation
['Kim Tae-bong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Tae-bong property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q17466327,P106,c(Q12737077))
action filter_type
action find
entity Q17466327
relation P106
type Q12737077
Kim Tae-bong does an [ANSWER] for a living
['Q17466327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q17466327 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Kim Tae-bong does an association football player for a living
association football player
action filter_type
action find
entity Kim Tae-bong
relation occupation
type occupation
['Kim Tae-bong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Tae-bong property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17466327
P19
Q15617994
USER
Which administrative territory was Kim Tae-bong born at ?
(Q17466327,P19,c(Q15617994))
action filter_type
action find
entity Q17466327
relation P19
type Q15617994
['Q17466327', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q17466327 property:P19 ?h . ?h rdf:type ontology:Q15617994 }
Kim Tae-bong
action filter_type
action find
entity Kim Tae-bong
relation place of birth
type designation for an administrative territorial entity
['Kim Tae-bong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Tae-bong property:place_of_birth ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q17466327,P19,c(Q15617994))
action filter_type
action find
entity Q17466327
relation P19
type Q15617994
Kim Tae-bong was born in [ANSWER]
['Q17466327', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q17466327 property:P19 ?h . ?h rdf:type ontology:Q15617994 }
South Korea
Kim Tae-bong was born in South Korea
South Korea
action filter_type
action find
entity Kim Tae-bong
relation place of birth
type designation for an administrative territorial entity
['Kim Tae-bong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Tae-bong property:place_of_birth ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17466327
P641
Q349
USER
Which sport was that person a part of ?
(Q884,P641,c(Q349))
action filter_type
action find
entity Q17466327
relation P641
type Q349
['Q884', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q17466327 property:P641 ?z }
Kim Tae-bong
action filter_type
action find
entity Kim Tae-bong
relation sport
type sport
['South Korea', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Kim_Tae-bong property:sport ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q884,P641,c(Q349))
action filter_type
action find
entity Q17466327
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q884', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q17466327 property:P641 ?z }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Kim Tae-bong
relation sport
type sport
['South Korea', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Kim_Tae-bong property:sport ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17466327
P27
Q15617994
USER
Which administrative territory is the native country of Kim Tae-bong ?
(Q17466327,P27,c(Q15617994))
action filter_type
action find
entity Q17466327
relation P27
type Q15617994
['Q17466327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q17466327 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Kim Tae-bong
action filter_type
action find
entity Kim Tae-bong
relation country of citizenship
type designation for an administrative territorial entity
['Kim Tae-bong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kim_Tae-bong property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q17466327,P27,c(Q15617994))
action filter_type
action find
entity Q17466327
relation P27
type Q15617994
[ANSWER] is the native country of Kim Tae-bong
['Q17466327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q17466327 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
South Korea
South Korea is the native country of Kim Tae-bong
South Korea
action filter_type
action find
entity Kim Tae-bong
relation country of citizenship
type designation for an administrative territorial entity
['Kim Tae-bong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kim_Tae-bong property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q884 Q17
P530
Q15617994
USER
Does Japan have a diplomatic relationship with that one ?
(Q884,P530,Q17)
action is_in
entity Q17
action find
entity Q884
relation P530
['Q884', 'P530', 'Q17']
ASK WHERE { resource:Q884 property:P530 resource:Q17 }
South Korea Japan
action is_in
entity Japan
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Japan']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q884,P530,Q17)
action is_in
entity Q17
action find
entity Q884
relation P530
[ANSWER]
['Q884', 'P530', 'Q17']
ASK WHERE { resource:Q884 property:P530 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Japan']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Japan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?t ) WHERE { ?l property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?t = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?t ) WHERE { ?l property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?t = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?t ) WHERE { ?l property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?t = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?t ) WHERE { ?l property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?t = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q187503
P361
Q874405 Q49447 Q15617994
USER
How many administrative territories are a portion of more number of social groups and world views than Zell ?
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q187503
relation P361
type Q874405
type Q49447
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?d property:P361 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q874405 } UNION { ?d property:P361 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q49447 } } GROUP BY ?d } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q187503 property:P361 ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } } } } }
Zell
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Zell
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?d property:part_of ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:social_group } UNION { ?d property:part_of ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:world_view } } GROUP BY ?d } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Zell property:part_of ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:social_group ) ( ontology:world_view ) } } } } }
[]
social group world view designation for an administrative territorial entity
SYSTEM
3
Q184864 Q3773354 Q697685
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q187503
relation P361
type Q874405
type Q49447
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?d property:P361 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q874405 } UNION { ?d property:P361 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q49447 } } GROUP BY ?d } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q187503 property:P361 ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } } } } }
Megara Alagonia House of Nassau-Weilburg
3
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Zell
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?d property:part_of ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:social_group } UNION { ?d property:part_of ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:world_view } } GROUP BY ?d } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Zell property:part_of ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:social_group ) ( ontology:world_view ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q526087
P361
Q874405 Q49447 Q15617994
USER
And how about Nennslingen?
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q526087
relation P361
type Q874405
type Q49447
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q526087 property:P361 ?h . { VALUES ( ?u ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } . ?h rdf:type ?u } } } . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:P361 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q874405 } UNION { ?x property:P361 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q49447 } } GROUP BY ?x } }
Nennslingen
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Nennslingen
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Nennslingen property:part_of ?h . { VALUES ( ?u ) { ( ontology:social_group ) ( ontology:world_view ) } . ?h rdf:type ?u } } } . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:part_of ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:social_group } UNION { ?x property:part_of ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:world_view } } GROUP BY ?x } }
[]
social group world view designation for an administrative territorial entity
SYSTEM
3
Q184864 Q3773354 Q697685
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q526087
relation P361
type Q874405
type Q49447
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q526087 property:P361 ?h . { VALUES ( ?u ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } . ?h rdf:type ?u } } } . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:P361 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q874405 } UNION { ?x property:P361 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q49447 } } GROUP BY ?x } }
Megara Alagonia House of Nassau-Weilburg
3
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Nennslingen
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Nennslingen property:part_of ?h . { VALUES ( ?u ) { ( ontology:social_group ) ( ontology:world_view ) } . ?h rdf:type ?u } } } . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:part_of ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:social_group } UNION { ?x property:part_of ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:world_view } } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with around 35 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 35
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?z ) WHERE { ?l rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 . ?l property:P530 ?u } GROUP BY ?l } . FILTER ( ?z = 35 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 35
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?z ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?u } GROUP BY ?l } . FILTER ( ?z = 35 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 35
[ANSWERS] have diplomatic relations with around 35 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?z ) WHERE { ?l rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 . ?l property:P530 ?u } GROUP BY ?l } . FILTER ( ?z = 35 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 35 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 35
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?z ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?u } GROUP BY ?l } . FILTER ( ?z = 35 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P6
Q502895
USER
Which people do those political territories serve as the head of government for ?
(Q35,P6,c(Q502895)) (Q16,P6,c(Q502895)) (Q40,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q35', 'P6', {'concept': 'Q502895'}] ['Q16', 'P6', {'concept': 'Q502895'}] ['Q40', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?y property:P6 ?d . VALUES ( ?y ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}] ['Canada', 'head of government', {'concept': 'common name'}] ['Austria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?y property:head_of_government ?d . VALUES ( ?y ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
common name
Q46052 Q3099714 Q182397
SYSTEM
Anders Fogh Rasmussen, Justin Trudeau, Lars Løkke Rasmussen
Q441330 Q1040851 Q1037599 Q966436 Q918287 Q57652 Q503087 Q725118 Q264340 Q727237 Q1634992 Q1274220 Q782403 Q351178 Q367557 Q1375737 Q1343866 Q491280 Q721358 Q1375094 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q572189 Q664052 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q731504 Q982328 Q3099714 Q206 Q128708 Q128702 Q29008 Q11715 Q78538 Q78539 Q44517 Q11726 Q241131 Q18135060 Q84190 Q2125645 Q53282 Q158123 Q260037
(Q35,P6,c(Q502895)) (Q16,P6,c(Q502895)) (Q40,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] those political territories serve as the head of government
['Q35', 'P6', {'concept': 'Q502895'}] ['Q16', 'P6', {'concept': 'Q502895'}] ['Q40', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?y property:P6 ?d . VALUES ( ?y ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Christen Andreas Fonnesbech Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Hilmar Baunsgaard Hugo Egmont Hørring Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Thorvald Stauning Michael Pedersen Friis Ludvig Holstein-Holsteinborg Anders Sandøe Ørsted H. C. Hansen Niels Neergaard Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Johan Henrik Deuntzer Vilhelm Buhl Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Erik Scavenius Thomas Madsen-Mygdal Justin Trudeau Stephen Harper Alexander Mackenzie John A. Macdonald Alfons Gorbach Leopold Figl Viktor Klima Julius Raab Bruno Kreisky Karl Renner Josef Klaus Christian Kern Fred Sinowatz Wolfgang Schüssel Werner Faymann Franz Vranitzky Alfred Gusenbauer
Anders Fogh Rasmussen, Justin Trudeau and Lars Løkke Rasmussen those political territories serve as the head of government
Anders Fogh Rasmussen Justin Trudeau Lars Løkke Rasmussen
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}] ['Canada', 'head of government', {'concept': 'common name'}] ['Austria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?y property:head_of_government ?d . VALUES ( ?y ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P915
Q15416
USER
Which television program was filmed in the location Canada ?
(c(Q15416),P915,Q16)
action filter_type
action find_reverse
entity Q16
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q16']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q16 . ?f rdf:type ontology:Q15416 }
Canada
action filter_type
action find_reverse
entity Canada
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Canada']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Canada . ?f rdf:type ontology:television_program }
[]
television program
Q1755288
SYSTEM
Higher Ground
Q1755288
(c(Q15416),P915,Q16)
action filter_type
action find_reverse
entity Q16
relation P915
type Q15416
Australia [ANSWER] was filmed in the location Canada
[{'concept': 'Q15416'}, 'P915', 'Q16']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q16 . ?f rdf:type ontology:Q15416 }
Higher Ground
Australia Higher Ground was filmed in the location Canada
Higher Ground
action filter_type
action find_reverse
entity Canada
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Canada']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Canada . ?f rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P463
Q484652
USER
Which organizations were Canada a member of ?
(Q16,P463,c(Q484652))
action filter_type
action find
entity Q16
relation P463
type Q484652
['Q16', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q16 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Canada
action filter_type
action find
entity Canada
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Canada property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q19771 Q7785 Q1065 Q188822 Q37143 Q674182 Q134102 Q7184 Q1043527
(Q16,P463,c(Q484652))
action filter_type
action find
entity Q16
relation P463
type Q484652
[ANSWERS]
['Q16', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q16 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 Commonwealth of Nations United Nations Asian Development Bank G8 Arctic Council Organisation internationale de la Francophonie North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
Which organizations were Canada a member of
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity Canada
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Canada property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P30
Q2221906
USER
Where is that political territory located ?
(Q81299,P30,c(Q2221906)) (Q19771,P30,c(Q2221906)) (Q1065,P30,c(Q2221906))
action filter_type
action find
entity Q16
relation P30
type Q2221906
['Q81299', 'P30', {'concept': 'Q2221906'}] ['Q19771', 'P30', {'concept': 'Q2221906'}] ['Q1065', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q16 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Canada
action filter_type
action find
entity Canada
relation continent
type geographic location
['Organization for Security and Co-operation in Europe', 'continent', {'concept': 'geographic location'}] ['G20', 'continent', {'concept': 'geographic location'}] ['United Nations', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Canada property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q81299,P30,c(Q2221906)) (Q19771,P30,c(Q2221906)) (Q1065,P30,c(Q2221906))
action filter_type
action find
entity Q16
relation P30
type Q2221906
That political territory is located in [ANSWER]
['Q81299', 'P30', {'concept': 'Q2221906'}] ['Q19771', 'P30', {'concept': 'Q2221906'}] ['Q1065', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q16 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
North America
That political territory is located in North America
North America
action filter_type
action find
entity Canada
relation continent
type geographic location
['Organization for Security and Co-operation in Europe', 'continent', {'concept': 'geographic location'}] ['G20', 'continent', {'concept': 'geographic location'}] ['United Nations', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Canada property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1190554 Q3918 Q2221906
USER
Which geographic locations are a portion of around the same number of events or universities as that geographic location ?
(c(Q2221906),P361,c(Q1190554)|c(Q3918))
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q1190554
action find_tuple_counts
relation P361
type Q2221906
type Q3918
action count
action filter_multi_types
action find
entity Q49
relation P361
type Q1190554
type Q3918
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q1190554 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q3918 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q49 property:P361 ?s . { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1190554 ) ( ontology:Q3918 ) } } } } . FILTER ( ?y = ?l ) }
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type event
action find_tuple_counts
relation part of
type geographic location
type university
action count
action filter_multi_types
action find
entity North America
relation part of
type event
type university
[{'concept': 'geographic location'}, 'part of', [{'concept': 'event'}, {'concept': 'university'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:geographic_location . ?f rdf:type ontology:event } UNION { ?m property:part_of ?f . ?m rdf:type ontology:geographic_location . ?f rdf:type ontology:university } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:North_America property:part_of ?s . { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:event ) ( ontology:university ) } } } } . FILTER ( ?y = ?l ) }
[]
event university geographic location
SYSTEM
277
Q20652829 Q20743921 Q3214576 Q14684867 Q7191008 Q325358 Q2419662 Q431907 Q7580722 Q58805 Q14685109 Q3391469 Q315496 Q7209560 Q14684666 Q6550421 Q27509 Q956300 Q126063 Q3048968 Q16680564 Q7784279 Q3047192 Q1496967 Q3468036 Q6398365 Q5259261 Q15206028 Q6084417 Q7268308 Q14324291 Q46 Q213137 Q14714685 Q121359 Q2946756 Q5290039 Q1349167 Q1068071 Q3956460 Q184430 Q3960 Q2036701 Q1234060 Q1737467 Q14685112 Q2249285 Q7996880 Q215680 Q14287866 Q3961951 Q7540974 Q1129992 Q3627664 Q14705212 Q1134503 Q703480 Q1634214 Q14684518 Q3030613 Q896446 Q11708 Q3306046 Q1049115 Q49 Q3333384 Q15211098 Q3593127 Q3242386 Q14713610 Q690971 Q6436607 Q14713596 Q5088912 Q14714846 Q6029137 Q14323356 Q2946746 Q470049 Q3746596 Q266703 Q14705355 Q14294968 Q1413444 Q12612 Q16827917 Q23001306 Q1188034 Q106259 Q3074486 Q20743939 Q164585 Q183324 Q16894244 Q7567991 Q7811491 Q1997843 Q16892114 Q968680 Q3830220 Q7191014 Q11973034 Q4777 Q5506931 Q5597624 Q14713936 Q286476 Q3519009 Q816104 Q3271856 Q14204659 Q15202826 Q3077423 Q575289 Q5051042 Q3781293 Q3476035 Q4442156 Q1156728 Q1762154 Q14684882 Q1051581 Q3503423 Q6922487 Q14704530 Q24694968 Q6367444 Q1998497 Q198927 Q198926 Q14223170 Q155353 Q16868895 Q14711841 Q829767 Q14713790 Q10480343 Q20655529 Q667529 Q3880745 Q2333134 Q1782291 Q4260475 Q190031 Q1555938 Q6269482 Q207520 Q1432092 Q828 Q2364623 Q498794 Q20652757 Q2680496 Q1411784 Q16845327 Q4942152 Q128952 Q27293 Q14714809 Q18869 Q15 Q3922925 Q12409135 Q811979 Q5477842 Q1555247 Q5313947 Q14685140 Q459173 Q473935 Q1439394 Q7418932 Q14709821 Q2017699 Q1130721 Q526644 Q14714818 Q27700889 Q3646551 Q27433 Q5744091 Q854155 Q3382521 Q20743940 Q14685019 Q512573 Q14705314 Q14685159 Q701658 Q1495886 Q1058792 Q4868203 Q5064905 Q6488761 Q2946769 Q771405 Q3539 Q1292279 Q5455002 Q14704540 Q16326607 Q358877 Q3832650 Q7708397 Q390516 Q27275 Q3423535 Q20743937 Q20743945 Q20743944 Q20743943 Q6921525 Q194188 Q681861 Q5411271 Q669037 Q4876461 Q1438691 Q14874585 Q51 Q18048387 Q6649684 Q2160991 Q18752601 Q213704 Q18 Q805727 Q14713886 Q22602 Q5002651 Q4533920 Q14711877 Q4754057 Q81851 Q2015709 Q27496 Q3518514 Q3215913 Q2402047 Q8502 Q538 Q48 Q3555010 Q16892238 Q21491032 Q17197321 Q14684324 Q27561 Q7191015 Q14687288 Q7191011 Q14714702 Q27701408 Q2565366 Q205895 Q6664252 Q6887502 Q4849355 Q183464 Q2066176 Q14951375 Q6101019 Q3214330 Q914711 Q16893544 Q3479940 Q948516 Q15238659 Q15213747 Q702543 Q2879440 Q6159576 Q14685085 Q719456 Q14685083 Q3906785 Q14705259
(c(Q2221906),P361,c(Q1190554)|c(Q3918))
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q1190554
action find_tuple_counts
relation P361
type Q2221906
type Q3918
action count
action filter_multi_types
action find
entity Q49
relation P361
type Q1190554
type Q3918
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q1190554 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q3918 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q49 property:P361 ?s . { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1190554 ) ( ontology:Q3918 ) } } } } . FILTER ( ?y = ?l ) }
Kendjija unda labyrinthus Kokomo Pass Pico El León railway platform chaos terrain Sierra de la Culata Spring Valley Galactic corona Stone Man Pass planitia Upper Harz police area Jones Pass (Colorado) Lincoln-Herndon Law Offices State Historic Site Central Europe tholus Auyantepui Mount Upuigma Tour Percée Thin disk Pico Piedras Blancas territorial entity Pogromni Volcano Keyport Harbor patera Burrage Dome Islip Saddle quadrangle South European Russia Europe East Indies Clayton Mountain infrastructure Cerro Jaua Domen Butte ground station chasma Western Polesie Zeelandic Flanders Australia Santa María la Mayor Riesalb Norital Stony Pass vallis Whittier Narrows tectonic plate Red Sea Coast sinus Slithallet Slope Le Morne Brabant astrum McAfee Peak corona Letoon Volga Region Georgia Pass Thick disk Upland Southeast Asia mensa Galactic anticenter North America Mesogaea Cockedhat Mountain Madeline Island New Territories East Clark Mountain (Washington) Breisgau Kreiling Mesa Big Lava Bed Cheat Mountain Sunbeam Peak Kordoleon Dvinska land and Vazhsky krai Cerro Aracamuni American Highland flexus Salzkammergut Mount Avalon West Coast (Crimea) macula Western United States American Legion Peak part of land Pico Humboldt polder flumen satellite feature Turan Transoxiana Little Truckee Summit South Mountain Tobacco Root Mountains North Eifel Harrower Peak Aprada-tepui lenticula Pico La Concha Gray Zone Mount Roraima Fuchs Dome Grassy Ridge West Crater Cerro Marahuaca tessera Belmont Courthouse State Historic Park South Bay Badlands and Black Hills Bold Peak large ringed feature Mühlviertel Cat Island Dubai Studio City scopulus Steppe Crimea domestic roof construction Little Switzerland Lake Pass albedo feature sulcus Mount Oglethorpe Ch-paa-qn Peak Bute Docks Kar Plateau North Eastern Europe Ziel-2-Region Ziel-1-Region Lower Mesopotamia Dornbusch Abo Canyon Mount Powell (Utah) Besengau Lemei Rock Ehrenstrahlsalongen South Pacific Blue Mountains oceanus Kukenán-tepui Sarisariñama medical facility Central Arabia Antarctic Joint Warfare Centre list of regions of Japan rille Americas Dauria crater chain Karapanđa Pasteur Peninsula Western Palatinate Bow Mountain Bonnabeau Dome facula Western Asia Muddy Mountain Caucasus Africa promontorium index mineral architectural structure Fram Mesa North Palatinate Dumont Dunes Vasquez Pass Challenger Deep rift fossa Sans Bois Mountains Bote Mountain Northern America Algodones Dunes pancake dome Pinnacle Ridge normal zero Pico Bonpland Central Africa Herring Bay Bulge Pico El Águila fretum Never Summer Mountains lingula Winnemucca Mountain Webster Pass (Colorado) Mecklenburg Lake District Gau Jom fluctus Basswood Island Cerro Duida Larch Mountain Cerro Socopó South Asia Aircraft Operations Center political border Fishing Bay Deer Lodge Pass Inkerman Bay cavus linea planum control room Central Asia regio arcus virga serpens reticulum Mount Josephine spaceport Nuestra Señora de Loreto Eureka Valley Sand Dunes West Indies Bear Island Fort Rock Basin Custer Ridge Antarctica Central Andes Little Creek Peak Roden Crater fence pillar Pico Bolívar South America Baltics Sawtooth Mountain Vorderpfalz Butler Street Gatehouse Yuzhnaya Bay South Kings Peak Anderson Dome bastion Serranía del Perijá Western Europe terra lacus insula mountain Oceania Asia vastitas Henderson Peak Lower Harz Cherkashchina Boulder-Grand Pass Caribbean Netherlands Pico Pan de Azúcar Reas Pass Pico El Toro Downs Mountain average Mediterranean Sea level in Ajaccio West Hesse Depression landmass Local Sheet Moccasin Gap Bakhallet Slope Livonia rupes Torrey Peak, Wyoming Ix labes transmission tower Knife Point Mountain Serranía de Los Motilones palus Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland Chequamegon Bay Jarbidge Mountains Searle Pass station Rogers Pass (Colorado) plume Porter Peak
277
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type event
action find_tuple_counts
relation part of
type geographic location
type university
action count
action filter_multi_types
action find
entity North America
relation part of
type event
type university
[{'concept': 'geographic location'}, 'part of', [{'concept': 'event'}, {'concept': 'university'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:geographic_location . ?f rdf:type ontology:event } UNION { ?m property:part_of ?f . ?m rdf:type ontology:geographic_location . ?f rdf:type ontology:university } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:North_America property:part_of ?s . { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:event ) ( ontology:university ) } } } } . FILTER ( ?y = ?l ) }
[]