Simple Question (Direct)
Simple Question
Q21986770
P702
Q863908
USER
Which nucleic acid sequence encodes Sideroflexin-5 ?
(Q21986770,P702,c(Q863908))
action filter_type
action find
entity Q21986770
relation P702
type Q863908
['Q21986770', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q21986770 property:P702 ?z . ?z rdf:type ontology:Q863908 }
Sideroflexin-5
action filter_type
action find
entity Sideroflexin-5
relation encoded by
type nucleic acid sequence
['Sideroflexin-5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Sideroflexin-5 property:encoded_by ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18270396
SYSTEM
Sfxn5
Q18270396
(Q21986770,P702,c(Q863908))
action filter_type
action find
entity Q21986770
relation P702
type Q863908
[ANSWER] encodes Sideroflexin-5
['Q21986770', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q21986770 property:P702 ?z . ?z rdf:type ontology:Q863908 }
Sfxn5
Sfxn5 encodes Sideroflexin-5
Sfxn5
action filter_type
action find
entity Sideroflexin-5
relation encoded by
type nucleic acid sequence
['Sideroflexin-5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Sideroflexin-5 property:encoded_by ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21986770
P703
Q16521
USER
Where is that nutrient found ?
(Q18270396,P703,c(Q16521))
action filter_type
action find
entity Q21986770
relation P703
type Q16521
['Q18270396', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?m WHERE { resource:Q21986770 property:P703 ?m . ?m rdf:type ontology:Q16521 }
Sideroflexin-5
action filter_type
action find
entity Sideroflexin-5
relation found in taxon
type taxon
['Sfxn5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?m WHERE { resource:Sideroflexin-5 property:found_in_taxon ?m . ?m rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q18270396,P703,c(Q16521))
action filter_type
action find
entity Q21986770
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q18270396', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?m WHERE { resource:Q21986770 property:P703 ?m . ?m rdf:type ontology:Q16521 }
Mus musculus
That nutrient is found in Mus musculus
Mus musculus
action filter_type
action find
entity Sideroflexin-5
relation found in taxon
type taxon
['Sfxn5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?m WHERE { resource:Sideroflexin-5 property:found_in_taxon ?m . ?m rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q202189
P180
Q16521 Q14660
USER
Which flags demonstrate greater number of taxons than Flag of Niue ?
(c(Q14660),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q202189
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?a ) WHERE { ?h property:P180 ?w . ?w rdf:type ontology:Q16521 . ?h rdf:type ontology:Q14660 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q202189 property:P180 ?f . ?f rdf:type ontology:Q14660 } } . FILTER ( ?a > ?c ) }
Flag of Niue
action greater
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Niue
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?a ) WHERE { ?h property:depicts ?w . ?w rdf:type ontology:taxon . ?h rdf:type ontology:flag } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Flag_of_Niue property:depicts ?f . ?f rdf:type ontology:flag } } . FILTER ( ?a > ?c ) }
[]
taxon flag
Q185271 Q185285 Q599323
SYSTEM
Flag of Papua New Guinea, Flag of Vanuatu, flag of the Northern Territory
Q185285 Q1091279 Q266618 Q599323 Q330517 Q693558 Q103037 Q36005 Q19427 Q19373 Q1418784 Q185271 Q284396 Q170814
(c(Q14660),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q202189
relation P180
type Q14660
[ANSWERS] demonstrate greater number of taxons than Flag of Niue
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?a ) WHERE { ?h property:P180 ?w . ?w rdf:type ontology:Q16521 . ?h rdf:type ontology:Q14660 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q202189 property:P180 ?f . ?f rdf:type ontology:Q14660 } } . FILTER ( ?a > ?c ) }
Flag of Vanuatu flag of Western Australia Flag of Prince Edward Island flag of the Northern Territory Flag of California flag of Saskatchewan Flag of Uganda flag of Lebanon flag of Oregon Flag of South Carolina Flag of New Brunswick Flag of Papua New Guinea Flag of Kansas Flag of Zambia
Flag of Papua New Guinea, Flag of Vanuatu and flag of the Northern Territory demonstrate greater number of taxons than Flag of Niue
Flag of Papua New Guinea Flag of Vanuatu flag of the Northern Territory
action greater
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Niue
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?a ) WHERE { ?h property:depicts ?w . ?w rdf:type ontology:taxon . ?h rdf:type ontology:flag } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Flag_of_Niue property:depicts ?f . ?f rdf:type ontology:flag } } . FILTER ( ?a > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q79874
P180
Q16521 Q14660
USER
And also tell me about flag of Afghanistan?
(c(Q14660),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q79874
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { ?c property:P180 ?d . ?c rdf:type ontology:Q14660 . ?d rdf:type ontology:Q16521 } GROUP BY ?c } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q79874 property:P180 ?e . ?e rdf:type ontology:Q14660 } } }
flag of Afghanistan
action greater
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity flag of Afghanistan
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { ?c property:depicts ?d . ?c rdf:type ontology:flag . ?d rdf:type ontology:taxon } GROUP BY ?c } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:flag_of_Afghanistan property:depicts ?e . ?e rdf:type ontology:flag } } }
[]
taxon flag
Q185271 Q185285 Q599323
SYSTEM
Flag of Papua New Guinea, Flag of Vanuatu, flag of the Northern Territory
Q185285 Q1091279 Q266618 Q599323 Q330517 Q693558 Q103037 Q36005 Q19427 Q19373 Q1418784 Q185271 Q284396 Q170814
(c(Q14660),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q79874
relation P180
type Q14660
[ANSWERS]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { ?c property:P180 ?d . ?c rdf:type ontology:Q14660 . ?d rdf:type ontology:Q16521 } GROUP BY ?c } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q79874 property:P180 ?e . ?e rdf:type ontology:Q14660 } } }
Flag of Vanuatu flag of Western Australia Flag of Prince Edward Island flag of the Northern Territory Flag of California flag of Saskatchewan Flag of Uganda flag of Lebanon flag of Oregon Flag of South Carolina Flag of New Brunswick Flag of Papua New Guinea Flag of Kansas Flag of Zambia
Flag of Papua New Guinea Flag of Vanuatu flag of the Northern Territory
action greater
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity flag of Afghanistan
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?u ) WHERE { ?c property:depicts ?d . ?c rdf:type ontology:flag . ?d rdf:type ontology:taxon } GROUP BY ?c } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:flag_of_Afghanistan property:depicts ?e . ?e rdf:type ontology:flag } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q599323
P462
Q1075
USER
Which color is that flag associated with ?
(Q599323,P462,c(Q1075))
action filter_type
action find
entity Q599323
relation P462
type Q1075
['Q599323', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { resource:Q599323 property:P462 ?n . ?n rdf:type ontology:Q1075 }
flag of the Northern Territory
action filter_type
action find
entity flag of the Northern Territory
relation color
type color
['flag of the Northern Territory', 'color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { resource:flag_of_the_Northern_Territory property:color ?n . ?n rdf:type ontology:color }
[]
color
Clarification for simple ques.
Q185271
SYSTEM
Did you mean Flag of Papua New Guinea ?
Q185271 Q185285 Q599323
(Q185271,P462,c(Q1075)) (Q185285,P462,c(Q1075)) (Q599323,P462,c(Q1075))
[ANSWER]
['Q185271', 'P462', {'concept': 'Q1075'}] ['Q185285', 'P462', {'concept': 'Q1075'}] ['Q599323', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { resource:Q599323 property:P462 ?n . ?n rdf:type ontology:Q1075 }
Flag of Papua New Guinea Flag of Vanuatu flag of the Northern Territory
Did you mean Flag of Papua New Guinea ?
Flag of Papua New Guinea
['Flag of Papua New Guinea', 'color', {'concept': 'color'}] ['Flag of Vanuatu', 'color', {'concept': 'color'}] ['flag of the Northern Territory', 'color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { resource:flag_of_the_Northern_Territory property:color ?n . ?n rdf:type ontology:color }
[]
Simple Question (Coreferenced)
USER
No, I meant flag of the Northern Territory. Could you tell me the answer for that?
(Q599323,P462,c(Q1075))
Q599323
['Q599323', 'P462', {'concept': 'Q1075'}]
['flag of the Northern Territory', 'color', {'concept': 'color'}]
[]
Q23445
SYSTEM
black
Q23445
(Q599323,P462,c(Q1075))
action filter_type
action find
entity Q599323
relation P462
type Q1075
That flag is associated with [ANSWER]
['Q599323', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { resource:Q599323 property:P462 ?n . ?n rdf:type ontology:Q1075 }
black
That flag is associated with black
black
action filter_type
action find
entity flag of the Northern Territory
relation color
type color
['flag of the Northern Territory', 'color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { resource:flag_of_the_Northern_Territory property:color ?n . ?n rdf:type ontology:color }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q185271 Q960263
P163
Q1048835
USER
How many political territories have flag named Flag of Papua New Guinea or Bandera de Plencia ?
(c(Q1048835),P163,Q185271) (c(Q1048835),P163,Q960263)
action count
action union
action filter_type
action find_reverse
entity Q185271
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q960263
relation P163
type Q1048835
[{'concept': 'Q1048835'}, 'P163', 'Q185271'] [{'concept': 'Q1048835'}, 'P163', 'Q960263']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:P163 resource:Q185271 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P163 resource:Q960263 . ?c rdf:type ontology:Q1048835 } }
Flag of Papua New Guinea Bandera de Plencia
action count
action union
action filter_type
action find_reverse
entity Flag of Papua New Guinea
relation flag
type political territorial entity
action filter_type
action find_reverse
entity Bandera de Plencia
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'Flag of Papua New Guinea'] [{'concept': 'political territorial entity'}, 'flag', 'Bandera de Plencia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:flag resource:Flag_of_Papua_New_Guinea . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:flag resource:Bandera_de_Plencia . ?c rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q1228773 Q691
(c(Q1048835),P163,Q185271) (c(Q1048835),P163,Q960263)
action count
action union
action filter_type
action find_reverse
entity Q185271
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q960263
relation P163
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P163', 'Q185271'] [{'concept': 'Q1048835'}, 'P163', 'Q960263']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:P163 resource:Q185271 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P163 resource:Q960263 . ?c rdf:type ontology:Q1048835 } }
Plentzia Papua New Guinea
2
action count
action union
action filter_type
action find_reverse
entity Flag of Papua New Guinea
relation flag
type political territorial entity
action filter_type
action find_reverse
entity Bandera de Plencia
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'Flag of Papua New Guinea'] [{'concept': 'political territorial entity'}, 'flag', 'Bandera de Plencia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:flag resource:Flag_of_Papua_New_Guinea . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:flag resource:Bandera_de_Plencia . ?c rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20742552 Q599323
P180
Q16521
USER
Which taxons are depicted in flag of the Northern Territory or Orchid with Two Hummingbirds ?
OR((Q599323,P180,c(Q16521)), (Q20742552,P180,c(Q16521)))
action filter_type
action union
action find
entity Q599323
relation P180
action find
entity Q20742552
relation P180
type Q16521
{'OR': [['Q599323', 'P180', {'concept': 'Q16521'}], ['Q20742552', 'P180', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q16521 . { { resource:Q599323 property:P180 ?u } UNION { resource:Q20742552 property:P180 ?u } } }
Orchid with Two Hummingbirds flag of the Northern Territory
action filter_type
action union
action find
entity flag of the Northern Territory
relation depicts
action find
entity Orchid with Two Hummingbirds
relation depicts
type taxon
{'OR': [['flag of the Northern Territory', 'depicts', {'concept': 'taxon'}], ['Orchid with Two Hummingbirds', 'depicts', {'concept': 'taxon'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:taxon . { { resource:flag_of_the_Northern_Territory property:depicts ?u } UNION { resource:Orchid_with_Two_Hummingbirds property:depicts ?u } } }
[]
taxon
Q43624 Q339803 Q25308
SYSTEM
Trochilidae, Gossypium sturtianum, Orchidaceae
Q43624 Q339803 Q25308
OR((Q599323,P180,c(Q16521)), (Q20742552,P180,c(Q16521)))
action filter_type
action union
action find
entity Q599323
relation P180
action find
entity Q20742552
relation P180
type Q16521
[ANSWERS] are depicted in flag of the Northern Territory or Orchid with Two Hummingbirds
{'OR': [['Q599323', 'P180', {'concept': 'Q16521'}], ['Q20742552', 'P180', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q16521 . { { resource:Q599323 property:P180 ?u } UNION { resource:Q20742552 property:P180 ?u } } }
Trochilidae Gossypium sturtianum Orchidaceae
Trochilidae, Gossypium sturtianum and Orchidaceae are depicted in flag of the Northern Territory or Orchid with Two Hummingbirds
Trochilidae Gossypium sturtianum Orchidaceae
action filter_type
action union
action find
entity flag of the Northern Territory
relation depicts
action find
entity Orchid with Two Hummingbirds
relation depicts
type taxon
{'OR': [['flag of the Northern Territory', 'depicts', {'concept': 'taxon'}], ['Orchid with Two Hummingbirds', 'depicts', {'concept': 'taxon'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:taxon . { { resource:flag_of_the_Northern_Territory property:depicts ?u } UNION { resource:Orchid_with_Two_Hummingbirds property:depicts ?u } } }
[]