Simple Question (Direct)
Simple Question
Q1745227
P106
Q12737077
USER
What are the professions of Klaus Hoffer ?
(Q1745227,P106,c(Q12737077))
action filter_type
action find
entity Q1745227
relation P106
type Q12737077
['Q1745227', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1745227 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Klaus Hoffer
action filter_type
action find
entity Klaus Hoffer
relation occupation
type occupation
['Klaus Hoffer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Klaus_Hoffer property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q333634 Q36180
SYSTEM
translator, writer
Q333634 Q36180
(Q1745227,P106,c(Q12737077))
action filter_type
action find
entity Q1745227
relation P106
type Q12737077
The professions of Klaus Hoffer are the [ANSWERS]
['Q1745227', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1745227 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
translator writer
The professions of Klaus Hoffer are the translator and writer
translator writer
action filter_type
action find
entity Klaus Hoffer
relation occupation
type occupation
['Klaus Hoffer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Klaus_Hoffer property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333634
P425
Q11024
USER
Who is associated with the field of occupation translator ?
(Q333634,P425,c(Q11024))
action filter_type
action find
entity Q333634
relation P425
type Q11024
['Q333634', 'P425', {'concept': 'Q11024'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q11024 . resource:Q333634 property:P425 ?i }
translator
action filter_type
action find
entity translator
relation field of this occupation
type communication
['translator', 'field of this occupation', {'concept': 'communication'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:communication . resource:translator property:field_of_this_occupation ?i }
[]
communication
Q7553
SYSTEM
translation
Q7553
(Q333634,P425,c(Q11024))
action filter_type
action find
entity Q333634
relation P425
type Q11024
[ANSWER] is associated with the field of occupation translator
['Q333634', 'P425', {'concept': 'Q11024'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q11024 . resource:Q333634 property:P425 ?i }
translation
Translation is associated with the field of occupation translator
translation
action filter_type
action find
entity translator
relation field of this occupation
type communication
['translator', 'field of this occupation', {'concept': 'communication'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:communication . resource:translator property:field_of_this_occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333634
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q7553)
action filter_type
action find_reverse
entity Q333634
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q7553']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q333634 . ?p rdf:type ontology:Q502895 }
translator
action filter_type
action find_reverse
entity translator
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'translation']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:translator . ?p rdf:type ontology:common_name }
[]
common name
Q4296874 Q102139
SYSTEM
Vasley Mitta, Margrethe II of Denmark
Q4296874 Q102139
(c(Q502895),P101,Q7553)
action filter_type
action find_reverse
entity Q333634
relation P101
type Q502895
[ANSWERS] work in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q7553']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q333634 . ?p rdf:type ontology:Q502895 }
Vasley Mitta Margrethe II of Denmark
Vasley Mitta and Margrethe II of Denmark work in the domain of that occupation
Vasley Mitta Margrethe II of Denmark
action filter_type
action find_reverse
entity translator
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'translation']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:translator . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2349865
P725
Q502895 Q5398426
USER
Which television series have been dubbed by more number of people than Hiwou War Chronicles ?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q2349865
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { ?s rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 . ?s property:P725 ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q2349865 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?o > ?a ) }
Hiwou War Chronicles
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Hiwou War Chronicles
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { ?s rdf:type ontology:television_series . ?m rdf:type ontology:common_name . ?s property:voice_actor ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Hiwou_War_Chronicles property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?o > ?a ) }
[]
common name television series
Q881797 Q662 Q386361
SYSTEM
YuruYuri, Neon Genesis Evangelion, Devil May Cry: The Animated Series
Q602721 Q1149942 Q487695 Q662 Q7480931 Q494804 Q483547 Q199073 Q752495 Q133532 Q602434 Q1202916 Q486623 Q881797 Q211183 Q482796 Q1335290 Q488467 Q1135764 Q3565008 Q498079 Q386361 Q11320196 Q2607852 Q483535 Q3980545 Q3280971 Q482802 Q696986 Q1052846 Q1339165 Q921440 Q1367069 Q494610 Q5364072 Q8916464 Q484518 Q482865 Q11332238 Q116122 Q724155 Q11621483 Q15392994 Q606180 Q2626017 Q483585 Q7447123 Q1350885 Q1617849 Q838203 Q664845 Q1657773 Q618974 Q495450 Q11275607 Q2498954 Q2619218 Q281062 Q794345 Q615650 Q4185849 Q2756865 Q582788
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q2349865
relation P725
type Q5398426
[ANSWERS] have been dubbed by more number of people than Hiwou War Chronicles
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { ?s rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 . ?s property:P725 ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q2349865 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?o > ?a ) }
Shugo Chara! Sket Dance انیمه Un-Go Neon Genesis Evangelion Yuyushiki Hanasaku Iroha Mitsudomoe Tokyo Ravens Asura Cryin' Btooom! Idolmaster: Xenoglossia Working!! Nekogami Yaoyorozu YuruYuri Tamako Market The World God Only Knows Medaka Box Ben-To Softenni Mushibugyō Pretty Rhythm Devil May Cry: The Animated Series D-Frag! Sasameki Koto Ore no Imōto ga Konna ni Kawaii Wake ga Nai Tamagotchi! Love Live! IS (Infinite Stratos) Beelzebub Last Exile Hyōka Seitokai Yakuindomo Hyakka Ryōran Samurai Girls Guilty Crown Non Non Biyori Servant x Service The Legend of the Legendary Heroes Dog Days Fantasista Doll Hayate the Combat Butler Asobi ni iku yo! Arpeggio of Blue Steel Prison School Maria Holic Aesthetica of a Rogue Hero Denpa Onna to Seishun Otoko Wanna be the Strongest in the World Queen's Blade Rebellion High School DxD Gdgd Fairies Pumpkin Scissors Inu x Boku SS Umi Monogatari: Anata ga Ite Kureta Koto Demon King Daimao Happy Kappy The Ambition of Oda Nobuna Yozakura Quartet The Qwaser of Stigmata Beyblade: Metal Fusion Aoi Hana Gokujyo NG Knight Lamune & 40 Saki
YuruYuri, Neon Genesis Evangelion and Devil May Cry: The Animated Series have been dubbed by more number of people than Hiwou War Chronicles
YuruYuri Neon Genesis Evangelion Devil May Cry: The Animated Series
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Hiwou War Chronicles
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { ?s rdf:type ontology:television_series . ?m rdf:type ontology:common_name . ?s property:voice_actor ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Hiwou_War_Chronicles property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?o > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q495450
P725
Q502895 Q5398426
USER
And also tell me about Demon King Daimao?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q495450
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q495450 property:P725 ?e . ?e rdf:type ontology:Q5398426 } } }
Demon King Daimao
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Demon King Daimao
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Demon_King_Daimao property:voice_actor ?e . ?e rdf:type ontology:television_series } } }
[]
common name television series
Q881797 Q662 Q386361
SYSTEM
YuruYuri, Neon Genesis Evangelion, Devil May Cry: The Animated Series
Q602721 Q662 Q199073 Q881797 Q211183 Q1335290 Q498079 Q386361 Q483535 Q3280971 Q1339165 Q921440 Q5364072 Q15392994 Q1617849 Q1657773 Q2498954 Q281062 Q4185849 Q2756865
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q495450
relation P725
type Q5398426
[ANSWERS]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q495450 property:P725 ?e . ?e rdf:type ontology:Q5398426 } } }
Shugo Chara! Neon Genesis Evangelion Tokyo Ravens YuruYuri Tamako Market Medaka Box Pretty Rhythm Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai Love Live! Hyōka Seitokai Yakuindomo Non Non Biyori Prison School High School DxD Inu x Boku SS The Ambition of Oda Nobuna The Qwaser of Stigmata Gokujyo NG Knight Lamune & 40
YuruYuri Neon Genesis Evangelion Devil May Cry: The Animated Series
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Demon King Daimao
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Demon_King_Daimao property:voice_actor ?e . ?e rdf:type ontology:television_series } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q102139
P25
Q502895
USER
How many people have Margrethe II of Denmark as a mother ?
(c(Q502895),P25,Q102139)
action count
action filter_type
action find_reverse
entity Q102139
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q102139']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P25 resource:Q102139 . ?v rdf:type ontology:Q502895 }
Margrethe II of Denmark
action count
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margrethe II of Denmark']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:mother resource:Margrethe_II_of_Denmark . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q1004037 Q159101
(c(Q502895),P25,Q102139)
action count
action filter_type
action find_reverse
entity Q102139
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q102139']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P25 resource:Q102139 . ?v rdf:type ontology:Q502895 }
Frederik, Crown Prince of Denmark Prince Joachim of Denmark
2
action count
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margrethe II of Denmark']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:mother resource:Margrethe_II_of_Denmark . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P39
Q502895
USER
Who were responsible for occupying the position of writer ?
(c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q36180 . ?j rdf:type ontology:Q502895 }
writer
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:writer . ?j rdf:type ontology:common_name }
[]
common name
Q4255270 Q723621 Q5945149
SYSTEM
Mariano Roca de Togores, 1st Marquis of Molins, Paul Nizan, José Rocamora
Q20666477 Q163042 Q723621 Q11294693 Q4255270 Q5945149
(c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of writer
[{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q36180 . ?j rdf:type ontology:Q502895 }
Marina Damestoy David Duke Paul Nizan Henri de Saint-Ignace Mariano Roca de Togores, 1st Marquis of Molins José Rocamora
Mariano Roca de Togores, 1st Marquis of Molins, Paul Nizan and José Rocamora were responsible for occupying the position of writer
Mariano Roca de Togores, 1st Marquis of Molins Paul Nizan José Rocamora
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:writer . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4255270
P166
Q2003221
USER
Which chivalric order was received by that person ?
(Q4255270,P166,c(Q2003221))
action filter_type
action find
entity Q4255270
relation P166
type Q2003221
['Q4255270', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q4255270 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Mariano Roca de Togores, 1st Marquis of Molins
action filter_type
action find
entity Mariano Roca de Togores, 1st Marquis of Molins
relation award received
type chivalric order
['Mariano Roca de Togores, 1st Marquis of Molins', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Mariano_Roca_de_Togores,_1st_Marquis_of_Molins property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
chivalric order
Clarification for simple ques.
Q5945149
SYSTEM
Did you mean José Rocamora ?
Q4255270 Q723621 Q5945149
(Q4255270,P166,c(Q2003221)) (Q723621,P166,c(Q2003221)) (Q5945149,P166,c(Q2003221))
[ANSWER]
['Q4255270', 'P166', {'concept': 'Q2003221'}] ['Q723621', 'P166', {'concept': 'Q2003221'}] ['Q5945149', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q4255270 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Mariano Roca de Togores, 1st Marquis of Molins Paul Nizan José Rocamora
Did you mean José Rocamora ?
José Rocamora
['Mariano Roca de Togores, 1st Marquis of Molins', 'award received', {'concept': 'chivalric order'}] ['Paul Nizan', 'award received', {'concept': 'chivalric order'}] ['José Rocamora', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Mariano_Roca_de_Togores,_1st_Marquis_of_Molins property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
USER
No, I meant Mariano Roca de Togores, 1st Marquis of Molins. Could you tell me the answer for that?
(Q4255270,P166,c(Q2003221))
Q4255270
['Q4255270', 'P166', {'concept': 'Q2003221'}]
['Mariano Roca de Togores, 1st Marquis of Molins', 'award received', {'concept': 'chivalric order'}]
[]
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q4255270,P166,c(Q2003221))
action filter_type
action find
entity Q4255270
relation P166
type Q2003221
[ANSWER] was received by that person
['Q4255270', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q4255270 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Knight of the Order of the Golden Fleece
Knight of the Order of the Golden Fleece was received by that person
Knight of the Order of the Golden Fleece
action filter_type
action find
entity Mariano Roca de Togores, 1st Marquis of Molins
relation award received
type chivalric order
['Mariano Roca de Togores, 1st Marquis of Molins', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Mariano_Roca_de_Togores,_1st_Marquis_of_Molins property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q662
P57
Q502895
USER
Which person directed Neon Genesis Evangelion ?
(Q662,P57,c(Q502895))
action filter_type
action find
entity Q662
relation P57
type Q502895
['Q662', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q662 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Neon Genesis Evangelion
action filter_type
action find
entity Neon Genesis Evangelion
relation director
type common name
['Neon Genesis Evangelion', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Neon_Genesis_Evangelion property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q23261
SYSTEM
Hideaki Anno
Q23261
(Q662,P57,c(Q502895))
action filter_type
action find
entity Q662
relation P57
type Q502895
[ANSWER] directed Neon Genesis Evangelion
['Q662', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q662 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Hideaki Anno
Hideaki Anno directed Neon Genesis Evangelion
Hideaki Anno
action filter_type
action find
entity Neon Genesis Evangelion
relation director
type common name
['Neon Genesis Evangelion', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Neon_Genesis_Evangelion property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23261
P21
Q290
USER
Which sex does that person have ?
(Q23261,P21,c(Q290))
action filter_type
action find
entity Q23261
relation P21
type Q290
['Q23261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q23261 property:P21 ?l . ?l rdf:type ontology:Q290 }
Hideaki Anno
action filter_type
action find
entity Hideaki Anno
relation gender
type sex
['Hideaki Anno', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Hideaki_Anno property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q23261,P21,c(Q290))
action filter_type
action find
entity Q23261
relation P21
type Q290
That person has a [ANSWER]
['Q23261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q23261 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Hideaki Anno
relation gender
type sex
['Hideaki Anno', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Hideaki_Anno property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23261
P551
Q515
USER
Which city was Hideaki Anno a resident of ?
(Q23261,P551,c(Q515))
action filter_type
action find
entity Q23261
relation P551
type Q515
['Q23261', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q23261 property:P551 ?u . ?u rdf:type ontology:Q515 }
Hideaki Anno
action filter_type
action find
entity Hideaki Anno
relation residence
type city
['Hideaki Anno', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Hideaki_Anno property:residence ?u . ?u rdf:type ontology:city }
[]
city
Q213263
SYSTEM
Tama City
Q213263
(Q23261,P551,c(Q515))
action filter_type
action find
entity Q23261
relation P551
type Q515
Hideaki Anno was in [ANSWER]
['Q23261', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q23261 property:P551 ?u . ?u rdf:type ontology:Q515 }
Tama City
Hideaki Anno was in Tama City
Tama City
action filter_type
action find
entity Hideaki Anno
relation residence
type city
['Hideaki Anno', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Hideaki_Anno property:residence ?u . ?u rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q213263 Q1020682
P159
Q28640
USER
Does Heeren XVII have HQ at that city ?
(Q1020682,P159,Q213263)
action is_in
entity Q1020682
action find
entity Q213263
relation P159
['Q1020682', 'P159', 'Q213263']
ASK WHERE { resource:Q213263 property:P159 resource:Q1020682 }
Tama City Heeren XVII
action is_in
entity Heeren XVII
action find
entity Tama City
relation headquarters location
['Heeren XVII', 'headquarters location', 'Tama City']
ASK WHERE { resource:Tama_City property:headquarters_location resource:Heeren_XVII }
[]
profession
SYSTEM
NO
(Q1020682,P159,Q213263)
action is_in
entity Q1020682
action find
entity Q213263
relation P159
[ANSWER]
['Q1020682', 'P159', 'Q213263']
ASK WHERE { resource:Q213263 property:P159 resource:Q1020682 }
No
action is_in
entity Heeren XVII
action find
entity Tama City
relation headquarters location
['Heeren XVII', 'headquarters location', 'Tama City']
ASK WHERE { resource:Tama_City property:headquarters_location resource:Heeren_XVII }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P26
Q502895
USER
Which person is the spouse of Margrethe II of Denmark ?
(Q102139,P26,c(Q502895))
action filter_type
action find
entity Q102139
relation P26
type Q502895
['Q102139', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q102139 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation spouse
type common name
['Margrethe II of Denmark', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Margrethe_II_of_Denmark property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1389258
SYSTEM
Henrik, Prince Consort of Denmark
Q1389258
(Q102139,P26,c(Q502895))
action filter_type
action find
entity Q102139
relation P26
type Q502895
[ANSWER] is the spouse of Margrethe II of Denmark
['Q102139', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q102139 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Henrik, Prince Consort of Denmark
Henrik, Prince Consort of Denmark is the spouse of Margrethe II of Denmark
Henrik, Prince Consort of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation spouse
type common name
['Margrethe II of Denmark', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Margrethe_II_of_Denmark property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1389258
P140
Q879146
USER
What is the religious affiliation of that person ?
(Q1389258,P140,c(Q879146))
action filter_type
action find
entity Q1389258
relation P140
type Q879146
['Q1389258', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { resource:Q1389258 property:P140 ?o . ?o rdf:type ontology:Q879146 }
Henrik, Prince Consort of Denmark
action filter_type
action find
entity Henrik, Prince Consort of Denmark
relation religion
type Christian denomination
['Henrik, Prince Consort of Denmark', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { resource:Henrik,_Prince_Consort_of_Denmark property:religion ?o . ?o rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q855585
SYSTEM
Church of Denmark
Q855585
(Q1389258,P140,c(Q879146))
action filter_type
action find
entity Q1389258
relation P140
type Q879146
The religious affiliation of that person is the [ANSWER]
['Q1389258', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { resource:Q1389258 property:P140 ?o . ?o rdf:type ontology:Q879146 }
Church of Denmark
The religious affiliation of that person is the Church of Denmark
Church of Denmark
action filter_type
action find
entity Henrik, Prince Consort of Denmark
relation religion
type Christian denomination
['Henrik, Prince Consort of Denmark', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { resource:Henrik,_Prince_Consort_of_Denmark property:religion ?o . ?o rdf:type ontology:Christian_denomination }
[]