Simple Question (Direct)
Simple Question
Q3296421
P21
Q290
USER
What is the sex of María Antonia Martínez ?
(Q3296421,P21,c(Q290))
action filter_type
action find
entity Q3296421
relation P21
type Q290
['Q3296421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q3296421 property:P21 ?u }
María Antonia Martínez
action filter_type
action find
entity María Antonia Martínez
relation gender
type sex
['María Antonia Martínez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:María_Antonia_Martínez property:gender ?u }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3296421,P21,c(Q290))
action filter_type
action find
entity Q3296421
relation P21
type Q290
The sex of María Antonia Martínez is the [ANSWER]
['Q3296421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q3296421 property:P21 ?u }
female
The sex of María Antonia Martínez is the female
female
action filter_type
action find
entity María Antonia Martínez
relation gender
type sex
['María Antonia Martínez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:María_Antonia_Martínez property:gender ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3296421
P39
Q12737077
USER
Which occupation was a position held by María Antonia Martínez ?
(Q3296421,P39,c(Q12737077))
action filter_type
action find
entity Q3296421
relation P39
type Q12737077
['Q3296421', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3296421 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
María Antonia Martínez
action filter_type
action find
entity María Antonia Martínez
relation position held
type occupation
['María Antonia Martínez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:María_Antonia_Martínez property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q19323171
SYSTEM
Member of the Senate of Spain
Q19323171
(Q3296421,P39,c(Q12737077))
action filter_type
action find
entity Q3296421
relation P39
type Q12737077
[ANSWER] was a position held by María Antonia Martínez
['Q3296421', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3296421 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the Senate of Spain
Member of the Senate of Spain was a position held by María Antonia Martínez
Member of the Senate of Spain
action filter_type
action find
entity María Antonia Martínez
relation position held
type occupation
['María Antonia Martínez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:María_Antonia_Martínez property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19323171
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that occupation ?
(Q19323171,P1001,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P1001
type Q15617994
['Q19323171', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19323171 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
Member of the Senate of Spain
action filter_type
action find
entity Member of the Senate of Spain
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Senate of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Senate_of_Spain property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q19323171,P1001,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that occupation
['Q19323171', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19323171 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
Spain
Spain belongs to jurisdiction of that occupation
Spain
action filter_type
action find
entity Member of the Senate of Spain
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Senate of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Senate_of_Spain property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19323171
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q29,P17,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P17
type Q15617994
['Q29', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19323171 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Member of the Senate of Spain
action filter_type
action find
entity Member of the Senate of Spain
relation country
type designation for an administrative territorial entity
['Spain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Member_of_the_Senate_of_Spain property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q29,P17,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P17
type Q15617994
That occupation is in [ANSWER]
['Q29', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19323171 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Spain
That occupation is in Spain
Spain
action filter_type
action find
entity Member of the Senate of Spain
relation country
type designation for an administrative territorial entity
['Spain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Member_of_the_Senate_of_Spain property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q11921711
P27
Q502895
USER
Is Federico Melchor a civilian of that administrative territory ?
(Q11921711,P27,Q29)
action is_in
entity Q29
action find
entity Q11921711
relation P27
['Q11921711', 'P27', 'Q29']
ASK WHERE { resource:Q11921711 property:P27 resource:Q29 }
Spain Federico Melchor
action is_in
entity Spain
action find
entity Federico Melchor
relation country of citizenship
['Federico Melchor', 'country of citizenship', 'Spain']
ASK WHERE { resource:Federico_Melchor property:country_of_citizenship resource:Spain }
[]
common name
SYSTEM
YES
(Q11921711,P27,Q29)
action is_in
entity Q29
action find
entity Q11921711
relation P27
[ANSWER]
['Q11921711', 'P27', 'Q29']
ASK WHERE { resource:Q11921711 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Federico Melchor
relation country of citizenship
['Federico Melchor', 'country of citizenship', 'Spain']
ASK WHERE { resource:Federico_Melchor property:country_of_citizenship resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3296421 Q16917917 Q7059654
P27
Q15617994
USER
Is María Antonia Martínez a native of Union County Schools and Northridge Local School District ?
(Q3296421,P27,Q16917917) (Q3296421,P27,Q7059654)
action is_in
entity Q3296421
action intersection
action find_reverse
entity Q16917917
relation P27
action find_reverse
entity Q7059654
relation P27
['Q3296421', 'P27', 'Q16917917'] ['Q3296421', 'P27', 'Q7059654']
ASK WHERE { resource:Q3296421 property:P27 resource:Q16917917 . resource:Q3296421 property:P27 resource:Q7059654 }
María Antonia Martínez Union County Schools Northridge Local School District
action is_in
entity María Antonia Martínez
action intersection
action find_reverse
entity Union County Schools
relation country of citizenship
action find_reverse
entity Northridge Local School District
relation country of citizenship
['María Antonia Martínez', 'country of citizenship', 'Union County Schools'] ['María Antonia Martínez', 'country of citizenship', 'Northridge Local School District']
ASK WHERE { resource:María_Antonia_Martínez property:country_of_citizenship resource:Union_County_Schools . resource:María_Antonia_Martínez property:country_of_citizenship resource:Northridge_Local_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3296421,P27,Q16917917) (Q3296421,P27,Q7059654)
action is_in
entity Q3296421
action intersection
action find_reverse
entity Q16917917
relation P27
action find_reverse
entity Q7059654
relation P27
[ANSWER]
['Q3296421', 'P27', 'Q16917917'] ['Q3296421', 'P27', 'Q7059654']
ASK WHERE { resource:Q3296421 property:P27 resource:Q16917917 . resource:Q3296421 property:P27 resource:Q7059654 }
No
action is_in
entity María Antonia Martínez
action intersection
action find_reverse
entity Union County Schools
relation country of citizenship
action find_reverse
entity Northridge Local School District
relation country of citizenship
['María Antonia Martínez', 'country of citizenship', 'Union County Schools'] ['María Antonia Martínez', 'country of citizenship', 'Northridge Local School District']
ASK WHERE { resource:María_Antonia_Martínez property:country_of_citizenship resource:Union_County_Schools . resource:María_Antonia_Martínez property:country_of_citizenship resource:Northridge_Local_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with min number of political territories and administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?k WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?a WHERE { { ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?a property:P530 ?v } UNION { ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?a property:P530 ?v } } GROUP BY ?a } . FILTER ( ?r = ?g ) }
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?k WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?a WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?v } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?v } } GROUP BY ?a } . FILTER ( ?r = ?g ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q842 Q29999 Q262
SYSTEM
Oman, Kingdom of the Netherlands, Algeria
Q702 Q262 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q986 Q242 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q921 Q1027 Q1020 Q842 Q1037 Q974 Q1032 Q965 Q967 Q697 Q695 Q754 Q912 Q1007 Q1006 Q1005 Q1008 Q971 Q683 Q686 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have ambassadorial relations with min number of political territories and administrative territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?k WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?a WHERE { { ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?a property:P530 ?v } UNION { ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?a property:P530 ?v } } GROUP BY ?a } . FILTER ( ?r = ?g ) }
Federated States of Micronesia Algeria Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Eritrea Belize Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan Brunei Mauritius Malawi Oman Rwanda Democratic Republic of the Congo Niger Burkina Faso Burundi Nauru Palau Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Oman, Kingdom of the Netherlands and Algeria have ambassadorial relations with min number of political territories and administrative territories
Oman Kingdom of the Netherlands Algeria
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?k WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?a WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?v } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?v } } GROUP BY ?a } . FILTER ( ?r = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q243128
P180
Q15617994 Q838948 Q340169
USER
Which administrative territories are depicted in approximately the same number of works of art or medias as Olevano Romano ?
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q243128
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P180 ?z . ?f rdf:type ontology:Q340169 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?o rdf:type ?p } . ?o property:P180 resource:Q243128 } } . FILTER ( ?m = ?e ) }
Olevano Romano
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Olevano Romano
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art } UNION { ?f property:depicts ?z . ?f rdf:type ontology:media . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:media ) } . ?o rdf:type ?p } . ?o property:depicts resource:Olevano_Romano } } . FILTER ( ?m = ?e ) }
[]
designation for an administrative territorial entity work of art media
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q243128
relation P180
type Q838948
type Q340169
[ANSWERS] are depicted in approximately the same number of works of art or medias as Olevano Romano
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P180 ?z . ?f rdf:type ontology:Q340169 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?o rdf:type ?p } . ?o property:P180 resource:Q243128 } } . FILTER ( ?m = ?e ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
Italy, Brazil and Russia are depicted in approximately the same number of works of art or medias as Olevano Romano
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Olevano Romano
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art } UNION { ?f property:depicts ?z . ?f rdf:type ontology:media . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:media ) } . ?o rdf:type ?p } . ?o property:depicts resource:Olevano_Romano } } . FILTER ( ?m = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1016
P180
Q15617994 Q838948 Q340169
USER
And how about Libya?
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?o ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?r rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P180 resource:Q1016 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q340169 } } } } . FILTER ( ?o = ?b ) }
Libya
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Libya
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?o ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:media ) } . ?r rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:depicts resource:Libya . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:media } } } } . FILTER ( ?o = ?b ) }
[]
designation for an administrative territorial entity work of art media
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P180
type Q838948
type Q340169
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?o ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?r rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P180 resource:Q1016 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q340169 } } } } . FILTER ( ?o = ?b ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Libya
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?o ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:media ) } . ?r rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:depicts resource:Libya . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:media } } } } . FILTER ( ?o = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1000
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with around the same number of administrative territories as Gabon ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?i ) WHERE { ?o property:P530 ?n . ?o rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q1000 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?i = ?u ) }
Gabon
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?i ) WHERE { ?o property:diplomatic_relation ?n . ?o rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Gabon property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?i = ?u ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?i ) WHERE { ?o property:P530 ?n . ?o rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q1000 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?i = ?u ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?i ) WHERE { ?o property:diplomatic_relation ?n . ?o rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Gabon property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?i = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And what about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?v ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q16 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Canada
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?v ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Canada property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?v ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q16 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?v ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Canada property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q585105 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are not Richmond Township present in ?
AND((Q16,P530,c(Q15617994)), NOT((Q585105,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q585105
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q585105', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q16 property:P530 ?a . MINUS { resource:Q585105 property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
Richmond Township Canada
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Richmond Township
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Richmond Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Canada property:diplomatic_relation ?a . MINUS { resource:Richmond_Township property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q804 Q43 Q1030 Q159 Q218 Q258 Q928 Q29999 Q39
SYSTEM
Some of them are Indonesia, Panama, Turkey, Namibia, Russia, Romania, South Africa, Philippines, Kingdom of the Netherlands, Switzerland
Q804 Q801 Q843 Q1029 Q1028 Q145 Q229 Q33 Q36 Q79 Q34 Q77 Q39 Q38 Q878 Q739 Q833 Q711 Q1030 Q851 Q29999 Q928 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
AND((Q16,P530,c(Q15617994)), NOT((Q585105,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q585105
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Canada and are not Richmond Township present in
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q585105', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q16 property:P530 ?a . MINUS { resource:Q585105 property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
Panama Israel Pakistan Mozambique Morocco United Kingdom Cyprus Finland Poland Egypt Sweden Uruguay Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Philippines Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
Indonesia, Panama, Turkey, Namibia, Russia, Romania, South Africa, Philippines, Kingdom of the Netherlands and Switzerland have diplomatic relationships with Canada and are not Richmond Township present in
Indonesia Panama Turkey Namibia Russia Romania South Africa Philippines Kingdom of the Netherlands Switzerland
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Richmond Township
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Richmond Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Canada property:diplomatic_relation ?a . MINUS { resource:Richmond_Township property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories inspired greater number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q43
SYSTEM
Did you mean Turkey ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Turkey ?
Turkey
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Russia. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q159
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
1
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P38
Q8142
USER
What is used as the currency of Russia ?
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?x WHERE { resource:Q159 property:P38 ?x . ?x rdf:type ontology:Q8142 }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?x WHERE { resource:Russia property:currency ?x . ?x rdf:type ontology:currency }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
[ANSWER] is used as the currency of Russia
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?x WHERE { resource:Q159 property:P38 ?x . ?x rdf:type ontology:Q8142 }
Soviet ruble
Soviet ruble is used as the currency of Russia
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?x WHERE { resource:Russia property:currency ?x . ?x rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q55
Q8142
USER
And what about Netherlands?
(Q55,P38,c(Q8142))
action filter_type
action find
entity Q55
relation P38
type Q8142
['Q55', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { resource:Q55 property:P38 ?p . ?p rdf:type ontology:Q8142 }
Netherlands
action filter_type
action find
entity Netherlands
relation currency
type currency
['Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { resource:Netherlands property:currency ?p . ?p rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q55,P38,c(Q8142))
action filter_type
action find
entity Q55
relation P38
type Q8142
[ANSWER]
['Q55', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { resource:Q55 property:P38 ?p . ?p rdf:type ontology:Q8142 }
United States dollar
United States dollar
action filter_type
action find
entity Netherlands
relation currency
type currency
['Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { resource:Netherlands property:currency ?p . ?p rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q805
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Yemen ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?k ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q805 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?t ) }
Yemen
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Yemen
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?k ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Yemen property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q148 Q801
SYSTEM
France, People's Republic of China, Israel
Q801 Q805 Q142 Q145 Q148 Q403 Q17 Q1011
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Yemen
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?k ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q805 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?t ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Japan Cape Verde
France, People's Republic of China and Israel have diplomatic relationships with around the same number of administrative territories as Yemen
France People's Republic of China Israel
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Yemen
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?k ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Yemen property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q115
P530
Q15617994 Q15617994
USER
And how about Ethiopia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q115
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q115 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?q ) }
Ethiopia
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Ethiopia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q115
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q115 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?q ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Ethiopia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?q ) }
[]