Simple Question (Direct)
Simple Question
Q4093320
P20
Q56061
USER
Where did Adam Boniecki die ?
(Q4093320,P20,c(Q56061))
action filter_type
action find
entity Q4093320
relation P20
type Q56061
['Q4093320', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q4093320 property:P20 ?d }
Adam Boniecki
action filter_type
action find
entity Adam Boniecki
relation place of death
type administrative territorial entity
['Adam Boniecki', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Adam_Boniecki property:place_of_death ?d }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q4093320,P20,c(Q56061))
action filter_type
action find
entity Q4093320
relation P20
type Q56061
Adam Boniecki died in [ANSWER]
['Q4093320', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q4093320 property:P20 ?d }
Warsaw
Adam Boniecki died in Warsaw
Warsaw
action filter_type
action find
entity Adam Boniecki
relation place of death
type administrative territorial entity
['Adam Boniecki', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Adam_Boniecki property:place_of_death ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270
P840
Q838948
USER
Which works of art have a setting location of that administrative territory ?
(c(Q838948),P840,Q270)
action filter_type
action find_reverse
entity Q270
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q270']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P840 resource:Q270 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Warsaw']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:narrative_location resource:Warsaw }
[]
work of art
Q2147045 Q916456
SYSTEM
Rewers, The Turning Point
Q2147045 Q916456
(c(Q838948),P840,Q270)
action filter_type
action find_reverse
entity Q270
relation P840
type Q838948
[ANSWERS] have a setting location of that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q270']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P840 resource:Q270 }
Rewers The Turning Point
Rewers and The Turning Point have a setting location of that administrative territory
Rewers The Turning Point
action filter_type
action find_reverse
entity Warsaw
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Warsaw']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:narrative_location resource:Warsaw }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2147045 Q916456
P161
Q502895
USER
Who starred in those works of art ?
(Q2147045,P161,c(Q502895)) (Q916456,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
['Q2147045', 'P161', {'concept': 'Q502895'}] ['Q916456', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q2147045 ) ( resource:Q916456 ) } . ?n property:P161 ?q }
Rewers The Turning Point
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Rewers', 'cast member', {'concept': 'common name'}] ['The Turning Point', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Rewers ) ( resource:The_Turning_Point ) } . ?n property:cast_member ?q }
[]
common name
Q272433 Q1452262 Q2590356
SYSTEM
Krystyna Janda, Fred Düren, Wolfgang Kühne
Q9381849 Q55371 Q11715518 Q11817503 Q11685395 Q6185448 Q11748789 Q272433 Q11767544 Q4127206 Q9151875 Q9376919 Q9183213 Q11797805 Q536465 Q390870 Q11768402 Q11727317 Q9394647 Q11684593 Q9140519 Q11702709 Q9282113 Q11767535 Q9376850 Q1745562 Q1452424 Q1576092 Q1452262 Q2140422 Q1560633 Q2590356 Q1691070 Q1909936 Q1486052 Q1386829 Q723139 Q98393 Q76187 Q245352
(Q2147045,P161,c(Q502895)) (Q916456,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
[ANSWERS] starred in those works of art
['Q2147045', 'P161', {'concept': 'Q502895'}] ['Q916456', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q2147045 ) ( resource:Q916456 ) } . ?n property:P161 ?q }
Władysław Grzywna Jerzy Bończak Jacek Poniedzialek Piotr Grabowski Alicja Dąbrowska Jerzy Moes Krystyna Tkacz Krystyna Janda Marcin Dorociński Bronislaw Wroclawski Andrzej Deskur Wojciech Słupiński Blazej Wójcik Olena Leonenko Anna Polony Agata Buzek Marek Probosz Joachim Lamza Lukasz Konopka Agata Załęcka Adam Woronowicz Grzegorz Emanuel Grzegorz Stosz Marcin Czarnik Wojciech Skibiński Klaus Piontek Fred Ludwig Hannes Stelzer Fred Düren Reiner Heise Günter Junghans Wolfgang Kühne Jochen Diestelmann Matthias Günther Hans-Uwe Bauer Horst Hiemer Roman Wilhelmi Horst Giese Sylvester Groth Zygmunt Maciejewski
Krystyna Janda, Fred Düren and Wolfgang Kühne starred in those works of art
Krystyna Janda Fred Düren Wolfgang Kühne
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Rewers', 'cast member', {'concept': 'common name'}] ['The Turning Point', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Rewers ) ( resource:The_Turning_Point ) } . ?n property:cast_member ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1452262
P19
Q56061
USER
Which administrative territory was Fred Düren born at ?
(Q1452262,P19,c(Q56061))
action filter_type
action find
entity Q1452262
relation P19
type Q56061
['Q1452262', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1452262 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Fred Düren
action filter_type
action find
entity Fred Düren
relation place of birth
type administrative territorial entity
['Fred Düren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Fred_Düren property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1452262,P19,c(Q56061))
action filter_type
action find
entity Q1452262
relation P19
type Q56061
Fred Düren was born in [ANSWER]
['Q1452262', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1452262 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Berlin
Fred Düren was born in Berlin
Berlin
action filter_type
action find
entity Fred Düren
relation place of birth
type administrative territorial entity
['Fred Düren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Fred_Düren property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1452262
P27
Q1048835
USER
Which political territory does Fred Düren belong to ?
(Q1452262,P27,c(Q1048835))
action filter_type
action find
entity Q1452262
relation P27
type Q1048835
['Q1452262', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q1452262 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Fred Düren
action filter_type
action find
entity Fred Düren
relation country of citizenship
type political territorial entity
['Fred Düren', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fred_Düren property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1452262,P27,c(Q1048835))
action filter_type
action find
entity Q1452262
relation P27
type Q1048835
Fred Düren belongs to [ANSWER]
['Q1452262', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q1452262 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Germany
Fred Düren belongs to Germany
Germany
action filter_type
action find
entity Fred Düren
relation country of citizenship
type political territorial entity
['Fred Düren', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fred_Düren property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q2031291 Q15416
USER
How many political territories did exactly 1 releases and television programs originate ?
(c(Q2031291)|c(Q15416),P495,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
value 1
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?v WHERE { { ?p property:P495 ?v . ?p rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15416 . ?p property:P495 ?v } } GROUP BY ?v } . FILTER ( ?f = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
value 1
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?v WHERE { { ?p property:country_of_origin ?v . ?p rdf:type ontology:release . ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:television_program . ?p property:country_of_origin ?v } } GROUP BY ?v } . FILTER ( ?f = 1 ) }
[]
political territorial entity release television program
SYSTEM
2
Q766 Q691
(c(Q2031291)|c(Q15416),P495,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?v WHERE { { ?p property:P495 ?v . ?p rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15416 . ?p property:P495 ?v } } GROUP BY ?v } . FILTER ( ?f = 1 ) }
Jamaica Papua New Guinea
2
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
value 1
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?v WHERE { { ?p property:country_of_origin ?v . ?p rdf:type ontology:release . ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:television_program . ?p property:country_of_origin ?v } } GROUP BY ?v } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q515 Q20667921
USER
How many political territories have atleast 1 cities and french administrative divisions as their county seat ?
(c(Q515)|c(Q20667921),P1376,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q515 } UNION { ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q20667921 . ?d property:P1376 ?w } } GROUP BY ?w } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:city } UNION { ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of ?w } } GROUP BY ?w } }
[]
political territorial entity city type of french administrative division
SYSTEM
121
Q13881 Q13882 Q13884 Q13889 Q785 Q13726 Q2051 Q3891 Q3899 Q2175 Q2271 Q48060 Q13900 Q170390 Q1122980 Q8170 Q168651 Q3741 Q2223 Q22880 Q13786 Q13785 Q13869 Q13868 Q13865 Q13863 Q13862 Q10547 Q2485101 Q1890 Q664 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q7932 Q2140 Q13827 Q13826 Q13825 Q34617 Q13829 Q953068 Q170036 Q9648 Q3125978 Q13857 Q757 Q13772 Q642314 Q6301 Q7890 Q3916 Q13794 Q13791 Q13792 Q13813 Q48079 Q5093 Q5095 Q671742 Q5075 Q193619 Q13744 Q48094 Q192697 Q2772 Q13874 Q7928 Q188373 Q48046 Q2101298 Q1823 Q13844 Q13847 Q13843 Q2594990 Q1232887 Q8195 Q2110 Q48072 Q3586 Q13892 Q13891 Q13899 Q3906 Q778266 Q1866 Q13809 Q13860 Q13806 Q240441 Q24174 Q10440 Q49655 Q190930 Q13753 Q13752 Q13755 Q13759 Q8167 Q48089 Q7916 Q7912 Q3540 Q10526 Q13870 Q13872 Q3724 Q13876 Q48057 Q6328 Q10557 Q10555 Q2902 Q10559
(c(Q515)|c(Q20667921),P1376,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q515 } UNION { ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q20667921 . ?d property:P1376 ?w } } GROUP BY ?w } }
Sorsogon South Cotabato Southern Leyte Surigao del Norte Jersey Albay Jambi Province Kalimantan Tengah Kalimantan Timur Riau Province South Sumatra Gera District Zamboanga del Sur County of Oldenburg Comtat Venaissin Tübingen Landgraviate of Hesse-Kassel Special Region of Yogyakarta Kepulauan Riau Electoral Palatinate Cebu Cavite Palawan Oriental Mindoro Nueva Ecija Negros Oriental Negros Occidental Lower Franconia County of Chiny Bengkulu Province New Zealand Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Darmstadt Government Region North Sumatra Province Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union South-West Africa Kiev Oblast Falkland Islands Bali Misamis Occidental Saint Vincent and the Grenadines Capiz County of Burgundy Nordsachsen Kassel Kalimantan Barat Davao del Sur Cotabato Davao del Norte Ilocos Norte Leipzig District Maluku Province Papua General Pueyrredón South East Sulawesi Province Union of South Africa Batangas Potsdam District South Moravian Region West Sumatra Rizal Kassel  Government Region South Bohemia Region Cottbus Tandil Aceh Leyte Masbate Lanao del Sur Dominion of New Zealand County of Savoy Breisgau-Hochschwarzwald Lampung Province Karl-Marx-Stadt District East Java Tarlac Surigao del Sur Zamboanga del Norte Kalimantan Selatan County of Artois Bangka–Belitung Islands Eastern Samar Misamis Oriental Davao Oriental General Alvarado Partido Dresden Government Region Coburg Schellenberg Vysočina Region Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Neubrandenburg District Darmstadt-Dieburg Offenbach Banten Province Rosenheim Pampanga Quezon West Java Province Samar Frankfurt (Oder) Mittelsachsen Swabia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria
121
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:city } UNION { ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of ?w } } GROUP BY ?w } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P1071
Q386724
USER
Which work has that political territory as its finally place of assembly ?
action filter_type
action find_reverse
entity Q183
relation P1071
type Q386724
SELECT DISTINCT ?u WHERE { ?u property:P1071 resource:Q183 . ?u rdf:type ontology:Q386724 }
Germany
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type work
SELECT DISTINCT ?u WHERE { ?u property:location_of_final_assembly resource:Germany . ?u rdf:type ontology:work }
[]
work
Q1388048
SYSTEM
FE-Schrift
Q1388048
action filter_type
action find_reverse
entity Q183
relation P1071
type Q386724
[ANSWER] has that political territory as its finally place of assembly
SELECT DISTINCT ?u WHERE { ?u property:P1071 resource:Q183 . ?u rdf:type ontology:Q386724 }
FE-Schrift
FE-Schrift has that political territory as its finally place of assembly
FE-Schrift
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type work
SELECT DISTINCT ?u WHERE { ?u property:location_of_final_assembly resource:Germany . ?u rdf:type ontology:work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P30
Q2221906
USER
Which geographic location is that political territory a part of ?
(Q1388048,P30,c(Q2221906))
action filter_type
action find
entity Q183
relation P30
type Q2221906
['Q1388048', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P30 ?r . ?r rdf:type ontology:Q2221906 }
Germany
action filter_type
action find
entity Germany
relation continent
type geographic location
['FE-Schrift', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:continent ?r . ?r rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1388048,P30,c(Q2221906))
action filter_type
action find
entity Q183
relation P30
type Q2221906
[ANSWER] is that political territory a part of
['Q1388048', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P30 ?r . ?r rdf:type ontology:Q2221906 }
Europe
Europe is that political territory a part of
Europe
action filter_type
action find
entity Germany
relation continent
type geographic location
['FE-Schrift', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:continent ?r . ?r rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P36
Q56061
USER
Which administrative territories are associated to Germany as the capital ?
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
[ANSWERS] are associated to Germany as the capital
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Berlin Bonn
Berlin and Bonn are associated to Germany as the capital
Berlin Bonn
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1437719
Q56061
USER
And how about Thabo Mofutsanyana District Municipality?
(Q1437719,P36,c(Q56061))
action filter_type
action find
entity Q1437719
relation P36
type Q56061
['Q1437719', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1437719 property:P36 ?i . ?i rdf:type ontology:Q56061 }
Thabo Mofutsanyana District Municipality
action filter_type
action find
entity Thabo Mofutsanyana District Municipality
relation capital
type administrative territorial entity
['Thabo Mofutsanyana District Municipality', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Thabo_Mofutsanyana_District_Municipality property:capital ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1437581
SYSTEM
Phuthaditjhaba
Q1437581
(Q1437719,P36,c(Q56061))
action filter_type
action find
entity Q1437719
relation P36
type Q56061
[ANSWER]
['Q1437719', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1437719 property:P36 ?i . ?i rdf:type ontology:Q56061 }
Phuthaditjhaba
Phuthaditjhaba
action filter_type
action find
entity Thabo Mofutsanyana District Municipality
relation capital
type administrative territorial entity
['Thabo Mofutsanyana District Municipality', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Thabo_Mofutsanyana_District_Municipality property:capital ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1437581 Q258
P17
Q15617994
USER
Is that administrative territory located in South Africa ?
(Q1437581,P17,Q258)
action is_in
entity Q258
action find
entity Q1437581
relation P17
['Q1437581', 'P17', 'Q258']
ASK WHERE { resource:Q1437581 property:P17 resource:Q258 }
Phuthaditjhaba South Africa
action is_in
entity South Africa
action find
entity Phuthaditjhaba
relation country
['Phuthaditjhaba', 'country', 'South Africa']
ASK WHERE { resource:Phuthaditjhaba property:country resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1437581,P17,Q258)
action is_in
entity Q258
action find
entity Q1437581
relation P17
[ANSWER]
['Q1437581', 'P17', 'Q258']
ASK WHERE { resource:Q1437581 property:P17 resource:Q258 }
Yes
action is_in
entity South Africa
action find
entity Phuthaditjhaba
relation country
['Phuthaditjhaba', 'country', 'South Africa']
ASK WHERE { resource:Phuthaditjhaba property:country resource:South_Africa }
[]