Simple Question (Direct)
Simple Question
Q5041693
P54
Q1194951
USER
Which national sports team is Carlos Alberto Mijangos a member of ?
(Q5041693,P54,c(Q1194951))
action filter_type
action find
entity Q5041693
relation P54
type Q1194951
['Q5041693', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q5041693 property:P54 ?l }
Carlos Alberto Mijangos
action filter_type
action find
entity Carlos Alberto Mijangos
relation member of sports team
type national sports team
['Carlos Alberto Mijangos', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Carlos_Alberto_Mijangos property:member_of_sports_team ?l }
[]
national sports team
Q270168
SYSTEM
Guatemala national football team
Q270168
(Q5041693,P54,c(Q1194951))
action filter_type
action find
entity Q5041693
relation P54
type Q1194951
[ANSWER] is Carlos Alberto Mijangos a member of
['Q5041693', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q5041693 property:P54 ?l }
Guatemala national football team
Guatemala national football team is Carlos Alberto Mijangos a member of
Guatemala national football team
action filter_type
action find
entity Carlos Alberto Mijangos
relation member of sports team
type national sports team
['Carlos Alberto Mijangos', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Carlos_Alberto_Mijangos property:member_of_sports_team ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270168
P466
Q483110
USER
Which stadium is inhabited by that national sports team ?
(c(Q483110),P466,Q270168)
action filter_type
action find_reverse
entity Q270168
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q270168']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q483110 . ?c property:P466 resource:Q270168 }
Guatemala national football team
action filter_type
action find_reverse
entity Guatemala national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Guatemala national football team']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:stadium . ?c property:occupant resource:Guatemala_national_football_team }
[]
stadium
Q582585
SYSTEM
Estadio Doroteo Guamuch Flores
Q582585
(c(Q483110),P466,Q270168)
action filter_type
action find_reverse
entity Q270168
relation P466
type Q483110
[ANSWER] is inhabited by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q270168']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q483110 . ?c property:P466 resource:Q270168 }
Estadio Doroteo Guamuch Flores
Estadio Doroteo Guamuch Flores is inhabited by that national sports team
Estadio Doroteo Guamuch Flores
action filter_type
action find_reverse
entity Guatemala national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Guatemala national football team']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:stadium . ?c property:occupant resource:Guatemala_national_football_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270168
P641
Q349
USER
What did Guatemala national football team participate in ?
(Q270168,P641,c(Q349))
action filter_type
action find
entity Q270168
relation P641
type Q349
['Q270168', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q270168 property:P641 ?w . ?w rdf:type ontology:Q349 }
Guatemala national football team
action filter_type
action find
entity Guatemala national football team
relation sport
type sport
['Guatemala national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Guatemala_national_football_team property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q270168,P641,c(Q349))
action filter_type
action find
entity Q270168
relation P641
type Q349
Guatemala national football team participated in [ANSWER]
['Q270168', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q270168 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Guatemala national football team participated in association football
association football
action filter_type
action find
entity Guatemala national football team
relation sport
type sport
['Guatemala national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Guatemala_national_football_team property:sport ?w . ?w rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q163740 Q483110
USER
How many nonprofit organizations own around 1 stadium ?
(c(Q483110),P127,c(Q163740))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
value 1
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P127 ?y . ?b rdf:type ontology:Q483110 . ?y rdf:type ontology:Q163740 } GROUP BY ?y } . FILTER ( ?a = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
value 1
[{'concept': 'stadium'}, 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:owned_by ?y . ?b rdf:type ontology:stadium . ?y rdf:type ontology:nonprofit_organization } GROUP BY ?y } . FILTER ( ?a = 1 ) }
[]
nonprofit organization stadium
SYSTEM
2
Q1191335 Q2164222
(c(Q483110),P127,c(Q163740))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
value 1
[ANSWER]
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P127 ?y . ?b rdf:type ontology:Q483110 . ?y rdf:type ontology:Q163740 } GROUP BY ?y } . FILTER ( ?a = 1 ) }
Colgate University Rollins College
2
action count
action approx
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
value 1
[{'concept': 'stadium'}, 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:owned_by ?y . ?b rdf:type ontology:stadium . ?y rdf:type ontology:nonprofit_organization } GROUP BY ?y } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q582585
P17
Q15617994
USER
Which administrative territory is Estadio Doroteo Guamuch Flores present in ?
(Q582585,P17,c(Q15617994))
action filter_type
action find
entity Q582585
relation P17
type Q15617994
['Q582585', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q582585 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Estadio Doroteo Guamuch Flores
action filter_type
action find
entity Estadio Doroteo Guamuch Flores
relation country
type designation for an administrative territorial entity
['Estadio Doroteo Guamuch Flores', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Estadio_Doroteo_Guamuch_Flores property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q774
SYSTEM
Guatemala
Q774
(Q582585,P17,c(Q15617994))
action filter_type
action find
entity Q582585
relation P17
type Q15617994
Estadio Doroteo Guamuch Flores is from [ANSWER]
['Q582585', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q582585 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Guatemala
Estadio Doroteo Guamuch Flores is from Guatemala
Guatemala
action filter_type
action find
entity Estadio Doroteo Guamuch Flores
relation country
type designation for an administrative territorial entity
['Estadio Doroteo Guamuch Flores', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Estadio_Doroteo_Guamuch_Flores property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q774 Q4144643 Q619685
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Hornostaivka, Novotroitske Raion and Villanueva Mesía ?
(Q774,P530,Q4144643) (Q774,P530,Q619685)
action is_in
entity Q774
action intersection
action find_reverse
entity Q4144643
relation P530
action find_reverse
entity Q619685
relation P530
['Q774', 'P530', 'Q4144643'] ['Q774', 'P530', 'Q619685']
ASK WHERE { resource:Q774 property:P530 resource:Q619685 . resource:Q774 property:P530 resource:Q4144643 }
Guatemala Hornostaivka, Novotroitske Raion Villanueva Mesía
action is_in
entity Guatemala
action intersection
action find_reverse
entity Hornostaivka, Novotroitske Raion
relation diplomatic relation
action find_reverse
entity Villanueva Mesía
relation diplomatic relation
['Guatemala', 'diplomatic relation', 'Hornostaivka, Novotroitske Raion'] ['Guatemala', 'diplomatic relation', 'Villanueva Mesía']
ASK WHERE { resource:Guatemala property:diplomatic_relation resource:Villanueva_Mesía . resource:Guatemala property:diplomatic_relation resource:Hornostaivka,_Novotroitske_Raion }
[]
political territorial entity
SYSTEM
NO
(Q774,P530,Q4144643) (Q774,P530,Q619685)
action is_in
entity Q774
action intersection
action find_reverse
entity Q4144643
relation P530
action find_reverse
entity Q619685
relation P530
[ANSWER]
['Q774', 'P530', 'Q4144643'] ['Q774', 'P530', 'Q619685']
ASK WHERE { resource:Q774 property:P530 resource:Q619685 . resource:Q774 property:P530 resource:Q4144643 }
No
action is_in
entity Guatemala
action intersection
action find_reverse
entity Hornostaivka, Novotroitske Raion
relation diplomatic relation
action find_reverse
entity Villanueva Mesía
relation diplomatic relation
['Guatemala', 'diplomatic relation', 'Hornostaivka, Novotroitske Raion'] ['Guatemala', 'diplomatic relation', 'Villanueva Mesía']
ASK WHERE { resource:Guatemala property:diplomatic_relation resource:Villanueva_Mesía . resource:Guatemala property:diplomatic_relation resource:Hornostaivka,_Novotroitske_Raion }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q270168 Q774
P17
Q15617994
USER
Is Guatemala national football team located in Guatemala ?
(Q270168,P17,Q774)
action is_in
entity Q774
action find
entity Q270168
relation P17
['Q270168', 'P17', 'Q774']
ASK WHERE { resource:Q270168 property:P17 resource:Q774 }
Guatemala national football team Guatemala
action is_in
entity Guatemala
action find
entity Guatemala national football team
relation country
['Guatemala national football team', 'country', 'Guatemala']
ASK WHERE { resource:Guatemala_national_football_team property:country resource:Guatemala }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q270168,P17,Q774)
action is_in
entity Q774
action find
entity Q270168
relation P17
[ANSWER]
['Q270168', 'P17', 'Q774']
ASK WHERE { resource:Q270168 property:P17 resource:Q774 }
Yes
action is_in
entity Guatemala
action find
entity Guatemala national football team
relation country
['Guatemala national football team', 'country', 'Guatemala']
ASK WHERE { resource:Guatemala_national_football_team property:country resource:Guatemala }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1429761
P36
Q515 Q56061 Q15617994
USER
Which administrative territories consists of lesser number of cities and administrative territories as their capital than Patuakhali District ?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1429761
relation P36
type Q515
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?l ) WHERE { { ?q property:P36 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q56061 } UNION { ?q property:P36 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q515 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q1429761 property:P36 ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?l < ?w ) }
Patuakhali District
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Patuakhali District
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?l ) WHERE { { ?q property:capital ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?q property:capital ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Patuakhali_District property:capital ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?l < ?w ) }
[]
city administrative territorial entity designation for an administrative territorial entity
Q224 Q739 Q965
SYSTEM
Croatia, Colombia, Burkina Faso
Q12631 Q2991354 Q3368 Q1111401 Q504637 Q2998020 Q3044731 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q16628524 Q12798 Q12792 Q1284 Q1443 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q541589 Q12804 Q12808 Q1961264 Q3326 Q3286 Q12589 Q3266 Q3105 Q731547 Q33788 Q709 Q12740 Q12745 Q12779 Q2093388 Q12607 Q290739 Q598193 Q12576 Q1452646 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q697 Q12730 Q12736 Q2039306 Q662056 Q12657 Q12652 Q12556 Q694594 Q874 Q12816 Q4854468 Q2528268 Q3353 Q3357 Q492437 Q389004 Q492430 Q3278 Q3184 Q9073753 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q511365 Q1270568 Q34762 Q793437 Q1270623 Q580447 Q10957559 Q965 Q962 Q2344833 Q3125 Q3120 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q474421 Q3349 Q3083 Q3249 Q3164 Q12761 Q12765 Q224 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q12679 Q3846423 Q176 Q161258 Q4496152 Q3514973 Q3113 Q12789 Q1234961 Q1222 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q515)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1429761
relation P36
type Q515
type Q56061
[ANSWERS] consist of lesser number of cities and administrative territories as their capital than Patuakhali District
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?l ) WHERE { { ?q property:P36 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q56061 } UNION { ?q property:P36 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q515 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q1429761 property:P36 ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?l < ?w ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Alta Verapaz Department Corse Guyane Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay San Salvador el Verde municipality Vendée Vaucluse Abruzzo Molise Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Loiret Morbihan Amatitlán Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Manche Charente Vosges Lippe New Caledonia Marshall Islands Sarthe Savoie Tarn-et-Garonne Sunamganj District Haute-Marne Sesia Apennins Lot Montenotte Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Nauru Haute-Saône Saône-et-Loire Jamalpur District Cushamen Department Nièvre Moselle Indre-et-Loire Bremen-Verden Turkmenistan Yonne Bandava Mont-Blanc Creuse Dordogne Bouches-du-Weser Wallachia Bouches-de-l'Elbe Charente-Maritime Ariège San Vicente Tancuayalab municipality Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Arvika Municipality Ems Principality of Bayreuth Bergantiños Meurthe Duchy of Styria Moldavia Burkina Faso Benin Kishoreganj District Hautes-Alpes Jura Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Principality of Fürstenberg Côtes-d'Armor Ain Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Croatia Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Orne Viesca Municipality Quebec Clipperton Island Khartsyzk Municipality Tanaro Allier Var Doire Aosta Valley Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Croatia, Colombia and Burkina Faso consist of lesser number of cities and administrative territories as their capital than Patuakhali District
Croatia Colombia Burkina Faso
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Patuakhali District
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?l ) WHERE { { ?q property:capital ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?q property:capital ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Patuakhali_District property:capital ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?l < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1789890
P36
Q515 Q56061 Q15617994
USER
And what about West Rand District Municipality?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1789890
relation P36
type Q515
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q1789890 property:P36 ?j . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?v < ?c ) }
West Rand District Municipality
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity West Rand District Municipality
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:West_Rand_District_Municipality property:capital ?j . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?v < ?c ) }
[]
city administrative territorial entity designation for an administrative territorial entity
Q224 Q739 Q965
SYSTEM
Croatia, Colombia, Burkina Faso
Q12631 Q2991354 Q3368 Q1111401 Q504637 Q2998020 Q3044731 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q16628524 Q12798 Q12792 Q1284 Q1443 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q541589 Q12804 Q12808 Q1961264 Q3326 Q3286 Q12589 Q3266 Q3105 Q731547 Q33788 Q709 Q12740 Q12745 Q12779 Q2093388 Q12607 Q290739 Q598193 Q12576 Q1452646 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q697 Q12730 Q12736 Q2039306 Q662056 Q12657 Q12652 Q12556 Q694594 Q874 Q12816 Q4854468 Q2528268 Q3353 Q3357 Q492437 Q389004 Q492430 Q3278 Q3184 Q9073753 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q511365 Q1270568 Q34762 Q793437 Q1270623 Q580447 Q10957559 Q965 Q962 Q2344833 Q3125 Q3120 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q474421 Q3349 Q3083 Q3249 Q3164 Q12761 Q12765 Q224 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q12679 Q3846423 Q176 Q161258 Q4496152 Q3514973 Q3113 Q12789 Q1234961 Q1222 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q515)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1789890
relation P36
type Q515
type Q56061
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q1789890 property:P36 ?j . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?v < ?c ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Alta Verapaz Department Corse Guyane Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay San Salvador el Verde municipality Vendée Vaucluse Abruzzo Molise Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Loiret Morbihan Amatitlán Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Manche Charente Vosges Lippe New Caledonia Marshall Islands Sarthe Savoie Tarn-et-Garonne Sunamganj District Haute-Marne Sesia Apennins Lot Montenotte Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Nauru Haute-Saône Saône-et-Loire Jamalpur District Cushamen Department Nièvre Moselle Indre-et-Loire Bremen-Verden Turkmenistan Yonne Bandava Mont-Blanc Creuse Dordogne Bouches-du-Weser Wallachia Bouches-de-l'Elbe Charente-Maritime Ariège San Vicente Tancuayalab municipality Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Arvika Municipality Ems Principality of Bayreuth Bergantiños Meurthe Duchy of Styria Moldavia Burkina Faso Benin Kishoreganj District Hautes-Alpes Jura Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Principality of Fürstenberg Côtes-d'Armor Ain Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Croatia Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Orne Viesca Municipality Quebec Clipperton Island Khartsyzk Municipality Tanaro Allier Var Doire Aosta Valley Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Croatia Colombia Burkina Faso
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity West Rand District Municipality
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:West_Rand_District_Municipality property:capital ?j . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?v < ?c ) }
[]