Simple Question (Direct)
Simple Question
Q9017903
P410
Q4189293
USER
Which is the title held by Konrad Guderski ?
(Q9017903,P410,c(Q4189293))
action filter_type
action find
entity Q9017903
relation P410
type Q4189293
['Q9017903', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q9017903 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
Konrad Guderski
action filter_type
action find
entity Konrad Guderski
relation military rank
type title
['Konrad Guderski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Konrad_Guderski property:military_rank ?v . ?v rdf:type ontology:title }
[]
title
Q2397385
SYSTEM
Podporucznik
Q2397385
(Q9017903,P410,c(Q4189293))
action filter_type
action find
entity Q9017903
relation P410
type Q4189293
[ANSWER] is the title held by Konrad Guderski
['Q9017903', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q9017903 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
Podporucznik
Podporucznik is the title held by Konrad Guderski
Podporucznik
action filter_type
action find
entity Konrad Guderski
relation military rank
type title
['Konrad Guderski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Konrad_Guderski property:military_rank ?v . ?v rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9017903
P607
Q198
USER
Which battle did Konrad Guderski take part in ?
(Q9017903,P607,c(Q198))
action filter_type
action find
entity Q9017903
relation P607
type Q198
['Q9017903', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q9017903 property:P607 ?m }
Konrad Guderski
action filter_type
action find
entity Konrad Guderski
relation conflict
type war
['Konrad Guderski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Konrad_Guderski property:conflict ?m }
[]
war
Q362
SYSTEM
World War II
Q362
(Q9017903,P607,c(Q198))
action filter_type
action find
entity Q9017903
relation P607
type Q198
Konrad Guderski took part in [ANSWER]
['Q9017903', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q9017903 property:P607 ?m }
World War II
Konrad Guderski took part in World War II
World War II
action filter_type
action find
entity Konrad Guderski
relation conflict
type war
['Konrad Guderski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Konrad_Guderski property:conflict ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9017903
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q9017903
relation P27
type Q15617994
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q9017903 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Konrad Guderski
action filter_type
action find
entity Konrad Guderski
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Guderski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q9017903
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q9017903 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Poland
Poland is that person a civilian of
Poland
action filter_type
action find
entity Konrad Guderski
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Guderski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q4713960
P27
Q502895
USER
Is Aldona Młyńczak a citizen of that administrative territory ?
(Q4713960,P27,Q36)
action is_in
entity Q36
action find
entity Q4713960
relation P27
['Q4713960', 'P27', 'Q36']
ASK WHERE { resource:Q4713960 property:P27 resource:Q36 }
Poland Aldona Młyńczak
action is_in
entity Poland
action find
entity Aldona Młyńczak
relation country of citizenship
['Aldona Młyńczak', 'country of citizenship', 'Poland']
ASK WHERE { resource:Aldona_Młyńczak property:country_of_citizenship resource:Poland }
[]
common name
SYSTEM
YES
(Q4713960,P27,Q36)
action is_in
entity Q36
action find
entity Q4713960
relation P27
[ANSWER]
['Q4713960', 'P27', 'Q36']
ASK WHERE { resource:Q4713960 property:P27 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Aldona Młyńczak
relation country of citizenship
['Aldona Młyńczak', 'country of citizenship', 'Poland']
ASK WHERE { resource:Aldona_Młyńczak property:country_of_citizenship resource:Poland }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2173268 Q9017903
P19
Q486972
USER
Which human settlements were Konrad Guderski or Rudolf König born ?
OR((Q9017903,P19,c(Q486972)), (Q2173268,P19,c(Q486972)))
action filter_type
action union
action find
entity Q9017903
relation P19
action find
entity Q2173268
relation P19
type Q486972
{'OR': [['Q9017903', 'P19', {'concept': 'Q486972'}], ['Q2173268', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q486972 . { { resource:Q9017903 property:P19 ?x } UNION { resource:Q2173268 property:P19 ?x } } }
Rudolf König Konrad Guderski
action filter_type
action union
action find
entity Konrad Guderski
relation place of birth
action find
entity Rudolf König
relation place of birth
type human settlement
{'OR': [['Konrad Guderski', 'place of birth', {'concept': 'human settlement'}], ['Rudolf König', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_settlement . { { resource:Konrad_Guderski property:place_of_birth ?x } UNION { resource:Rudolf_König property:place_of_birth ?x } } }
[]
human settlement
Q158004 Q41753
SYSTEM
Piotrków Trybunalski, Klagenfurt
Q158004 Q41753
OR((Q9017903,P19,c(Q486972)), (Q2173268,P19,c(Q486972)))
action filter_type
action union
action find
entity Q9017903
relation P19
action find
entity Q2173268
relation P19
type Q486972
[ANSWERS] were Konrad Guderski or Rudolf König born
{'OR': [['Q9017903', 'P19', {'concept': 'Q486972'}], ['Q2173268', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q486972 . { { resource:Q9017903 property:P19 ?x } UNION { resource:Q2173268 property:P19 ?x } } }
Piotrków Trybunalski Klagenfurt
Piotrków Trybunalski and Klagenfurt were Konrad Guderski or Rudolf König born
Piotrków Trybunalski Klagenfurt
action filter_type
action union
action find
entity Konrad Guderski
relation place of birth
action find
entity Rudolf König
relation place of birth
type human settlement
{'OR': [['Konrad Guderski', 'place of birth', {'concept': 'human settlement'}], ['Rudolf König', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_settlement . { { resource:Konrad_Guderski property:place_of_birth ?x } UNION { resource:Rudolf_König property:place_of_birth ?x } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q158004 Q41753
P937
Q502895
USER
Who have those human settlements as their work location ?
(c(Q502895),P937,Q158004) (c(Q502895),P937,Q41753)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q158004'] [{'concept': 'Q502895'}, 'P937', 'Q41753']
SELECT DISTINCT ?m WHERE { ?m property:P937 ?h . ?m rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q158004 ) ( resource:Q41753 ) } }
Piotrków Trybunalski Klagenfurt
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Piotrków Trybunalski'] [{'concept': 'common name'}, 'work location', 'Klagenfurt']
SELECT DISTINCT ?m WHERE { ?m property:work_location ?h . ?m rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Piotrków_Trybunalski ) ( resource:Klagenfurt ) } }
[]
common name
Q2149245 Q876700 Q1819674
SYSTEM
Richard Cornelius Kukula, Janko Ferk, Leopold Guggenberger
Q214285 Q1819674 Q16003113 Q45516 Q94604 Q2149245 Q1696965 Q1718089 Q876700
(c(Q502895),P937,Q158004) (c(Q502895),P937,Q41753)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[ANSWERS] have those human settlements as their work location
[{'concept': 'Q502895'}, 'P937', 'Q158004'] [{'concept': 'Q502895'}, 'P937', 'Q41753']
SELECT DISTINCT ?m WHERE { ?m property:P937 ?h . ?m rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q158004 ) ( resource:Q41753 ) } }
Joseph Zerboni di Sposetti Leopold Guggenberger Amir Sagharichi-Raha Alois Schwarz Alois Brandstetter Richard Cornelius Kukula Johanna König Wolfgang Walkensteiner Janko Ferk
Richard Cornelius Kukula, Janko Ferk and Leopold Guggenberger have those human settlements as their work location
Richard Cornelius Kukula Janko Ferk Leopold Guggenberger
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Piotrków Trybunalski'] [{'concept': 'common name'}, 'work location', 'Klagenfurt']
SELECT DISTINCT ?m WHERE { ?m property:work_location ?h . ?m rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Piotrków_Trybunalski ) ( resource:Klagenfurt ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q158004
P190
Q515
USER
Which city is twin town of that human settlement ?
(c(Q515),P190,Q158004)
action filter_type
action find
entity Q158004
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q158004']
SELECT DISTINCT ?j WHERE { resource:Q158004 property:P190 ?j . ?j rdf:type ontology:Q515 }
Piotrków Trybunalski
action filter_type
action find
entity Piotrków Trybunalski
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Piotrków Trybunalski']
SELECT DISTINCT ?j WHERE { resource:Piotrków_Trybunalski property:sister_city ?j . ?j rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q158004
SYSTEM
Did you mean Piotrków Trybunalski ?
Q2149245 Q876700 Q1819674
(c(Q515),P190,Q2149245) (c(Q515),P190,Q876700) (c(Q515),P190,Q1819674)
[ANSWER]
[{'concept': 'Q515'}, 'P190', 'Q2149245'] [{'concept': 'Q515'}, 'P190', 'Q876700'] [{'concept': 'Q515'}, 'P190', 'Q1819674']
SELECT DISTINCT ?j WHERE { resource:Q158004 property:P190 ?j . ?j rdf:type ontology:Q515 }
Richard Cornelius Kukula Janko Ferk Leopold Guggenberger
Did you mean Piotrków Trybunalski ?
Piotrków Trybunalski
[{'concept': 'city'}, 'sister city', 'Richard Cornelius Kukula'] [{'concept': 'city'}, 'sister city', 'Janko Ferk'] [{'concept': 'city'}, 'sister city', 'Leopold Guggenberger']
SELECT DISTINCT ?j WHERE { resource:Piotrków_Trybunalski property:sister_city ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q515),P190,Q158004)
[{'concept': 'Q515'}, 'P190', 'Q158004']
[{'concept': 'city'}, 'sister city', 'Piotrków Trybunalski']
[]
Q207406
SYSTEM
Mosonmagyaróvár
Q207406
(c(Q515),P190,Q158004)
action filter_type
action find
entity Q158004
relation P190
type Q515
[ANSWER] is twin town of that human settlement
[{'concept': 'Q515'}, 'P190', 'Q158004']
SELECT DISTINCT ?j WHERE { resource:Q158004 property:P190 ?j . ?j rdf:type ontology:Q515 }
Mosonmagyaróvár
Mosonmagyaróvár is twin town of that human settlement
Mosonmagyaróvár
action filter_type
action find
entity Piotrków Trybunalski
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Piotrków Trybunalski']
SELECT DISTINCT ?j WHERE { resource:Piotrków_Trybunalski property:sister_city ?j . ?j rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q207406 Q47236
P17
Q15617994
USER
Does that city belong to Nove ?
(Q207406,P17,Q47236)
action is_in
entity Q47236
action find
entity Q207406
relation P17
['Q207406', 'P17', 'Q47236']
ASK WHERE { resource:Q207406 property:P17 resource:Q47236 }
Mosonmagyaróvár Nove
action is_in
entity Nove
action find
entity Mosonmagyaróvár
relation country
['Mosonmagyaróvár', 'country', 'Nove']
ASK WHERE { resource:Mosonmagyaróvár property:country resource:Nove }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q207406,P17,Q47236)
action is_in
entity Q47236
action find
entity Q207406
relation P17
[ANSWER]
['Q207406', 'P17', 'Q47236']
ASK WHERE { resource:Q207406 property:P17 resource:Q47236 }
No
action is_in
entity Nove
action find
entity Mosonmagyaróvár
relation country
['Mosonmagyaróvár', 'country', 'Nove']
ASK WHERE { resource:Mosonmagyaróvár property:country resource:Nove }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q207406
P17
Q15617994
USER
How many administrative territories are Mosonmagyaróvár present in ?
(Q207406,P17,c(Q15617994))
action count
action filter_type
action find
entity Q207406
relation P17
type Q15617994
['Q207406', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q207406 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Mosonmagyaróvár
action count
action filter_type
action find
entity Mosonmagyaróvár
relation country
type designation for an administrative territorial entity
['Mosonmagyaróvár', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Mosonmagyaróvár property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q28
(Q207406,P17,c(Q15617994))
action count
action filter_type
action find
entity Q207406
relation P17
type Q15617994
[ANSWER]
['Q207406', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q207406 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Hungary
1
action count
action filter_type
action find
entity Mosonmagyaróvár
relation country
type designation for an administrative territorial entity
['Mosonmagyaróvár', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Mosonmagyaróvár property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207406
P190
Q56061
USER
Which administrative territories are partner town of that city ?
action filter_type
action find
entity Q207406
relation P190
type Q56061
SELECT DISTINCT ?u WHERE { resource:Q207406 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Mosonmagyaróvár
action filter_type
action find
entity Mosonmagyaróvár
relation sister city
type administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Mosonmagyaróvár property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q569626 Q391068 Q754790
SYSTEM
Hattersheim am Main, Šamorín, Senec
Q569626 Q391068 Q754790
action filter_type
action find
entity Q207406
relation P190
type Q56061
[ANSWERS] are partner town of that city
SELECT DISTINCT ?u WHERE { resource:Q207406 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Hattersheim am Main Šamorín Senec
Hattersheim am Main, Šamorín and Senec are partner town of that city
Hattersheim am Main Šamorín Senec
action filter_type
action find
entity Mosonmagyaróvár
relation sister city
type administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Mosonmagyaróvár property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q158004
P1376
Q13220204
USER
Which administrative country subdivision has Piotrków Trybunalski as its county seat ?
(Q158004,P1376,c(Q13220204))
action filter_type
action find
entity Q158004
relation P1376
type Q13220204
['Q158004', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q158004 property:P1376 ?l . ?l rdf:type ontology:Q13220204 }
Piotrków Trybunalski
action filter_type
action find
entity Piotrków Trybunalski
relation capital of
type second-level administrative country subdivision
['Piotrków Trybunalski', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Piotrków_Trybunalski property:capital_of ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1144105
SYSTEM
Piotrków County
Q1144105
(Q158004,P1376,c(Q13220204))
action filter_type
action find
entity Q158004
relation P1376
type Q13220204
[ANSWER] has Piotrków Trybunalski as its county seat
['Q158004', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q158004 property:P1376 ?l . ?l rdf:type ontology:Q13220204 }
Piotrków County
Piotrków County has Piotrków Trybunalski as its county seat
Piotrków County
action filter_type
action find
entity Piotrków Trybunalski
relation capital of
type second-level administrative country subdivision
['Piotrków Trybunalski', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Piotrków_Trybunalski property:capital_of ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1144105
P36
Q486972
USER
Which human settlement is known as the capital of that administrative country subdivision ?
(Q1144105,P36,c(Q486972))
action filter_type
action find
entity Q1144105
relation P36
type Q486972
['Q1144105', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1144105 property:P36 ?p . ?p rdf:type ontology:Q486972 }
Piotrków County
action filter_type
action find
entity Piotrków County
relation capital
type human settlement
['Piotrków County', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Piotrków_County property:capital ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q158004
SYSTEM
Piotrków Trybunalski
Q158004
(Q1144105,P36,c(Q486972))
action filter_type
action find
entity Q1144105
relation P36
type Q486972
[ANSWER] is known as the capital of that administrative country subdivision
['Q1144105', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1144105 property:P36 ?p . ?p rdf:type ontology:Q486972 }
Piotrków Trybunalski
Piotrków Trybunalski is known as the capital of that administrative country subdivision
Piotrków Trybunalski
action filter_type
action find
entity Piotrków County
relation capital
type human settlement
['Piotrków County', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Piotrków_County property:capital ?p . ?p rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1144105
P47
Q13220204
USER
How many administrative country subdivisions have an adjacent border with Piotrków County ?
(c(Q13220204),P47,Q1144105)
action count
action filter_type
action find_reverse
entity Q1144105
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q1144105']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P47 resource:Q1144105 . ?t rdf:type ontology:Q13220204 }
Piotrków County
action count
action filter_type
action find_reverse
entity Piotrków County
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Piotrków County']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:shares_border_with resource:Piotrków_County . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
6
Q976871 Q1135416 Q1164895 Q1144118 Q606486 Q1331801
(c(Q13220204),P47,Q1144105)
action count
action filter_type
action find_reverse
entity Q1144105
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q1144105']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P47 resource:Q1144105 . ?t rdf:type ontology:Q13220204 }
Bełchatów County Radomsko County Pabianice County Opoczno County Tomaszów Mazowiecki County Łódź East County
6
action count
action filter_type
action find_reverse
entity Piotrków County
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Piotrków County']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:shares_border_with resource:Piotrków_County . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q486972
USER
Which administrative territories have atleast 1 human settlement as their capital ?
(c(Q486972),P1376,c(Q15617994))
action atleast
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P1376 ?x . ?j rdf:type ontology:Q486972 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?g >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:capital_of ?x . ?j rdf:type ontology:human_settlement . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?g >= 1 ) }
[]
designation for an administrative territorial entity human settlement
Q965 Q541589 Q492437
SYSTEM
Burkina Faso, Ems-Supérieur, Bouches-du-Weser
Q1111401 Q541589 Q492437 Q492430 Q965
(c(Q486972),P1376,c(Q15617994))
action atleast
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[ANSWERS] have atleast 1 human settlement as their capital
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P1376 ?x . ?j rdf:type ontology:Q486972 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?g >= 1 ) }
Kispest District Ems-Supérieur Bouches-du-Weser Bouches-de-l'Elbe Burkina Faso
Burkina Faso, Ems-Supérieur and Bouches-du-Weser have atleast 1 human settlement as their capital
Burkina Faso Ems-Supérieur Bouches-du-Weser
action atleast
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:capital_of ?x . ?j rdf:type ontology:human_settlement . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?g >= 1 ) }
[]