Simple Question (Direct)
Simple Question
Q15918
P1435
Q2065736
USER
Which cultural property heritage status does Slovenj Gradec have ?
(Q15918,P1435,c(Q2065736))
action filter_type
action find
entity Q15918
relation P1435
type Q2065736
['Q15918', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?b WHERE { resource:Q15918 property:P1435 ?b . ?b rdf:type ontology:Q2065736 }
Slovenj Gradec
action filter_type
action find
entity Slovenj Gradec
relation heritage status
type cultural property
['Slovenj Gradec', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?b WHERE { resource:Slovenj_Gradec property:heritage_status ?b . ?b rdf:type ontology:cultural_property }
[]
cultural property
Q18363639
SYSTEM
monument of local significance
Q18363639
(Q15918,P1435,c(Q2065736))
action filter_type
action find
entity Q15918
relation P1435
type Q2065736
Slovenj Gradec has a [ANSWER]
['Q15918', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?b WHERE { resource:Q15918 property:P1435 ?b . ?b rdf:type ontology:Q2065736 }
monument of local significance
Slovenj Gradec has a monument of local significance
monument of local significance
action filter_type
action find
entity Slovenj Gradec
relation heritage status
type cultural property
['Slovenj Gradec', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?b WHERE { resource:Slovenj_Gradec property:heritage_status ?b . ?b rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15918
P190
Q56061
USER
Which administrative territories are twin towns of that one ?
(Q18363639,P190,c(Q56061))
action filter_type
action find
entity Q15918
relation P190
type Q56061
['Q18363639', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15918 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Slovenj Gradec
action filter_type
action find
entity Slovenj Gradec
relation sister city
type administrative territorial entity
['monument of local significance', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Slovenj_Gradec property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q830638 Q714668
SYSTEM
Morphou, Gornji Milanovac
Q830638 Q714668
(Q18363639,P190,c(Q56061))
action filter_type
action find
entity Q15918
relation P190
type Q56061
[ANSWERS] are twin towns of that one
['Q18363639', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15918 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Morphou Gornji Milanovac
Morphou and Gornji Milanovac are twin towns of that one
Morphou Gornji Milanovac
action filter_type
action find
entity Slovenj Gradec
relation sister city
type administrative territorial entity
['monument of local significance', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Slovenj_Gradec property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q830638
P36
Q486972
USER
Which human settlement has that administrative territory as its capital ?
(c(Q486972),P36,Q830638)
action filter_type
action find_reverse
entity Q830638
relation P36
type Q486972
[{'concept': 'Q486972'}, 'P36', 'Q830638']
SELECT DISTINCT ?g WHERE { ?g property:P36 resource:Q830638 . ?g rdf:type ontology:Q486972 }
Morphou
action filter_type
action find_reverse
entity Morphou
relation capital
type human settlement
[{'concept': 'human settlement'}, 'capital', 'Morphou']
SELECT DISTINCT ?g WHERE { ?g property:capital resource:Morphou . ?g rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q714668
SYSTEM
Did you mean Gornji Milanovac ?
Q830638 Q714668
(c(Q486972),P36,Q830638) (c(Q486972),P36,Q714668)
[ANSWER]
[{'concept': 'Q486972'}, 'P36', 'Q830638'] [{'concept': 'Q486972'}, 'P36', 'Q714668']
SELECT DISTINCT ?g WHERE { ?g property:P36 resource:Q830638 . ?g rdf:type ontology:Q486972 }
Morphou Gornji Milanovac
Did you mean Gornji Milanovac ?
Gornji Milanovac
[{'concept': 'human settlement'}, 'capital', 'Morphou'] [{'concept': 'human settlement'}, 'capital', 'Gornji Milanovac']
SELECT DISTINCT ?g WHERE { ?g property:capital resource:Morphou . ?g rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant Morphou. Could you tell me the answer for that?
(c(Q486972),P36,Q830638)
Q830638
[{'concept': 'Q486972'}, 'P36', 'Q830638']
[{'concept': 'human settlement'}, 'capital', 'Morphou']
[]
Q554666
SYSTEM
Güzelyurt District
Q554666
(c(Q486972),P36,Q830638)
action filter_type
action find_reverse
entity Q830638
relation P36
type Q486972
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q486972'}, 'P36', 'Q830638']
SELECT DISTINCT ?g WHERE { ?g property:P36 resource:Q830638 . ?g rdf:type ontology:Q486972 }
Güzelyurt District
Güzelyurt District has that administrative territory as its capital
Güzelyurt District
action filter_type
action find_reverse
entity Morphou
relation capital
type human settlement
[{'concept': 'human settlement'}, 'capital', 'Morphou']
SELECT DISTINCT ?g WHERE { ?g property:capital resource:Morphou . ?g rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P36
Q56061 Q486972 Q486972
USER
Which human settlements consists of around the same number of administrative territories or human settlements as their capital as that human settlement ?
(c(Q486972),P36,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q486972
type Q56061
action find_tuple_counts
relation P36
type Q486972
type Q486972
action count
action filter_multi_types
action find
entity Q554666
relation P36
type Q56061
type Q486972
[{'concept': 'Q486972'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { { ?z property:P36 ?u . ?z rdf:type ontology:Q486972 . ?u rdf:type ontology:Q56061 } UNION { ?z property:P36 ?u . ?u rdf:type ontology:Q486972 . ?z rdf:type ontology:Q486972 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q554666 property:P36 ?b . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } } } . FILTER ( ?t = ?v ) }
action approx
action union
action find_tuple_counts
relation capital
type human settlement
type administrative territorial entity
action find_tuple_counts
relation capital
type human settlement
type human settlement
action count
action filter_multi_types
action find
entity Güzelyurt District
relation capital
type administrative territorial entity
type human settlement
[{'concept': 'human settlement'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { { ?z property:capital ?u . ?z rdf:type ontology:human_settlement . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?z property:capital ?u . ?u rdf:type ontology:human_settlement . ?z rdf:type ontology:human_settlement } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Güzelyurt_District property:capital ?b . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } } } . FILTER ( ?t = ?v ) }
[]
administrative territorial entity human settlement human settlement
SYSTEM
100
Q11033390 Q94964 Q50996 Q4307482 Q50995 Q4174816 Q1983526 Q4535122 Q4440645 Q2455024 Q4175537 Q17333565 Q4326179 Q4378174 Q4129954 Q1983517 Q4279360 Q4377902 Q4536347 Q4535577 Q4537516 Q50702 Q14489050 Q4522992 Q1983583 Q4337797 Q4214041 Q19837630 Q1984178 Q4129381 Q2272880 Q1983507 Q4371564 Q4123159 Q4243589 Q50994 Q1983566 Q4139656 Q4312451 Q29615 Q1983574 Q4197012 Q1658805 Q4417543 Q4372984 Q4452368 Q45693 Q4414603 Q4398413 Q6644557 Q50699 Q17506526 Q19389728 Q4238987 Q4414273 Q4291604 Q50924 Q16712568 Q4322878 Q4461269 Q2342996 Q4109125 Q1983490 Q1983497 Q4312231 Q4141878 Q21970627 Q2659959 Q4414824 Q23895434 Q21193945 Q21194826 Q14505644 Q1983535 Q19521527 Q4260322 Q4311698 Q4395858 Q1983543 Q51017 Q4414182 Q4146454 Q4420792 Q19358991 Q4082427 Q4183363 Q4449331 Q4504204 Q4199196 Q4307495 Q4367046 Q4151845 Q19799702 Q4417907 Q17266210 Q27062293 Q16696598 Q4414132 Q50729 Q20619758
(c(Q486972),P36,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q486972
type Q56061
action find_tuple_counts
relation P36
type Q486972
type Q486972
action count
action filter_multi_types
action find
entity Q554666
relation P36
type Q56061
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { { ?z property:P36 ?u . ?z rdf:type ontology:Q486972 . ?u rdf:type ontology:Q56061 } UNION { ?z property:P36 ?u . ?u rdf:type ontology:Q486972 . ?z rdf:type ontology:Q486972 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q554666 property:P36 ?b . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } } } . FILTER ( ?t = ?v ) }
Arylakhsky Rural Okrug Monte San Pietro Pudost Voskresenskoe Pudomyagskoe Yelizavetinskoye Yandobinskoye Rural Settlement Yurovsky municipality Staroselsky Zaporozhskoye Enangskoe Miskindzha Novotselin Village Council (Altai Territory) Pridorozhnoye rural municipal subdivision Vyshgorod parish Pitishevskoye Rural Settlement Malyshevskoye Privolzhskoye rural settlement (Yaroslavl region) Yadrovskaya Yushkinskaya Volost Yam-Tyosovskoe Verevskoe rural settlement Bolsheselsky rural settlement Shepsinskoe Teneyevskoye Rural Settlement Osinovskiy Karamyshevskaya parish Upper Koёn rural council Куркиёки Vysokovskoye Takrur Raskildinskoye Rural Settlement Polyanskoe Rural Settlement Volga rural settlement Kubenskoe Novosvetskoe Krymzaraykinskoye Rural Settlement Glebovskoe rural settlement Naistenjärvi Chepetsk rural settlement Shumshevashskoye Rural Settlement Ivashevsky Solovetsky District Besedskoe rural settlement (Yaroslavl region) Porechenskaya city Tatar-Ulkanovskiy Selsoviet Adjara Autonomous Republic Sizemskaya Rostilovskoe municipality Agalatovo (municipality) Bol'shekolpanskoe rural settlement Poligus Ilinskoe Krasnoprudskaya Volost Ershov Metallurgskoe rural settlement Elizavetinskoe rural settlement Poshtivska rural council Novlenskoye Toroshinskaya parish Petrovskoye, Leningrad Oblast Verkhovskaya Bolshevylskoye Rural Settlement Tautovskoye Rural Settlement Nazarovskoye rural settlement Golovinskoe Rural Settlement Bolshemokrinski selsovet Michurinskoye, Leningrad Oblast Bolshebredihinsky Tarumovka Botlikh Madzhalissky Telmanovskiy Ilgyshevskoye Rural Settlement Kolybelskoye Leuzinsky Village Council Nagorye rural settlement (Yaroslavl Oblast) Rodionovo-Nesvetaiskaya Yefremkasinskoye Rural Settlement Syas'kelevskoe rural settlement Varlamovo Gostilitskoye Rural Settlement Sirmaposinskoe rural settlement Shchokinskiy Beloevskoe Zavyalovsky Tabunsky Village Council Central Rural Settlement (Kostroma regio) Ilgyshevskoye Rural Settlement Yug Podbolotnoe selskoe poselenie Guli Ghazhien-Yurt rural settlement Seredkinskaya parish Lazurnensky Category:Preobrazhensky Selsovet (Nazarovsky District) Topkanovskoe Barvikha Vojskovitskoe rural settlement Bappagayinsky Rural Okrug
100
action approx
action union
action find_tuple_counts
relation capital
type human settlement
type administrative territorial entity
action find_tuple_counts
relation capital
type human settlement
type human settlement
action count
action filter_multi_types
action find
entity Güzelyurt District
relation capital
type administrative territorial entity
type human settlement
[{'concept': 'human settlement'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { { ?z property:capital ?u . ?z rdf:type ontology:human_settlement . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?z property:capital ?u . ?u rdf:type ontology:human_settlement . ?z rdf:type ontology:human_settlement } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Güzelyurt_District property:capital ?b . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } } } . FILTER ( ?t = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q56061
USER
How many administrative territories are situated in the neighbourhood of exactly 12 still waterss or bodies of water ?
(c(Q56061),P206,c(Q337567)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
value 12
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { { ?q property:P206 ?o . ?q rdf:type ontology:Q56061 . ?o rdf:type ontology:Q337567 } UNION { ?q property:P206 ?o . ?q rdf:type ontology:Q56061 . ?o rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?h = 12 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { { ?q property:located_next_to_body_of_water ?o . ?q rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:still_waters } UNION { ?q property:located_next_to_body_of_water ?o . ?q rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?h = 12 ) }
[]
still waters body of water administrative territorial entity
SYSTEM
1
Q1709
(c(Q56061),P206,c(Q337567)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
value 12
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { { ?q property:P206 ?o . ?q rdf:type ontology:Q56061 . ?o rdf:type ontology:Q337567 } UNION { ?q property:P206 ?o . ?q rdf:type ontology:Q56061 . ?o rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?h = 12 ) }
Schwerin
1
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { { ?q property:located_next_to_body_of_water ?o . ?q rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:still_waters } UNION { ?q property:located_next_to_body_of_water ?o . ?q rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?h = 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q714668
P19
Q502895
USER
How many people have location of birth at Gornji Milanovac ?
(c(Q502895),P19,Q714668)
action count
action filter_type
action find_reverse
entity Q714668
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q714668']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P19 resource:Q714668 . ?r rdf:type ontology:Q502895 }
Gornji Milanovac
action count
action filter_type
action find_reverse
entity Gornji Milanovac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Gornji Milanovac']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:place_of_birth resource:Gornji_Milanovac . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
32
Q7281455 Q24450700 Q3038833 Q21285465 Q16916435 Q17285583 Q1253670 Q1564011 Q15504345 Q16083573 Q7931217 Q18129475 Q1977285 Q6771223 Q17403457 Q18350212 Q17198951 Q16781950 Q21683357 Q1254638 Q17071385 Q16088391 Q5584443 Q5223760 Q21064541 Q6763327 Q255820 Q17279375 Q21623264 Q22807287 Q8074392 Q2057251
(c(Q502895),P19,Q714668)
action count
action filter_type
action find_reverse
entity Q714668
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q714668']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P19 resource:Q714668 . ?r rdf:type ontology:Q502895 }
Radmilo Ivančević Stevan Bojović Dragoslav Milovanovitch Aleksandar Ponjavić Srđan Verbić Milan Mijailović Momčilo Nastasijević Dragiša Vasić Radenko Pilčević Ljubica Otašević Vilson Caković Bojan Živković Nenad Stankovic Marko Pavićević Nemanja Solujić Danko Filipović Bojan Zoranović Milomir Marić Stefan Andrić Dragan Todorović Aleksandar Ivanović Doroteja Erić Goran Luković Darko Rakočević Bojan Mijailović Marija Radojičić Draga Mašin Aleksandar Ješić Nikola Vuković Bojan Aleksic Zoran Savic Nenad Srećković
32
action count
action filter_type
action find_reverse
entity Gornji Milanovac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Gornji Milanovac']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:place_of_birth resource:Gornji_Milanovac . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15918
P937
Q502895
USER
Who is an person who works at Slovenj Gradec ?
(c(Q502895),P937,Q15918)
action filter_type
action find_reverse
entity Q15918
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q15918']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q15918 . ?t rdf:type ontology:Q502895 }
Slovenj Gradec
action filter_type
action find_reverse
entity Slovenj Gradec
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Slovenj Gradec']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Slovenj_Gradec . ?t rdf:type ontology:common_name }
[]
common name
Q517796
SYSTEM
Augustina Stridsberg
Q517796
(c(Q502895),P937,Q15918)
action filter_type
action find_reverse
entity Q15918
relation P937
type Q502895
An person works at Slovenj Gradec is married [ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q15918']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q15918 . ?t rdf:type ontology:Q502895 }
Augustina Stridsberg
An person works at Slovenj Gradec is married Augustina Stridsberg
Augustina Stridsberg
action filter_type
action find_reverse
entity Slovenj Gradec
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Slovenj Gradec']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Slovenj_Gradec . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15918
P20
Q502895
USER
Which people have Slovenj Gradec as the location of death ?
(c(Q502895),P20,Q15918)
action filter_type
action find_reverse
entity Q15918
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q15918']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q15918 . ?g rdf:type ontology:Q502895 }
Slovenj Gradec
action filter_type
action find_reverse
entity Slovenj Gradec
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Slovenj Gradec']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Slovenj_Gradec . ?g rdf:type ontology:common_name }
[]
common name
Q1596490 Q16323019 Q1294447
SYSTEM
Henry II, Margrave of Istria, Bogdan Borčić, Franc Ksaver Meško
Q1596490 Q18604337 Q16323019 Q1294447 Q17149879 Q12793434 Q12784782
(c(Q502895),P20,Q15918)
action filter_type
action find_reverse
entity Q15918
relation P20
type Q502895
[ANSWERS] have Slovenj Gradec as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q15918']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q15918 . ?g rdf:type ontology:Q502895 }
Henry II, Margrave of Istria Jože Tisnikar Bogdan Borčić Franc Ksaver Meško Simona Weiss Karel Pečko Anton Delak
Henry II, Margrave of Istria, Bogdan Borčić and Franc Ksaver Meško have Slovenj Gradec as the location of death
Henry II, Margrave of Istria Bogdan Borčić Franc Ksaver Meško
action filter_type
action find_reverse
entity Slovenj Gradec
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Slovenj Gradec']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Slovenj_Gradec . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1596490 Q16323019 Q1294447
P20
Q56061
USER
Where did Henry II, Margrave of Istria, Bogdan Borčić and Franc Ksaver Meško die ?
(Q1596490,P20,c(Q56061)) (Q16323019,P20,c(Q56061)) (Q1294447,P20,c(Q56061))
action union
action filter_type
action find
entity Q1596490
relation P20
type Q56061
action filter_type
action find
entity Q16323019
relation P20
type Q56061
action filter_type
action find
entity Q1294447
relation P20
type Q56061
['Q1596490', 'P20', {'concept': 'Q56061'}] ['Q16323019', 'P20', {'concept': 'Q56061'}] ['Q1294447', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { resource:Q16323019 property:P20 ?a . ?a rdf:type ontology:Q56061 } UNION { ?a rdf:type ontology:Q56061 . resource:Q1596490 property:P20 ?a } }
Henry II, Margrave of Istria Bogdan Borčić Franc Ksaver Meško
action union
action filter_type
action find
entity Henry II, Margrave of Istria
relation place of death
type administrative territorial entity
action filter_type
action find
entity Bogdan Borčić
relation place of death
type administrative territorial entity
action filter_type
action find
entity Franc Ksaver Meško
relation place of death
type administrative territorial entity
['Henry II, Margrave of Istria', 'place of death', {'concept': 'administrative territorial entity'}] ['Bogdan Borčić', 'place of death', {'concept': 'administrative territorial entity'}] ['Franc Ksaver Meško', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Bogdan_Borčić property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a rdf:type ontology:administrative_territorial_entity . resource:Henry_II,_Margrave_of_Istria property:place_of_death ?a } }
[]
administrative territorial entity
Q15918 Q15918 Q15918
SYSTEM
Slovenj Gradec
Q15918 Q15918 Q15918
(Q1596490,P20,c(Q56061)) (Q16323019,P20,c(Q56061)) (Q1294447,P20,c(Q56061))
action union
action filter_type
action find
entity Q1596490
relation P20
type Q56061
action filter_type
action find
entity Q16323019
relation P20
type Q56061
action filter_type
action find
entity Q1294447
relation P20
type Q56061
Henry II , Margrave of Istria , Bogdan Borčić and Franc Ksaver Meško died in [ANSWER], [ANSWER] and [ANSWER]
['Q1596490', 'P20', {'concept': 'Q56061'}] ['Q16323019', 'P20', {'concept': 'Q56061'}] ['Q1294447', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { resource:Q16323019 property:P20 ?a . ?a rdf:type ontology:Q56061 } UNION { ?a rdf:type ontology:Q56061 . resource:Q1596490 property:P20 ?a } }
Slovenj Gradec Slovenj Gradec Slovenj Gradec
Henry II , Margrave of Istria , Bogdan Borčić and Franc Ksaver Meško died in Slovenj Gradec, Slovenj Gradec and Slovenj Gradec
Slovenj Gradec Slovenj Gradec Slovenj Gradec
action union
action filter_type
action find
entity Henry II, Margrave of Istria
relation place of death
type administrative territorial entity
action filter_type
action find
entity Bogdan Borčić
relation place of death
type administrative territorial entity
action filter_type
action find
entity Franc Ksaver Meško
relation place of death
type administrative territorial entity
['Henry II, Margrave of Istria', 'place of death', {'concept': 'administrative territorial entity'}] ['Bogdan Borčić', 'place of death', {'concept': 'administrative territorial entity'}] ['Franc Ksaver Meško', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Bogdan_Borčić property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a rdf:type ontology:administrative_territorial_entity . resource:Henry_II,_Margrave_of_Istria property:place_of_death ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15918
P47
Q15617994
USER
Which administrative territory has an adjacent border with Slovenj Gradec ?
(c(Q15617994),P47,Q15918)
action filter_type
action find
entity Q15918
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q15918']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q15918 property:P47 ?h }
Slovenj Gradec
action filter_type
action find
entity Slovenj Gradec
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Slovenj Gradec']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Slovenj_Gradec property:shares_border_with ?h }
[]
designation for an administrative territorial entity
Q255888
SYSTEM
Hauzenberg
Q255888
(c(Q15617994),P47,Q15918)
action filter_type
action find
entity Q15918
relation P47
type Q15617994
[ANSWER] has an adjacent border with Slovenj Gradec
[{'concept': 'Q15617994'}, 'P47', 'Q15918']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q15918 property:P47 ?h }
Hauzenberg
Hauzenberg has an adjacent border with Slovenj Gradec
Hauzenberg
action filter_type
action find
entity Slovenj Gradec
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Slovenj Gradec']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Slovenj_Gradec property:shares_border_with ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1596490
P9
Q502895
USER
Which people are the sisters of Henry II, Margrave of Istria ?
(Q1596490,P9,c(Q502895))
action filter_type
action find
entity Q1596490
relation P9
type Q502895
['Q1596490', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1596490 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Henry II, Margrave of Istria
action filter_type
action find
entity Henry II, Margrave of Istria
relation sister
type common name
['Henry II, Margrave of Istria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Henry_II,_Margrave_of_Istria property:sister ?k . ?k rdf:type ontology:common_name }
[]
common name
Q57520 Q61876 Q61491
SYSTEM
Hedwig of Silesia, Agnes of Merania, Gertrude of Merania
Q57520 Q61876 Q61491
(Q1596490,P9,c(Q502895))
action filter_type
action find
entity Q1596490
relation P9
type Q502895
[ANSWERS] are the sisters of Henry II, Margrave of Istria
['Q1596490', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1596490 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Hedwig of Silesia Agnes of Merania Gertrude of Merania
Hedwig of Silesia, Agnes of Merania and Gertrude of Merania are the sisters of Henry II, Margrave of Istria
Hedwig of Silesia Agnes of Merania Gertrude of Merania
action filter_type
action find
entity Henry II, Margrave of Istria
relation sister
type common name
['Henry II, Margrave of Istria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Henry_II,_Margrave_of_Istria property:sister ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6705853 Q15918
P17
Q15617994
USER
Which administrative territories are Slovenj Gradec or Lutomia Mała situated in ?
OR((Q15918,P17,c(Q15617994)), (Q6705853,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15918
relation P17
action find
entity Q6705853
relation P17
type Q15617994
{'OR': [['Q15918', 'P17', {'concept': 'Q15617994'}], ['Q6705853', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15918 property:P17 ?v } UNION { resource:Q6705853 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Lutomia Mała Slovenj Gradec
action filter_type
action union
action find
entity Slovenj Gradec
relation country
action find
entity Lutomia Mała
relation country
type designation for an administrative territorial entity
{'OR': [['Slovenj Gradec', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lutomia Mała', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Slovenj_Gradec property:country ?v } UNION { resource:Lutomia_Mała property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q215
SYSTEM
Poland, Slovenia
Q36 Q215
OR((Q15918,P17,c(Q15617994)), (Q6705853,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15918
relation P17
action find
entity Q6705853
relation P17
type Q15617994
Slovenj Gradec or Lutomia Mała are situated in [ANSWERS]
{'OR': [['Q15918', 'P17', {'concept': 'Q15617994'}], ['Q6705853', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15918 property:P17 ?v } UNION { resource:Q6705853 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Poland Slovenia
Slovenj Gradec or Lutomia Mała are situated in Poland and Slovenia
Poland Slovenia
action filter_type
action union
action find
entity Slovenj Gradec
relation country
action find
entity Lutomia Mała
relation country
type designation for an administrative territorial entity
{'OR': [['Slovenj Gradec', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lutomia Mała', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Slovenj_Gradec property:country ?v } UNION { resource:Lutomia_Mała property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]