Simple Question (Direct)
Simple Question
Q340094
P6
Q502895
USER
Who is the head of the government of Vilasantar ?
(Q340094,P6,c(Q502895))
action filter_type
action find
entity Q340094
relation P6
type Q502895
['Q340094', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q340094 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Vilasantar
action filter_type
action find
entity Vilasantar
relation head of government
type common name
['Vilasantar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Vilasantar property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q12388414
SYSTEM
Fernando Javier Pérez Fernández
Q12388414
(Q340094,P6,c(Q502895))
action filter_type
action find
entity Q340094
relation P6
type Q502895
The head of the government of Vilasantar is the [ANSWER]
['Q340094', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q340094 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Fernando Javier Pérez Fernández
The head of the government of Vilasantar is the Fernando Javier Pérez Fernández
Fernando Javier Pérez Fernández
action filter_type
action find
entity Vilasantar
relation head of government
type common name
['Vilasantar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Vilasantar property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12388414
P102
Q7278
USER
Which political party is that person a member of ?
(Q12388414,P102,c(Q7278))
action filter_type
action find
entity Q12388414
relation P102
type Q7278
['Q12388414', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q12388414 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Fernando Javier Pérez Fernández
action filter_type
action find
entity Fernando Javier Pérez Fernández
relation member of political party
type political party
['Fernando Javier Pérez Fernández', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Fernando_Javier_Pérez_Fernández property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q2031569
SYSTEM
People's Party of Galicia
Q2031569
(Q12388414,P102,c(Q7278))
action filter_type
action find
entity Q12388414
relation P102
type Q7278
[ANSWER] is that person a member of
['Q12388414', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q12388414 property:P102 ?c . ?c rdf:type ontology:Q7278 }
People's Party of Galicia
People's Party of Galicia is that person a member of
People's Party of Galicia
action filter_type
action find
entity Fernando Javier Pérez Fernández
relation member of political party
type political party
['Fernando Javier Pérez Fernández', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Fernando_Javier_Pérez_Fernández property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8291523
Q7278
USER
And how about Fang Fengyou?
(Q8291523,P102,c(Q7278))
action filter_type
action find
entity Q8291523
relation P102
type Q7278
['Q8291523', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q8291523 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Fang Fengyou
action filter_type
action find
entity Fang Fengyou
relation member of political party
type political party
['Fang Fengyou', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Fang_Fengyou property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q17427
SYSTEM
Communist Party of China
Q17427
(Q8291523,P102,c(Q7278))
action filter_type
action find
entity Q8291523
relation P102
type Q7278
[ANSWER]
['Q8291523', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q8291523 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Communist Party of China
Communist Party of China
action filter_type
action find
entity Fang Fengyou
relation member of political party
type political party
['Fang Fengyou', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Fang_Fengyou property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17427 Q3837651
P112
Q502895
USER
that political party ?
(Q17427,P112,Q3837651)
action is_in
entity Q3837651
action find
entity Q17427
relation P112
['Q17427', 'P112', 'Q3837651']
ASK WHERE { resource:Q17427 property:P112 resource:Q3837651 }
Communist Party of China Louisse Parfait
action is_in
entity Louisse Parfait
action find
entity Communist Party of China
relation founder
['Communist Party of China', 'founder', 'Louisse Parfait']
ASK WHERE { resource:Communist_Party_of_China property:founder resource:Louisse_Parfait }
[]
common name
SYSTEM
NO
(Q17427,P112,Q3837651)
action is_in
entity Q3837651
action find
entity Q17427
relation P112
[ANSWER]
['Q17427', 'P112', 'Q3837651']
ASK WHERE { resource:Q17427 property:P112 resource:Q3837651 }
No
action is_in
entity Louisse Parfait
action find
entity Communist Party of China
relation founder
['Communist Party of China', 'founder', 'Louisse Parfait']
ASK WHERE { resource:Communist_Party_of_China property:founder resource:Louisse_Parfait }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2031569 Q14953
P17
Q15617994
USER
Is People's Party of Galicia situated in Lage ?
(Q2031569,P17,Q14953)
action is_in
entity Q14953
action find
entity Q2031569
relation P17
['Q2031569', 'P17', 'Q14953']
ASK WHERE { resource:Q2031569 property:P17 resource:Q14953 }
People's Party of Galicia Lage
action is_in
entity Lage
action find
entity People's Party of Galicia
relation country
["People's Party of Galicia", 'country', 'Lage']
ASK WHERE { resource:People's_Party_of_Galicia property:country resource:Lage }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2031569,P17,Q14953)
action is_in
entity Q14953
action find
entity Q2031569
relation P17
[ANSWER]
['Q2031569', 'P17', 'Q14953']
ASK WHERE { resource:Q2031569 property:P17 resource:Q14953 }
No
action is_in
entity Lage
action find
entity People's Party of Galicia
relation country
["People's Party of Galicia", 'country', 'Lage']
ASK WHERE { resource:People's_Party_of_Galicia property:country resource:Lage }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17427 Q99829
P488
Q502895
USER
Did Zhao Ziyang chair Communist Party of China ?
(Q17427,P488,Q99829)
action is_in
entity Q99829
action find
entity Q17427
relation P488
['Q17427', 'P488', 'Q99829']
ASK WHERE { resource:Q17427 property:P488 resource:Q99829 }
Communist Party of China Zhao Ziyang
action is_in
entity Zhao Ziyang
action find
entity Communist Party of China
relation chairperson
['Communist Party of China', 'chairperson', 'Zhao Ziyang']
ASK WHERE { resource:Communist_Party_of_China property:chairperson resource:Zhao_Ziyang }
[]
common name
SYSTEM
YES
(Q17427,P488,Q99829)
action is_in
entity Q99829
action find
entity Q17427
relation P488
[ANSWER]
['Q17427', 'P488', 'Q99829']
ASK WHERE { resource:Q17427 property:P488 resource:Q99829 }
Yes
action is_in
entity Zhao Ziyang
action find
entity Communist Party of China
relation chairperson
['Communist Party of China', 'chairperson', 'Zhao Ziyang']
ASK WHERE { resource:Communist_Party_of_China property:chairperson resource:Zhao_Ziyang }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12388414 Q7370046
P27
Q15617994
USER
Is Fernando Javier Pérez Fernández a civilian of Roston ?
(Q12388414,P27,Q7370046)
action is_in
entity Q7370046
action find
entity Q12388414
relation P27
['Q12388414', 'P27', 'Q7370046']
ASK WHERE { resource:Q12388414 property:P27 resource:Q7370046 }
Fernando Javier Pérez Fernández Roston
action is_in
entity Roston
action find
entity Fernando Javier Pérez Fernández
relation country of citizenship
['Fernando Javier Pérez Fernández', 'country of citizenship', 'Roston']
ASK WHERE { resource:Fernando_Javier_Pérez_Fernández property:country_of_citizenship resource:Roston }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12388414,P27,Q7370046)
action is_in
entity Q7370046
action find
entity Q12388414
relation P27
[ANSWER]
['Q12388414', 'P27', 'Q7370046']
ASK WHERE { resource:Q12388414 property:P27 resource:Q7370046 }
No
action is_in
entity Roston
action find
entity Fernando Javier Pérez Fernández
relation country of citizenship
['Fernando Javier Pérez Fernández', 'country of citizenship', 'Roston']
ASK WHERE { resource:Fernando_Javier_Pérez_Fernández property:country_of_citizenship resource:Roston }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q340094 Q5744057
P17
Q15617994
USER
Does Vilasantar belong to Herricks Union Free School District ?
(Q340094,P17,Q5744057)
action is_in
entity Q5744057
action find
entity Q340094
relation P17
['Q340094', 'P17', 'Q5744057']
ASK WHERE { resource:Q340094 property:P17 resource:Q5744057 }
Vilasantar Herricks Union Free School District
action is_in
entity Herricks Union Free School District
action find
entity Vilasantar
relation country
['Vilasantar', 'country', 'Herricks Union Free School District']
ASK WHERE { resource:Vilasantar property:country resource:Herricks_Union_Free_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q340094,P17,Q5744057)
action is_in
entity Q5744057
action find
entity Q340094
relation P17
[ANSWER]
['Q340094', 'P17', 'Q5744057']
ASK WHERE { resource:Q340094 property:P17 resource:Q5744057 }
No
action is_in
entity Herricks Union Free School District
action find
entity Vilasantar
relation country
['Vilasantar', 'country', 'Herricks Union Free School District']
ASK WHERE { resource:Vilasantar property:country resource:Herricks_Union_Free_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q811979 Q483110
USER
Which political territories do exactly 1 architectural structures and stadia belong to ?
(c(Q811979)|c(Q483110),P127,c(Q1048835))
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P127 ?k . ?d rdf:type ontology:Q811979 . ?k rdf:type ontology:Q1048835 } UNION { ?k rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q483110 . ?d property:P127 ?k } } GROUP BY ?k } }
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
value 1
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:owned_by ?k . ?d rdf:type ontology:architectural_structure . ?k rdf:type ontology:political_territorial_entity } UNION { ?k rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:stadium . ?d property:owned_by ?k } } GROUP BY ?k } }
[]
political territorial entity architectural structure stadium
Q5783 Q54902 Q5756
SYSTEM
Andalusia, Fuenlabrada, Community of Madrid
Q318314 Q192387 Q217838 Q6339 Q5783 Q741765 Q13862 Q276176 Q54902 Q849584 Q2271 Q207111 Q5756
(c(Q811979)|c(Q483110),P127,c(Q1048835))
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
value 1
[ANSWERS] exactly 1 architectural structures and stadia belong to
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P127 ?k . ?d rdf:type ontology:Q811979 . ?k rdf:type ontology:Q1048835 } UNION { ?k rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q483110 . ?d property:P127 ?k } } GROUP BY ?k } }
Ipatinga Londrina Stirling Erzgebirgskreis Andalusia San Fernando Negros Occidental Volta Redonda Fuenlabrada Jaraguá do Sul South Sumatra North Lanarkshire Community of Madrid
Andalusia, Fuenlabrada and Community of Madrid exactly 1 architectural structures and stadia belong to
Andalusia Fuenlabrada Community of Madrid
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
value 1
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:owned_by ?k . ?d rdf:type ontology:architectural_structure . ?k rdf:type ontology:political_territorial_entity } UNION { ?k rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:stadium . ?d property:owned_by ?k } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q735759
P190
Q15617994 Q13220204 Q1048835
USER
How many political territories are a sister city of approximately the same number of administrative territories and administrative country subdivisions as Collado Villalba ?
(c(Q1048835),P190,c(Q15617994)|c(Q13220204))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action count
action filter_multi_types
action find
entity Q735759
relation P190
type Q15617994
type Q13220204
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?r rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q735759 property:P190 ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } } } . FILTER ( ?o = ?c ) }
Collado Villalba
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Collado Villalba
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?z WHERE { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?r rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Collado_Villalba property:sister_city ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } } } . FILTER ( ?o = ?c ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision political territorial entity
SYSTEM
304
Q484717 Q5963 Q1794732 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q910410 Q2101408 Q187826 Q1312844 Q1391501 Q926713 Q15619 Q321331 Q1853429 Q686837 Q476793 Q919050 Q12590 Q433632 Q842713 Q210887 Q30002 Q659450 Q189952 Q693258 Q644891 Q15470 Q1312654 Q168376 Q496368 Q624967 Q11286 Q20937 Q496588 Q208669 Q7909 Q109188 Q538809 Q815631 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q1750915 Q832246 Q2566267 Q752137 Q164867 Q12647 Q11746 Q499922 Q376393 Q3741 Q2392504 Q1161455 Q211889 Q820229 Q54902 Q840362 Q596761 Q398698 Q1616611 Q12110 Q1621191 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q1606055 Q787022 Q844784 Q5123 Q1110343 Q4970 Q1769167 Q13785 Q178993 Q3850873 Q161945 Q917693 Q485129 Q156819 Q1757489 Q1613282 Q375925 Q550974 Q956558 Q12690 Q1010314 Q1915208 Q741765 Q478818 Q15602 Q737161 Q1410782 Q583280 Q180981 Q695889 Q15174 Q489839 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q12022 Q500494 Q1635711 Q3397684 Q205681 Q48344 Q11822 Q15429 Q8184 Q8182 Q691525 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q739495 Q15551 Q15553 Q973325 Q15558 Q462218 Q937763 Q898563 Q693913 Q641221 Q840373 Q767222 Q42956 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q192370 Q377244 Q216802 Q1993019 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q170247 Q47475 Q642046 Q4068849 Q1024828 Q492533 Q845424 Q487096 Q491667 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q13490 Q936624 Q534483 Q615722 Q995637 Q465085 Q729958 Q468563 Q918586 Q944264 Q943431 Q632621 Q581589 Q932808 Q122208 Q696797 Q1794121 Q1751908 Q18288148 Q763 Q502975 Q477311 Q15652 Q984529 Q1228759 Q488555 Q49571 Q695456 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q668324 Q582995 Q697126 Q11720 Q1272870 Q1651692 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q42780 Q919046 Q497692 Q984821 Q837051 Q619692 Q16572 Q1641746 Q15597 Q1637309 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q290824 Q13755 Q2244278 Q1368868 Q1982975 Q13614 Q6839 Q7911 Q318314 Q749696 Q41161 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15622 Q3303729 Q10485 Q1657213 Q240 Q1607392 Q904212 Q946068 Q192387 Q842211 Q1242382 Q203040 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q714613 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q15617994)|c(Q13220204))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action count
action filter_multi_types
action find
entity Q735759
relation P190
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?r rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q735759 property:P190 ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } } } . FILTER ( ?o = ?c ) }
San Sebastián de los Reyes Hanover region Maracanaú Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Tres Cantos Guimarães Móstoles Alberic Briviesca Parintins El Prat de Llobregat Novo Hamburgo Valverde Karrantza Arévalo Molina de Aragón Malgrat de Mar Santa Cruz de La Palma Itajaí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente L'Hospitalet de Llobregat Carlet Vitória Wrexham Arafo Castelló d'Empúries Gyeonggi Province Oñati Maringá Main-Taunus-Kreis Pelotas Peligros Belinho Sant Joan de les Abadesses Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Callosa de Segura Duruelo de la Sierra San Borja Tàrrega Rügen Vielha e Mijaran Wuhan Porto Seguro Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael East Dunbartonshire Tomelloso Fuenlabrada Mondoñedo Malpica de Bergantiños Salvatierra/Agurain Crevillent Arenys de Mar A Estrada Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Caudete Autol Vale of Glamorgan Monzón Vélez-Rubio Hangzhou Cigales Cavite Palmas Rivne Torrent Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Alcaudete Vila Nova de Cerveira Atarfe Sádaba Sort Museros Torredonjimeno San Fernando São José dos Pinhais Cornellà de Llobregat Calanda Iznalloz Uncastillo Kirovohrad Oblast Alfaro, La Rioja Shenzhen Torrejón de Ardoz Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Montgat Padrón Abanilla Pontarddulais Cascavel Recife Roses Martorelles Enz Rastatt Villa El Salvador District Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto Collado Villalba Vilanova de Arousa Sitges Vilanova i la Geltrú Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas Medina del Campo Viveiro Valdemoro Clavijo Harbin Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Linares Tartu County Catoira Falkirk Meliana Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Jinan Sigüenza Calahorra Argoncilhe Luso Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Palafrugell Fuentepelayo Barcarrota Santa Fe Torredembarra Almadén Mochola Nova Friburgo Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Archena Oyón-Oion Ormaiztegi Olocau Balaguer Aquiraz San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro Amposta Viladecans Cariñena La Unión Baeza Sos del Rey Católico Bailén Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã San Adrián Lanjarón Bridgend County Borough Shenyang Santiago de Figueiró Tudela de Duero Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Ningbo Consuegra Arganda del Rey Onda Mequinenza La Zubia Guangzhou Huelma Castelldefels Ezcaray East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Ondara Bulacan Tías, Las Palmas Berantevilla Los Alcázares Banyoles Figueres Main-Kinzig-Kreis Ipatinga Albalat de la Ribera South Jeolla Province Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Gavà Magdalena del Mar Deggendorf Venta de Baños Brussels Madridejos Fraga Lezama Londrina San Fernando de Henares Elorrio El Puerto de Santa María Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Serne Utrillas Santo Domingo de la Calzada Puertollano Canfranc
304
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Collado Villalba
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?z WHERE { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?r rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Collado_Villalba property:sister_city ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } } } . FILTER ( ?o = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q192387
P190
Q15617994 Q13220204 Q1048835
USER
And how about Londrina?
(c(Q1048835),P190,c(Q15617994)|c(Q13220204))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action count
action filter_multi_types
action find
entity Q192387
relation P190
type Q15617994
type Q13220204
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { { ?g property:P190 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P190 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q13220204 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q192387 property:P190 ?a . { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q13220204 } } } } . FILTER ( ?b = ?c ) }
Londrina
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Londrina
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { { ?g property:sister_city ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:sister_city ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Londrina property:sister_city ?a . { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?b = ?c ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision political territorial entity
SYSTEM
304
Q484717 Q5963 Q1794732 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q910410 Q2101408 Q187826 Q1312844 Q1391501 Q926713 Q15619 Q321331 Q1853429 Q686837 Q476793 Q919050 Q12590 Q433632 Q842713 Q210887 Q30002 Q659450 Q189952 Q693258 Q644891 Q15470 Q1312654 Q168376 Q496368 Q624967 Q11286 Q20937 Q496588 Q208669 Q7909 Q109188 Q538809 Q815631 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q1750915 Q832246 Q2566267 Q752137 Q164867 Q12647 Q11746 Q499922 Q376393 Q3741 Q2392504 Q1161455 Q211889 Q820229 Q54902 Q840362 Q596761 Q398698 Q1616611 Q12110 Q1621191 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q1606055 Q787022 Q844784 Q5123 Q1110343 Q4970 Q1769167 Q13785 Q178993 Q3850873 Q161945 Q917693 Q485129 Q156819 Q1757489 Q1613282 Q375925 Q550974 Q956558 Q12690 Q1010314 Q1915208 Q741765 Q478818 Q15602 Q737161 Q1410782 Q583280 Q180981 Q695889 Q15174 Q489839 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q12022 Q500494 Q1635711 Q3397684 Q205681 Q48344 Q11822 Q15429 Q8184 Q8182 Q691525 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q739495 Q15551 Q15553 Q973325 Q15558 Q462218 Q937763 Q898563 Q693913 Q641221 Q840373 Q767222 Q42956 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q192370 Q377244 Q216802 Q1993019 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q170247 Q47475 Q642046 Q4068849 Q1024828 Q492533 Q845424 Q487096 Q491667 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q13490 Q936624 Q534483 Q615722 Q995637 Q465085 Q729958 Q468563 Q918586 Q944264 Q943431 Q632621 Q581589 Q932808 Q122208 Q696797 Q1794121 Q1751908 Q18288148 Q763 Q502975 Q477311 Q15652 Q984529 Q1228759 Q488555 Q49571 Q695456 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q668324 Q582995 Q697126 Q11720 Q1272870 Q1651692 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q42780 Q919046 Q497692 Q984821 Q837051 Q619692 Q16572 Q1641746 Q15597 Q1637309 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q290824 Q13755 Q2244278 Q1368868 Q1982975 Q13614 Q6839 Q7911 Q318314 Q749696 Q41161 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15622 Q3303729 Q10485 Q1657213 Q240 Q1607392 Q904212 Q946068 Q192387 Q842211 Q1242382 Q203040 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q714613 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q15617994)|c(Q13220204))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action count
action filter_multi_types
action find
entity Q192387
relation P190
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { { ?g property:P190 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P190 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q13220204 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q192387 property:P190 ?a . { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q13220204 } } } } . FILTER ( ?b = ?c ) }
San Sebastián de los Reyes Hanover region Maracanaú Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Tres Cantos Guimarães Móstoles Alberic Briviesca Parintins El Prat de Llobregat Novo Hamburgo Valverde Karrantza Arévalo Molina de Aragón Malgrat de Mar Santa Cruz de La Palma Itajaí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente L'Hospitalet de Llobregat Carlet Vitória Wrexham Arafo Castelló d'Empúries Gyeonggi Province Oñati Maringá Main-Taunus-Kreis Pelotas Peligros Belinho Sant Joan de les Abadesses Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Callosa de Segura Duruelo de la Sierra San Borja Tàrrega Rügen Vielha e Mijaran Wuhan Porto Seguro Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael East Dunbartonshire Tomelloso Fuenlabrada Mondoñedo Malpica de Bergantiños Salvatierra/Agurain Crevillent Arenys de Mar A Estrada Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Caudete Autol Vale of Glamorgan Monzón Vélez-Rubio Hangzhou Cigales Cavite Palmas Rivne Torrent Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Alcaudete Vila Nova de Cerveira Atarfe Sádaba Sort Museros Torredonjimeno San Fernando São José dos Pinhais Cornellà de Llobregat Calanda Iznalloz Uncastillo Kirovohrad Oblast Alfaro, La Rioja Shenzhen Torrejón de Ardoz Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Montgat Padrón Abanilla Pontarddulais Cascavel Recife Roses Martorelles Enz Rastatt Villa El Salvador District Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto Collado Villalba Vilanova de Arousa Sitges Vilanova i la Geltrú Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas Medina del Campo Viveiro Valdemoro Clavijo Harbin Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Linares Tartu County Catoira Falkirk Meliana Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Jinan Sigüenza Calahorra Argoncilhe Luso Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Palafrugell Fuentepelayo Barcarrota Santa Fe Torredembarra Almadén Mochola Nova Friburgo Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Archena Oyón-Oion Ormaiztegi Olocau Balaguer Aquiraz San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro Amposta Viladecans Cariñena La Unión Baeza Sos del Rey Católico Bailén Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã San Adrián Lanjarón Bridgend County Borough Shenyang Santiago de Figueiró Tudela de Duero Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Ningbo Consuegra Arganda del Rey Onda Mequinenza La Zubia Guangzhou Huelma Castelldefels Ezcaray East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Ondara Bulacan Tías, Las Palmas Berantevilla Los Alcázares Banyoles Figueres Main-Kinzig-Kreis Ipatinga Albalat de la Ribera South Jeolla Province Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Gavà Magdalena del Mar Deggendorf Venta de Baños Brussels Madridejos Fraga Lezama Londrina San Fernando de Henares Elorrio El Puerto de Santa María Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Serne Utrillas Santo Domingo de la Calzada Puertollano Canfranc
304
action count
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Londrina
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { { ?g property:sister_city ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:sister_city ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Londrina property:sister_city ?a . { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?b = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q419
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with approximately the same number of political territories as Peru ?
(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 Q419
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q419 property:P530 ?h } } . FILTER ( ?v = ?q ) }
Peru
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 Peru
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Peru property:diplomatic_relation ?h } } . FILTER ( ?v = ?q ) }
[]
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 Q419
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with approximately the same number of political territories as Peru
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q419 property:P530 ?h } } . FILTER ( ?v = ?q ) }
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 have diplomatic relationships with approximately the same number of political territories as Peru
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 Peru
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Peru property:diplomatic_relation ?h } } . FILTER ( ?v = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1028
P530
Q15617994 Q1048835
USER
And what about Morocco?
(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 Q1028
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?s property:P530 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1028 property:P530 ?g } } . FILTER ( ?t = ?j ) }
Morocco
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 Morocco
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?s property:diplomatic_relation ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morocco property:diplomatic_relation ?g } } . FILTER ( ?t = ?j ) }
[]
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 Q1028
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?s property:P530 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1028 property:P530 ?g } } . FILTER ( ?t = ?j ) }
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 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 Morocco
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?s property:diplomatic_relation ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morocco property:diplomatic_relation ?g } } . FILTER ( ?t = ?j ) }
[]