Simple Question (Direct)
Simple Question
Q15943424
P106
Q12737077
USER
What is the profession of Jochem de Weerdt ?
(Q15943424,P106,c(Q12737077))
action filter_type
action find
entity Q15943424
relation P106
type Q12737077
['Q15943424', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q15943424 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jochem de Weerdt
action filter_type
action find
entity Jochem de Weerdt
relation occupation
type occupation
['Jochem de Weerdt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jochem_de_Weerdt property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15943424,P106,c(Q12737077))
action filter_type
action find
entity Q15943424
relation P106
type Q12737077
The profession of Jochem de Weerdt is an [ANSWER]
['Q15943424', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q15943424 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The profession of Jochem de Weerdt is an association football player
association football player
action filter_type
action find
entity Jochem de Weerdt
relation occupation
type occupation
['Jochem de Weerdt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jochem_de_Weerdt property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15943424
P641
Q349
USER
Which sport did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q15943424
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q15943424 property:P641 ?n . ?n rdf:type ontology:Q349 }
Jochem de Weerdt
action filter_type
action find
entity Jochem de Weerdt
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Jochem_de_Weerdt property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q15943424
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q15943424 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Jochem de Weerdt
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Jochem_de_Weerdt property:sport ?n . ?n rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q177220 Q937857
P106
Q502895
USER
Which people have career as association football player and singer ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q177220
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P106 resource:Q937857 . ?o property:P106 resource:Q177220 }
singer association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:occupation resource:association_football_player . ?o property:occupation resource:singer }
[]
common name
Q1096205 Q122003 Q3652339 Q1382405 Q10745343 Q368921 Q1663467 Q924034 Q11464006 Q1956389
SYSTEM
Some of them are Gábor Ihász, Julio Iglesias, Zurab Sotkilava, Eyal Golan, Louis Tomlinson, Ibolya Oláh, Ingvar Olsson, Edison Toloza, Shiho Onodera, Henk Damen
Q362521 Q3381496 Q1382405 Q311520 Q1663467 Q4385187 Q924034 Q1124093 Q1898916 Q10575110 Q5238390 Q122003 Q1951830 Q80761 Q553742 Q11464006 Q130557 Q415502 Q4973164 Q350288 Q1956389 Q368921 Q444224 Q318387 Q2286680 Q2798221 Q1628988 Q273590 Q3294457 Q16733899 Q2439829 Q2603942 Q2625298 Q3169301 Q1096205 Q131529 Q920448 Q725510 Q956094 Q3652339 Q320224 Q11959144 Q1001312 Q4818450 Q3892870 Q18921780 Q10745343 Q6320294 Q19297127 Q10513063 Q1342932 Q6990639
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q177220
relation P106
type Q502895
[ANSWERS] have career as association football player and singer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P106 resource:Q937857 . ?o property:P106 resource:Q177220 }
Uni Arge Dries Roelvink Eyal Golan Toni Polster Ingvar Olsson Issei Yoshimi Edison Toloza Mehrdad Minavand Darius Dhlomo Maddji David Parkes Julio Iglesias Janove Ottesen Dante Vesa-Matti Loiri Shiho Onodera Mark Owen Akala Anna Pohjanen Germán Burgos Henk Damen Ibolya Oláh Kano Abel Balbo Johan Derksen Sascha Visser Kevin Walker Shaznay Lewis Marlon Fernández Colm Ó Snodaigh Nima Nakisa Coupé Cloué Johannes De Bever Jean-Pierre François Gábor Ihász Hans Krankl René van der Gijp Des O'Connor Ian Astbury Zurab Sotkilava Nicky Byrne Arnstein Hammershaug György Filip Attila Széki Pamela Gueli Max George Louis Tomlinson Jóannes Jakobsen Necdet Cici Chen Xing Diego Boneta Nelson Martinez
Gábor Ihász, Julio Iglesias, Zurab Sotkilava, Eyal Golan, Louis Tomlinson, Ibolya Oláh, Ingvar Olsson, Edison Toloza, Shiho Onodera and Henk Damen have career as association football player and singer
Gábor Ihász Julio Iglesias Zurab Sotkilava Eyal Golan Louis Tomlinson Ibolya Oláh Ingvar Olsson Edison Toloza Shiho Onodera Henk Damen
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:occupation resource:association_football_player . ?o property:occupation resource:singer }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1096205 Q122003 Q3652339 Q1382405 Q10745343 Q368921 Q1663467 Q924034 Q11464006 Q1956389
P27
Q15617994
USER
Which administrative territories are those people an inhabitant of ?
(Q1096205,P27,c(Q15617994)) (Q122003,P27,c(Q15617994)) (Q3652339,P27,c(Q15617994)) (Q1382405,P27,c(Q15617994)) (Q10745343,P27,c(Q15617994)) (Q368921,P27,c(Q15617994)) (Q1663467,P27,c(Q15617994)) (Q924034,P27,c(Q15617994)) (Q11464006,P27,c(Q15617994)) (Q1956389,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q1096205', 'P27', {'concept': 'Q15617994'}] ['Q122003', 'P27', {'concept': 'Q15617994'}] ['Q3652339', 'P27', {'concept': 'Q15617994'}] ['Q1382405', 'P27', {'concept': 'Q15617994'}] ['Q10745343', 'P27', {'concept': 'Q15617994'}] ['Q368921', 'P27', {'concept': 'Q15617994'}] ['Q1663467', 'P27', {'concept': 'Q15617994'}] ['Q924034', 'P27', {'concept': 'Q15617994'}] ['Q11464006', 'P27', {'concept': 'Q15617994'}] ['Q1956389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?t property:P27 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q362521 ) ( resource:Q3381496 ) ( resource:Q1382405 ) } }
Gábor Ihász Julio Iglesias Zurab Sotkilava Eyal Golan Louis Tomlinson Ibolya Oláh Ingvar Olsson Edison Toloza Shiho Onodera Henk Damen
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Gábor Ihász', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Julio Iglesias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zurab Sotkilava', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Eyal Golan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Louis Tomlinson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ibolya Oláh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ingvar Olsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Edison Toloza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Shiho Onodera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Henk Damen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?t property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Uni_Arge ) ( resource:Dries_Roelvink ) ( resource:Eyal_Golan ) } }
[]
designation for an administrative territorial entity
Q159 Q801 Q145
SYSTEM
Russia, Israel, United Kingdom
Q28 Q29 Q159 Q801 Q145 Q28 Q34 Q739 Q17 Q29999
(Q1096205,P27,c(Q15617994)) (Q122003,P27,c(Q15617994)) (Q3652339,P27,c(Q15617994)) (Q1382405,P27,c(Q15617994)) (Q10745343,P27,c(Q15617994)) (Q368921,P27,c(Q15617994)) (Q1663467,P27,c(Q15617994)) (Q924034,P27,c(Q15617994)) (Q11464006,P27,c(Q15617994)) (Q1956389,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS] are those people an inhabitant of
['Q1096205', 'P27', {'concept': 'Q15617994'}] ['Q122003', 'P27', {'concept': 'Q15617994'}] ['Q3652339', 'P27', {'concept': 'Q15617994'}] ['Q1382405', 'P27', {'concept': 'Q15617994'}] ['Q10745343', 'P27', {'concept': 'Q15617994'}] ['Q368921', 'P27', {'concept': 'Q15617994'}] ['Q1663467', 'P27', {'concept': 'Q15617994'}] ['Q924034', 'P27', {'concept': 'Q15617994'}] ['Q11464006', 'P27', {'concept': 'Q15617994'}] ['Q1956389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?t property:P27 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q362521 ) ( resource:Q3381496 ) ( resource:Q1382405 ) } }
Hungary Spain Russia Israel United Kingdom Hungary Sweden Colombia Japan Kingdom of the Netherlands
Russia, Israel and United Kingdom are those people an inhabitant of
Russia Israel United Kingdom
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Gábor Ihász', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Julio Iglesias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zurab Sotkilava', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Eyal Golan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Louis Tomlinson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ibolya Oláh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ingvar Olsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Edison Toloza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Shiho Onodera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Henk Damen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?t property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Uni_Arge ) ( resource:Dries_Roelvink ) ( resource:Eyal_Golan ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q159 Q801 Q145
P1376
Q56061
USER
Which administrative territories are the capital of those administrative territories ?
(c(Q56061),P1376,Q159) (c(Q56061),P1376,Q801) (c(Q56061),P1376,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q159'] [{'concept': 'Q56061'}, 'P1376', 'Q801'] [{'concept': 'Q56061'}, 'P1376', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P1376 ?m . ?x rdf:type ontology:Q56061 . VALUES ( ?m ) { ( resource:Q28 ) ( resource:Q29 ) ( resource:Q159 ) } }
Russia Israel United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Russia'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Israel'] [{'concept': 'administrative territorial entity'}, 'capital of', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:capital_of ?m . ?x rdf:type ontology:administrative_territorial_entity . VALUES ( ?m ) { ( resource:Hungary ) ( resource:Spain ) ( resource:Russia ) } }
[]
administrative territorial entity
Q649 Q1218 Q84
SYSTEM
Moscow, Jerusalem, London
Q649 Q1218 Q84
(c(Q56061),P1376,Q159) (c(Q56061),P1376,Q801) (c(Q56061),P1376,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[ANSWERS] are the capital of those administrative territories
[{'concept': 'Q56061'}, 'P1376', 'Q159'] [{'concept': 'Q56061'}, 'P1376', 'Q801'] [{'concept': 'Q56061'}, 'P1376', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P1376 ?m . ?x rdf:type ontology:Q56061 . VALUES ( ?m ) { ( resource:Q28 ) ( resource:Q29 ) ( resource:Q159 ) } }
Moscow Jerusalem London
Moscow, Jerusalem and London are the capital of those administrative territories
Moscow Jerusalem London
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Russia'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Israel'] [{'concept': 'administrative territorial entity'}, 'capital of', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:capital_of ?m . ?x rdf:type ontology:administrative_territorial_entity . VALUES ( ?m ) { ( resource:Hungary ) ( resource:Spain ) ( resource:Russia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P136
Q166142
USER
Which applications have association football as genre ?
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q166142 . ?w property:P136 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:application . ?w property:genre resource:association_football }
[]
application
Q725280 Q1313999 Q1415817
SYSTEM
FIFA 07, FIFA Football 2004, Sensible Soccer
Q3285805 Q592758 Q1436475 Q3283738 Q2823774 Q1313999 Q486963 Q3338065 Q612273 Q1851017 Q1469022 Q1415817 Q2037455 Q8035917 Q5282474 Q725280 Q580220 Q3548017 Q8068428 Q2529207 Q543188
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[ANSWERS] have association football as genre
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q166142 . ?w property:P136 resource:Q2736 }
FIFA Soccer Manager FIFA Street 2 Football Superstars Real Football 2008 Actua Soccer FIFA Football 2004 FIFA Online 2 Neo Geo Cup '98: The Road to the Victory FIFA Street International Superstar Soccer International Soccer Sensible Soccer This Is Football World League Soccer 98 Disney Sports Soccer FIFA 07 FIFA Online Ultimate Soccer Zeebo F.C. Foot Camp International Superstar Soccer Deluxe Microprose Soccer
FIFA 07, FIFA Football 2004 and Sensible Soccer have association football as genre
FIFA 07 FIFA Football 2004 Sensible Soccer
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:application . ?w property:genre resource:association_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P30
Q2221906
USER
Where is London located ?
(Q84,P30,c(Q2221906))
action filter_type
action find
entity Q84
relation P30
type Q2221906
['Q84', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2221906 . resource:Q84 property:P30 ?n }
London
action filter_type
action find
entity London
relation continent
type geographic location
['London', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:geographic_location . resource:London property:continent ?n }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q84,P30,c(Q2221906))
action filter_type
action find
entity Q84
relation P30
type Q2221906
London is located in [ANSWER]
['Q84', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2221906 . resource:Q84 property:P30 ?n }
Europe
London is located in Europe
Europe
action filter_type
action find
entity London
relation continent
type geographic location
['London', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:geographic_location . resource:London property:continent ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7226428
Q2221906
USER
And what about Polygon Spur?
(Q7226428,P30,c(Q2221906))
action filter_type
action find
entity Q7226428
relation P30
type Q2221906
['Q7226428', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q7226428 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Polygon Spur
action filter_type
action find
entity Polygon Spur
relation continent
type geographic location
['Polygon Spur', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Polygon_Spur property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q7226428,P30,c(Q2221906))
action filter_type
action find
entity Q7226428
relation P30
type Q2221906
[ANSWER]
['Q7226428', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q7226428 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Polygon Spur
relation continent
type geographic location
['Polygon Spur', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Polygon_Spur property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q2221906
USER
Which geographic locations are max number of geographic locations located on ?
(c(Q2221906),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q919721']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P706 ?t . ?t rdf:type ontology:Q2221906 . ?i rdf:type ontology:Q2221906 } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P706 ?r . ?r rdf:type ontology:Q2221906 . ?x rdf:type ontology:Q2221906 } GROUP BY ?r } . FILTER ( ?v = ?k ) }
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_location . ?i rdf:type ontology:geographic_location } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_location . ?x rdf:type ontology:geographic_location } GROUP BY ?r } . FILTER ( ?v = ?k ) }
[]
geographic location geographic location
Q636672
SYSTEM
Sierra Nevada de Mérida
Q636672
(c(Q2221906),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q2221906
[ANSWER] is max number of geographic locations located on
[{'concept': 'Q2221906'}, 'P706', 'Q919721']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P706 ?t . ?t rdf:type ontology:Q2221906 . ?i rdf:type ontology:Q2221906 } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P706 ?r . ?r rdf:type ontology:Q2221906 . ?x rdf:type ontology:Q2221906 } GROUP BY ?r } . FILTER ( ?v = ?k ) }
Sierra Nevada de Mérida
Sierra Nevada de Mérida is max number of geographic locations located on
Sierra Nevada de Mérida
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_location . ?i rdf:type ontology:geographic_location } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_location . ?x rdf:type ontology:geographic_location } GROUP BY ?r } . FILTER ( ?v = ?k ) }
[]