Simple Question (Direct)
Simple Question
Q654445
P54
Q1194951
USER
Which national sports team is George Ashmore a member of ?
(Q654445,P54,c(Q1194951))
action filter_type
action find
entity Q654445
relation P54
type Q1194951
['Q654445', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1194951 . resource:Q654445 property:P54 ?c }
George Ashmore
action filter_type
action find
entity George Ashmore
relation member of sports team
type national sports team
['George Ashmore', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:national_sports_team . resource:George_Ashmore property:member_of_sports_team ?c }
[]
national sports team
Q47762
SYSTEM
England national football team
Q47762
(Q654445,P54,c(Q1194951))
action filter_type
action find
entity Q654445
relation P54
type Q1194951
The [ANSWER] is George Ashmore a member of
['Q654445', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1194951 . resource:Q654445 property:P54 ?c }
England national football team
The England national football team is George Ashmore a member of
England national football team
action filter_type
action find
entity George Ashmore
relation member of sports team
type national sports team
['George Ashmore', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:national_sports_team . resource:George_Ashmore property:member_of_sports_team ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q654445
P19
Q56061
USER
Which administrative territory was George Ashmore born in ?
(Q654445,P19,c(Q56061))
action filter_type
action find
entity Q654445
relation P19
type Q56061
['Q654445', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q654445 property:P19 ?u }
George Ashmore
action filter_type
action find
entity George Ashmore
relation place of birth
type administrative territorial entity
['George Ashmore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:George_Ashmore property:place_of_birth ?u }
[]
administrative territorial entity
Q43382
SYSTEM
Plymouth
Q43382
(Q654445,P19,c(Q56061))
action filter_type
action find
entity Q654445
relation P19
type Q56061
George Ashmore was born in [ANSWER]
['Q654445', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q654445 property:P19 ?u }
Plymouth
George Ashmore was born in Plymouth
Plymouth
action filter_type
action find
entity George Ashmore
relation place of birth
type administrative territorial entity
['George Ashmore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:George_Ashmore property:place_of_birth ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43382
P740
Q2088357
USER
What were formed at that administrative territory ?
(c(Q2088357),P740,Q43382)
action filter_type
action find_reverse
entity Q43382
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q43382']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q43382 . ?g rdf:type ontology:Q2088357 }
Plymouth
action filter_type
action find_reverse
entity Plymouth
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Plymouth']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:Plymouth . ?g rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7043908 Q5001198 Q6725943
SYSTEM
NoComply, Bus Station Loonies, Mad Dog Mcrea
Q7043908 Q5001198 Q6725943
(c(Q2088357),P740,Q43382)
action filter_type
action find_reverse
entity Q43382
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q43382']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q43382 . ?g rdf:type ontology:Q2088357 }
NoComply Bus Station Loonies Mad Dog Mcrea
NoComply, Bus Station Loonies and Mad Dog Mcrea were formed at that administrative territory
NoComply Bus Station Loonies Mad Dog Mcrea
action filter_type
action find_reverse
entity Plymouth
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Plymouth']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:Plymouth . ?g rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7043908 Q5001198 Q6725943
P740
Q56061
USER
Where did those musical ensembles orginate ?
(Q7043908,P740,c(Q56061)) (Q5001198,P740,c(Q56061)) (Q6725943,P740,c(Q56061))
action filter_type
action find
entity prev_answer
relation P740
type Q56061
['Q7043908', 'P740', {'concept': 'Q56061'}] ['Q5001198', 'P740', {'concept': 'Q56061'}] ['Q6725943', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:Q7043908 ) ( resource:Q5001198 ) ( resource:Q6725943 ) } . ?z property:P740 ?v . ?v rdf:type ontology:Q56061 }
NoComply Bus Station Loonies Mad Dog Mcrea
action filter_type
action find
entity prev_answer
relation location of formation
type administrative territorial entity
['NoComply', 'location of formation', {'concept': 'administrative territorial entity'}] ['Bus Station Loonies', 'location of formation', {'concept': 'administrative territorial entity'}] ['Mad Dog Mcrea', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:NoComply ) ( resource:Bus_Station_Loonies ) ( resource:Mad_Dog_Mcrea ) } . ?z property:location_of_formation ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43382 Q43382 Q43382
SYSTEM
Plymouth
Q43382 Q43382 Q43382
(Q7043908,P740,c(Q56061)) (Q5001198,P740,c(Q56061)) (Q6725943,P740,c(Q56061))
action filter_type
action find
entity prev_answer
relation P740
type Q56061
Those musical ensembles orginated in [ANSWER], [ANSWER] and [ANSWER]
['Q7043908', 'P740', {'concept': 'Q56061'}] ['Q5001198', 'P740', {'concept': 'Q56061'}] ['Q6725943', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:Q7043908 ) ( resource:Q5001198 ) ( resource:Q6725943 ) } . ?z property:P740 ?v . ?v rdf:type ontology:Q56061 }
Plymouth Plymouth Plymouth
Those musical ensembles orginated in Plymouth, Plymouth and Plymouth
Plymouth Plymouth Plymouth
action filter_type
action find
entity prev_answer
relation location of formation
type administrative territorial entity
['NoComply', 'location of formation', {'concept': 'administrative territorial entity'}] ['Bus Station Loonies', 'location of formation', {'concept': 'administrative territorial entity'}] ['Mad Dog Mcrea', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:NoComply ) ( resource:Bus_Station_Loonies ) ( resource:Mad_Dog_Mcrea ) } . ?z property:location_of_formation ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43382
P190
Q56061
USER
Which administrative territories are the sister cities of Plymouth ?
(Q43382,P190,c(Q56061))
action filter_type
action find
entity Q43382
relation P190
type Q56061
['Q43382', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q43382 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Plymouth
action filter_type
action find
entity Plymouth
relation sister city
type administrative territorial entity
['Plymouth', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Plymouth property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q385 Q15760 Q10313
SYSTEM
Gdynia, Novorossiysk, Donostia/San Sebastián
Q385 Q15760 Q10313
(Q43382,P190,c(Q56061))
action filter_type
action find
entity Q43382
relation P190
type Q56061
[ANSWERS] are the sister cities of Plymouth
['Q43382', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q43382 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Gdynia Novorossiysk Donostia/San Sebastián
Gdynia, Novorossiysk and Donostia/San Sebastián are the sister cities of Plymouth
Gdynia Novorossiysk Donostia/San Sebastián
action filter_type
action find
entity Plymouth
relation sister city
type administrative territorial entity
['Plymouth', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Plymouth property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6506
Q56061
USER
And what about Varna?
(Q6506,P190,c(Q56061))
action filter_type
action find
entity Q6506
relation P190
type Q56061
['Q6506', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q6506 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Varna
action filter_type
action find
entity Varna
relation sister city
type administrative territorial entity
['Varna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Varna property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492 Q1874 Q727
SYSTEM
Barcelona, Odessa, Amsterdam
Q1018448 Q1874 Q727 Q187352 Q42308 Q24826 Q269 Q180522 Q26421 Q16563 Q211828 Q38511 Q81581 Q58976 Q1449 Q2861 Q25416 Q25410 Q1492 Q883
(Q6506,P190,c(Q56061))
action filter_type
action find
entity Q6506
relation P190
type Q56061
[ANSWERS]
['Q6506', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q6506 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Washington Odessa Amsterdam Kavala Kharkiv Liverpool Tashkent Aqaba Dordrecht Memphis Bayburt Turku Szeged Piraeus Genoa Rostock Stavanger Aalborg Barcelona Novosibirsk
Barcelona Odessa Amsterdam
action filter_type
action find
entity Varna
relation sister city
type administrative territorial entity
['Varna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Varna property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6506
P190
Q56061
USER
Are Varna twin city of those ones ?
(Q6506,P190,Q1492) (Q6506,P190,Q1874) (Q6506,P190,Q727)
action is_in
entity prev_answer
action find
entity Q6506
relation P190
['Q6506', 'P190', 'Q1492'] ['Q6506', 'P190', 'Q1874'] ['Q6506', 'P190', 'Q727']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1018448 ) ( resource:Q1874 ) ( resource:Q727 ) } . resource:Q6506 property:P190 ?l }
Varna
action is_in
entity prev_answer
action find
entity Varna
relation sister city
['Varna', 'sister city', 'Barcelona'] ['Varna', 'sister city', 'Odessa'] ['Varna', 'sister city', 'Amsterdam']
ASK WHERE { VALUES ( ?l ) { ( resource:Washington ) ( resource:Odessa ) ( resource:Amsterdam ) } . resource:Varna property:sister_city ?l }
[]
administrative territorial entity
SYSTEM
YES
(Q6506,P190,Q1492) (Q6506,P190,Q1874) (Q6506,P190,Q727)
action is_in
entity prev_answer
action find
entity Q6506
relation P190
[ANSWER]
['Q6506', 'P190', 'Q1492'] ['Q6506', 'P190', 'Q1874'] ['Q6506', 'P190', 'Q727']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1018448 ) ( resource:Q1874 ) ( resource:Q727 ) } . resource:Q6506 property:P190 ?l }
Yes
action is_in
entity prev_answer
action find
entity Varna
relation sister city
['Varna', 'sister city', 'Barcelona'] ['Varna', 'sister city', 'Odessa'] ['Varna', 'sister city', 'Amsterdam']
ASK WHERE { VALUES ( ?l ) { ( resource:Washington ) ( resource:Odessa ) ( resource:Amsterdam ) } . resource:Varna property:sister_city ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P1376
Q7275
USER
Which states have Amsterdam as their capital ?
(Q727,P1376,c(Q7275))
action filter_type
action find
entity Q727
relation P1376
type Q7275
['Q727', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q727 property:P1376 ?z . ?z rdf:type ontology:Q7275 }
Amsterdam
action filter_type
action find
entity Amsterdam
relation capital of
type state
['Amsterdam', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Amsterdam property:capital_of ?z . ?z rdf:type ontology:state }
[]
state
Q774783 Q15864
SYSTEM
Sovereign Principality of the United Netherlands, United Kingdom of the Netherlands
Q774783 Q15864
(Q727,P1376,c(Q7275))
action filter_type
action find
entity Q727
relation P1376
type Q7275
[ANSWERS] have Amsterdam as their capital
['Q727', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q727 property:P1376 ?z . ?z rdf:type ontology:Q7275 }
Sovereign Principality of the United Netherlands United Kingdom of the Netherlands
Sovereign Principality of the United Netherlands and United Kingdom of the Netherlands have Amsterdam as their capital
Sovereign Principality of the United Netherlands United Kingdom of the Netherlands
action filter_type
action find
entity Amsterdam
relation capital of
type state
['Amsterdam', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Amsterdam property:capital_of ?z . ?z rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q988400
Q7275
USER
And how about Mangup?
(Q988400,P1376,c(Q7275))
action filter_type
action find
entity Q988400
relation P1376
type Q7275
['Q988400', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q988400 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Mangup
action filter_type
action find
entity Mangup
relation capital of
type state
['Mangup', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Mangup property:capital_of ?p . ?p rdf:type ontology:state }
[]
state
Q874954
SYSTEM
Principality of Theodoro
Q874954
(Q988400,P1376,c(Q7275))
action filter_type
action find
entity Q988400
relation P1376
type Q7275
[ANSWER]
['Q988400', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q988400 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Principality of Theodoro
Principality of Theodoro
action filter_type
action find
entity Mangup
relation capital of
type state
['Mangup', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Mangup property:capital_of ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q988400
P36
Q7275
USER
Which state consists of that administrative territory as its capital ?
(c(Q7275),P36,Q874954)
action filter_type
action find_reverse
entity Q988400
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q874954']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q988400 . ?p rdf:type ontology:Q7275 }
Mangup
action filter_type
action find_reverse
entity Mangup
relation capital
type state
[{'concept': 'state'}, 'capital', 'Principality of Theodoro']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Mangup . ?p rdf:type ontology:state }
[]
state
Q874954
SYSTEM
Principality of Theodoro
Q874954
(c(Q7275),P36,Q874954)
action filter_type
action find_reverse
entity Q988400
relation P36
type Q7275
[ANSWER] consists of that administrative territory as its capital
[{'concept': 'Q7275'}, 'P36', 'Q874954']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q988400 . ?p rdf:type ontology:Q7275 }
Principality of Theodoro
Principality of Theodoro consists of that administrative territory as its capital
Principality of Theodoro
action filter_type
action find_reverse
entity Mangup
relation capital
type state
[{'concept': 'state'}, 'capital', 'Principality of Theodoro']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Mangup . ?p rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43382
P17
Q15617994
USER
Which administrative territory is Plymouth present in ?
(Q43382,P17,c(Q15617994))
action filter_type
action find
entity Q43382
relation P17
type Q15617994
['Q43382', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q43382 property:P17 ?p }
Plymouth
action filter_type
action find
entity Plymouth
relation country
type designation for an administrative territorial entity
['Plymouth', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Plymouth property:country ?p }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q43382,P17,c(Q15617994))
action filter_type
action find
entity Q43382
relation P17
type Q15617994
Plymouth is the [ANSWER]
['Q43382', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q43382 property:P17 ?p }
United Kingdom
Plymouth is the United Kingdom
United Kingdom
action filter_type
action find
entity Plymouth
relation country
type designation for an administrative territorial entity
['Plymouth', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Plymouth property:country ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43382
P119
Q502895
USER
Who has that administrative territory as his/her tomb ?
(c(Q502895),P119,Q145)
action filter_type
action find_reverse
entity Q43382
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P119 resource:Q43382 . ?c rdf:type ontology:Q502895 }
Plymouth
action filter_type
action find_reverse
entity Plymouth
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:place_of_burial resource:Plymouth . ?c rdf:type ontology:common_name }
[]
common name
Q686218
SYSTEM
John Huxham
Q686218
(c(Q502895),P119,Q145)
action filter_type
action find_reverse
entity Q43382
relation P119
type Q502895
[ANSWER] has that administrative territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P119 resource:Q43382 . ?c rdf:type ontology:Q502895 }
John Huxham
John Huxham has that administrative territory as his/her tomb
John Huxham
action filter_type
action find_reverse
entity Plymouth
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:place_of_burial resource:Plymouth . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q486972 Q15617994
USER
Which administrative territories are approximately 2 administrative territories and human settlements the capital of ?
(c(Q15617994),P36,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 2
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?z WHERE { { ?z property:P36 ?q . ?z rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q56061 } UNION { ?z property:P36 ?q . ?z rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q486972 } } GROUP BY ?z } . FILTER ( ?y = 2 ) }
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?z WHERE { { ?z property:capital ?q . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?z property:capital ?q . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:human_settlement } } GROUP BY ?z } . FILTER ( ?y = 2 ) }
[]
administrative territorial entity human settlement designation for an administrative territorial entity
Q30 Q230 Q17
SYSTEM
United States of America, Georgia, Japan
Q258 Q1020 Q41 Q30 Q230 Q199688 Q12536 Q517333 Q17
(c(Q15617994),P36,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 2
[ANSWERS] are approximately 2 administrative territories and human settlements the capital of
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?z WHERE { { ?z property:P36 ?q . ?z rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q56061 } UNION { ?z property:P36 ?q . ?z rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q486972 } } GROUP BY ?z } . FILTER ( ?y = 2 ) }
South Africa Malawi Greece United States of America Georgia Almohad Abbasid caliphate Principality of Polotsk Japan
United States of America, Georgia and Japan are approximately 2 administrative territories and human settlements the capital of
United States of America Georgia Japan
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?z WHERE { { ?z property:capital ?q . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?z property:capital ?q . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:human_settlement } } GROUP BY ?z } . FILTER ( ?y = 2 ) }
[]