Simple Question (Direct)
Simple Question
Q2228438
P1454
Q1269299
USER
Which business organization represents the legal form of Saxonia Media Filmproduktion ?
(Q2228438,P1454,c(Q1269299))
action filter_type
action find
entity Q2228438
relation P1454
type Q1269299
['Q2228438', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?o WHERE { resource:Q2228438 property:P1454 ?o . ?o rdf:type ontology:Q1269299 }
Saxonia Media Filmproduktion
action filter_type
action find
entity Saxonia Media Filmproduktion
relation legal form
type type of business entity
['Saxonia Media Filmproduktion', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?o WHERE { resource:Saxonia_Media_Filmproduktion property:legal_form ?o . ?o rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q460178
SYSTEM
Gesellschaft mit beschränkter Haftung
Q460178
(Q2228438,P1454,c(Q1269299))
action filter_type
action find
entity Q2228438
relation P1454
type Q1269299
[ANSWER] represents the legal form of Saxonia Media Filmproduktion
['Q2228438', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?o WHERE { resource:Q2228438 property:P1454 ?o . ?o rdf:type ontology:Q1269299 }
Gesellschaft mit beschränkter Haftung
Gesellschaft mit beschränkter Haftung represents the legal form of Saxonia Media Filmproduktion
Gesellschaft mit beschränkter Haftung
action filter_type
action find
entity Saxonia Media Filmproduktion
relation legal form
type type of business entity
['Saxonia Media Filmproduktion', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?o WHERE { resource:Saxonia_Media_Filmproduktion property:legal_form ?o . ?o rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2228438
P17
Q1048835
USER
Which political territory is Saxonia Media Filmproduktion situated in ?
(Q2228438,P17,c(Q1048835))
action filter_type
action find
entity Q2228438
relation P17
type Q1048835
['Q2228438', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q2228438 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Saxonia Media Filmproduktion
action filter_type
action find
entity Saxonia Media Filmproduktion
relation country
type political territorial entity
['Saxonia Media Filmproduktion', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Saxonia_Media_Filmproduktion property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2228438,P17,c(Q1048835))
action filter_type
action find
entity Q2228438
relation P17
type Q1048835
Which political territory is Saxonia Media Filmproduktion situated in
['Q2228438', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q2228438 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Which political territory is Saxonia Media Filmproduktion situated in
Germany
action filter_type
action find
entity Saxonia Media Filmproduktion
relation country
type political territorial entity
['Saxonia Media Filmproduktion', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Saxonia_Media_Filmproduktion property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3305338
Q1048835
USER
And how about Member of the National Assembly?
(Q3305338,P17,c(Q1048835))
action filter_type
action find
entity Q3305338
relation P17
type Q1048835
['Q3305338', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q3305338 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Member of the National Assembly
action filter_type
action find
entity Member of the National Assembly
relation country
type political territorial entity
['Member of the National Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_National_Assembly property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3305338,P17,c(Q1048835))
action filter_type
action find
entity Q3305338
relation P17
type Q1048835
[ANSWER]
['Q3305338', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q3305338 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find
entity Member of the National Assembly
relation country
type political territorial entity
['Member of the National Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_National_Assembly property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16 Q34 Q252
P530
Q15617994
USER
Does Canada have diplomatic relations with Sweden and Indonesia ?
(Q16,P530,Q34) (Q16,P530,Q252)
action is_in
entity Q16
action intersection
action find_reverse
entity Q34
relation P530
action find_reverse
entity Q252
relation P530
['Q16', 'P530', 'Q34'] ['Q16', 'P530', 'Q252']
ASK WHERE { resource:Q16 property:P530 resource:Q34 . resource:Q16 property:P530 resource:Q252 }
Canada Sweden Indonesia
action is_in
entity Canada
action intersection
action find_reverse
entity Sweden
relation diplomatic relation
action find_reverse
entity Indonesia
relation diplomatic relation
['Canada', 'diplomatic relation', 'Sweden'] ['Canada', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Sweden . resource:Canada property:diplomatic_relation resource:Indonesia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q34) (Q16,P530,Q252)
action is_in
entity Q16
action intersection
action find_reverse
entity Q34
relation P530
action find_reverse
entity Q252
relation P530
[ANSWER]
['Q16', 'P530', 'Q34'] ['Q16', 'P530', 'Q252']
ASK WHERE { resource:Q16 property:P530 resource:Q34 . resource:Q16 property:P530 resource:Q252 }
Yes
action is_in
entity Canada
action intersection
action find_reverse
entity Sweden
relation diplomatic relation
action find_reverse
entity Indonesia
relation diplomatic relation
['Canada', 'diplomatic relation', 'Sweden'] ['Canada', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Sweden . resource:Canada property:diplomatic_relation resource:Indonesia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P1532
Q6979593
USER
Who represent Canada ?
(c(Q6979593),P1532,Q16)
action filter_type
action find_reverse
entity Q16
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q16']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q16 . ?i rdf:type ontology:Q6979593 }
Canada
action filter_type
action find_reverse
entity Canada
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Canada']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Canada . ?i rdf:type ontology:national_association_football_team }
[]
national association football team
Q499946 Q5029537 Q3873967
SYSTEM
Canada women's national soccer team, Canada women's national under-17 soccer team, Canada Olympic soccer team
Q5029537 Q3873967 Q499946 Q5029539
(c(Q6979593),P1532,Q16)
action filter_type
action find_reverse
entity Q16
relation P1532
type Q6979593
And [ANSWERS] represent Canada
[{'concept': 'Q6979593'}, 'P1532', 'Q16']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q16 . ?i rdf:type ontology:Q6979593 }
Canada women's national under-17 soccer team Canada Olympic soccer team Canada women's national soccer team Canada women's national under-20 soccer team
And Canada women's national soccer team, Canada women's national under-17 soccer team and Canada Olympic soccer team represent Canada
Canada women's national soccer team Canada women's national under-17 soccer team Canada Olympic soccer team
action filter_type
action find_reverse
entity Canada
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Canada']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Canada . ?i rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q499946 Q5029537 Q3873967
P54
Q502895
USER
Which people play for the team named those ones ?
(c(Q502895),P54,Q499946) (c(Q502895),P54,Q5029537) (c(Q502895),P54,Q3873967)
action filter_type
action find_reverse
entity prev_answer
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q499946'] [{'concept': 'Q502895'}, 'P54', 'Q5029537'] [{'concept': 'Q502895'}, 'P54', 'Q3873967']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P54 ?q . VALUES ( ?q ) { ( resource:Q5029537 ) ( resource:Q3873967 ) ( resource:Q499946 ) } }
Canada women's national soccer team Canada women's national under-17 soccer team Canada Olympic soccer team
action filter_type
action find_reverse
entity prev_answer
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Canada women's national soccer team"] [{'concept': 'common name'}, 'member of sports team', "Canada women's national under-17 soccer team"] [{'concept': 'common name'}, 'member of sports team', 'Canada Olympic soccer team']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:member_of_sports_team ?q . VALUES ( ?q ) { ( resource:Canada_women's_national_under-17_soccer_team ) ( resource:Canada_Olympic_soccer_team ) ( resource:Canada_women's_national_soccer_team ) } }
[]
common name
Q77412 Q456309 Q517288
SYSTEM
Lars Hirschfeld, Melissa Tancredi, Emily Zurrer
Q15727471 Q439958 Q1432428 Q3332513 Q22957440 Q454192 Q454285 Q454285 Q15727786 Q6551633 Q15530986 Q15530986 Q20679991 Q517288 Q517288 Q5090048 Q4980503 Q3186630 Q455771 Q462541 Q1558757 Q23013831 Q15097784 Q4749428 Q4749428 Q4250353 Q16841707 Q16195985 Q4755206 Q1083191 Q16841722 Q15906007 Q459100 Q18961511 Q7686996 Q6777029 Q7489949 Q437685 Q647985 Q481970 Q19817368 Q18844188 Q439524 Q20676647 Q10556639 Q18763937 Q18763937 Q16197837 Q292526 Q3275756 Q3275756 Q16227708 Q15899126 Q15940051 Q23013818 Q174851 Q262802 Q262802 Q456309 Q6377569 Q20171143 Q20171143 Q16228374 Q438113 Q454021 Q5126249 Q6509248 Q459473 Q17516047 Q16885970 Q647756 Q1396628 Q5111100 Q459034 Q6386069 Q647732 Q4741220 Q647717 Q7425076 Q3154994 Q10552973 Q22957440 Q454192 Q15727786 Q20679991 Q517288 Q4980503 Q21064141 Q16841707 Q16841722 Q15906007 Q19817368 Q15899126 Q16228374 Q438113 Q16885970 Q647732 Q19666304 Q1379051 Q16146749 Q2846363 Q16214360 Q6696114 Q10427553 Q19664405 Q1356677 Q19561357 Q15874648 Q7494944 Q18044218 Q5980374 Q14816443 Q19866530 Q16935036 Q503466 Q6451050 Q19667463 Q18088793 Q16729712 Q3713834 Q1494503 Q1494503 Q17486532 Q534931 Q18704955 Q19957940 Q22908062 Q3792451 Q1367117 Q5019227 Q4932279 Q10556454 Q16729099 Q1272520 Q1358991 Q1175724 Q15071693 Q16229622 Q19757700 Q77412 Q439030 Q16236742 Q704094 Q19865944 Q16236964 Q17309012 Q5105883 Q14027122
(c(Q502895),P54,Q499946) (c(Q502895),P54,Q5029537) (c(Q502895),P54,Q3873967)
action filter_type
action find_reverse
entity prev_answer
relation P54
type Q502895
[ANSWERS] play for the team named those ones
[{'concept': 'Q502895'}, 'P54', 'Q499946'] [{'concept': 'Q502895'}, 'P54', 'Q5029537'] [{'concept': 'Q502895'}, 'P54', 'Q3873967']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P54 ?q . VALUES ( ?q ) { ( resource:Q5029537 ) ( resource:Q3873967 ) ( resource:Q499946 ) } }
Sari Raber Karina LeBlanc Jodi-Ann Robinson Melanie Booth Gabrielle Carle Sophie Schmidt Diana Matheson Diana Matheson Ashley Lawrence Linda Hathorn Selenia Iacchelli Selenia Iacchelli Kinley McNicoll Emily Zurrer Emily Zurrer Chelsea Buckland Bryanna McCarthy Josée Bélanger Candace Chapman Lauren Sesselmann John Herdman Deanne Rose Helen Stoumbos Amy Vermeulen Amy Vermeulen Alyssa Lagonia Jessie Fleming Geri Donnelly Andrea Neil Christina Julien Kadeisha Buchanan Rebecca Quinn Robyn Gayle Rachel Melhado Taryn Swiatek Martina Franko Sharolta Nonen Stephanie Labbé Marie-Eve Nault Amy Walsh Sabrina D’Angelo Shelina Zadorsky Erin McLeod Emma Fletcher Rachel Quon Allysha Chapman Allysha Chapman Silvana Burtini Charmaine Hooper Adriana Leon Adriana Leon Kylla Sjoman Nkem Ezurike Kendra Flock Nichelle Prince Brittany Timko Christine Sinclair Christine Sinclair Melissa Tancredi Katie Thorlakson Janine Beckie Janine Beckie Danica Wu Kaylyn Kyle Carmelina Moscato Clare Rustad Leah Robinson Rhian Wilkinson Mélissa Busque Sura Yekka Jonelle Filigno Kara Lang Christine Latham Kelly Parker Kelly Haxton Desiree Scott Amber Allen Chelsea Stewart Sasha Andrews Isabelle Morneau Tiffany Cameron Gabrielle Carle Sophie Schmidt Ashley Lawrence Kinley McNicoll Emily Zurrer Bryanna McCarthy Sarah Stratigakis Jessie Fleming Kadeisha Buchanan Rebecca Quinn Sabrina D’Angelo Nkem Ezurike Danica Wu Kaylyn Kyle Sura Yekka Desiree Scott Skylar Thomas Patrice Bernier Manny Aparicio Andrea Lombardo Garrett Caldwell Lucas Cavallini Ivan Belfiore Molham Babouli Tosaint Ricketts Chris Mannella Drew Beckie Sherif El-Masri Louis Béland-Goyette Iain Baird Ben Fisk Maxime Crépeau Manjrekar James Jason Bent Kyle Bekker Jay Chapman Luca Gasparotto Carl Haworth Doneil Henry Garry Ayre Garry Ayre Anthony Jackson-Hamel Tyler Rosenlund Dylan Carreiro Jonathan Grant Raheem Edwards Igor Vrablic Kenny Stamatopoulos Caleb Clarke Bob DiLuca Paolo Ceccarelli Andrés Fresenga Terry Dunfield Nikolas Ledgerwood David Monsalve Jérémy Gagnon-Laparé Hanson Boakai Adam Bouchard Lars Hirschfeld Atiba Hutchinson Jackson Farmer Dwayne De Rosario Giuliano Frano Michael Petrasso Mauro Eustaquio Chris Bennett Keven Alemán
Lars Hirschfeld, Melissa Tancredi and Emily Zurrer play for the team named those ones
Lars Hirschfeld Melissa Tancredi Emily Zurrer
action filter_type
action find_reverse
entity prev_answer
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Canada women's national soccer team"] [{'concept': 'common name'}, 'member of sports team', "Canada women's national under-17 soccer team"] [{'concept': 'common name'}, 'member of sports team', 'Canada Olympic soccer team']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:member_of_sports_team ?q . VALUES ( ?q ) { ( resource:Canada_women's_national_under-17_soccer_team ) ( resource:Canada_Olympic_soccer_team ) ( resource:Canada_women's_national_soccer_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q456309
P21
Q290
USER
Which sex does Melissa Tancredi possess ?
(Q456309,P21,c(Q290))
action filter_type
action find
entity Q456309
relation P21
type Q290
['Q456309', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q456309 property:P21 ?d . ?d rdf:type ontology:Q290 }
Melissa Tancredi
action filter_type
action find
entity Melissa Tancredi
relation gender
type sex
['Melissa Tancredi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Melissa_Tancredi property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q456309,P21,c(Q290))
action filter_type
action find
entity Q456309
relation P21
type Q290
Melissa Tancredi possesses a [ANSWER]
['Q456309', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q456309 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
Melissa Tancredi possesses a female
female
action filter_type
action find
entity Melissa Tancredi
relation gender
type sex
['Melissa Tancredi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Melissa_Tancredi property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q11627512
P21
Q502895
USER
Does Takemi Nishibori have the gender as that sex ?
(Q11627512,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q11627512
relation P21
['Q11627512', 'P21', 'Q6581072']
ASK WHERE { resource:Q11627512 property:P21 resource:Q6581072 }
female Takemi Nishibori
action is_in
entity female
action find
entity Takemi Nishibori
relation gender
['Takemi Nishibori', 'gender', 'female']
ASK WHERE { resource:Takemi_Nishibori property:gender resource:female }
[]
common name
SYSTEM
YES
(Q11627512,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q11627512
relation P21
[ANSWER]
['Q11627512', 'P21', 'Q6581072']
ASK WHERE { resource:Q11627512 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Takemi Nishibori
relation gender
['Takemi Nishibori', 'gender', 'female']
ASK WHERE { resource:Takemi_Nishibori property:gender resource:female }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q77412 Q183
P27
Q1048835
USER
Is Lars Hirschfeld an inhabitant of Germany ?
(Q77412,P27,Q183)
action is_in
entity Q183
action find
entity Q77412
relation P27
['Q77412', 'P27', 'Q183']
ASK WHERE { resource:Q77412 property:P27 resource:Q183 }
Lars Hirschfeld Germany
action is_in
entity Germany
action find
entity Lars Hirschfeld
relation country of citizenship
['Lars Hirschfeld', 'country of citizenship', 'Germany']
ASK WHERE { resource:Lars_Hirschfeld property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q77412,P27,Q183)
action is_in
entity Q183
action find
entity Q77412
relation P27
[ANSWER]
['Q77412', 'P27', 'Q183']
ASK WHERE { resource:Q77412 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Lars Hirschfeld
relation country of citizenship
['Lars Hirschfeld', 'country of citizenship', 'Germany']
ASK WHERE { resource:Lars_Hirschfeld property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q456309
P641
Q349
USER
What was the sport that Melissa Tancredi was a part of ?
(Q456309,P641,c(Q349))
action filter_type
action find
entity Q456309
relation P641
type Q349
['Q456309', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q456309 property:P641 ?w . ?w rdf:type ontology:Q349 }
Melissa Tancredi
action filter_type
action find
entity Melissa Tancredi
relation sport
type sport
['Melissa Tancredi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Melissa_Tancredi property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q456309,P641,c(Q349))
action filter_type
action find
entity Q456309
relation P641
type Q349
The sport that Melissa Tancredi was a part of was the [ANSWER]
['Q456309', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q456309 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
The sport that Melissa Tancredi was a part of was the association football
association football
action filter_type
action find
entity Melissa Tancredi
relation sport
type sport
['Melissa Tancredi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Melissa_Tancredi property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q456309
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q456309
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q456309 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Melissa Tancredi
action filter_type
action find
entity Melissa Tancredi
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Melissa_Tancredi property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q133116
SYSTEM
Hamilton
Q133116
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q456309
relation P19
type Q56061
That person was born with [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q456309 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Hamilton
That person was born with Hamilton
Hamilton
action filter_type
action find
entity Melissa Tancredi
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Melissa_Tancredi property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q13220204 Q486972 Q1048835
USER
Which political territories are a sister city of max number of administrative country subdivisions or human settlements ?
(c(Q1048835),P190,c(Q13220204)|c(Q486972))
action argmax
action union
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?z ) WHERE { { ?q property:P190 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } UNION { ?q property:P190 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q13220204 } } GROUP BY ?q } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:Q13220204 ) ( ontology:Q486972 ) } . ?s rdf:type ?v } GROUP BY ?i } . FILTER ( ?o = ?u ) }
action argmax
action union
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?z ) WHERE { { ?q property:sister_city ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } UNION { ?q property:sister_city ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?q } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:human_settlement ) } . ?s rdf:type ?v } GROUP BY ?i } . FILTER ( ?o = ?u ) }
[]
second-level administrative country subdivision human settlement political territorial entity
Q436491 Q615722 Q74881
SYSTEM
Altea, Santa Fe, Dalian
Q436491 Q615722 Q74881
(c(Q1048835),P190,c(Q13220204)|c(Q486972))
action argmax
action union
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[ANSWERS] are a sister city of max number of administrative country subdivisions or human settlements
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?z ) WHERE { { ?q property:P190 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } UNION { ?q property:P190 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q13220204 } } GROUP BY ?q } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:Q13220204 ) ( ontology:Q486972 ) } . ?s rdf:type ?v } GROUP BY ?i } . FILTER ( ?o = ?u ) }
Altea Santa Fe Dalian
Altea, Santa Fe and Dalian are a sister city of max number of administrative country subdivisions or human settlements
Altea Santa Fe Dalian
action argmax
action union
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?z ) WHERE { { ?q property:sister_city ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } UNION { ?q property:sister_city ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?q } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:human_settlement ) } . ?s rdf:type ?v } GROUP BY ?i } . FILTER ( ?o = ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q1048835
USER
Which political territories are situated in the neighbourhood of atmost 2 still waterss or bodies of water ?
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 2
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?u ) WHERE { { ?q property:P206 ?s . ?s rdf:type ontology:Q337567 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P206 ?s . ?q rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?u <= 2 ) }
action atmost
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 2
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?u ) WHERE { { ?q property:located_next_to_body_of_water ?s . ?s rdf:type ontology:still_waters . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?s . ?q rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?u <= 2 ) }
[]
still waters body of water political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1649616 Q736872 Q5075 Q434192 Q691567 Q1228773 Q21590062 Q657407 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q1866 Q49562 Q844784 Q2012050 Q52626 Q677038 Q540185 Q484552 Q433632 Q1614800 Q1470810 Q492312 Q7206212 Q983556 Q193780 Q635308 Q741749 Q5065 Q5067 Q983465 Q5061 Q2772 Q5062 Q4359878 Q353618 Q5068 Q4524665 Q18356359 Q983628 Q147774 Q846153 Q217829 Q925913 Q7451347 Q830969 Q846159 Q1324548 Q40 Q5093 Q962773 Q5095 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q18350152 Q11339 Q55845 Q3557 Q210887 Q804466 Q2323549 Q594892 Q582901 Q5096 Q898856 Q1853429 Q4408930 Q587114 Q434321 Q2898 Q492420 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q35 Q5017377 Q985598 Q917886 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q6674900 Q7521776 Q716384 Q499184 Q616847 Q13462 Q986364 Q1637424 Q956757 Q1443906 Q1798827 Q2244278 Q693258 Q736926 Q13751 Q433918 Q434019 Q986359 Q575670 Q847329 Q817971 Q926410 Q1768232 Q698246 Q16851746 Q15907 Q624967 Q1606460 Q1634820 Q832984 Q11286 Q1447802 Q13150 Q913492 Q1628788 Q13154 Q217840 Q7130989 Q100166 Q176624 Q2451327 Q24342199 Q11811 Q163271 Q5437809 Q426350 Q738674 Q1823 Q10996863 Q7165 Q3540 Q983433 Q524431 Q985586 Q1443992 Q1248474 Q11296 Q1631163 Q13424648 Q277302 Q628446 Q5078 Q1637406 Q743849 Q366948 Q492741 Q650682 Q748078 Q11822 Q932914 Q492748 Q4481 Q904566 Q1645555 Q434150 Q5939706 Q944264 Q943431 Q920391 Q3903 Q399702 Q4673688 Q491786 Q2140 Q3724 Q985599 Q983635 Q1391437 Q18359182 Q706892 Q171334 Q615061 Q847127 Q5616614 Q953876 Q3741 Q657800 Q47134 Q638013 Q492737 Q433958 Q492735 Q1588135 Q1623000 Q18357018 Q4469165 Q827393 Q505610 Q11304 Q1260011 Q607474 Q737440 Q657738 Q3891 Q584446 Q427330 Q168159 Q682964 Q109128 Q171852 Q1607872 Q3916 Q2110 Q18351821 Q433986 Q3586 Q501077 Q80967 Q936264 Q994034 Q586584 Q983577 Q213361 Q42314 Q611250 Q615916 Q986727 Q181633 Q7684726 Q643919 Q487268 Q5197069 Q3906 Q207176 Q736888 Q824076 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q6298722 Q434286 Q697126 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 2
[ANSWERS] are situated in the neighbourhood of atmost 2 still waterss or bodies of water
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?u ) WHERE { { ?q property:P206 ?s . ?s rdf:type ontology:Q337567 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P206 ?s . ?q rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?u <= 2 ) }
Orio Ayamonte South East Sulawesi Province San Andrés y Sauces Les Dirouilles Plentzia Antarctic Treaty area Sopela Garafía El Sauzal Chantada Soutomaior Llanybydder Bangka–Belitung Islands Adra Vale of Glamorgan Donetsk Oblast Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Val de San Vicente Pierres de Lecq Hondarribia Poblacion La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Central Sulawesi Province Gorontalo Province Santa Eulària des Riu East Nusa Tenggara Province West Sumatra West Nusa Tenggara Pisocine Adeje North Sulawesi Province Szychtory Manipulon Sant Joan de Labritja Zarautz San Roque Ceredigion Los Barrios Sentinela Betancuria Puerto Real El Pinar, Canary Islands Austria Maluku Province San Bartolomé, Las Palmas Papua Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Loguingot Llançà Telde Central Java Province Sanlúcar de Barrameda Bakio Yaiza, Las Palmas La Oliva Lújar West Papua Jethou Valverde Sasiv Itamaracá Villa de Mazo Rostock District Getxo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Denmark Cagting Moya, Las Palmas Santurtzi Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Looc, Mandaue Sinandigan Arucas, Las Palmas Roquetas de Mar Ribamontán al Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Miengo Gáldar, Las Palmas Arnuero La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Biliran Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Comillas Conwy County Borough Algarrobo Trillo Arona, Tenerife Caparangasan Rota Arafo Malpica de Tajo Barreiros Conil de la Frontera Castelló d'Empúries Noja Torrox Manilva El Puente del Arzobispo Barbate Carmarthenshire Pangpang Orkney Islands El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Kherson Oblast Fatima Tazacorte Santa Lucía de Tirajana Aceh City and County of Swansea Portbou Banten Province Güímar Fasnia Tuineje, Las Palmas Bareyo Rincón de la Victoria Colera Aia Troitske Chiclana de la Frontera Mogán, Las Palmas South Sulawesi Ruiloba Valdáliga Los Llanos de Aridane Vélez-Málaga Denbighshire Neath Port Talbot County Borough Roses Alajeró, Santa Cruz de Tenerife Estepona Barrika Brecqhou Liendo Puntagorda Humayhumay Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava North Kalimantan Agüimes, Las Palmas Achila Calvià North Sumatra Province West Java Province Ingenio, Las Palmas Sant Josep de sa Talaia Alfoz de Lloredo Botlog Island Artenara, Las Palmas Zaporizhzhya Oblast Rubite Pasaia Guintabo-an Los Realejos Special Region of Yogyakarta Santa Úrsula Shetland Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Piélagos Bayas Island Uhrynów Vejer de la Frontera Flintshire L'Escala Hermigua Muskiz Teguise Arico Kalimantan Tengah Valle Gran Rey Salobreña Anglesey Los Silos Gwynedd Odessa Oblast Piedralaves Kalimantan Barat Lampung Province Malangabang Breña Baja East Java Lepe Outer Hebrides Lemoiz Variazh Nînovîci, La Matanza de Acentejo Pembrokeshire Channel Islands Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Tapon Torfaen County Borough Candelaria Cuya Kalimantan Selatan Monmouthshire Punta Umbría Ribadeo Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Juagdan Tijarafe Bridgend County Borough Buenavista del Norte Mañón Berja Enix, Spain
Denmark, Canada and Austria are situated in the neighbourhood of atmost 2 still waterss or bodies of water
Denmark Canada Austria
action atmost
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 2
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?u ) WHERE { { ?q property:located_next_to_body_of_water ?s . ?s rdf:type ontology:still_waters . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?s . ?q rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?u <= 2 ) }
[]