Simple Question (Direct)
Simple Question
Q14370353
P54
Q12973014
USER
Which sports team is Patrick McLain a member of ?
(Q14370353,P54,c(Q12973014))
action filter_type
action find
entity Q14370353
relation P54
type Q12973014
['Q14370353', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12973014 . resource:Q14370353 property:P54 ?p }
Patrick McLain
action filter_type
action find
entity Patrick McLain
relation member of sports team
type sports team
['Patrick McLain', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_team . resource:Patrick_McLain property:member_of_sports_team ?p }
[]
sports team
Q16850747
SYSTEM
St. Louis USL Pro team
Q16850747
(Q14370353,P54,c(Q12973014))
action filter_type
action find
entity Q14370353
relation P54
type Q12973014
[ANSWER] is Patrick McLain a member of
['Q14370353', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12973014 . resource:Q14370353 property:P54 ?p }
St. Louis USL Pro team
St. Louis USL Pro team is Patrick McLain a member of
St. Louis USL Pro team
action filter_type
action find
entity Patrick McLain
relation member of sports team
type sports team
['Patrick McLain', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_team . resource:Patrick_McLain property:member_of_sports_team ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14370353
P27
Q15617994
USER
Which administrative territory is Patrick McLain an inhabitant of ?
(Q14370353,P27,c(Q15617994))
action filter_type
action find
entity Q14370353
relation P27
type Q15617994
['Q14370353', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q14370353 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Patrick McLain
action filter_type
action find
entity Patrick McLain
relation country of citizenship
type designation for an administrative territorial entity
['Patrick McLain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_McLain property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q14370353,P27,c(Q15617994))
action filter_type
action find
entity Q14370353
relation P27
type Q15617994
[ANSWER] is Patrick McLain an inhabitant of
['Q14370353', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q14370353 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
United States of America is Patrick McLain an inhabitant of
United States of America
action filter_type
action find
entity Patrick McLain
relation country of citizenship
type designation for an administrative territorial entity
['Patrick McLain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_McLain property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?y ) WHERE { ?u property:P530 ?z . ?u rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?u } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?d ) WHERE { ?j property:P530 ?l . ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d = ?m ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?y ) WHERE { ?u property:diplomatic_relation ?z . ?u rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?d ) WHERE { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d = ?m ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have a diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?y ) WHERE { ?u property:P530 ?z . ?u rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?u } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?d ) WHERE { ?j property:P530 ?l . ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d = ?m ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have a diplomatic relationship with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?y ) WHERE { ?u property:diplomatic_relation ?z . ?u rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?d ) WHERE { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q399
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with around the same number of political territories as Armenia ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?x property:P530 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q399 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?e ) }
Armenia
action count
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 Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?x property:diplomatic_relation ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Armenia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?e ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
77
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?x property:P530 ?b . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q399 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?e ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
77
action count
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 Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?x property:diplomatic_relation ?b . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Armenia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with atmost 8 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 8
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:P530 ?h . ?v rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?p <= 8 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 8
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:diplomatic_relation ?h . ?v rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?p <= 8 ) }
[]
political territorial entity political territorial entity
Q183 Q35 Q16
SYSTEM
Germany, Denmark, Canada
Q1000 Q40 Q781 Q778 Q183 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 8
[ANSWERS] have diplomatic relations with atmost 8 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:P530 ?h . ?v rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?p <= 8 ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Germany, Denmark and Canada have diplomatic relations with atmost 8 political territories
Germany Denmark Canada
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 8
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:diplomatic_relation ?h . ?v rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?p <= 8 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1427
Q1048835 Q2912397
USER
Which political territories are the start points of around the same number of single-day races as that political territory ?
(c(Q2912397),P1427,c(Q1048835))
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity single-day race
Comparative|More/Less|Single entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
(c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Did you mean Germany ?
Germany
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2912397),P1427,c(Q1048835))
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
[]
Q183 Q639412 Q12647
SYSTEM
Germany, Tarazona, Vielha e Mijaran
Q572800 Q15907 Q1443867 Q1556707 Q55480 Q937763 Q593620 Q615841 Q183 Q1552975 Q496424 Q1628353 Q301437 Q2264671 Q1628379 Q49661 Q1607762 Q536682 Q641221 Q1647365 Q671341 Q1765676 Q848172 Q1442183 Q847329 Q1766072 Q1605692 Q11492 Q642046 Q1625868 Q430454 Q956524 Q1646362 Q1641632 Q488555 Q371748 Q1375842 Q739495 Q832991 Q1649616 Q474080 Q634078 Q1186888 Q15486 Q499184 Q1629539 Q851020 Q846153 Q1621191 Q668016 Q490638 Q913277 Q12540 Q77433 Q15640 Q492748 Q601112 Q1374736 Q1617896 Q12686 Q533277 Q743741 Q484552 Q636467 Q648921 Q818341 Q564773 Q221749 Q13614 Q639412 Q12647 Q825883 Q976528 Q1771143 Q987453 Q693913 Q1605993 Q604810 Q592747
(c(Q2912397),P1427,c(Q1048835))
[ANSWERS] are the start points of around the same number of single-day races as that political territory
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Alcañiz Rota Los Corrales de Buelna Vila Nova de Cacela Colmenar Viejo Graus Monachil Puebla de Don Fadrique Germany Sabiñánigo Calatayud Sasamón Priego de Córdoba El Palomar Mairena del Alcor Mauren Cenlle Belorado Viveiro Urdazubi/Urdax Betanzos Torredelcampo Caleruega Sober Comillas Santo Domingo de Silos Palomares del Río Mataró Calahorra Alcañices Roa, Burgos Maella Villalpando Jódar Baeza San Lorenzo de El Escorial Ortigueira Vilanova de Arousa Sóller Orio Amorebieta-Etxano Marín, Pontevedra Denbigh Bagà Roquetas de Mar Salvaterra de Miño Xàbia San Roque A Estrada Iurreta Almendralejo Mazarrón Calella Leganés Sant Joan Despí Estepona Pollença Lalín Maceda Rialp Almonaster la Real Felanitx Algeciras Benicàssim Etxebarria Monforte de Lemos Alhendín Torrevieja Banyoles Tarazona Vielha e Mijaran Valls Alhaurín de la Torre Carboneras de Guadazaón San Javier Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
Germany, Tarazona and Vielha e Mijaran are the start points of around the same number of single-day races as that political territory
Germany Tarazona Vielha e Mijaran
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with atmost 1 political territory ?
(c(Q1048835),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1048835 . ?n property:P530 ?q } GROUP BY ?n } . FILTER ( ?s <= 1 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?q } GROUP BY ?n } . FILTER ( ?s <= 1 ) }
[]
political territorial entity political territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1048835 . ?n property:P530 ?q } GROUP BY ?n } . FILTER ( ?s <= 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?s ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?q } GROUP BY ?n } . FILTER ( ?s <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18288148
P1376
Q1048835 Q56061 Q486972
USER
How many political territories have approximately the same number of administrative territories or human settlements as their county seat as Metropolitan City of Florence ?
(c(Q56061)|c(Q486972),P1376,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q18288148
relation P1376
type Q56061
type Q486972
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?e WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P1376 resource:Q18288148 . { VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?g rdf:type ?w } } } . FILTER ( ?o = ?x ) }
Metropolitan City of Florence
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Metropolitan City of Florence
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?e WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:capital_of resource:Metropolitan_City_of_Florence . { VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?g rdf:type ?w } } } . FILTER ( ?o = ?x ) }
[]
political territorial entity administrative territorial entity human settlement
SYSTEM
446
Q7915647 Q7130037 Q132418 Q132410 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q6115 Q3824788 Q6319605 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q6981448 Q3825382 Q8560940 Q7414298 Q3824230 Q103691 Q103699 Q3824339 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q22880 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q205104 Q35672 Q205089 Q3313400 Q5047837 Q2737098 Q10544 Q10469 Q7290462 Q10462 Q1334322 Q10466 Q628370 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q8566 Q6319759 Q3313129 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q103686 Q691 Q5164916 Q3313822 Q6318695 Q632108 Q5096392 Q5031628 Q3312393 Q3908 Q7898 Q7899 Q7893 Q7896 Q1399432 Q933179 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q129286 Q6177392 Q1827027 Q8560764 Q781 Q5705 Q3826003 Q5095925 Q6318859 Q5720 Q10472 Q3391867 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q20264 Q763 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q8048242 Q2718510 Q18221 Q192184 Q2875944 Q5444794 Q593806 Q1730130 Q13714 Q2842398 Q1117137 Q257516 Q505050 Q1787430 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q170672 Q1230021 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q597029 Q3313100 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q5783 Q5785 Q2941 Q368273 Q79965 Q6317226 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10485 Q3031627 Q7380195 Q3825015 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q1478051 Q188732
(c(Q56061)|c(Q486972),P1376,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q18288148
relation P1376
type Q56061
type Q486972
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?e WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P1376 resource:Q18288148 . { VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?g rdf:type ?w } } } . FILTER ( ?o = ?x ) }
Vargas Guerra District Panao District Northern Cape Mpumalanga Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Barnim Yunguyo District Ichocán District Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Nauta District Lampa District Requena District San Ignacio District, Peru Ayaviri District Halland County Gävleborg County Ica District Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Main-Tauber Haquira District North West Máncora District Gauteng Electoral Palatinate Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Puno Region Pitcairn Islands Áncash Region Arahuay District Casa Grande District Jumbilla District Munich (district) Main-Spessart Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Lobería Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Alzey-Worms Sicaya District Cerro Azul District Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Norrbotten County Papua New Guinea Contamana District Pachangara District Pimentel Lincoln Partido Chiclayo District Candarave Ayacucho District Galicia Hersfeld-Rotenburg Fulda Waldeck-Frankenberg Werra-Meißner-Kreis Almirante Brown Huánuco District Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon British Raj Jenaro Herrera District Mar Chiquita Partido Indiana District, Maynas Antigua and Barbuda Catalonia Chucuito District Chicama District Lambayeque District Valencian Country Miltenberg Guadalupe District Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Sächsische Schweiz Saint Kitts and Nevis Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Yanahuanca Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Omate District Fernando Lores District Llata District Later Qin Agusan del Norte Trujillo District Raimondi Oxapampa District Adolfo Gonzales Chaves Niesky District Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dnipropetrovsk Oblast Nieva District Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Bagua Grande District Kimbiri District Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde Lamas District Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Deggendorf Nazca District Rupa-Rupa District Putina District Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District La Oroya District Gomel Region
446
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Metropolitan City of Florence
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?e WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:capital_of resource:Metropolitan_City_of_Florence . { VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?g rdf:type ?w } } } . FILTER ( ?o = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q190550
P1376
Q1048835 Q56061 Q486972
USER
And what about Moravian-Silesian Region?
(c(Q56061)|c(Q486972),P1376,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q190550
relation P1376
type Q56061
type Q486972
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?w rdf:type ?g } GROUP BY ?r } . FILTER ( ?z = ?t ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P1376 resource:Q190550 . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q56061 } } } } }
Moravian-Silesian Region
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Moravian-Silesian Region
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?w rdf:type ?g } GROUP BY ?r } . FILTER ( ?z = ?t ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:capital_of resource:Moravian-Silesian_Region . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:administrative_territorial_entity } } } } }
[]
political territorial entity administrative territorial entity human settlement
SYSTEM
446
Q7915647 Q7130037 Q132418 Q132410 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q6115 Q3824788 Q6319605 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q6981448 Q3825382 Q8560940 Q7414298 Q3824230 Q103691 Q103699 Q3824339 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q22880 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q205104 Q35672 Q205089 Q3313400 Q5047837 Q2737098 Q10544 Q10469 Q7290462 Q10462 Q1334322 Q10466 Q628370 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q8566 Q6319759 Q3313129 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q103686 Q691 Q5164916 Q3313822 Q6318695 Q632108 Q5096392 Q5031628 Q3312393 Q3908 Q7898 Q7899 Q7893 Q7896 Q1399432 Q933179 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q129286 Q6177392 Q1827027 Q8560764 Q781 Q5705 Q3826003 Q5095925 Q6318859 Q5720 Q10472 Q3391867 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q20264 Q763 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q8048242 Q2718510 Q18221 Q192184 Q2875944 Q5444794 Q593806 Q1730130 Q13714 Q2842398 Q1117137 Q257516 Q505050 Q1787430 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q170672 Q1230021 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q597029 Q3313100 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q5783 Q5785 Q2941 Q368273 Q79965 Q6317226 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10485 Q3031627 Q7380195 Q3825015 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q1478051 Q188732
(c(Q56061)|c(Q486972),P1376,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q190550
relation P1376
type Q56061
type Q486972
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?w rdf:type ?g } GROUP BY ?r } . FILTER ( ?z = ?t ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P1376 resource:Q190550 . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q56061 } } } } }
Vargas Guerra District Panao District Northern Cape Mpumalanga Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Barnim Yunguyo District Ichocán District Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Nauta District Lampa District Requena District San Ignacio District, Peru Ayaviri District Halland County Gävleborg County Ica District Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Main-Tauber Haquira District North West Máncora District Gauteng Electoral Palatinate Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Puno Region Pitcairn Islands Áncash Region Arahuay District Casa Grande District Jumbilla District Munich (district) Main-Spessart Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Lobería Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Alzey-Worms Sicaya District Cerro Azul District Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Norrbotten County Papua New Guinea Contamana District Pachangara District Pimentel Lincoln Partido Chiclayo District Candarave Ayacucho District Galicia Hersfeld-Rotenburg Fulda Waldeck-Frankenberg Werra-Meißner-Kreis Almirante Brown Huánuco District Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon British Raj Jenaro Herrera District Mar Chiquita Partido Indiana District, Maynas Antigua and Barbuda Catalonia Chucuito District Chicama District Lambayeque District Valencian Country Miltenberg Guadalupe District Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Sächsische Schweiz Saint Kitts and Nevis Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Yanahuanca Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Omate District Fernando Lores District Llata District Later Qin Agusan del Norte Trujillo District Raimondi Oxapampa District Adolfo Gonzales Chaves Niesky District Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dnipropetrovsk Oblast Nieva District Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Bagua Grande District Kimbiri District Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde Lamas District Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Deggendorf Nazca District Rupa-Rupa District Putina District Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District La Oroya District Gomel Region
446
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Moravian-Silesian Region
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?w rdf:type ?g } GROUP BY ?r } . FILTER ( ?z = ?t ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:capital_of resource:Moravian-Silesian_Region . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:administrative_territorial_entity } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691
P706
Q271669
USER
Which is the landform in which Papua New Guinea is located on ?
(Q691,P706,c(Q271669))
action filter_type
action find
entity Q691
relation P706
type Q271669
['Q691', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?g WHERE { resource:Q691 property:P706 ?g . ?g rdf:type ontology:Q271669 }
Papua New Guinea
action filter_type
action find
entity Papua New Guinea
relation located on terrain feature
type landform
['Papua New Guinea', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?g WHERE { resource:Papua_New_Guinea property:located_on_terrain_feature ?g . ?g rdf:type ontology:landform }
[]
landform
Q40285
SYSTEM
New Guinea
Q40285
(Q691,P706,c(Q271669))
action filter_type
action find
entity Q691
relation P706
type Q271669
[ANSWER] is the landform in which Papua [ANSWER] is located on
['Q691', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?g WHERE { resource:Q691 property:P706 ?g . ?g rdf:type ontology:Q271669 }
New Guinea
New Guinea is the landform in which Papua New Guinea is located on
New Guinea
action filter_type
action find
entity Papua New Guinea
relation located on terrain feature
type landform
['Papua New Guinea', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?g WHERE { resource:Papua_New_Guinea property:located_on_terrain_feature ?g . ?g rdf:type ontology:landform }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1266302
Q271669
USER
And what about Duntulm Castle?
(Q1266302,P706,c(Q271669))
action filter_type
action find
entity Q1266302
relation P706
type Q271669
['Q1266302', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q271669 . resource:Q1266302 property:P706 ?o }
Duntulm Castle
action filter_type
action find
entity Duntulm Castle
relation located on terrain feature
type landform
['Duntulm Castle', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:landform . resource:Duntulm_Castle property:located_on_terrain_feature ?o }
[]
landform
Q107393
SYSTEM
Skye
Q107393
(Q1266302,P706,c(Q271669))
action filter_type
action find
entity Q1266302
relation P706
type Q271669
[ANSWER]
['Q1266302', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q271669 . resource:Q1266302 property:P706 ?o }
Skye
Skye
action filter_type
action find
entity Duntulm Castle
relation located on terrain feature
type landform
['Duntulm Castle', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:landform . resource:Duntulm_Castle property:located_on_terrain_feature ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q107393 Q14594759
P20
Q502895
USER
Does Randolph C. Berkeley have that landform as the area of death ?
(Q14594759,P20,Q107393)
action is_in
entity Q14594759
action find
entity Q107393
relation P20
['Q14594759', 'P20', 'Q107393']
ASK WHERE { resource:Q107393 property:P20 resource:Q14594759 }
Skye Randolph C. Berkeley
action is_in
entity Randolph C. Berkeley
action find
entity Skye
relation place of death
['Randolph C. Berkeley', 'place of death', 'Skye']
ASK WHERE { resource:Skye property:place_of_death resource:Randolph_C._Berkeley }
[]
common name
SYSTEM
NO
(Q14594759,P20,Q107393)
action is_in
entity Q14594759
action find
entity Q107393
relation P20
[ANSWER]
['Q14594759', 'P20', 'Q107393']
ASK WHERE { resource:Q107393 property:P20 resource:Q14594759 }
No
action is_in
entity Randolph C. Berkeley
action find
entity Skye
relation place of death
['Randolph C. Berkeley', 'place of death', 'Skye']
ASK WHERE { resource:Skye property:place_of_death resource:Randolph_C._Berkeley }
[]