Simple Question (Direct)
Simple Question
Q132205
P27
Q15617994
USER
Which administrative territory is the native country of Andreas Voutsinas ?
(Q132205,P27,c(Q15617994))
action filter_type
action find
entity Q132205
relation P27
type Q15617994
['Q132205', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q132205 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Andreas Voutsinas
action filter_type
action find
entity Andreas Voutsinas
relation country of citizenship
type designation for an administrative territorial entity
['Andreas Voutsinas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Andreas_Voutsinas property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q132205,P27,c(Q15617994))
action filter_type
action find
entity Q132205
relation P27
type Q15617994
The [ANSWER] is the native country of Andreas Voutsinas
['Q132205', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q132205 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Greece
The Greece is the native country of Andreas Voutsinas
Greece
action filter_type
action find
entity Andreas Voutsinas
relation country of citizenship
type designation for an administrative territorial entity
['Andreas Voutsinas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Andreas_Voutsinas property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q132205
P19
Q56061
USER
Which administrative territory is the birthplace of Andreas Voutsinas ?
(Q132205,P19,c(Q56061))
action filter_type
action find
entity Q132205
relation P19
type Q56061
['Q132205', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q132205 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Andreas Voutsinas
action filter_type
action find
entity Andreas Voutsinas
relation place of birth
type administrative territorial entity
['Andreas Voutsinas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andreas_Voutsinas property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1963
SYSTEM
Khartoum
Q1963
(Q132205,P19,c(Q56061))
action filter_type
action find
entity Q132205
relation P19
type Q56061
[ANSWER] is the birthplace of Andreas Voutsinas
['Q132205', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q132205 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Khartoum
Khartoum is the birthplace of Andreas Voutsinas
Khartoum
action filter_type
action find
entity Andreas Voutsinas
relation place of birth
type administrative territorial entity
['Andreas Voutsinas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andreas_Voutsinas property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5108280
Q56061
USER
And also tell me about Chris Todd?
(Q5108280,P19,c(Q56061))
action filter_type
action find
entity Q5108280
relation P19
type Q56061
['Q5108280', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5108280 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Chris Todd
action filter_type
action find
entity Chris Todd
relation place of birth
type administrative territorial entity
['Chris Todd', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Chris_Todd property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23051
SYSTEM
Swansea
Q23051
(Q5108280,P19,c(Q56061))
action filter_type
action find
entity Q5108280
relation P19
type Q56061
[ANSWER]
['Q5108280', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5108280 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Swansea
Swansea
action filter_type
action find
entity Chris Todd
relation place of birth
type administrative territorial entity
['Chris Todd', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Chris_Todd property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11561089
P734
Q82799
USER
Which name is associated with Mutsumi Shimizu ?
(Q11561089,P734,c(Q82799))
action filter_type
action find
entity Q11561089
relation P734
type Q82799
['Q11561089', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q11561089 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Mutsumi Shimizu
action filter_type
action find
entity Mutsumi Shimizu
relation family name
type name
['Mutsumi Shimizu', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Mutsumi_Shimizu property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q16883193
SYSTEM
Shimizu
Q16883193
(Q11561089,P734,c(Q82799))
action filter_type
action find
entity Q11561089
relation P734
type Q82799
To [ANSWER] is associated with Mutsumi [ANSWER]
['Q11561089', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q11561089 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Shimizu
To Shimizu is associated with Mutsumi Shimizu
Shimizu
action filter_type
action find
entity Mutsumi Shimizu
relation family name
type name
['Mutsumi Shimizu', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Mutsumi_Shimizu property:family_name ?q . ?q rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1963
P19
Q502895
USER
How many people have birthplace at Khartoum ?
(c(Q502895),P19,Q1963)
action count
action filter_type
action find_reverse
entity Q1963
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1963']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P19 resource:Q1963 }
Khartoum
action count
action filter_type
action find_reverse
entity Khartoum
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Khartoum']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_birth resource:Khartoum }
[]
common name
SYSTEM
41
Q9100 Q4829661 Q21330691 Q317757 Q6943752 Q6940062 Q954972 Q16233809 Q428272 Q3461586 Q290220 Q2995011 Q18357931 Q3115482 Q104392 Q2444929 Q1951817 Q20425527 Q6253228 Q7306920 Q17386069 Q4165685 Q400918 Q7090108 Q23760263 Q132205 Q25199129 Q4830101 Q4353478 Q6737409 Q17579952 Q436306 Q2746907 Q3335100 Q4064342 Q3127265 Q2059430 Q2031070 Q7412763 Q3108169 Q23562628
(c(Q502895),P19,Q1963)
action count
action filter_type
action find_reverse
entity Q1963
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1963']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P19 resource:Q1963 }
Ismail Ahmed Ismail Awad El Karim Makki Nathaniel Hailemariam Abdallah alhyan Mutaz Kabair Musaeb Abdulrahman Balla Eddy Sidra Samuel Gebru Richard Justin Saifeldin Masawi Leila Aboulela Constantin Pappas Mathiang Muo Mudather El Tahir Muhammad Naguib Nessim Gaon Muhammad Ahmad Mahgoub Nawawe John Pott Reema Major Abdel Moneim Hussein Magid Mohamed Ahmed al-Mirghani Omer Mohamed Bakhit Yassmin Abdel-Magied Andreas Voutsinas Alsarah Awn Alsharif Qasim Golgol Mebrahtu Majak Daw Ataui Deng Nawal El Jack Faisal Agab Nagmeldin Ali Abubakr Amir Damar Koku Hrant Alianak Ater Majok Sami al-Hajj Samuel Tesfagabr Mohammed Ali El Khider Zeinab Elobeid Yousif
41
action count
action filter_type
action find_reverse
entity Khartoum
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Khartoum']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_birth resource:Khartoum }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q104400
P19
Q502895
USER
And how about Hamar?
(c(Q502895),P19,Q104400)
action count
action filter_type
action find_reverse
entity Q104400
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q104400']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P19 resource:Q104400 . ?h rdf:type ontology:Q502895 }
Hamar
action count
action filter_type
action find_reverse
entity Hamar
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hamar']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:place_of_birth resource:Hamar . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
83
Q11997834 Q1592635 Q4761757 Q5572137 Q462572 Q16898520 Q12717405 Q3041802 Q18646631 Q2474370 Q2455246 Q11973335 Q4174214 Q3816010 Q3532182 Q6699111 Q16734344 Q548001 Q7077416 Q936185 Q1606227 Q1339189 Q679682 Q219584 Q16222150 Q504841 Q522292 Q13426850 Q1780001 Q1992857 Q2278042 Q19390492 Q4968156 Q7264631 Q717657 Q692806 Q21590396 Q26736393 Q940495 Q7384642 Q1771052 Q3984351 Q548628 Q5349704 Q11999574 Q3663609 Q3978445 Q776779 Q3809037 Q7109688 Q20899075 Q11978760 Q387062 Q14371709 Q4960141 Q735819 Q1367595 Q4994128 Q234380 Q262968 Q11980960 Q1801881 Q113265 Q3378688 Q487165 Q462355 Q7082964 Q2467184 Q1770630 Q3993714 Q3830006 Q11990001 Q6426276 Q16203126 Q247606 Q6204729 Q7166765 Q6419371 Q1894303 Q5638935 Q183233 Q12010599 Q11971839
(c(Q502895),P19,Q104400)
action count
action filter_type
action find_reverse
entity Q104400
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q104400']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P19 resource:Q104400 . ?h rdf:type ontology:Q502895 }
Rikka Deinboll Bjørn Ole Rasch Anette Trettebergstuen Sverre Arvid Bergh Torill Kove Ingri Egeberg Ola Braanaas Sverre Sørsdal Ola Stenberg Ole Sigurd Simensen Tore Brovold Gunnar Westgaard Frida Ånnevik Knut Hagen Tor Arne Granerud Ludvig Larsen Kim-Erik Pedersen Trygve Slagsvold Vedum Odd Mæhlum Jon Inge Kjørum Henrik Adam Brockenhuus Lars Løkken Østli Stian Arnesen Dag Fornæss Espen Berg Gudmund Storlien Katti Anker Møller Ludvig Skramstad Anders Baasmo Christiansen Nina Søbye Sigurd Evensmo Stian Hoelseth Randi Bratteli Pål Ekeberg Schjerve Øivind Bergh Halfdan Bjølgerud Odd-Even Bustnes John Olav Oldertrøen Kaare Wahlberg Ryan Wiik Sonja Irene Sjøli Terje Nordgarden Nell Sigland Einar Stensrud Sara Li Stensrud Cato Erstad Svein-Erik Edvartsen Marius Holtet John Anders Rise Otto Krogh Bjarne Falk Johan M. Platou Finn Thorsen Roar Engelberg Bredo Greve Egil Danielsen Petter Vaagan Moen Snorre Wikstrøm Kirsten Flagstad Hilde Gjermundshaug Pedersen Kjersti Bronken Senderud Ole Børud Knut Faldbakken Erik Waaler Even Wetten Rut Brandt Olaf Johannessen Vegard Skogheim Pauline Hall Tore Antonsen Leif Henning Asla Morten Løberg Ivar Eriksen Mari Chauhan Vebjørn Berg Joakim Hagabakken Per Monsen Kjell Heggelund Marcus Pedersen Hai Lam Thorstein Helstad Widar Aspeli Georg Waaler
83
action count
action filter_type
action find_reverse
entity Hamar
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hamar']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:place_of_birth resource:Hamar . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18130932
P407
Q34770 Q82799
USER
Which languages are approximately the same number of names in as Traditional Chinese ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q18130932
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P407 ?e . ?r rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Q18130932 property:P407 ?z . ?z rdf:type ontology:Q34770 } } . FILTER ( ?t = ?p ) }
Traditional Chinese
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Traditional Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:language_of_work_or_name ?e . ?r rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Traditional_Chinese property:language_of_work_or_name ?z . ?z rdf:type ontology:language } } . FILTER ( ?t = ?p ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q18130932
relation P407
type Q34770
[ANSWERS] are approximately the same number of names in as Traditional Chinese
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P407 ?e . ?r rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Q18130932 property:P407 ?z . ?z rdf:type ontology:Q34770 } } . FILTER ( ?t = ?p ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately the same number of names in as Traditional Chinese
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Traditional Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:language_of_work_or_name ?e . ?r rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Traditional_Chinese property:language_of_work_or_name ?z . ?z rdf:type ontology:language } } . FILTER ( ?t = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q33879
P407
Q34770 Q82799
USER
And also tell me about Pangasinan language?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q33879
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P407 ?p . ?p rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q33879 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?a = ?g ) }
Pangasinan language
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Pangasinan language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?d rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Pangasinan_language property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?a = ?g ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q33879
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P407 ?p . ?p rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q33879 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?a = ?g ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Pangasinan language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?d rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Pangasinan_language property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?a = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2778439 Q132205
P20
Q56061
USER
Which administrative territories are the places of death of Andreas Voutsinas or Max Gauß ?
OR((Q132205,P20,c(Q56061)), (Q2778439,P20,c(Q56061)))
action filter_type
action union
action find
entity Q132205
relation P20
action find
entity Q2778439
relation P20
type Q56061
{'OR': [['Q132205', 'P20', {'concept': 'Q56061'}], ['Q2778439', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:P20 ?o . VALUES ( ?h ) { ( resource:Q132205 ) ( resource:Q2778439 ) } } . ?o rdf:type ontology:Q56061 }
Max Gauß Andreas Voutsinas
action filter_type
action union
action find
entity Andreas Voutsinas
relation place of death
action find
entity Max Gauß
relation place of death
type administrative territorial entity
{'OR': [['Andreas Voutsinas', 'place of death', {'concept': 'administrative territorial entity'}], ['Max Gauß', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:place_of_death ?o . VALUES ( ?h ) { ( resource:Andreas_Voutsinas ) ( resource:Max_Gauß ) } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q715
SYSTEM
Athens, Heilbronn
Q1524 Q715
OR((Q132205,P20,c(Q56061)), (Q2778439,P20,c(Q56061)))
action filter_type
action union
action find
entity Q132205
relation P20
action find
entity Q2778439
relation P20
type Q56061
[ANSWERS] are the places of death of Andreas Voutsinas or Max Gauß
{'OR': [['Q132205', 'P20', {'concept': 'Q56061'}], ['Q2778439', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:P20 ?o . VALUES ( ?h ) { ( resource:Q132205 ) ( resource:Q2778439 ) } } . ?o rdf:type ontology:Q56061 }
Athens Heilbronn
Athens and Heilbronn are the places of death of Andreas Voutsinas or Max Gauß
Athens Heilbronn
action filter_type
action union
action find
entity Andreas Voutsinas
relation place of death
action find
entity Max Gauß
relation place of death
type administrative territorial entity
{'OR': [['Andreas Voutsinas', 'place of death', {'concept': 'administrative territorial entity'}], ['Max Gauß', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:place_of_death ?o . VALUES ( ?h ) { ( resource:Andreas_Voutsinas ) ( resource:Max_Gauß ) } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1524 Q715
P127
Q483110
USER
Which stadia are owned by Athens and Heilbronn ?
(c(Q483110),P127,Q1524) (c(Q483110),P127,Q715)
action union
action filter_type
action find_reverse
entity Q1524
relation P127
type Q483110
action filter_type
action find_reverse
entity Q715
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q1524'] [{'concept': 'Q483110'}, 'P127', 'Q715']
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Q1524 ) ( resource:Q715 ) } . ?k property:P127 ?e }
Athens Heilbronn
action union
action filter_type
action find_reverse
entity Athens
relation owned by
type stadium
action filter_type
action find_reverse
entity Heilbronn
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Athens'] [{'concept': 'stadium'}, 'owned by', 'Heilbronn']
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Athens ) ( resource:Heilbronn ) } . ?k property:owned_by ?e }
[]
stadium
Q1113002 Q405683
SYSTEM
Panathinaikos F.C. New Stadium, Frankenstadion Heilbronn
Q1113002 Q405683
(c(Q483110),P127,Q1524) (c(Q483110),P127,Q715)
action union
action filter_type
action find_reverse
entity Q1524
relation P127
type Q483110
action filter_type
action find_reverse
entity Q715
relation P127
type Q483110
[ANSWERS] are owned by Athens and Heilbronn
[{'concept': 'Q483110'}, 'P127', 'Q1524'] [{'concept': 'Q483110'}, 'P127', 'Q715']
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Q1524 ) ( resource:Q715 ) } . ?k property:P127 ?e }
Panathinaikos F.C. New Stadium Frankenstadion Heilbronn
Panathinaikos F.C. New Stadium and Frankenstadion Heilbronn are owned by Athens and Heilbronn
Panathinaikos F.C. New Stadium Frankenstadion Heilbronn
action union
action filter_type
action find_reverse
entity Athens
relation owned by
type stadium
action filter_type
action find_reverse
entity Heilbronn
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Athens'] [{'concept': 'stadium'}, 'owned by', 'Heilbronn']
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Athens ) ( resource:Heilbronn ) } . ?k property:owned_by ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P17
Q15617994
USER
Which administrative territory is Athens present in ?
(Q1524,P17,c(Q15617994))
action filter_type
action find
entity Q1524
relation P17
type Q15617994
['Q1524', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1524 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Athens
action filter_type
action find
entity Athens
relation country
type designation for an administrative territorial entity
['Athens', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Athens property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q1524,P17,c(Q15617994))
action filter_type
action find
entity Q1524
relation P17
type Q15617994
Athens is in [ANSWER]
['Q1524', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1524 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Greece
Athens is in Greece
Greece
action filter_type
action find
entity Athens
relation country
type designation for an administrative territorial entity
['Athens', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Athens property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P30
Q2221906
USER
Which geographic location is Athens located in ?
(Q1524,P30,c(Q2221906))
action filter_type
action find
entity Q1524
relation P30
type Q2221906
['Q1524', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1524 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Athens
action filter_type
action find
entity Athens
relation continent
type geographic location
['Athens', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Athens property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1524,P30,c(Q2221906))
action filter_type
action find
entity Q1524
relation P30
type Q2221906
Athens is located in [ANSWER]
['Q1524', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1524 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
Athens is located in Europe
Europe
action filter_type
action find
entity Athens
relation continent
type geographic location
['Athens', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Athens property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5555891
Q2221906
USER
And what about Oshtorankuh?
(Q5555891,P30,c(Q2221906))
action filter_type
action find
entity Q5555891
relation P30
type Q2221906
['Q5555891', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q5555891 property:P30 ?s . ?s rdf:type ontology:Q2221906 }
Oshtorankuh
action filter_type
action find
entity Oshtorankuh
relation continent
type geographic location
['Oshtorankuh', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:Oshtorankuh property:continent ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q5555891,P30,c(Q2221906))
action filter_type
action find
entity Q5555891
relation P30
type Q2221906
[ANSWER]
['Q5555891', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q5555891 property:P30 ?s . ?s rdf:type ontology:Q2221906 }
Asia
Asia
action filter_type
action find
entity Oshtorankuh
relation continent
type geographic location
['Oshtorankuh', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:Oshtorankuh property:continent ?s . ?s rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q48 Q5579846 Q2035462
P361
Q2221906
USER
Is that geographic location a component of Golden Swan-True American and Ostfeste ?
(Q48,P361,Q5579846) (Q48,P361,Q2035462)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5579846
relation P361
action find_reverse
entity Q2035462
relation P361
['Q48', 'P361', 'Q5579846'] ['Q48', 'P361', 'Q2035462']
ASK WHERE { resource:Q48 property:P361 resource:Q5579846 . resource:Q48 property:P361 resource:Q2035462 }
Asia Golden Swan-True American Ostfeste
action is_in
entity Asia
action intersection
action find_reverse
entity Golden Swan-True American
relation part of
action find_reverse
entity Ostfeste
relation part of
['Asia', 'part of', 'Golden Swan-True American'] ['Asia', 'part of', 'Ostfeste']
ASK WHERE { resource:Asia property:part_of resource:Golden_Swan-True_American . resource:Asia property:part_of resource:Ostfeste }
[]
geographic location
SYSTEM
NO and YES respectively
(Q48,P361,Q5579846) (Q48,P361,Q2035462)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5579846
relation P361
action find_reverse
entity Q2035462
relation P361
[ANSWER]
['Q48', 'P361', 'Q5579846'] ['Q48', 'P361', 'Q2035462']
ASK WHERE { resource:Q48 property:P361 resource:Q5579846 . resource:Q48 property:P361 resource:Q2035462 }
NO and YES respectively
action is_in
entity Asia
action intersection
action find_reverse
entity Golden Swan-True American
relation part of
action find_reverse
entity Ostfeste
relation part of
['Asia', 'part of', 'Golden Swan-True American'] ['Asia', 'part of', 'Ostfeste']
ASK WHERE { resource:Asia property:part_of resource:Golden_Swan-True_American . resource:Asia property:part_of resource:Ostfeste }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48
P159
Q43229
USER
Which organization has headquarters located at Asia ?
action filter_type
action find_reverse
entity Q48
relation P159
type Q43229
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P159 resource:Q48 }
Asia
action filter_type
action find_reverse
entity Asia
relation headquarters location
type organization
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:headquarters_location resource:Asia }
[]
organization
Q6485792
SYSTEM
Langdon & Seah
Q6485792
action filter_type
action find_reverse
entity Q48
relation P159
type Q43229
[ANSWER] has headquarters located at Asia
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P159 resource:Q48 }
Langdon & Seah
Langdon & Seah has headquarters located at Asia
Langdon & Seah
action filter_type
action find_reverse
entity Asia
relation headquarters location
type organization
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:headquarters_location resource:Asia }
[]