Simple Question (Direct)
Simple Question
Q27537743
P641
Q349
USER
Which sport was 1975 Swedish Open Badminton Championships – Mixed doubles a part of ?
(Q27537743,P641,c(Q349))
action filter_type
action find
entity Q27537743
relation P641
type Q349
['Q27537743', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q27537743 property:P641 ?f }
1975 Swedish Open Badminton Championships – Mixed doubles
action filter_type
action find
entity 1975 Swedish Open Badminton Championships – Mixed doubles
relation sport
type sport
['1975 Swedish Open Badminton Championships – Mixed doubles', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:1975_Swedish_Open_Badminton_Championships_–_Mixed_doubles property:sport ?f }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27537743,P641,c(Q349))
action filter_type
action find
entity Q27537743
relation P641
type Q349
[ANSWER] was 1975 Swedish Open [ANSWER] Championships – Mixed doubles a part of
['Q27537743', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q27537743 property:P641 ?f }
badminton
Badminton was 1975 Swedish Open Badminton Championships – Mixed doubles a part of
badminton
action filter_type
action find
entity 1975 Swedish Open Badminton Championships – Mixed doubles
relation sport
type sport
['1975 Swedish Open Badminton Championships – Mixed doubles', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:1975_Swedish_Open_Badminton_Championships_–_Mixed_doubles property:sport ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27537743
P17
Q15617994
USER
Which administrative territory is 1975 Swedish Open Badminton Championships – Mixed doubles present in ?
(Q27537743,P17,c(Q15617994))
action filter_type
action find
entity Q27537743
relation P17
type Q15617994
['Q27537743', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q27537743 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
1975 Swedish Open Badminton Championships – Mixed doubles
action filter_type
action find
entity 1975 Swedish Open Badminton Championships – Mixed doubles
relation country
type designation for an administrative territorial entity
['1975 Swedish Open Badminton Championships – Mixed doubles', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:1975_Swedish_Open_Badminton_Championships_–_Mixed_doubles property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q27537743,P17,c(Q15617994))
action filter_type
action find
entity Q27537743
relation P17
type Q15617994
[ANSWER] is 1975 Swedish Open Badminton Championships – Mixed doubles present in
['Q27537743', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q27537743 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Sweden
Sweden is 1975 Swedish Open Badminton Championships – Mixed doubles present in
Sweden
action filter_type
action find
entity 1975 Swedish Open Badminton Championships – Mixed doubles
relation country
type designation for an administrative territorial entity
['1975 Swedish Open Badminton Championships – Mixed doubles', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:1975_Swedish_Open_Badminton_Championships_–_Mixed_doubles property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34 Q928
P530
Q15617994
USER
Does Philippines have diplomatic relationships with Sweden ?
(Q34,P530,Q928)
action is_in
entity Q928
action find
entity Q34
relation P530
['Q34', 'P530', 'Q928']
ASK WHERE { resource:Q34 property:P530 resource:Q928 }
Sweden Philippines
action is_in
entity Philippines
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Philippines']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Philippines }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q34,P530,Q928)
action is_in
entity Q928
action find
entity Q34
relation P530
[ANSWER]
['Q34', 'P530', 'Q928']
ASK WHERE { resource:Q34 property:P530 resource:Q928 }
Yes
action is_in
entity Philippines
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Philippines']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Philippines }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P710
Q1190554
USER
Which events did Sweden participate in ?
action filter_type
action find_reverse
entity Q34
relation P710
type Q1190554
SELECT DISTINCT ?s WHERE { ?s property:P710 resource:Q34 . ?s rdf:type ontology:Q1190554 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation participant
type event
SELECT DISTINCT ?s WHERE { ?s property:participant resource:Sweden . ?s rdf:type ontology:event }
[]
event
Q705409 Q541566 Q1606958
SYSTEM
Battle of Helsingborg, Battle of Kolding, Battle of Bogesund
Q3500708 Q705409 Q546505 Q46003 Q138025 Q736268 Q367025 Q155726 Q663359 Q682482 Q541566 Q1606958
action filter_type
action find_reverse
entity Q34
relation P710
type Q1190554
Sweden participated in [ANSWERS]
SELECT DISTINCT ?s WHERE { ?s property:P710 resource:Q34 . ?s rdf:type ontology:Q1190554 }
Battle of Stäket Battle of Helsingborg Battle of Stegeborg Battle of Rajovka Siege of Veprik Finnish War Battle of Lena Battle of Narva Battle of Holowczyn Russo-Swedish War Battle of Kolding Battle of Bogesund
Sweden participated in Battle of Helsingborg, Battle of Kolding and Battle of Bogesund
Battle of Helsingborg Battle of Kolding Battle of Bogesund
action filter_type
action find_reverse
entity Sweden
relation participant
type event
SELECT DISTINCT ?s WHERE { ?s property:participant resource:Sweden . ?s rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P20
Q502895
USER
Which people expired at Sweden ?
(c(Q502895),P20,Q34)
action filter_type
action find_reverse
entity Q34
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q34']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q34 . ?x rdf:type ontology:Q502895 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Sweden . ?x rdf:type ontology:common_name }
[]
common name
Q65607 Q469659 Q1376228
SYSTEM
Beatrice of Bavaria, Gunnel Linde, Kurt Axelsson
Q363545 Q472692 Q5476985 Q4983194 Q3075079 Q2024280 Q18447774 Q5601467 Q5448496 Q7360713 Q2173412 Q1934051 Q1377788 Q20679897 Q5621004 Q4937177 Q4356553 Q65607 Q75143 Q717102 Q5504893 Q828267 Q743966 Q1337494 Q3809897 Q4532456 Q4968710 Q6088086 Q1146330 Q3307799 Q2183430 Q366620 Q5646006 Q11294439 Q352229 Q1798787 Q4962214 Q544552 Q1794132 Q962364 Q6200650 Q1779083 Q5560026 Q6188884 Q516095 Q5807627 Q4877018 Q469659 Q534569 Q4934701 Q5080080 Q4978954 Q2051043 Q717179 Q323435 Q4948585 Q1357372 Q559115 Q4948686 Q3700842 Q1376228 Q1781960 Q2790773 Q246091 Q5750770 Q18639576 Q7235547 Q4794579 Q1444423 Q4704551 Q2627048 Q4565890 Q4960076 Q4353311 Q1436161 Q4942840 Q2156598 Q201226 Q385121 Q2055685 Q1375621 Q5619104 Q3607024 Q3892817
(c(Q502895),P20,Q34)
action filter_type
action find_reverse
entity Q34
relation P20
type Q502895
[ANSWERS] expired at Sweden
[{'concept': 'Q502895'}, 'P20', 'Q34']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q34 . ?x rdf:type ontology:Q502895 }
Carl Wilhelm Cederhielm Per Brahe the Younger Carl Mannerheim Sara Torsslow Katie Rolfsen Stig Svensson Seved Djurle John Campanius Filip Lundberg Rolf Eriksson Rudolf Meckel Helena of Sweden Ragnar Gustavsson Lunetta Makeléer Gustaf Nilsson Ingrid Backlin Gustav Badin Beatrice of Bavaria Philipp Chemnitz Sivar Arnér Fritz Cronman Bertil Östbo Kornél Pajor Gösta Dunker Jonas Offrell Signe Eriksson Stina Mårtensson Abdullah Rıza Ergüven Karl Heinz Bolay Karolina Bock Benedicta Ebbesdotter of Hvide August Mälk Hampe Faustman Eric Johanson Björn Waldegård Sune Jonsson Elisabeth Lillström Liidia Tuulse Fredrica Löf Emanuel Nobel Stig Synnergren Kurt Frieders Per-Axel Arosenius Petter Stenborg Roger Hägglund Sven Hjertsson Beata Sabina Straas Gunnel Linde Mary Johnson Ulla Akselson Charles Langlois Hilda Sjölin Ulvhild Håkansdotter Arvid Horn Jacob Adolf Hägg Elisabeth Forsselius Ernst Andersson Ragnar Thoursie Maria Franck Dagmar Cronstedt Kurt Axelsson Kurt Svanström Hendrik Munnichhoven Urban Hjärne Sven-Eric Gamble Boris Nelke Poul Schiang Arne Hjertsson Hans Eriksson Kjell Hjertsson Grigory Kotoshikhin Schamyl Bauman Carolina Kuhlman Gunnar Galin Poul Gernes Irma Christenson Robert Braun Sylve Bengtsson Ulf Isaksson Kaj Hansen Henry Carlsson Gunnar Olsson Erkki Räikkönen Gustaf Unonius
Beatrice of Bavaria, Gunnel Linde and Kurt Axelsson expired at Sweden
Beatrice of Bavaria Gunnel Linde Kurt Axelsson
action filter_type
action find_reverse
entity Sweden
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Sweden . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q65607 Q469659 Q1376228
P21
Q290
USER
Which sexes do those people possess ?
(Q65607,P21,c(Q290)) (Q469659,P21,c(Q290)) (Q1376228,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q65607', 'P21', {'concept': 'Q290'}] ['Q469659', 'P21', {'concept': 'Q290'}] ['Q1376228', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . VALUES ( ?d ) { ( resource:Q363545 ) ( resource:Q472692 ) ( resource:Q5476985 ) } . ?d property:P21 ?c }
Beatrice of Bavaria Gunnel Linde Kurt Axelsson
action filter_type
action find
entity prev_answer
relation gender
type sex
['Beatrice of Bavaria', 'gender', {'concept': 'sex'}] ['Gunnel Linde', 'gender', {'concept': 'sex'}] ['Kurt Axelsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . VALUES ( ?d ) { ( resource:Carl_Wilhelm_Cederhielm ) ( resource:Per_Brahe_the_Younger ) ( resource:Carl_Mannerheim ) } . ?d property:gender ?c }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q65607,P21,c(Q290)) (Q469659,P21,c(Q290)) (Q1376228,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q65607', 'P21', {'concept': 'Q290'}] ['Q469659', 'P21', {'concept': 'Q290'}] ['Q1376228', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . VALUES ( ?d ) { ( resource:Q363545 ) ( resource:Q472692 ) ( resource:Q5476985 ) } . ?d property:P21 ?c }
female female male
Those people possess a female, female and male
female female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Beatrice of Bavaria', 'gender', {'concept': 'sex'}] ['Gunnel Linde', 'gender', {'concept': 'sex'}] ['Kurt Axelsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . VALUES ( ?d ) { ( resource:Carl_Wilhelm_Cederhielm ) ( resource:Per_Brahe_the_Younger ) ( resource:Carl_Mannerheim ) } . ?d property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P551
Q502895
USER
Which people have residence at Sweden ?
(c(Q502895),P551,Q34)
action filter_type
action find_reverse
entity Q34
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q34']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q34 . ?t rdf:type ontology:Q502895 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Sweden']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Sweden . ?t rdf:type ontology:common_name }
[]
common name
Q7085 Q80956 Q20720200
SYSTEM
Niels Bohr, Svante August Arrhenius, John Edward Winblad
Q18668382 Q20720200 Q80956 Q20820956 Q25513935 Q7085 Q21151748 Q10800987 Q16406579 Q1871628
(c(Q502895),P551,Q34)
action filter_type
action find_reverse
entity Q34
relation P551
type Q502895
[ANSWERS] have residence at Sweden
[{'concept': 'Q502895'}, 'P551', 'Q34']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q34 . ?t rdf:type ontology:Q502895 }
Rudolf Bockelmann John Edward Winblad Svante August Arrhenius Elisabet Barnes Swedish citizen + 18+ years old + sometime in the past lived in Sweden Niels Bohr Rosemary Stjernstedt Nhã Ca Artur Tava Louis De Geer
Niels Bohr, Svante August Arrhenius and John Edward Winblad have residence at Sweden
Niels Bohr Svante August Arrhenius John Edward Winblad
action filter_type
action find_reverse
entity Sweden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Sweden']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Sweden . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7085 Q80956 Q20720200
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q7085,P106,c(Q12737077)) (Q80956,P106,c(Q12737077)) (Q20720200,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q7085', 'P106', {'concept': 'Q12737077'}] ['Q80956', 'P106', {'concept': 'Q12737077'}] ['Q20720200', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?b property:P106 ?w . VALUES ( ?b ) { ( resource:Q18668382 ) ( resource:Q20720200 ) ( resource:Q80956 ) } }
Niels Bohr Svante August Arrhenius John Edward Winblad
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Niels Bohr', 'occupation', {'concept': 'occupation'}] ['Svante August Arrhenius', 'occupation', {'concept': 'occupation'}] ['John Edward Winblad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?b property:occupation ?w . VALUES ( ?b ) { ( resource:Rudolf_Bockelmann ) ( resource:John_Edward_Winblad ) ( resource:Svante_August_Arrhenius ) } }
[]
occupation
Q1622272 Q937857 Q1622272
SYSTEM
university teacher for 1st, 3rd, association football player for 2nd
Q1622272 Q937857 Q169470 Q593644 Q170790 Q169470 Q1622272 Q11063 Q593644 Q45199 Q849424 Q1537445
(Q7085,P106,c(Q12737077)) (Q80956,P106,c(Q12737077)) (Q20720200,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q7085', 'P106', {'concept': 'Q12737077'}] ['Q80956', 'P106', {'concept': 'Q12737077'}] ['Q20720200', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?b property:P106 ?w . VALUES ( ?b ) { ( resource:Q18668382 ) ( resource:Q20720200 ) ( resource:Q80956 ) } }
university teacher association football player physicist chemist mathematician physicist university teacher astronomer chemist sailor sea captain stevedore
The professions of those people are university teacher, association football player and university teacher
university teacher association football player university teacher
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Niels Bohr', 'occupation', {'concept': 'occupation'}] ['Svante August Arrhenius', 'occupation', {'concept': 'occupation'}] ['John Edward Winblad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?b property:occupation ?w . VALUES ( ?b ) { ( resource:Rudolf_Bockelmann ) ( resource:John_Edward_Winblad ) ( resource:Svante_August_Arrhenius ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P85
Q484692
USER
What is the national anthem of Sweden ?
(Q34,P85,c(Q484692))
action filter_type
action find
entity Q34
relation P85
type Q484692
['Q34', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { resource:Q34 property:P85 ?c . ?c rdf:type ontology:Q484692 }
Sweden
action filter_type
action find
entity Sweden
relation anthem
type hymn
['Sweden', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { resource:Sweden property:anthem ?c . ?c rdf:type ontology:hymn }
[]
hymn
Q133261
SYSTEM
Du gamla, du fria
Q133261
(Q34,P85,c(Q484692))
action filter_type
action find
entity Q34
relation P85
type Q484692
The national anthem of Sweden is [ANSWER]
['Q34', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { resource:Q34 property:P85 ?c . ?c rdf:type ontology:Q484692 }
Du gamla, du fria
The national anthem of Sweden is Du gamla, du fria
Du gamla, du fria
action filter_type
action find
entity Sweden
relation anthem
type hymn
['Sweden', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { resource:Sweden property:anthem ?c . ?c rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q133261,P1313,c(Q12737077))
action filter_type
action find
entity Q34
relation P1313
type Q12737077
['Q133261', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q34 property:P1313 ?p }
Sweden
action filter_type
action find
entity Sweden
relation office held by head of government
type occupation
['Du gamla, du fria', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Sweden property:office_held_by_head_of_government ?p }
[]
occupation
Q687075
SYSTEM
Prime Minister of Sweden
Q687075
(Q133261,P1313,c(Q12737077))
action filter_type
action find
entity Q34
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q133261', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q34 property:P1313 ?p }
Prime Minister of Sweden
The Prime Minister of Sweden serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of Sweden
action filter_type
action find
entity Sweden
relation office held by head of government
type occupation
['Du gamla, du fria', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Sweden property:office_held_by_head_of_government ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q334777 Q7085
P22
Q502895
USER
Which people are the offspring of Niels Bohr or Theodemir ?
OR((c(Q502895),P22,Q7085), (c(Q502895),P22,Q334777))
action filter_type
action union
action find_reverse
entity Q7085
relation P22
action find_reverse
entity Q334777
relation P22
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q7085'], [{'concept': 'Q502895'}, 'P22', 'Q334777']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q7085 ) ( resource:Q334777 ) } . ?y property:P22 ?x } . ?y rdf:type ontology:Q502895 }
Theodemir Niels Bohr
action filter_type
action union
action find_reverse
entity Niels Bohr
relation father
action find_reverse
entity Theodemir
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Niels Bohr'], [{'concept': 'common name'}, 'father', 'Theodemir']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Niels_Bohr ) ( resource:Theodemir ) } . ?y property:father ?x } . ?y rdf:type ontology:common_name }
[]
common name
Q241526 Q12315250 Q103854 Q12310291 Q105105 Q4505347
SYSTEM
Amalafrida, Hans Bohr, Aage Niels Bohr, Erik Bohr, Theoderic the Great, Ernest Bohr
Q241526 Q12315250 Q103854 Q12310291 Q105105 Q4505347
OR((c(Q502895),P22,Q7085), (c(Q502895),P22,Q334777))
action filter_type
action union
action find_reverse
entity Q7085
relation P22
action find_reverse
entity Q334777
relation P22
type Q502895
[ANSWERS] are the offspring of Niels Bohr or Theodemir
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q7085'], [{'concept': 'Q502895'}, 'P22', 'Q334777']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q7085 ) ( resource:Q334777 ) } . ?y property:P22 ?x } . ?y rdf:type ontology:Q502895 }
Amalafrida Hans Bohr Aage Niels Bohr Erik Bohr Theoderic the Great Ernest Bohr
Amalafrida, Hans Bohr, Aage Niels Bohr, Erik Bohr, Theoderic the Great and Ernest Bohr are the offspring of Niels Bohr or Theodemir
Amalafrida Hans Bohr Aage Niels Bohr Erik Bohr Theoderic the Great Ernest Bohr
action filter_type
action union
action find_reverse
entity Niels Bohr
relation father
action find_reverse
entity Theodemir
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Niels Bohr'], [{'concept': 'common name'}, 'father', 'Theodemir']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Niels_Bohr ) ( resource:Theodemir ) } . ?y property:father ?x } . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q105105
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q105105)
action filter_type
action find_reverse
entity Q105105
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q105105']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q105105 . ?i rdf:type ontology:Q502895 }
Theoderic the Great
action filter_type
action find_reverse
entity Theoderic the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Theoderic the Great']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Theoderic_the_Great . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4505347
SYSTEM
Did you mean Ernest Bohr ?
Q241526 Q12315250 Q103854 Q12310291 Q105105 Q4505347
(c(Q502895),P40,Q241526) (c(Q502895),P40,Q12315250) (c(Q502895),P40,Q103854) (c(Q502895),P40,Q12310291) (c(Q502895),P40,Q105105) (c(Q502895),P40,Q4505347)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q241526'] [{'concept': 'Q502895'}, 'P40', 'Q12315250'] [{'concept': 'Q502895'}, 'P40', 'Q103854'] [{'concept': 'Q502895'}, 'P40', 'Q12310291'] [{'concept': 'Q502895'}, 'P40', 'Q105105'] [{'concept': 'Q502895'}, 'P40', 'Q4505347']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q105105 . ?i rdf:type ontology:Q502895 }
Amalafrida Hans Bohr Aage Niels Bohr Erik Bohr Theoderic the Great Ernest Bohr
Did you mean Ernest Bohr ?
Ernest Bohr
[{'concept': 'common name'}, 'child', 'Amalafrida'] [{'concept': 'common name'}, 'child', 'Hans Bohr'] [{'concept': 'common name'}, 'child', 'Aage Niels Bohr'] [{'concept': 'common name'}, 'child', 'Erik Bohr'] [{'concept': 'common name'}, 'child', 'Theoderic the Great'] [{'concept': 'common name'}, 'child', 'Ernest Bohr']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Theoderic_the_Great . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Theoderic the Great. Could you tell me the answer for that?
(c(Q502895),P40,Q105105)
Q105105
[{'concept': 'Q502895'}, 'P40', 'Q105105']
[{'concept': 'common name'}, 'child', 'Theoderic the Great']
[]
Q2309988 Q334777
SYSTEM
Ereleuva, Theodemir
Q2309988 Q334777
(c(Q502895),P40,Q105105)
action filter_type
action find_reverse
entity Q105105
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q105105']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q105105 . ?i rdf:type ontology:Q502895 }
Ereleuva Theodemir
Ereleuva and Theodemir have that one as an offspring
Ereleuva Theodemir
action filter_type
action find_reverse
entity Theoderic the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Theoderic the Great']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Theoderic_the_Great . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105105
P26
Q502895
USER
Who is married to Theoderic the Great ?
(c(Q502895),P26,Q105105)
action filter_type
action find
entity Q105105
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q105105']
SELECT DISTINCT ?o WHERE { resource:Q105105 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Theoderic the Great
action filter_type
action find
entity Theoderic the Great
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Theoderic the Great']
SELECT DISTINCT ?o WHERE { resource:Theoderic_the_Great property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q181064
SYSTEM
Audofleda
Q181064
(c(Q502895),P26,Q105105)
action filter_type
action find
entity Q105105
relation P26
type Q502895
[ANSWER] is married to Theoderic the Great
[{'concept': 'Q502895'}, 'P26', 'Q105105']
SELECT DISTINCT ?o WHERE { resource:Q105105 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Audofleda
Audofleda is married to Theoderic the Great
Audofleda
action filter_type
action find
entity Theoderic the Great
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Theoderic the Great']
SELECT DISTINCT ?o WHERE { resource:Theoderic_the_Great property:spouse ?o . ?o rdf:type ontology:common_name }
[]