Simple Question (Direct)
Simple Question
Q1527745
P21
Q290
USER
What is the sex of Albert Kayser ?
(Q1527745,P21,c(Q290))
action filter_type
action find
entity Q1527745
relation P21
type Q290
['Q1527745', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1527745 property:P21 ?k . ?k rdf:type ontology:Q290 }
Albert Kayser
action filter_type
action find
entity Albert Kayser
relation gender
type sex
['Albert Kayser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Kayser property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1527745,P21,c(Q290))
action filter_type
action find
entity Q1527745
relation P21
type Q290
The sex of Albert Kayser is the [ANSWER]
['Q1527745', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1527745 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Albert Kayser is the male
male
action filter_type
action find
entity Albert Kayser
relation gender
type sex
['Albert Kayser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Kayser property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527745
P106
Q12737077
USER
Which occupation has Albert Kayser as his/her 's career ?
(Q1527745,P106,c(Q12737077))
action filter_type
action find
entity Q1527745
relation P106
type Q12737077
['Q1527745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1527745 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Albert Kayser
action filter_type
action find
entity Albert Kayser
relation occupation
type occupation
['Albert Kayser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Albert_Kayser property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1527745,P106,c(Q12737077))
action filter_type
action find
entity Q1527745
relation P106
type Q12737077
The [ANSWER] has Albert Kayser as his/her 's career
['Q1527745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1527745 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
The politician has Albert Kayser as his/her 's career
politician
action filter_type
action find
entity Albert Kayser
relation occupation
type occupation
['Albert Kayser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Albert_Kayser property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1632614 Q1527745
P47 P27
Q1048835
USER
Which political territories do Albert Kayser belong to or share the border with El Arenal ?
OR((Q1527745,P27,c(Q1048835)), (Q1632614,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1527745
relation P27
action find
entity Q1632614
relation P47
type Q1048835
{'OR': [['Q1527745', 'P27', {'concept': 'Q1048835'}], ['Q1632614', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1632614 property:P47 ?i } UNION { resource:Q1527745 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
El Arenal Albert Kayser
action filter_type
action union
action find
entity Albert Kayser
relation country of citizenship
action find
entity El Arenal
relation shares border with
type political territorial entity
{'OR': [['Albert Kayser', 'country of citizenship', {'concept': 'political territorial entity'}], ['El Arenal', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:El_Arenal property:shares_border_with ?i } UNION { resource:Albert_Kayser property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q641669 Q1445660 Q1601807 Q183 Q1607095 Q1632606 Q1630378
SYSTEM
Arenas de San Pedro, Mombeltrán, Navarredonda de Gredos, Germany, Cuevas del Valle, El Hornillo, San Martín del Pimpollar
Q641669 Q1445660 Q1601807 Q183 Q1607095 Q1632606 Q1630378
OR((Q1527745,P27,c(Q1048835)), (Q1632614,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1527745
relation P27
action find
entity Q1632614
relation P47
type Q1048835
Albert Kayser belong to the [ANSWERS]
{'OR': [['Q1527745', 'P27', {'concept': 'Q1048835'}], ['Q1632614', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1632614 property:P47 ?i } UNION { resource:Q1527745 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
Arenas de San Pedro Mombeltrán Navarredonda de Gredos Germany Cuevas del Valle El Hornillo San Martín del Pimpollar
Albert Kayser belong to the Arenas de San Pedro, Mombeltrán, Navarredonda de Gredos, Germany, Cuevas del Valle, El Hornillo and San Martín del Pimpollar
Arenas de San Pedro Mombeltrán Navarredonda de Gredos Germany Cuevas del Valle El Hornillo San Martín del Pimpollar
action filter_type
action union
action find
entity Albert Kayser
relation country of citizenship
action find
entity El Arenal
relation shares border with
type political territorial entity
{'OR': [['Albert Kayser', 'country of citizenship', {'concept': 'political territorial entity'}], ['El Arenal', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:El_Arenal property:shares_border_with ?i } UNION { resource:Albert_Kayser property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q41176 Q811430
USER
Which political territories owned atleast 2 buildings and constructions ?
(c(Q41176)|c(Q811430),P127,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
value 2
[[{'concept': 'Q41176'}, {'concept': 'Q811430'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c >= 2 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { { ?p property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q41176 } UNION { ?p property:P127 ?d . ?p rdf:type ontology:Q811430 . ?d rdf:type ontology:Q1048835 } } GROUP BY ?d } }
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
value 2
[[{'concept': 'building'}, {'concept': 'construction'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c >= 2 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { { ?p property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:building } UNION { ?p property:owned_by ?d . ?p rdf:type ontology:construction . ?d rdf:type ontology:political_territorial_entity } } GROUP BY ?d } }
[]
political territorial entity building construction
Q183 Q5756
SYSTEM
Germany, Community of Madrid
Q183 Q5756
(c(Q41176)|c(Q811430),P127,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
value 2
[ANSWERS] owned atleast 2 buildings and constructions
[[{'concept': 'Q41176'}, {'concept': 'Q811430'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c >= 2 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { { ?p property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q41176 } UNION { ?p property:P127 ?d . ?p rdf:type ontology:Q811430 . ?d rdf:type ontology:Q1048835 } } GROUP BY ?d } }
Germany Community of Madrid
Germany and Community of Madrid owned atleast 2 buildings and constructions
Germany Community of Madrid
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
value 2
[[{'concept': 'building'}, {'concept': 'construction'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c >= 2 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { { ?p property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:building } UNION { ?p property:owned_by ?d . ?p rdf:type ontology:construction . ?d rdf:type ontology:political_territorial_entity } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1000
P495
Q1048835 Q15416 Q201658
USER
Which political territories are the origins of greater number of television programs and film genres than Gabon ?
(c(Q15416)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P495
type Q15416
type Q201658
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q201658 } UNION { ?s property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15416 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P495 resource:Q1000 . { { ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q201658 } } } } . FILTER ( ?l > ?q ) }
Gabon
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Gabon
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:film_genre } UNION { ?s property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:television_program } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:country_of_origin resource:Gabon . { { ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:film_genre } } } } . FILTER ( ?l > ?q ) }
[]
political territorial entity television program film genre
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q838261 Q183 Q664 Q766 Q16 Q35 Q408 Q691 Q40
(c(Q15416)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P495
type Q15416
type Q201658
[ANSWERS] are the origins of greater number of television programs and film genres than Gabon
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q201658 } UNION { ?s property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15416 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P495 resource:Q1000 . { { ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q201658 } } } } . FILTER ( ?l > ?q ) }
Federal Republic of Yugoslavia Germany New Zealand Jamaica Canada Denmark Australia Papua New Guinea Austria
Germany, Australia and Denmark are the origins of greater number of television programs and film genres than Gabon
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Gabon
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:film_genre } UNION { ?s property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:television_program } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:country_of_origin resource:Gabon . { { ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:film_genre } } } } . FILTER ( ?l > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q31747
P495
Q1048835 Q15416 Q201658
USER
And also tell me about Irish Free State?
(c(Q15416)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q31747
relation P495
type Q15416
type Q201658
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?m WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?b rdf:type ?y } . ?b property:P495 resource:Q31747 } } . FILTER ( ?f > ?j ) }
Irish Free State
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Irish Free State
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?m WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?b rdf:type ?y } . ?b property:country_of_origin resource:Irish_Free_State } } . FILTER ( ?f > ?j ) }
[]
political territorial entity television program film genre
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q838261 Q183 Q664 Q766 Q16 Q35 Q408 Q691 Q40
(c(Q15416)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q31747
relation P495
type Q15416
type Q201658
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?m WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?b rdf:type ?y } . ?b property:P495 resource:Q31747 } } . FILTER ( ?f > ?j ) }
Federal Republic of Yugoslavia Germany New Zealand Jamaica Canada Denmark Australia Papua New Guinea Austria
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Irish Free State
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?m WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?b rdf:type ?y } . ?b property:country_of_origin resource:Irish_Free_State } } . FILTER ( ?f > ?j ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q35
P551
Q502895
USER
Which people live in those political territories ?
(c(Q502895),P551,Q183) (c(Q502895),P551,Q408) (c(Q502895),P551,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q183'] [{'concept': 'Q502895'}, 'P551', 'Q408'] [{'concept': 'Q502895'}, 'P551', 'Q35']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P551 ?z . VALUES ( ?z ) { ( resource:Q838261 ) ( resource:Q183 ) ( resource:Q664 ) } }
Germany Australia Denmark
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany'] [{'concept': 'common name'}, 'residence', 'Australia'] [{'concept': 'common name'}, 'residence', 'Denmark']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:residence ?z . VALUES ( ?z ) { ( resource:Federal_Republic_of_Yugoslavia ) ( resource:Germany ) ( resource:New_Zealand ) } }
[]
common name
Q320 Q7085 Q7085
SYSTEM
Michelle Bachelet for 1st, Niels Bohr for 2nd, 3rd
Q17198141 Q18534257 Q65081 Q60066 Q114060 Q101005 Q5847813 Q25865472 Q15429884 Q107961 Q117139 Q17302908 Q23721911 Q1036172 Q7348968 Q14943164 Q100236 Q12729037 Q5217909 Q215182 Q2221144 Q1983888 Q108459 Q6309468 Q273207 Q24324351 Q1808047 Q5044558 Q320 Q7346196 Q7346196 Q530413 Q712208 Q24091297 Q5247918 Q19847329 Q289404 Q17285130 Q3018035 Q16888109 Q3372417 Q6214887 Q19921825 Q26922710 Q24284499 Q12325014 Q7085 Q7085 Q171363 Q2544781 Q656477 Q6776359
(c(Q502895),P551,Q183) (c(Q502895),P551,Q408) (c(Q502895),P551,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P551', 'Q183'] [{'concept': 'Q502895'}, 'P551', 'Q408'] [{'concept': 'Q502895'}, 'P551', 'Q35']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P551 ?z . VALUES ( ?z ) { ( resource:Q838261 ) ( resource:Q183 ) ( resource:Q664 ) } }
Darryl Foster Erna Auerbach Marc-Kevin Goellner Gerhard Ertl Hedwig Schlichter Gerd Hirzinger Waldemar Wilhelm Michaël Magne Mary Elizabeth Hawker Bastian Knittel Wiz Khalifa Brenda Sue Fulton Maryna Viazovska Carin C. Tietze Robert Pope Alain Schneider Jan Koemmet Gerd Bonfert Daniel Lencina-Ribes Michael Stipe Sandra Wöhe Eric Wrixon Heiko Harborth Julio Peralta George Egerton Uisenma Borchu Laurens W. Molenkamp Carol Shelton Michelle Bachelet Robert Jovicic Robert Jovicic Palmy Ashley Cooper Ian Watkin Debbie Freeman Leo van de Pas Chris O'Neil Giles Matthey David Hall Hagen Stehr Paul Wenz Johan Anderson Ian Fettes Aline Gohard-Radenkovic Faye Schenk Lucy Love Niels Bohr Niels Bohr Viggo Mortensen Walter Hochmuth Christian Frederik von Schalburg Martin Pedersen
Michelle Bachelet, Niels Bohr and Niels Bohr live in those political territories
Michelle Bachelet Niels Bohr Niels Bohr
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany'] [{'concept': 'common name'}, 'residence', 'Australia'] [{'concept': 'common name'}, 'residence', 'Denmark']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:residence ?z . VALUES ( ?z ) { ( resource:Federal_Republic_of_Yugoslavia ) ( resource:Germany ) ( resource:New_Zealand ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7085
P802
Q502895
USER
Who taught that one ?
(Q7085,P802,c(Q502895))
action filter_type
action find
entity Q7085
relation P802
type Q502895
['Q7085', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7085 property:P802 ?b . ?b rdf:type ontology:Q502895 }
Niels Bohr
action filter_type
action find
entity Niels Bohr
relation student
type common name
['Niels Bohr', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Niels_Bohr property:student ?b . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7085
SYSTEM
Did you mean Niels Bohr ?
Q320 Q7085 Q7085
(Q320,P802,c(Q502895)) (Q7085,P802,c(Q502895)) (Q7085,P802,c(Q502895))
[ANSWER]
['Q320', 'P802', {'concept': 'Q502895'}] ['Q7085', 'P802', {'concept': 'Q502895'}] ['Q7085', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7085 property:P802 ?b . ?b rdf:type ontology:Q502895 }
Michelle Bachelet Niels Bohr Niels Bohr
Did you mean Niels Bohr ?
Niels Bohr
['Michelle Bachelet', 'student', {'concept': 'common name'}] ['Niels Bohr', 'student', {'concept': 'common name'}] ['Niels Bohr', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Niels_Bohr property:student ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7085,P802,c(Q502895))
['Q7085', 'P802', {'concept': 'Q502895'}]
['Niels Bohr', 'student', {'concept': 'common name'}]
[]
Q451225
SYSTEM
Hans Kramers
Q451225
(Q7085,P802,c(Q502895))
action filter_type
action find
entity Q7085
relation P802
type Q502895
[ANSWER] taught that one
['Q7085', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7085 property:P802 ?b . ?b rdf:type ontology:Q502895 }
Hans Kramers
Hans Kramers taught that one
Hans Kramers
action filter_type
action find
entity Niels Bohr
relation student
type common name
['Niels Bohr', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Niels_Bohr property:student ?b . ?b rdf:type ontology:common_name }
[]