Simple Question (Direct)
Simple Question
Q2916257
P172
Q2472587
USER
What is the race of Arakel of Tabriz ?
(Q2916257,P172,c(Q2472587))
action filter_type
action find
entity Q2916257
relation P172
type Q2472587
['Q2916257', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q2916257 property:P172 ?k . ?k rdf:type ontology:Q2472587 }
Arakel of Tabriz
action filter_type
action find
entity Arakel of Tabriz
relation ethnic group
type people
['Arakel of Tabriz', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Arakel_of_Tabriz property:ethnic_group ?k . ?k rdf:type ontology:people }
[]
people
Q79797
SYSTEM
Armenians
Q79797
(Q2916257,P172,c(Q2472587))
action filter_type
action find
entity Q2916257
relation P172
type Q2472587
The race of Arakel of Tabriz is of [ANSWER]
['Q2916257', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q2916257 property:P172 ?k . ?k rdf:type ontology:Q2472587 }
Armenians
The race of Arakel of Tabriz is of Armenians
Armenians
action filter_type
action find
entity Arakel of Tabriz
relation ethnic group
type people
['Arakel of Tabriz', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Arakel_of_Tabriz property:ethnic_group ?k . ?k rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1471657 Q2916257
P27
Q15617994
USER
Which administrative territories are Arakel of Tabriz or Jakob Sildnik an inhabitant of ?
OR((Q2916257,P27,c(Q15617994)), (Q1471657,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2916257
relation P27
action find
entity Q1471657
relation P27
type Q15617994
{'OR': [['Q2916257', 'P27', {'concept': 'Q15617994'}], ['Q1471657', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q2916257 ) ( resource:Q1471657 ) } . ?a property:P27 ?h } . ?h rdf:type ontology:Q15617994 }
Jakob Sildnik Arakel of Tabriz
action filter_type
action union
action find
entity Arakel of Tabriz
relation country of citizenship
action find
entity Jakob Sildnik
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arakel of Tabriz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jakob Sildnik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Arakel_of_Tabriz ) ( resource:Jakob_Sildnik ) } . ?a property:country_of_citizenship ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q794
SYSTEM
Estonia, Iran
Q191 Q794
OR((Q2916257,P27,c(Q15617994)), (Q1471657,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2916257
relation P27
action find
entity Q1471657
relation P27
type Q15617994
[ANSWERS] are Arakel of Tabriz or Jakob Sildnik an inhabitant of
{'OR': [['Q2916257', 'P27', {'concept': 'Q15617994'}], ['Q1471657', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q2916257 ) ( resource:Q1471657 ) } . ?a property:P27 ?h } . ?h rdf:type ontology:Q15617994 }
Estonia Iran
Estonia and Iran are Arakel of Tabriz or Jakob Sildnik an inhabitant of
Estonia Iran
action filter_type
action union
action find
entity Arakel of Tabriz
relation country of citizenship
action find
entity Jakob Sildnik
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arakel of Tabriz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jakob Sildnik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Arakel_of_Tabriz ) ( resource:Jakob_Sildnik ) } . ?a property:country_of_citizenship ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1471657 Q1414119
P21
Q290
USER
How many sexes do Jakob Sildnik or Melia have ?
(Q1471657,P21,c(Q290)) (Q1414119,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q1471657
relation P21
type Q290
action filter_type
action find
entity Q1414119
relation P21
type Q290
['Q1471657', 'P21', {'concept': 'Q290'}] ['Q1414119', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?d property:P21 ?p . VALUES ( ?d ) { ( resource:Q1471657 ) ( resource:Q1414119 ) } }
Jakob Sildnik Melia
action count
action union
action filter_type
action find
entity Jakob Sildnik
relation gender
type sex
action filter_type
action find
entity Melia
relation gender
type sex
['Jakob Sildnik', 'gender', {'concept': 'sex'}] ['Melia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?d property:gender ?p . VALUES ( ?d ) { ( resource:Jakob_Sildnik ) ( resource:Melia ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q1471657,P21,c(Q290)) (Q1414119,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q1471657
relation P21
type Q290
action filter_type
action find
entity Q1414119
relation P21
type Q290
[ANSWER]
['Q1471657', 'P21', {'concept': 'Q290'}] ['Q1414119', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?d property:P21 ?p . VALUES ( ?d ) { ( resource:Q1471657 ) ( resource:Q1414119 ) } }
male female
2
action count
action union
action filter_type
action find
entity Jakob Sildnik
relation gender
type sex
action filter_type
action find
entity Melia
relation gender
type sex
['Jakob Sildnik', 'gender', {'concept': 'sex'}] ['Melia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?d property:gender ?p . VALUES ( ?d ) { ( resource:Jakob_Sildnik ) ( resource:Melia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P6
Q502895
USER
Who is the head of the government of Iran ?
(Q794,P6,c(Q502895))
action filter_type
action find
entity Q794
relation P6
type Q502895
['Q794', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q794 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Iran
action filter_type
action find
entity Iran
relation head of government
type common name
['Iran', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Iran property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q348144
SYSTEM
Hassan Rouhani
Q348144
(Q794,P6,c(Q502895))
action filter_type
action find
entity Q794
relation P6
type Q502895
The head of the government of Iran is Mohammad [ANSWER]
['Q794', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q794 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Hassan Rouhani
The head of the government of Iran is Mohammad Hassan Rouhani
Hassan Rouhani
action filter_type
action find
entity Iran
relation head of government
type common name
['Iran', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Iran property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1391501
Q502895
USER
And what about Briviesca?
(Q1391501,P6,c(Q502895))
action filter_type
action find
entity Q1391501
relation P6
type Q502895
['Q1391501', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1391501 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Briviesca
action filter_type
action find
entity Briviesca
relation head of government
type common name
['Briviesca', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Briviesca property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q14045481
SYSTEM
Jose Maria Ortiz Fernandez
Q14045481
(Q1391501,P6,c(Q502895))
action filter_type
action find
entity Q1391501
relation P6
type Q502895
[ANSWER]
['Q1391501', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1391501 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Jose Maria Ortiz Fernandez
Jose Maria Ortiz Fernandez
action filter_type
action find
entity Briviesca
relation head of government
type common name
['Briviesca', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Briviesca property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q348144
P106
Q151885 Q12737077
USER
How many concepts or occupations do Hassan Rouhani do for a living ?
(Q348144,P106,c(Q151885)) (Q348144,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q348144
relation P106
type Q151885
action filter_type
action find
entity Q348144
relation P106
type Q12737077
['Q348144', 'P106', {'concept': 'Q151885'}] ['Q348144', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:Q12737077 . resource:Q348144 property:P106 ?n } UNION { resource:Q348144 property:P106 ?n . ?n rdf:type ontology:Q151885 } }
Hassan Rouhani
action count
action union
action filter_type
action find
entity Hassan Rouhani
relation occupation
type concept
action filter_type
action find
entity Hassan Rouhani
relation occupation
type occupation
['Hassan Rouhani', 'occupation', {'concept': 'concept'}] ['Hassan Rouhani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:occupation . resource:Hassan_Rouhani property:occupation ?n } UNION { resource:Hassan_Rouhani property:occupation ?n . ?n rdf:type ontology:concept } }
[]
concept occupation
SYSTEM
5
Q193391 Q2259532 Q82955 Q18814623 Q36180
(Q348144,P106,c(Q151885)) (Q348144,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q348144
relation P106
type Q151885
action filter_type
action find
entity Q348144
relation P106
type Q12737077
[ANSWER]
['Q348144', 'P106', {'concept': 'Q151885'}] ['Q348144', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:Q12737077 . resource:Q348144 property:P106 ?n } UNION { resource:Q348144 property:P106 ?n . ?n rdf:type ontology:Q151885 } }
diplomat cleric politician autobiographer writer
5
action count
action union
action filter_type
action find
entity Hassan Rouhani
relation occupation
type concept
action filter_type
action find
entity Hassan Rouhani
relation occupation
type occupation
['Hassan Rouhani', 'occupation', {'concept': 'concept'}] ['Hassan Rouhani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:occupation . resource:Hassan_Rouhani property:occupation ?n } UNION { resource:Hassan_Rouhani property:occupation ?n . ?n rdf:type ontology:concept } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5647726
P725
Q502895 Q2342494
USER
Which collectables had lesser number of people as the dubbing artist than Handy Manny's Motorcycle Adventure ?
(c(Q2342494),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q5647726
relation P725
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?n ) WHERE { ?s property:P725 ?g . ?g rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2342494 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q5647726 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?n < ?h ) }
Handy Manny's Motorcycle Adventure
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Handy Manny's Motorcycle Adventure
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?n ) WHERE { ?s property:voice_actor ?g . ?g rdf:type ontology:common_name . ?s rdf:type ontology:collectable } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Handy_Manny's_Motorcycle_Adventure property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?n < ?h ) }
[]
common name collectable
Q482870 Q119534 Q11325839
SYSTEM
Boku wa Tomodachi ga Sukunai, Shakugan no Shana, No Game No Life-mart
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q5647726
relation P725
type Q502895
[ANSWERS] had lesser number of people as the dubbing artist than Handy Manny's Motorcycle Adventure
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?n ) WHERE { ?s property:P725 ?g . ?g rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2342494 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q5647726 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?n < ?h ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
Boku wa Tomodachi ga Sukunai, Shakugan no Shana and No Game No Life-mart had lesser number of people as the dubbing artist than Handy Manny's Motorcycle Adventure
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Handy Manny's Motorcycle Adventure
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?n ) WHERE { ?s property:voice_actor ?g . ?g rdf:type ontology:common_name . ?s rdf:type ontology:collectable } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Handy_Manny's_Motorcycle_Adventure property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?n < ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q482870 Q119534 Q11325839
P725
Q502895
USER
Who did the voice dubbing for those collectables ?
(Q482870,P725,c(Q502895)) (Q119534,P725,c(Q502895)) (Q11325839,P725,c(Q502895))
action filter_type
action find
entity prev_answer
relation P725
type Q502895
['Q482870', 'P725', {'concept': 'Q502895'}] ['Q119534', 'P725', {'concept': 'Q502895'}] ['Q11325839', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?f ) { ( resource:Q50035 ) ( resource:Q495094 ) ( resource:Q482870 ) } . ?f property:P725 ?l . ?l rdf:type ontology:Q502895 }
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
action filter_type
action find
entity prev_answer
relation voice actor
type common name
['Boku wa Tomodachi ga Sukunai', 'voice actor', {'concept': 'common name'}] ['Shakugan no Shana', 'voice actor', {'concept': 'common name'}] ['No Game No Life-mart', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?f ) { ( resource:Nyaruko:_Crawling_with_Love ) ( resource:Durarara!! ) ( resource:Boku_wa_Tomodachi_ga_Sukunai ) } . ?f property:voice_actor ?l . ?l rdf:type ontology:common_name }
[]
common name
Q50016 Q50023 Q50023
SYSTEM
Emiri Katō for 1st, Yōko Hikasa for 2nd, 3rd
Q50016 Q50023 Q1323415 Q50023
(Q482870,P725,c(Q502895)) (Q119534,P725,c(Q502895)) (Q11325839,P725,c(Q502895))
action filter_type
action find
entity prev_answer
relation P725
type Q502895
[ANSWERS]
['Q482870', 'P725', {'concept': 'Q502895'}] ['Q119534', 'P725', {'concept': 'Q502895'}] ['Q11325839', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?f ) { ( resource:Q50035 ) ( resource:Q495094 ) ( resource:Q482870 ) } . ?f property:P725 ?l . ?l rdf:type ontology:Q502895 }
Emiri Katō Yōko Hikasa Akeno Watanabe Yōko Hikasa
Emiri Katō, Yōko Hikasa and Yōko Hikasa did the voice dubbing for those collectables
Emiri Katō Yōko Hikasa Yōko Hikasa
action filter_type
action find
entity prev_answer
relation voice actor
type common name
['Boku wa Tomodachi ga Sukunai', 'voice actor', {'concept': 'common name'}] ['Shakugan no Shana', 'voice actor', {'concept': 'common name'}] ['No Game No Life-mart', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?f ) { ( resource:Nyaruko:_Crawling_with_Love ) ( resource:Durarara!! ) ( resource:Boku_wa_Tomodachi_ga_Sukunai ) } . ?f property:voice_actor ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q348144
P50
Q2342494
USER
Which collectable has Hassan Rouhani as its author ?
(c(Q2342494),P50,Q348144)
action filter_type
action find_reverse
entity Q348144
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q348144']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q348144 . ?n rdf:type ontology:Q2342494 }
Hassan Rouhani
action filter_type
action find_reverse
entity Hassan Rouhani
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Hassan Rouhani']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Hassan_Rouhani . ?n rdf:type ontology:collectable }
[]
collectable
Q6284735
SYSTEM
National Security and Nuclear Diplomacy
Q6284735
(c(Q2342494),P50,Q348144)
action filter_type
action find_reverse
entity Q348144
relation P50
type Q2342494
[ANSWER] has Hassan Rouhani as its author
[{'concept': 'Q2342494'}, 'P50', 'Q348144']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q348144 . ?n rdf:type ontology:Q2342494 }
National Security and Nuclear Diplomacy
National Security and Nuclear Diplomacy has Hassan Rouhani as its author
National Security and Nuclear Diplomacy
action filter_type
action find_reverse
entity Hassan Rouhani
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Hassan Rouhani']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Hassan_Rouhani . ?n rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50016
P734
Q82799
USER
Which name is associated with Emiri Katō ?
(Q50016,P734,c(Q82799))
action filter_type
action find
entity Q50016
relation P734
type Q82799
['Q50016', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q50016 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Emiri Katō
action filter_type
action find
entity Emiri Katō
relation family name
type name
['Emiri Katō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Emiri_Katō property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q15985375
SYSTEM
Kato
Q15985375
(Q50016,P734,c(Q82799))
action filter_type
action find
entity Q50016
relation P734
type Q82799
Is [ANSWER] is associated with Emiri Katō
['Q50016', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q50016 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Kato
Is Kato is associated with Emiri Katō
Kato
action filter_type
action find
entity Emiri Katō
relation family name
type name
['Emiri Katō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Emiri_Katō property:family_name ?v . ?v rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q794 Q217169
P85
Q484692
USER
How many hymns are the anthems for Iran or Rhodesia ?
(Q794,P85,c(Q484692)) (Q217169,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q794
relation P85
type Q484692
action filter_type
action find
entity Q217169
relation P85
type Q484692
['Q794', 'P85', {'concept': 'Q484692'}] ['Q217169', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?q property:P85 ?s . VALUES ( ?q ) { ( resource:Q794 ) ( resource:Q217169 ) } }
Iran Rhodesia
action count
action union
action filter_type
action find
entity Iran
relation anthem
type hymn
action filter_type
action find
entity Rhodesia
relation anthem
type hymn
['Iran', 'anthem', {'concept': 'hymn'}] ['Rhodesia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?q property:anthem ?s . VALUES ( ?q ) { ( resource:Iran ) ( resource:Rhodesia ) } }
[]
hymn
SYSTEM
2
Q211047 Q1136402
(Q794,P85,c(Q484692)) (Q217169,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q794
relation P85
type Q484692
action filter_type
action find
entity Q217169
relation P85
type Q484692
[ANSWER]
['Q794', 'P85', {'concept': 'Q484692'}] ['Q217169', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?q property:P85 ?s . VALUES ( ?q ) { ( resource:Q794 ) ( resource:Q217169 ) } }
National Anthem of the Islamic Republic of Iran Rise, O Voices of Rhodesia
2
action count
action union
action filter_type
action find
entity Iran
relation anthem
type hymn
action filter_type
action find
entity Rhodesia
relation anthem
type hymn
['Iran', 'anthem', {'concept': 'hymn'}] ['Rhodesia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?q property:anthem ?s . VALUES ( ?q ) { ( resource:Iran ) ( resource:Rhodesia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50016
P136
Q151885
USER
Which concept can be considered as genre of Emiri Katō ?
(Q50016,P136,c(Q151885))
action filter_type
action find
entity Q50016
relation P136
type Q151885
['Q50016', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q50016 property:P136 ?l . ?l rdf:type ontology:Q151885 }
Emiri Katō
action filter_type
action find
entity Emiri Katō
relation genre
type concept
['Emiri Katō', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Emiri_Katō property:genre ?l . ?l rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q50016,P136,c(Q151885))
action filter_type
action find
entity Q50016
relation P136
type Q151885
[ANSWER] can be considered as genre of Emiri Katō
['Q50016', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q50016 property:P136 ?l . ?l rdf:type ontology:Q151885 }
pop music
Pop music can be considered as genre of Emiri Katō
pop music
action filter_type
action find
entity Emiri Katō
relation genre
type concept
['Emiri Katō', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Emiri_Katō property:genre ?l . ?l rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50016
P106
Q12737077
USER
What are the job of Emiri Katō ?
(Q50016,P106,c(Q12737077))
action filter_type
action find
entity Q50016
relation P106
type Q12737077
['Q50016', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q50016 property:P106 ?x }
Emiri Katō
action filter_type
action find
entity Emiri Katō
relation occupation
type occupation
['Emiri Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Emiri_Katō property:occupation ?x }
[]
occupation
Q622807 Q177220
SYSTEM
seiyū, singer
Q622807 Q177220
(Q50016,P106,c(Q12737077))
action filter_type
action find
entity Q50016
relation P106
type Q12737077
The job of Emiri Katō are a [ANSWERS]
['Q50016', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q50016 property:P106 ?x }
seiyū singer
The job of Emiri Katō are a seiyū and singer
seiyū singer
action filter_type
action find
entity Emiri Katō
relation occupation
type occupation
['Emiri Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Emiri_Katō property:occupation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q622807 Q177220
P101
Q502895
USER
Which people work in the domain of those occupations ?
(c(Q502895),P101,Q622807) (c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q622807'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?m WHERE { ?m property:P101 ?a . VALUES ( ?a ) { ( resource:Q622807 ) ( resource:Q177220 ) } . ?m rdf:type ontology:Q502895 }
seiyū singer
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'seiyū'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?m WHERE { ?m property:field_of_work ?a . VALUES ( ?a ) { ( resource:seiyū ) ( resource:singer ) } . ?m rdf:type ontology:common_name }
[]
common name
Q738505 Q5957599 Q910761
SYSTEM
Renan Luce, Hamid Jebelli, Mac Davis
Q3140773 Q738505 Q5957599 Q910761 Q6024866
(c(Q502895),P101,Q622807) (c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q622807'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?m WHERE { ?m property:P101 ?a . VALUES ( ?a ) { ( resource:Q622807 ) ( resource:Q177220 ) } . ?m rdf:type ontology:Q502895 }
Rikako Aikawa Renan Luce Hamid Jebelli Mac Davis Indila
Renan Luce, Hamid Jebelli and Mac Davis work in the domain of those occupations
Renan Luce Hamid Jebelli Mac Davis
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'seiyū'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?m WHERE { ?m property:field_of_work ?a . VALUES ( ?a ) { ( resource:seiyū ) ( resource:singer ) } . ?m rdf:type ontology:common_name }
[]