Simple Question (Direct)
Simple Question
Q17124818
P106
Q12737077
USER
Which occupation has Murat Cömert as his/her 's career ?
(Q17124818,P106,c(Q12737077))
action filter_type
action find
entity Q17124818
relation P106
type Q12737077
['Q17124818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q17124818 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Murat Cömert
action filter_type
action find
entity Murat Cömert
relation occupation
type occupation
['Murat Cömert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Murat_Cömert property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q17124818,P106,c(Q12737077))
action filter_type
action find
entity Q17124818
relation P106
type Q12737077
As [ANSWER] has Murat Cömert as his/her 's career
['Q17124818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q17124818 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
As association football player has Murat Cömert as his/her 's career
association football player
action filter_type
action find
entity Murat Cömert
relation occupation
type occupation
['Murat Cömert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Murat_Cömert property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17124818
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q17124818
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q17124818 property:P641 ?a . ?a rdf:type ontology:Q349 }
Murat Cömert
action filter_type
action find
entity Murat Cömert
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Murat_Cömert property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q17124818
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q17124818 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Murat Cömert
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Murat_Cömert property:sport ?a . ?a rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3502473 Q17124818
P641
Q349
USER
Or Tomáš Bureš?
OR((Q17124818,P641,c(Q349)), (Q3502473,P641,c(Q349)))
action filter_type
action union
action find
entity Q17124818
relation P641
action find
entity Q3502473
relation P641
type Q349
{'OR': [['Q17124818', 'P641', {'concept': 'Q349'}], ['Q3502473', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?c ) { ( resource:Q17124818 ) ( resource:Q3502473 ) } . ?c property:P641 ?p } . ?p rdf:type ontology:Q349 }
Tomáš Bureš Murat Cömert
action filter_type
action union
action find
entity Murat Cömert
relation sport
action find
entity Tomáš Bureš
relation sport
type sport
{'OR': [['Murat Cömert', 'sport', {'concept': 'sport'}], ['Tomáš Bureš', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?c ) { ( resource:Murat_Cömert ) ( resource:Tomáš_Bureš ) } . ?c property:sport ?p } . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q17124818,P641,c(Q349)), (Q3502473,P641,c(Q349)))
action filter_type
action union
action find
entity Q17124818
relation P641
action find
entity Q3502473
relation P641
type Q349
[ANSWER]
{'OR': [['Q17124818', 'P641', {'concept': 'Q349'}], ['Q3502473', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?c ) { ( resource:Q17124818 ) ( resource:Q3502473 ) } . ?c property:P641 ?p } . ?p rdf:type ontology:Q349 }
association football
association football
action filter_type
action union
action find
entity Murat Cömert
relation sport
action find
entity Tomáš Bureš
relation sport
type sport
{'OR': [['Murat Cömert', 'sport', {'concept': 'sport'}], ['Tomáš Bureš', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?c ) { ( resource:Murat_Cömert ) ( resource:Tomáš_Bureš ) } . ?c property:sport ?p } . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3502473
P21
Q290
USER
Which sex does Tomáš Bureš have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3502473
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3502473 property:P21 ?v . ?v rdf:type ontology:Q290 }
Tomáš Bureš
action filter_type
action find
entity Tomáš Bureš
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Tomáš_Bureš property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3502473
relation P21
type Q290
Tomáš Bureš has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3502473 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Tomáš Bureš has a male
male
action filter_type
action find
entity Tomáš Bureš
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Tomáš_Bureš property:gender ?v . ?v rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7626350 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation or did Stuart Brace participate in ?
OR((Q937857,P425,c(Q349)), (Q7626350,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q7626350
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7626350', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q937857 property:P425 ?x } UNION { resource:Q7626350 property:P641 ?x } } . ?x rdf:type ontology:Q349 }
Stuart Brace association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Stuart Brace
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Stuart Brace', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { { { resource:association_football_player property:field_of_this_occupation ?x } UNION { resource:Stuart_Brace property:sport ?x } } . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q7626350,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q7626350
relation P641
type Q349
For [ANSWER] have [ANSWER] player as the associated fields of occupation or did Stuart Brace participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7626350', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q937857 property:P425 ?x } UNION { resource:Q7626350 property:P641 ?x } } . ?x rdf:type ontology:Q349 }
association football
For association football have association football player as the associated fields of occupation or did Stuart Brace participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Stuart Brace
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Stuart Brace', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { { { resource:association_football_player property:field_of_this_occupation ?x } UNION { resource:Stuart_Brace property:sport ?x } } . ?x rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4293296 Q17124818
P27
Q15617994
USER
Which administrative territories are Murat Cömert or Mila Moreira a civilian of ?
OR((Q17124818,P27,c(Q15617994)), (Q4293296,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17124818
relation P27
action find
entity Q4293296
relation P27
type Q15617994
{'OR': [['Q17124818', 'P27', {'concept': 'Q15617994'}], ['Q4293296', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:P27 ?h . VALUES ( ?a ) { ( resource:Q17124818 ) ( resource:Q4293296 ) } } . ?h rdf:type ontology:Q15617994 }
Mila Moreira Murat Cömert
action filter_type
action union
action find
entity Murat Cömert
relation country of citizenship
action find
entity Mila Moreira
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Murat Cömert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mila Moreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:country_of_citizenship ?h . VALUES ( ?a ) { ( resource:Murat_Cömert ) ( resource:Mila_Moreira ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q43
SYSTEM
Brazil, Turkey
Q155 Q43
OR((Q17124818,P27,c(Q15617994)), (Q4293296,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17124818
relation P27
action find
entity Q4293296
relation P27
type Q15617994
[ANSWERS] are Murat Cömert or Mila Moreira a civilian of
{'OR': [['Q17124818', 'P27', {'concept': 'Q15617994'}], ['Q4293296', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:P27 ?h . VALUES ( ?a ) { ( resource:Q17124818 ) ( resource:Q4293296 ) } } . ?h rdf:type ontology:Q15617994 }
Brazil Turkey
Brazil and Turkey are Murat Cömert or Mila Moreira a civilian of
Brazil Turkey
action filter_type
action union
action find
entity Murat Cömert
relation country of citizenship
action find
entity Mila Moreira
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Murat Cömert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mila Moreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:country_of_citizenship ?h . VALUES ( ?a ) { ( resource:Murat_Cömert ) ( resource:Mila_Moreira ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q56061
USER
How many administrative territories share border with that administrative territory ?
(Q43,P47,c(Q56061))
['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2024092 property:P47 ?z . ?z rdf:type ontology:Q56061 }
['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Turkey property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
(Q155,P47,c(Q56061)) (Q43,P47,c(Q56061))
[ANSWER]
['Q155', 'P47', {'concept': 'Q56061'}] ['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2024092 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Brazil ?
Brazil
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Turkey property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Turkey. Could you tell me the answer for that?
(Q43,P47,c(Q56061))
Q43
['Q43', 'P47', {'concept': 'Q56061'}]
['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
2
Q7172 Q458
(Q43,P47,c(Q56061))
[ANSWER]
['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2024092 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Arab League European Union
2
['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Turkey property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q43
P463
Q874405 Q43229
USER
How many social groups or organizations were Turkey a member of ?
(Q43,P463,c(Q874405)) (Q43,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q43
relation P463
type Q874405
action filter_type
action find
entity Q43
relation P463
type Q43229
['Q43', 'P463', {'concept': 'Q874405'}] ['Q43', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { resource:Q43 property:P463 ?t . ?t rdf:type ontology:Q874405 } UNION { resource:Q43 property:P463 ?t . ?t rdf:type ontology:Q43229 } }
Turkey
action count
action union
action filter_type
action find
entity Turkey
relation member of
type social group
action filter_type
action find
entity Turkey
relation member of
type organization
['Turkey', 'member of', {'concept': 'social group'}] ['Turkey', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { resource:Turkey property:member_of ?t . ?t rdf:type ontology:social_group } UNION { resource:Turkey property:member_of ?t . ?t rdf:type ontology:organization } }
[]
social group organization
SYSTEM
11
Q340195 Q191384 Q899770 Q41550 Q782942 Q47543 Q8908 Q656801 Q380340 Q7825 Q827525
(Q43,P463,c(Q874405)) (Q43,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q43
relation P463
type Q874405
action filter_type
action find
entity Q43
relation P463
type Q43229
[ANSWER]
['Q43', 'P463', {'concept': 'Q874405'}] ['Q43', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { resource:Q43 property:P463 ?t . ?t rdf:type ontology:Q874405 } UNION { resource:Q43 property:P463 ?t . ?t rdf:type ontology:Q43229 } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Australia Group Organisation of Islamic Cooperation Council of Europe International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization International Development Association
11
action count
action union
action filter_type
action find
entity Turkey
relation member of
type social group
action filter_type
action find
entity Turkey
relation member of
type organization
['Turkey', 'member of', {'concept': 'social group'}] ['Turkey', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { resource:Turkey property:member_of ?t . ?t rdf:type ontology:social_group } UNION { resource:Turkey property:member_of ?t . ?t rdf:type ontology:organization } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
action filter_type
action find_reverse
entity Q43
relation P740
type Q2088357
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q43 . ?b rdf:type ontology:Q2088357 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation location of formation
type musical ensemble
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Turkey . ?b rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q5297766 Q4817430 Q431844
SYSTEM
Dorian, Kulp, Modern Folk Üçlüsü
Q5297766 Q4817430 Q431844
action filter_type
action find_reverse
entity Q43
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q43 . ?b rdf:type ontology:Q2088357 }
Dorian Kulp Modern Folk Üçlüsü
Dorian, Kulp and Modern Folk Üçlüsü were formed at that administrative territory
Dorian Kulp Modern Folk Üçlüsü
action filter_type
action find_reverse
entity Turkey
relation location of formation
type musical ensemble
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Turkey . ?b rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5796357 Q7626350
P27
Q15617994
USER
Which administrative territories are the native countriesof Stuart Brace or César Oyarzo ?
OR((Q7626350,P27,c(Q15617994)), (Q5796357,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7626350
relation P27
action find
entity Q5796357
relation P27
type Q15617994
{'OR': [['Q7626350', 'P27', {'concept': 'Q15617994'}], ['Q5796357', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q7626350 ) ( resource:Q5796357 ) } . ?j property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
César Oyarzo Stuart Brace
action filter_type
action union
action find
entity Stuart Brace
relation country of citizenship
action find
entity César Oyarzo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stuart Brace', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['César Oyarzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Stuart_Brace ) ( resource:César_Oyarzo ) } . ?j property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298 Q145
SYSTEM
Chile, United Kingdom
Q298 Q145
OR((Q7626350,P27,c(Q15617994)), (Q5796357,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7626350
relation P27
action find
entity Q5796357
relation P27
type Q15617994
[ANSWERS] are the native countriesof Stuart Brace or César Oyarzo
{'OR': [['Q7626350', 'P27', {'concept': 'Q15617994'}], ['Q5796357', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q7626350 ) ( resource:Q5796357 ) } . ?j property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
Chile United Kingdom
Chile and United Kingdom are the native countriesof Stuart Brace or César Oyarzo
Chile United Kingdom
action filter_type
action union
action find
entity Stuart Brace
relation country of citizenship
action find
entity César Oyarzo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stuart Brace', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['César Oyarzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Stuart_Brace ) ( resource:César_Oyarzo ) } . ?j property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q298 Q145
P163
Q14660
USER
Which flags are associated with Chile and United Kingdom ?
(Q298,P163,c(Q14660)) (Q145,P163,c(Q14660))
action union
action filter_type
action find
entity Q298
relation P163
type Q14660
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q298', 'P163', {'concept': 'Q14660'}] ['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?j WHERE { { resource:Q298 property:P163 ?j . ?j rdf:type ontology:Q14660 } UNION { resource:Q145 property:P163 ?j . ?j rdf:type ontology:Q14660 } }
Chile United Kingdom
action union
action filter_type
action find
entity Chile
relation flag
type flag
action filter_type
action find
entity United Kingdom
relation flag
type flag
['Chile', 'flag', {'concept': 'flag'}] ['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?j WHERE { { resource:Chile property:flag ?j . ?j rdf:type ontology:flag } UNION { resource:United_Kingdom property:flag ?j . ?j rdf:type ontology:flag } }
[]
flag
Q160872 Q83278
SYSTEM
flag of Chile, flag of the United Kingdom
Q160872 Q83278
(Q298,P163,c(Q14660)) (Q145,P163,c(Q14660))
action union
action filter_type
action find
entity Q298
relation P163
type Q14660
action filter_type
action find
entity Q145
relation P163
type Q14660
And [ANSWERS] are associated with Chile and United Kingdom
['Q298', 'P163', {'concept': 'Q14660'}] ['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?j WHERE { { resource:Q298 property:P163 ?j . ?j rdf:type ontology:Q14660 } UNION { resource:Q145 property:P163 ?j . ?j rdf:type ontology:Q14660 } }
flag of Chile flag of the United Kingdom
And flag of Chile and flag of the United Kingdom are associated with Chile and United Kingdom
flag of Chile flag of the United Kingdom
action union
action filter_type
action find
entity Chile
relation flag
type flag
action filter_type
action find
entity United Kingdom
relation flag
type flag
['Chile', 'flag', {'concept': 'flag'}] ['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?j WHERE { { resource:Chile property:flag ?j . ?j rdf:type ontology:flag } UNION { resource:United_Kingdom property:flag ?j . ?j rdf:type ontology:flag } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q160872 Q83278
P462
Q1075
USER
What colors are those flags associated with ?
(Q160872,P462,c(Q1075)) (Q83278,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
['Q160872', 'P462', {'concept': 'Q1075'}] ['Q83278', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1075 . VALUES ( ?i ) { ( resource:Q160872 ) ( resource:Q83278 ) } . ?i property:P462 ?n }
flag of Chile flag of the United Kingdom
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Chile', 'color', {'concept': 'color'}] ['flag of the United Kingdom', 'color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:color . VALUES ( ?i ) { ( resource:flag_of_Chile ) ( resource:flag_of_the_United_Kingdom ) } . ?i property:color ?n }
[]
color
Q1088 Q3142 Q3142
SYSTEM
red for 2nd, 3rd, blue for 1st
Q1088 Q3142 Q3142 Q1088
(Q160872,P462,c(Q1075)) (Q83278,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
[ANSWERS]
['Q160872', 'P462', {'concept': 'Q1075'}] ['Q83278', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1075 . VALUES ( ?i ) { ( resource:Q160872 ) ( resource:Q83278 ) } . ?i property:P462 ?n }
blue red red blue
Those flags are associated with blue, red and red
blue red red
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Chile', 'color', {'concept': 'color'}] ['flag of the United Kingdom', 'color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:color . VALUES ( ?i ) { ( resource:flag_of_Chile ) ( resource:flag_of_the_United_Kingdom ) } . ?i property:color ?n }
[]