Simple Question (Direct)
Simple Question
Q16220511
P22
Q502895
USER
Which person was the father of Reinhold Dürrenmatt ?
(Q16220511,P22,c(Q502895))
action filter_type
action find
entity Q16220511
relation P22
type Q502895
['Q16220511', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16220511 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Reinhold Dürrenmatt
action filter_type
action find
entity Reinhold Dürrenmatt
relation father
type common name
['Reinhold Dürrenmatt', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Reinhold_Dürrenmatt property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q121812
SYSTEM
Ulrich Dürrenmatt
Q121812
(Q16220511,P22,c(Q502895))
action filter_type
action find
entity Q16220511
relation P22
type Q502895
[ANSWER] was the father of Reinhold Dürrenmatt
['Q16220511', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16220511 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Ulrich Dürrenmatt
Ulrich Dürrenmatt was the father of Reinhold Dürrenmatt
Ulrich Dürrenmatt
action filter_type
action find
entity Reinhold Dürrenmatt
relation father
type common name
['Reinhold Dürrenmatt', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Reinhold_Dürrenmatt property:father ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121812
P19
Q13220204
USER
Where was that person born ?
(Q121812,P19,c(Q13220204))
action filter_type
action find
entity Q121812
relation P19
type Q13220204
['Q121812', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q121812 property:P19 ?w . ?w rdf:type ontology:Q13220204 }
Ulrich Dürrenmatt
action filter_type
action find
entity Ulrich Dürrenmatt
relation place of birth
type second-level administrative country subdivision
['Ulrich Dürrenmatt', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Ulrich_Dürrenmatt property:place_of_birth ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q64969
SYSTEM
Guggisberg
Q64969
(Q121812,P19,c(Q13220204))
action filter_type
action find
entity Q121812
relation P19
type Q13220204
That person was born at [ANSWER]
['Q121812', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q121812 property:P19 ?w . ?w rdf:type ontology:Q13220204 }
Guggisberg
That person was born at Guggisberg
Guggisberg
action filter_type
action find
entity Ulrich Dürrenmatt
relation place of birth
type second-level administrative country subdivision
['Ulrich Dürrenmatt', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Ulrich_Dürrenmatt property:place_of_birth ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q121812 Q2372248
P937
Q56061
USER
How many administrative territories did Ulrich Dürrenmatt or Free State of Oldenburg work ?
(Q121812,P937,c(Q56061)) (Q2372248,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q121812
relation P937
type Q56061
action filter_type
action find
entity Q2372248
relation P937
type Q56061
['Q121812', 'P937', {'concept': 'Q56061'}] ['Q2372248', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { VALUES ( ?n ) { ( resource:Q121812 ) ( resource:Q2372248 ) } . ?n property:P937 ?l }
Ulrich Dürrenmatt Free State of Oldenburg
action count
action union
action filter_type
action find
entity Ulrich Dürrenmatt
relation work location
type administrative territorial entity
action filter_type
action find
entity Free State of Oldenburg
relation work location
type administrative territorial entity
['Ulrich Dürrenmatt', 'work location', {'concept': 'administrative territorial entity'}] ['Free State of Oldenburg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { VALUES ( ?n ) { ( resource:Ulrich_Dürrenmatt ) ( resource:Free_State_of_Oldenburg ) } . ?n property:work_location ?l }
[]
administrative territorial entity
SYSTEM
2
Q586 Q70
(Q121812,P937,c(Q56061)) (Q2372248,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q121812
relation P937
type Q56061
action filter_type
action find
entity Q2372248
relation P937
type Q56061
[ANSWER]
['Q121812', 'P937', {'concept': 'Q56061'}] ['Q2372248', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { VALUES ( ?n ) { ( resource:Q121812 ) ( resource:Q2372248 ) } . ?n property:P937 ?l }
Bonn Bern
2
action count
action union
action filter_type
action find
entity Ulrich Dürrenmatt
relation work location
type administrative territorial entity
action filter_type
action find
entity Free State of Oldenburg
relation work location
type administrative territorial entity
['Ulrich Dürrenmatt', 'work location', {'concept': 'administrative territorial entity'}] ['Free State of Oldenburg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { VALUES ( ?n ) { ( resource:Ulrich_Dürrenmatt ) ( resource:Free_State_of_Oldenburg ) } . ?n property:work_location ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16220511
P26
Q502895
USER
Which person is married to Reinhold Dürrenmatt ?
(Q16220511,P26,c(Q502895))
action filter_type
action find
entity Q16220511
relation P26
type Q502895
['Q16220511', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q16220511 property:P26 ?g }
Reinhold Dürrenmatt
action filter_type
action find
entity Reinhold Dürrenmatt
relation spouse
type common name
['Reinhold Dürrenmatt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Reinhold_Dürrenmatt property:spouse ?g }
[]
common name
Q16220568
SYSTEM
Hulda Dürrenmatt
Q16220568
(Q16220511,P26,c(Q502895))
action filter_type
action find
entity Q16220511
relation P26
type Q502895
Frau [ANSWER] is married to Reinhold Dürrenmatt
['Q16220511', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q16220511 property:P26 ?g }
Hulda Dürrenmatt
Frau Hulda Dürrenmatt is married to Reinhold Dürrenmatt
Hulda Dürrenmatt
action filter_type
action find
entity Reinhold Dürrenmatt
relation spouse
type common name
['Reinhold Dürrenmatt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Reinhold_Dürrenmatt property:spouse ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16220568
P25
Q502895
USER
Who has that one as a mother ?
(c(Q502895),P25,Q16220568)
action filter_type
action find_reverse
entity Q16220568
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q16220568']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q16220568 . ?e rdf:type ontology:Q502895 }
Hulda Dürrenmatt
action filter_type
action find_reverse
entity Hulda Dürrenmatt
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hulda Dürrenmatt']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Hulda_Dürrenmatt . ?e rdf:type ontology:common_name }
[]
common name
Q23481
SYSTEM
Friedrich Dürrenmatt
Q23481
(c(Q502895),P25,Q16220568)
action filter_type
action find_reverse
entity Q16220568
relation P25
type Q502895
[ANSWER] has that one as a mother
[{'concept': 'Q502895'}, 'P25', 'Q16220568']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q16220568 . ?e rdf:type ontology:Q502895 }
Friedrich Dürrenmatt
Friedrich Dürrenmatt has that one as a mother
Friedrich Dürrenmatt
action filter_type
action find_reverse
entity Hulda Dürrenmatt
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hulda Dürrenmatt']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Hulda_Dürrenmatt . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P50
Q15961983 Q838948
USER
How many radio genres or works of art were written by that person ?
(c(Q15961983),P50,Q23481) (c(Q838948),P50,Q23481) (c(Q15961983),P50,Q23481) (c(Q838948),P50,Q23481)
action count
action union
action filter_type
action find_reverse
entity Q23481
relation P50
type Q15961983
action filter_type
action find_reverse
entity Q23481
relation P50
type Q838948
[{'concept': 'Q15961983'}, 'P50', 'Q23481'] [{'concept': 'Q838948'}, 'P50', 'Q23481'] [{'concept': 'Q15961983'}, 'P50', 'Q23481'] [{'concept': 'Q838948'}, 'P50', 'Q23481']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q15961983 ) } . ?u rdf:type ?q }
action count
action union
action filter_type
action find_reverse
entity Friedrich Dürrenmatt
relation author
type radio genre
action filter_type
action find_reverse
entity Friedrich Dürrenmatt
relation author
type work of art
[{'concept': 'radio genre'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'work of art'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'radio genre'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'work of art'}, 'author', 'Friedrich Dürrenmatt']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:radio_genre ) } . ?u rdf:type ?q }
[]
radio genre work of art
SYSTEM
3
Q20963399 Q260824 Q688919
(c(Q15961983),P50,Q23481) (c(Q838948),P50,Q23481) (c(Q15961983),P50,Q23481) (c(Q838948),P50,Q23481)
action count
action union
action filter_type
action find_reverse
entity Q23481
relation P50
type Q15961983
action filter_type
action find_reverse
entity Q23481
relation P50
type Q838948
[ANSWER]
[{'concept': 'Q15961983'}, 'P50', 'Q23481'] [{'concept': 'Q838948'}, 'P50', 'Q23481'] [{'concept': 'Q15961983'}, 'P50', 'Q23481'] [{'concept': 'Q838948'}, 'P50', 'Q23481']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q15961983 ) } . ?u rdf:type ?q }
A Dangerous Game The Physicists The Visit
3
action count
action union
action filter_type
action find_reverse
entity Friedrich Dürrenmatt
relation author
type radio genre
action filter_type
action find_reverse
entity Friedrich Dürrenmatt
relation author
type work of art
[{'concept': 'radio genre'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'work of art'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'radio genre'}, 'author', 'Friedrich Dürrenmatt'] [{'concept': 'work of art'}, 'author', 'Friedrich Dürrenmatt']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:radio_genre ) } . ?u rdf:type ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q65756 Q121812
P22
Q502895
USER
Which people are the offspring of Ulrich Dürrenmatt or Louis I, Count Palatine of Zweibrücken ?
OR((c(Q502895),P22,Q121812), (c(Q502895),P22,Q65756))
action filter_type
action union
action find_reverse
entity Q121812
relation P22
action find_reverse
entity Q65756
relation P22
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q121812'], [{'concept': 'Q502895'}, 'P22', 'Q65756']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { ?j property:P22 resource:Q121812 } UNION { ?j property:P22 resource:Q65756 } } }
Louis I, Count Palatine of Zweibrücken Ulrich Dürrenmatt
action filter_type
action union
action find_reverse
entity Ulrich Dürrenmatt
relation father
action find_reverse
entity Louis I, Count Palatine of Zweibrücken
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Ulrich Dürrenmatt'], [{'concept': 'common name'}, 'father', 'Louis I, Count Palatine of Zweibrücken']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { ?j property:father resource:Ulrich_Dürrenmatt } UNION { ?j property:father resource:Louis_I,_Count_Palatine_of_Zweibrücken } } }
[]
common name
Q3205768 Q73316 Q72922 Q1498247 Q1330467 Q16220511
SYSTEM
Hugo Dürrenmatt, Kaspar, Count Palatine of Zweibrücken, Alexander, Count Palatine of Zweibrücken, Margarete of Palatinate-Zweibrücken, Elisabeth of Palatinate-Zweibrücken, Reinhold Dürrenmatt
Q3205768 Q73316 Q72922 Q1498247 Q1330467 Q16220511
OR((c(Q502895),P22,Q121812), (c(Q502895),P22,Q65756))
action filter_type
action union
action find_reverse
entity Q121812
relation P22
action find_reverse
entity Q65756
relation P22
type Q502895
[ANSWERS] are the offspring of Ulrich Dürrenmatt or Louis I, Count Palatine of Zweibrücken
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q121812'], [{'concept': 'Q502895'}, 'P22', 'Q65756']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { ?j property:P22 resource:Q121812 } UNION { ?j property:P22 resource:Q65756 } } }
Hugo Dürrenmatt Kaspar, Count Palatine of Zweibrücken Alexander, Count Palatine of Zweibrücken Margarete of Palatinate-Zweibrücken Elisabeth of Palatinate-Zweibrücken Reinhold Dürrenmatt
Hugo Dürrenmatt, Kaspar, Count Palatine of Zweibrücken, Alexander, Count Palatine of Zweibrücken, Margarete of Palatinate-Zweibrücken, Elisabeth of Palatinate-Zweibrücken and Reinhold Dürrenmatt are the offspring of Ulrich Dürrenmatt or Louis I, Count Palatine of Zweibrücken
Hugo Dürrenmatt Kaspar, Count Palatine of Zweibrücken Alexander, Count Palatine of Zweibrücken Margarete of Palatinate-Zweibrücken Elisabeth of Palatinate-Zweibrücken Reinhold Dürrenmatt
action filter_type
action union
action find_reverse
entity Ulrich Dürrenmatt
relation father
action find_reverse
entity Louis I, Count Palatine of Zweibrücken
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Ulrich Dürrenmatt'], [{'concept': 'common name'}, 'father', 'Louis I, Count Palatine of Zweibrücken']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { ?j property:father resource:Ulrich_Dürrenmatt } UNION { ?j property:father resource:Louis_I,_Count_Palatine_of_Zweibrücken } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12135700 Q2372248
P1376 P1383
Q515
USER
Which cities are the county seat of Free State of Oldenburg or supervises Olănești ?
OR((c(Q515),P1376,Q2372248), (c(Q515),P1383,Q12135700))
action filter_type
action union
action find_reverse
entity Q2372248
relation P1376
action find_reverse
entity Q12135700
relation P1383
type Q515
{'OR': [[{'concept': 'Q515'}, 'P1376', 'Q2372248'], [{'concept': 'Q515'}, 'P1383', 'Q12135700']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P1376 resource:Q2372248 } UNION { ?z property:P1383 resource:Q12135700 } } . ?z rdf:type ontology:Q515 }
Olănești Free State of Oldenburg
action filter_type
action union
action find_reverse
entity Free State of Oldenburg
relation capital of
action find_reverse
entity Olănești
relation contains settlement
type city
{'OR': [[{'concept': 'city'}, 'capital of', 'Free State of Oldenburg'], [{'concept': 'city'}, 'contains settlement', 'Olănești']]}
SELECT DISTINCT ?z WHERE { { { ?z property:capital_of resource:Free_State_of_Oldenburg } UNION { ?z property:contains_settlement resource:Olănești } } . ?z rdf:type ontology:city }
[]
city
Q2936 Q855721
SYSTEM
Oldenburg, Băile Olănești
Q2936 Q855721
OR((c(Q515),P1376,Q2372248), (c(Q515),P1383,Q12135700))
action filter_type
action union
action find_reverse
entity Q2372248
relation P1376
action find_reverse
entity Q12135700
relation P1383
type Q515
[ANSWERS] are the county seat of Free State of Oldenburg or supervises Olănești
{'OR': [[{'concept': 'Q515'}, 'P1376', 'Q2372248'], [{'concept': 'Q515'}, 'P1383', 'Q12135700']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P1376 resource:Q2372248 } UNION { ?z property:P1383 resource:Q12135700 } } . ?z rdf:type ontology:Q515 }
Oldenburg Băile Olănești
Oldenburg and Băile Olănești are the county seat of Free State of Oldenburg or supervises Olănești
Oldenburg Băile Olănești
action filter_type
action union
action find_reverse
entity Free State of Oldenburg
relation capital of
action find_reverse
entity Olănești
relation contains settlement
type city
{'OR': [[{'concept': 'city'}, 'capital of', 'Free State of Oldenburg'], [{'concept': 'city'}, 'contains settlement', 'Olănești']]}
SELECT DISTINCT ?z WHERE { { { ?z property:capital_of resource:Free_State_of_Oldenburg } UNION { ?z property:contains_settlement resource:Olănești } } . ?z rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P36
Q515 Q1048835 Q13220204
USER
How many cities are the capitals of around the same number of political territories and administrative country subdivisions as that city ?
(c(Q1048835)|c(Q13220204),P36,c(Q515))
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?p property:Q8137 ?y . VALUES ( ?p ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q13220204 }
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?p property:capital ?y . VALUES ( ?p ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:city . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
city political territorial entity second-level administrative country subdivision
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2936
SYSTEM
Did you mean Oldenburg ?
(c(Q1048835)|c(Q13220204),P36,c(Q515))
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?p property:Q8137 ?y . VALUES ( ?p ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q13220204 }
Did you mean Oldenburg ?
Oldenburg
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?p property:capital ?y . VALUES ( ?p ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:city . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q1048835)|c(Q13220204),P36,c(Q515))
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
[]
SYSTEM
138
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q19689 Q873377 Q83786 Q4024 Q1711 Q496667 Q27860 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q8131 Q3926 Q11462 Q3744 Q3214 Q23482 Q505208 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q1467 Q14499 Q117676 Q1844 Q10389 Q35925 Q15379 Q1723 Q167668 Q4469 Q459787 Q1025387 Q191651 Q305640 Q14819 Q5285 Q14182 Q7568 Q1636 Q7027 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q3319248 Q714628 Q177149 Q2337 Q14960 Q3185 Q874270 Q1773 Q14821 Q2079 Q8156 Q14440 Q4007 Q14168 Q55598 Q271000 Q1826 Q1856 Q542154 Q3126 Q7253 Q157835 Q3046 Q2936 Q2749 Q11194 Q63145 Q2119 Q271917 Q5972 Q83247 Q1645 Q7578 Q14126 Q2907 Q1001339 Q15847 Q3768 Q2209 Q2200 Q2203 Q16506 Q14155 Q14409 Q517783 Q40626 Q55740 Q693264 Q6582 Q502205 Q57944 Q2795 Q8179 Q5217 Q1020709 Q456 Q267894 Q2152435 Q3935 Q7003 Q3936 Q3750 Q3612 Q894059 Q183111 Q40584 Q1067897 Q25475 Q11506 Q107624 Q2900 Q8042 Q50179 Q104125
(c(Q1048835)|c(Q13220204),P36,c(Q515))
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q8137 ?y } UNION { ?x property:Q8137 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q13220204 }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Tirana Dumaguete Shimla Frankfurt (Oder) Potsdam Muroran Jayapura Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Palembang Pretoria Surabaya Castro Cottbus Marseille Ouarzazate Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Cebu City Samarinda Viseu Vaduz Bandung Tabuk Kendari Batangas City Liepāja Talca Iloilo City Maasin Masbate City Abashiri Freiberg Tarlac Banjarmasin Yogyakarta Antipolo Straubing Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Pehuajó Rumoi Obihiro Smolensk Brno Hildesheim Pagadian Riga Coburg Leipzig Bandar Lampung Iquique Rosenheim Pontianak Palayan Bouaké Tagbilaran Malaybalay Koronadal Erlangen Padang Zaporizhzhya Pforzheim Oldenburg Augsburg Sarajevo Imus Mannheim Kushiro Medan Braga Cagayan de Oro Jambi Mataram Sucre Puerto Natales Manado Yamoussoukro Roxas Tuguegarao Arica České Budějovice Kupang Palangkaraya Pinamar Tacloban San Fernando Iwamizawa Carcassonne Nemuro Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Lyon Wakkanai Miramar Windhoek Dijon Bamberg Gera Antofagasta Borongan Jihlava San Fernando Oroquieta Batumi Denpasar Calapan Quito Bengkulu Ilagan Lucena
138
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital ?y } UNION { ?x property:capital ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:city . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3205768
P40
Q502895
USER
Which person has Hugo Dürrenmatt as an offspring ?
(c(Q502895),P40,Q3205768)
action filter_type
action find_reverse
entity Q3205768
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3205768']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q3205768 . ?v rdf:type ontology:Q502895 }
Hugo Dürrenmatt
action filter_type
action find_reverse
entity Hugo Dürrenmatt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hugo Dürrenmatt']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Hugo_Dürrenmatt . ?v rdf:type ontology:common_name }
[]
common name
Q121812
SYSTEM
Ulrich Dürrenmatt
Q121812
(c(Q502895),P40,Q3205768)
action filter_type
action find_reverse
entity Q3205768
relation P40
type Q502895
[ANSWER] has Hugo Dürrenmatt as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3205768']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q3205768 . ?v rdf:type ontology:Q502895 }
Ulrich Dürrenmatt
Ulrich Dürrenmatt has Hugo Dürrenmatt as an offspring
Ulrich Dürrenmatt
action filter_type
action find_reverse
entity Hugo Dürrenmatt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hugo Dürrenmatt']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Hugo_Dürrenmatt . ?v rdf:type ontology:common_name }
[]