Simple Question (Direct)
Simple Question
Q7332084
P27
Q15617994
USER
Which administrative territory is Ricky Gutiérrez a civilian of ?
(Q7332084,P27,c(Q15617994))
action filter_type
action find
entity Q7332084
relation P27
type Q15617994
['Q7332084', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7332084 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ricky Gutiérrez
action filter_type
action find
entity Ricky Gutiérrez
relation country of citizenship
type designation for an administrative territorial entity
['Ricky Gutiérrez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ricky_Gutiérrez property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7332084,P27,c(Q15617994))
action filter_type
action find
entity Q7332084
relation P27
type Q15617994
[ANSWER] is Ricky Gutiérrez a civilian of
['Q7332084', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7332084 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is Ricky Gutiérrez a civilian of
United States of America
action filter_type
action find
entity Ricky Gutiérrez
relation country of citizenship
type designation for an administrative territorial entity
['Ricky Gutiérrez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ricky_Gutiérrez property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7332084
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q30,P54,c(Q12973014))
action filter_type
action find
entity Q7332084
relation P54
type Q12973014
['Q30', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q7332084 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Ricky Gutiérrez
action filter_type
action find
entity Ricky Gutiérrez
relation member of sports team
type sports team
['United States of America', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Ricky_Gutiérrez property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q213959 Q642553 Q246782
SYSTEM
Boston Red Sox, Cleveland Indians, Chicago Cubs
Q246782 Q692417 Q848117 Q1966948 Q642553 Q721134 Q213959
(Q30,P54,c(Q12973014))
action filter_type
action find
entity Q7332084
relation P54
type Q12973014
The [ANSWERS] are that person a member of
['Q30', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q7332084 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Chicago Cubs New York Mets Houston Astros Rochester Red Wings Cleveland Indians San Diego Padres Boston Red Sox
The Boston Red Sox, Cleveland Indians and Chicago Cubs are that person a member of
Boston Red Sox Cleveland Indians Chicago Cubs
action filter_type
action find
entity Ricky Gutiérrez
relation member of sports team
type sports team
['United States of America', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Ricky_Gutiérrez property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q213959 Q642553 Q246782
P641
Q349
USER
What did Boston Red Sox, Cleveland Indians and Chicago Cubs participate in ?
(Q213959,P641,c(Q349)) (Q642553,P641,c(Q349)) (Q246782,P641,c(Q349))
action union
action filter_type
action find
entity Q213959
relation P641
type Q349
action filter_type
action find
entity Q642553
relation P641
type Q349
action filter_type
action find
entity Q246782
relation P641
type Q349
['Q213959', 'P641', {'concept': 'Q349'}] ['Q642553', 'P641', {'concept': 'Q349'}] ['Q246782', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { resource:Q213959 property:P641 ?y . ?y rdf:type ontology:Q349 } UNION { resource:Q642553 property:P641 ?y . ?y rdf:type ontology:Q349 } }
Boston Red Sox Cleveland Indians Chicago Cubs
action union
action filter_type
action find
entity Boston Red Sox
relation sport
type sport
action filter_type
action find
entity Cleveland Indians
relation sport
type sport
action filter_type
action find
entity Chicago Cubs
relation sport
type sport
['Boston Red Sox', 'sport', {'concept': 'sport'}] ['Cleveland Indians', 'sport', {'concept': 'sport'}] ['Chicago Cubs', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { resource:Boston_Red_Sox property:sport ?y . ?y rdf:type ontology:sport } UNION { resource:Cleveland_Indians property:sport ?y . ?y rdf:type ontology:sport } }
[]
sport
Q5369 Q5369 Q5369
SYSTEM
baseball
Q5369 Q5369 Q5369
(Q213959,P641,c(Q349)) (Q642553,P641,c(Q349)) (Q246782,P641,c(Q349))
action union
action filter_type
action find
entity Q213959
relation P641
type Q349
action filter_type
action find
entity Q642553
relation P641
type Q349
action filter_type
action find
entity Q246782
relation P641
type Q349
Boston Red Sox , Cleveland Indians and Chicago Cubs participated in [ANSWER], [ANSWER] and [ANSWER]
['Q213959', 'P641', {'concept': 'Q349'}] ['Q642553', 'P641', {'concept': 'Q349'}] ['Q246782', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { resource:Q213959 property:P641 ?y . ?y rdf:type ontology:Q349 } UNION { resource:Q642553 property:P641 ?y . ?y rdf:type ontology:Q349 } }
baseball baseball baseball
Boston Red Sox , Cleveland Indians and Chicago Cubs participated in baseball, baseball and baseball
baseball baseball baseball
action union
action filter_type
action find
entity Boston Red Sox
relation sport
type sport
action filter_type
action find
entity Cleveland Indians
relation sport
type sport
action filter_type
action find
entity Chicago Cubs
relation sport
type sport
['Boston Red Sox', 'sport', {'concept': 'sport'}] ['Cleveland Indians', 'sport', {'concept': 'sport'}] ['Chicago Cubs', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { resource:Boston_Red_Sox property:sport ?y . ?y rdf:type ontology:sport } UNION { resource:Cleveland_Indians property:sport ?y . ?y rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213959
P115
Q483110
USER
Which stadium is the ground of Boston Red Sox ?
(Q213959,P115,c(Q483110))
action filter_type
action find
entity Q213959
relation P115
type Q483110
['Q213959', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q483110 . resource:Q213959 property:P115 ?r }
Boston Red Sox
action filter_type
action find
entity Boston Red Sox
relation home venue
type stadium
['Boston Red Sox', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:stadium . resource:Boston_Red_Sox property:home_venue ?r }
[]
stadium
Q49136
SYSTEM
Fenway Park
Q49136
(Q213959,P115,c(Q483110))
action filter_type
action find
entity Q213959
relation P115
type Q483110
Park [ANSWER] is the ground of Boston Red Sox
['Q213959', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q483110 . resource:Q213959 property:P115 ?r }
Fenway Park
Park Fenway Park is the ground of Boston Red Sox
Fenway Park
action filter_type
action find
entity Boston Red Sox
relation home venue
type stadium
['Boston Red Sox', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:stadium . resource:Boston_Red_Sox property:home_venue ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q739821
Q483110
USER
And also tell me about Orlando Pirates F.C. Windhoek?
(Q739821,P115,c(Q483110))
action filter_type
action find
entity Q739821
relation P115
type Q483110
['Q739821', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?t WHERE { resource:Q739821 property:P115 ?t . ?t rdf:type ontology:Q483110 }
Orlando Pirates F.C. Windhoek
action filter_type
action find
entity Orlando Pirates F.C. Windhoek
relation home venue
type stadium
['Orlando Pirates F.C. Windhoek', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?t WHERE { resource:Orlando_Pirates_F.C._Windhoek property:home_venue ?t . ?t rdf:type ontology:stadium }
[]
stadium
Q1455247
SYSTEM
Sam Nujoma Stadium
Q1455247
(Q739821,P115,c(Q483110))
action filter_type
action find
entity Q739821
relation P115
type Q483110
[ANSWER]
['Q739821', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?t WHERE { resource:Q739821 property:P115 ?t . ?t rdf:type ontology:Q483110 }
Sam Nujoma Stadium
Sam Nujoma Stadium
action filter_type
action find
entity Orlando Pirates F.C. Windhoek
relation home venue
type stadium
['Orlando Pirates F.C. Windhoek', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?t WHERE { resource:Orlando_Pirates_F.C._Windhoek property:home_venue ?t . ?t rdf:type ontology:stadium }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1455247 Q3346633 Q1030
P17
Q15617994
USER
Is Sam Nujoma Stadium located in Flatford and Namibia ?
(Q1455247,P17,Q3346633) (Q1455247,P17,Q1030)
action is_in
entity Q1455247
action intersection
action find_reverse
entity Q3346633
relation P17
action find_reverse
entity Q1030
relation P17
['Q1455247', 'P17', 'Q3346633'] ['Q1455247', 'P17', 'Q1030']
ASK WHERE { resource:Q1455247 property:P17 resource:Q3346633 . resource:Q1455247 property:P17 resource:Q1030 }
Sam Nujoma Stadium Flatford Namibia
action is_in
entity Sam Nujoma Stadium
action intersection
action find_reverse
entity Flatford
relation country
action find_reverse
entity Namibia
relation country
['Sam Nujoma Stadium', 'country', 'Flatford'] ['Sam Nujoma Stadium', 'country', 'Namibia']
ASK WHERE { resource:Sam_Nujoma_Stadium property:country resource:Flatford . resource:Sam_Nujoma_Stadium property:country resource:Namibia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1455247,P17,Q3346633) (Q1455247,P17,Q1030)
action is_in
entity Q1455247
action intersection
action find_reverse
entity Q3346633
relation P17
action find_reverse
entity Q1030
relation P17
[ANSWER]
['Q1455247', 'P17', 'Q3346633'] ['Q1455247', 'P17', 'Q1030']
ASK WHERE { resource:Q1455247 property:P17 resource:Q3346633 . resource:Q1455247 property:P17 resource:Q1030 }
NO and YES respectively
action is_in
entity Sam Nujoma Stadium
action intersection
action find_reverse
entity Flatford
relation country
action find_reverse
entity Namibia
relation country
['Sam Nujoma Stadium', 'country', 'Flatford'] ['Sam Nujoma Stadium', 'country', 'Namibia']
ASK WHERE { resource:Sam_Nujoma_Stadium property:country resource:Flatford . resource:Sam_Nujoma_Stadium property:country resource:Namibia }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41466
P366
Q349 Q1076486 Q6671777
USER
How many sports are considered as the main functionality of approximately the same number of sports venues or structures as ice hockey ?
(c(Q1076486)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q1076486
type Q6671777
[[{'concept': 'Q1076486'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?g WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1076486 ) ( ontology:Q6671777 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P366 resource:Q41466 . { { ?y rdf:type ontology:Q1076486 } UNION { ?y rdf:type ontology:Q6671777 } } } } . FILTER ( ?l = ?r ) }
ice hockey
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type sports venue
type structure
[[{'concept': 'sports venue'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?g WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:sports_venue ) ( ontology:structure ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:use resource:ice_hockey . { { ?y rdf:type ontology:sports_venue } UNION { ?y rdf:type ontology:structure } } } } . FILTER ( ?l = ?r ) }
[]
sport sports venue structure
SYSTEM
22
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q1076486
type Q6671777
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?g WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1076486 ) ( ontology:Q6671777 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P366 resource:Q41466 . { { ?y rdf:type ontology:Q1076486 } UNION { ?y rdf:type ontology:Q6671777 } } } } . FILTER ( ?l = ?r ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
22
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type sports venue
type structure
[[{'concept': 'sports venue'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?g WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:sports_venue ) ( ontology:structure ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:use resource:ice_hockey . { { ?y rdf:type ontology:sports_venue } UNION { ?y rdf:type ontology:structure } } } } . FILTER ( ?l = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1194269
P366
Q349 Q1076486 Q6671777
USER
And also tell me about harness racing?
(c(Q1076486)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q1076486
type Q6671777
[[{'concept': 'Q1076486'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q6671777 ) ( ontology:Q1076486 ) } . ?g rdf:type ?b } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P366 resource:Q1194269 . { { ?o rdf:type ontology:Q6671777 } UNION { ?o rdf:type ontology:Q1076486 } } } } . FILTER ( ?a = ?l ) }
harness racing
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type sports venue
type structure
[[{'concept': 'sports venue'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { VALUES ( ?b ) { ( ontology:structure ) ( ontology:sports_venue ) } . ?g rdf:type ?b } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:use resource:harness_racing . { { ?o rdf:type ontology:structure } UNION { ?o rdf:type ontology:sports_venue } } } } . FILTER ( ?a = ?l ) }
[]
sport sports venue structure
SYSTEM
22
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q1076486
type Q6671777
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q6671777 ) ( ontology:Q1076486 ) } . ?g rdf:type ?b } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P366 resource:Q1194269 . { { ?o rdf:type ontology:Q6671777 } UNION { ?o rdf:type ontology:Q1076486 } } } } . FILTER ( ?a = ?l ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
22
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type sports venue
type structure
[[{'concept': 'sports venue'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { VALUES ( ?b ) { ( ontology:structure ) ( ontology:sports_venue ) } . ?g rdf:type ?b } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:use resource:harness_racing . { { ?o rdf:type ontology:structure } UNION { ?o rdf:type ontology:sports_venue } } } } . FILTER ( ?a = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1455247
P127
Q515
USER
Who owns Sam Nujoma Stadium ?
(Q1455247,P127,c(Q515))
action filter_type
action find
entity Q1455247
relation P127
type Q515
['Q1455247', 'P127', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1455247 property:P127 ?n . ?n rdf:type ontology:Q515 }
Sam Nujoma Stadium
action filter_type
action find
entity Sam Nujoma Stadium
relation owned by
type city
['Sam Nujoma Stadium', 'owned by', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Sam_Nujoma_Stadium property:owned_by ?n . ?n rdf:type ontology:city }
[]
city
Q3935
SYSTEM
Windhoek
Q3935
(Q1455247,P127,c(Q515))
action filter_type
action find
entity Q1455247
relation P127
type Q515
[ANSWER] owns Sam Nujoma Stadium
['Q1455247', 'P127', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1455247 property:P127 ?n . ?n rdf:type ontology:Q515 }
Windhoek
Windhoek owns Sam Nujoma Stadium
Windhoek
action filter_type
action find
entity Sam Nujoma Stadium
relation owned by
type city
['Sam Nujoma Stadium', 'owned by', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Sam_Nujoma_Stadium property:owned_by ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3935
P190
Q56061
USER
Which administrative territories are twin cities of that city ?
(Q3935,P190,c(Q56061))
action filter_type
action find
entity Q3935
relation P190
type Q56061
['Q3935', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q3935 property:P190 ?b }
Windhoek
action filter_type
action find
entity Windhoek
relation sister city
type administrative territorial entity
['Windhoek', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Windhoek property:sister_city ?b }
[]
administrative territorial entity
Q8686 Q64 Q1563
SYSTEM
Shanghai, Berlin, Havana
Q8686 Q3844 Q4178 Q127623 Q64 Q1563 Q505529 Q132830 Q3921
(Q3935,P190,c(Q56061))
action filter_type
action find
entity Q3935
relation P190
type Q56061
[ANSWERS] are twin cities of that city
['Q3935', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q3935 property:P190 ?b }
Shanghai Brazzaville Wetzlar Vantaa Berlin Havana Trossingen Douala Harare
Shanghai, Berlin and Havana are twin cities of that city
Shanghai Berlin Havana
action filter_type
action find
entity Windhoek
relation sister city
type administrative territorial entity
['Windhoek', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Windhoek property:sister_city ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3935
P36
Q1048835
USER
Which political territory has Windhoek as its administrative centre ?
(c(Q1048835),P36,Q3935)
action filter_type
action find_reverse
entity Q3935
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q3935']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q3935 . ?j rdf:type ontology:Q1048835 }
Windhoek
action filter_type
action find_reverse
entity Windhoek
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Windhoek']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Windhoek . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q953068
SYSTEM
South-West Africa
Q953068
(c(Q1048835),P36,Q3935)
action filter_type
action find_reverse
entity Q3935
relation P36
type Q1048835
[ANSWER] has Windhoek as its administrative centre
[{'concept': 'Q1048835'}, 'P36', 'Q3935']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q3935 . ?j rdf:type ontology:Q1048835 }
South-West Africa
South-West Africa has Windhoek as its administrative centre
South-West Africa
action filter_type
action find_reverse
entity Windhoek
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Windhoek']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Windhoek . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3935
P1376
Q1048835
USER
Which political territory has that city as its county seat ?
(Q953068,P1376,c(Q1048835))
action filter_type
action find
entity Q3935
relation P1376
type Q1048835
['Q953068', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q3935 property:P1376 ?i }
Windhoek
action filter_type
action find
entity Windhoek
relation capital of
type political territorial entity
['South-West Africa', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Windhoek property:capital_of ?i }
[]
political territorial entity
Q953068
SYSTEM
South-West Africa
Q953068
(Q953068,P1376,c(Q1048835))
action filter_type
action find
entity Q3935
relation P1376
type Q1048835
[ANSWER] has that city as its county seat
['Q953068', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q3935 property:P1376 ?i }
South-West Africa
South-West Africa has that city as its county seat
South-West Africa
action filter_type
action find
entity Windhoek
relation capital of
type political territorial entity
['South-West Africa', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Windhoek property:capital_of ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q774
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with around the same number of political territories as Guatemala ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q774
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?l ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q774 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?f ) }
Guatemala
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guatemala
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?l ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Guatemala property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?f ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q774
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with around the same number of political territories as Guatemala
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?l ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q774 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?f ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan hold diplomatic relationship with around the same number of political territories as Guatemala
Netherlands People's Republic of China Japan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guatemala
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?l ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Guatemala property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q837
P530
Q15617994 Q1048835
USER
And what about Nepal?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?m ) WHERE { ?t property:P530 ?a . ?t rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q837 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?i ) }
Nepal
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nepal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?m ) WHERE { ?t property:diplomatic_relation ?a . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Nepal property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?i ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?m ) WHERE { ?t property:P530 ?a . ?t rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q837 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?i ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia Belarus Luxembourg
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nepal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?m ) WHERE { ?t property:diplomatic_relation ?a . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Nepal property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?i ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
Which administrative territories are the origins of more number of film genres or musical ensembles than that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?a property:P495 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?a property:country_of_origin ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity film genre musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q32
SYSTEM
Did you mean Luxembourg ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?a property:P495 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Luxembourg ?
Luxembourg
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?a property:country_of_origin ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
No, I meant Belarus. Could you tell me the answer for that?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
Q184
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q794 Q884 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q20 Q1041 Q27 Q28 Q189 Q843 Q1029 Q1028 Q224 Q96 Q17 Q902 Q974 Q191 Q965 Q298 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q833 Q79 Q77 Q948 Q29 Q869
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWERS] are the origins of more number of film genres or musical ensembles than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Israel Costa Rica India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iran South Korea Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Norway Senegal Ireland Hungary Iceland Pakistan Mozambique Morocco Croatia Mexico Japan Bangladesh Democratic Republic of the Congo Estonia Burkina Faso Chile Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Malaysia Egypt Uruguay Tunisia Spain Thailand
Italy, Brazil and United States of America are the origins of more number of film genres or musical ensembles than that administrative territory
Italy Brazil United States of America
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]