Simple Question (Direct)
Simple Question
Q580814
P136
Q483394
USER
What can be considered as category for Miracle in Lane 2 ?
(Q580814,P136,c(Q483394))
action filter_type
action find
entity Q580814
relation P136
type Q483394
['Q580814', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?d WHERE { resource:Q580814 property:P136 ?d . ?d rdf:type ontology:Q483394 }
Miracle in Lane 2
action filter_type
action find
entity Miracle in Lane 2
relation genre
type genre
['Miracle in Lane 2', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?d WHERE { resource:Miracle_in_Lane_2 property:genre ?d . ?d rdf:type ontology:genre }
[]
genre
Q859369
SYSTEM
comedy-drama
Q859369
(Q580814,P136,c(Q483394))
action filter_type
action find
entity Q580814
relation P136
type Q483394
[ANSWER] can be considered as category for Miracle in Lane 2
['Q580814', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?d WHERE { resource:Q580814 property:P136 ?d . ?d rdf:type ontology:Q483394 }
comedy-drama
Comedy-drama can be considered as category for Miracle in Lane 2
comedy-drama
action filter_type
action find
entity Miracle in Lane 2
relation genre
type genre
['Miracle in Lane 2', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?d WHERE { resource:Miracle_in_Lane_2 property:genre ?d . ?d rdf:type ontology:genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q580814
P462
Q1075
USER
Which color is Miracle in Lane 2 associated with ?
(Q580814,P462,c(Q1075))
action filter_type
action find
entity Q580814
relation P462
type Q1075
['Q580814', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { resource:Q580814 property:P462 ?y . ?y rdf:type ontology:Q1075 }
Miracle in Lane 2
action filter_type
action find
entity Miracle in Lane 2
relation color
type color
['Miracle in Lane 2', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { resource:Miracle_in_Lane_2 property:color ?y . ?y rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q580814,P462,c(Q1075))
action filter_type
action find
entity Q580814
relation P462
type Q1075
Miracle in Lane 2 is associated with [ANSWER]
['Q580814', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { resource:Q580814 property:P462 ?y . ?y rdf:type ontology:Q1075 }
color
Miracle in Lane 2 is associated with color
color
action filter_type
action find
entity Miracle in Lane 2
relation color
type color
['Miracle in Lane 2', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { resource:Miracle_in_Lane_2 property:color ?y . ?y rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19960416 Q580814
P462 P180
Q1075
USER
Which colors are Miracle in Lane 2 associated with or are depicted in Ruth ?
OR((Q580814,P462,c(Q1075)), (Q19960416,P180,c(Q1075)))
action filter_type
action union
action find
entity Q580814
relation P462
action find
entity Q19960416
relation P180
type Q1075
{'OR': [['Q580814', 'P462', {'concept': 'Q1075'}], ['Q19960416', 'P180', {'concept': 'Q1075'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q580814 property:P462 ?e } UNION { resource:Q19960416 property:P180 ?e } } . ?e rdf:type ontology:Q1075 }
Ruth Miracle in Lane 2
action filter_type
action union
action find
entity Miracle in Lane 2
relation color
action find
entity Ruth
relation depicts
type color
{'OR': [['Miracle in Lane 2', 'color', {'concept': 'color'}], ['Ruth', 'depicts', {'concept': 'color'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Miracle_in_Lane_2 property:color ?e } UNION { resource:Ruth property:depicts ?e } } . ?e rdf:type ontology:color }
[]
color
Q22006653 Q1922956
SYSTEM
color, black hair
Q22006653 Q1922956
OR((Q580814,P462,c(Q1075)), (Q19960416,P180,c(Q1075)))
action filter_type
action union
action find
entity Q580814
relation P462
action find
entity Q19960416
relation P180
type Q1075
Miracle in Lane 2 are associated depicted in [ANSWERS]
{'OR': [['Q580814', 'P462', {'concept': 'Q1075'}], ['Q19960416', 'P180', {'concept': 'Q1075'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q580814 property:P462 ?e } UNION { resource:Q19960416 property:P180 ?e } } . ?e rdf:type ontology:Q1075 }
color black hair
Miracle in Lane 2 are associated depicted in color and black hair
color black hair
action filter_type
action union
action find
entity Miracle in Lane 2
relation color
action find
entity Ruth
relation depicts
type color
{'OR': [['Miracle in Lane 2', 'color', {'concept': 'color'}], ['Ruth', 'depicts', {'concept': 'color'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Miracle_in_Lane_2 property:color ?e } UNION { resource:Ruth property:depicts ?e } } . ?e rdf:type ontology:color }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5983861
P941
Q1799072 Q483394
USER
Which methods were around the same number of genres inspired by as Iberian sculpture ?
(c(Q483394),P941,c(Q1799072))
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q5983861
relation P941
type Q1799072
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P941 ?g . ?g rdf:type ontology:Q1799072 . ?y rdf:type ontology:Q483394 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q5983861 property:P941 ?u . ?u rdf:type ontology:Q1799072 } } . FILTER ( ?c = ?m ) }
Iberian sculpture
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Iberian sculpture
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:inspired_by ?g . ?g rdf:type ontology:method . ?y rdf:type ontology:genre } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Iberian_sculpture property:inspired_by ?u . ?u rdf:type ontology:method } } . FILTER ( ?c = ?m ) }
[]
method genre
Q2185042 Q5983861
SYSTEM
Flemish painting, Iberian sculpture
Q2185042 Q5983861
(c(Q483394),P941,c(Q1799072))
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q5983861
relation P941
type Q1799072
[ANSWERS] were around the same number of genres inspired by as Iberian sculpture
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P941 ?g . ?g rdf:type ontology:Q1799072 . ?y rdf:type ontology:Q483394 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q5983861 property:P941 ?u . ?u rdf:type ontology:Q1799072 } } . FILTER ( ?c = ?m ) }
Flemish painting Iberian sculpture
Flemish painting and Iberian sculpture were around the same number of genres inspired by as Iberian sculpture
Flemish painting Iberian sculpture
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Iberian sculpture
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:inspired_by ?g . ?g rdf:type ontology:method . ?y rdf:type ontology:genre } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Iberian_sculpture property:inspired_by ?u . ?u rdf:type ontology:method } } . FILTER ( ?c = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17003030 Q19960416
P180
Q16521
USER
Which taxons are expressed in Ruth or La Femme aux Phlox ?
OR((Q19960416,P180,c(Q16521)), (Q17003030,P180,c(Q16521)))
action filter_type
action union
action find
entity Q19960416
relation P180
action find
entity Q17003030
relation P180
type Q16521
{'OR': [['Q19960416', 'P180', {'concept': 'Q16521'}], ['Q17003030', 'P180', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Q19960416 ) ( resource:Q17003030 ) } . ?p property:P180 ?e } . ?e rdf:type ontology:Q16521 }
La Femme aux Phlox Ruth
action filter_type
action union
action find
entity Ruth
relation depicts
action find
entity La Femme aux Phlox
relation depicts
type taxon
{'OR': [['Ruth', 'depicts', {'concept': 'taxon'}], ['La Femme aux Phlox', 'depicts', {'concept': 'taxon'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Ruth ) ( resource:La_Femme_aux_Phlox ) } . ?p property:depicts ?e } . ?e rdf:type ontology:taxon }
[]
taxon
Q12106 Q652016
SYSTEM
Triticum, Phlox
Q12106 Q652016
OR((Q19960416,P180,c(Q16521)), (Q17003030,P180,c(Q16521)))
action filter_type
action union
action find
entity Q19960416
relation P180
action find
entity Q17003030
relation P180
type Q16521
[ANSWERS] are expressed in Ruth or La Femme aux Phlox
{'OR': [['Q19960416', 'P180', {'concept': 'Q16521'}], ['Q17003030', 'P180', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Q19960416 ) ( resource:Q17003030 ) } . ?p property:P180 ?e } . ?e rdf:type ontology:Q16521 }
Triticum Phlox
Triticum and Phlox are expressed in Ruth or La Femme aux Phlox
Triticum Phlox
action filter_type
action union
action find
entity Ruth
relation depicts
action find
entity La Femme aux Phlox
relation depicts
type taxon
{'OR': [['Ruth', 'depicts', {'concept': 'taxon'}], ['La Femme aux Phlox', 'depicts', {'concept': 'taxon'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Ruth ) ( resource:La_Femme_aux_Phlox ) } . ?p property:depicts ?e } . ?e rdf:type ontology:taxon }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P138
Q4373292 Q811979
USER
How many physical properties and architectural structures have that taxon as their namesake ?
(c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q652016) (c(Q811979),P138,Q652016)
[{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q652016'] [{'concept': 'Q811979'}, 'P138', 'Q652016']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q652016 } UNION { ?y property:P138 resource:Q652016 } } . ?z rdf:type ontology:Q4373292 . ?y rdf:type ontology:Q811979 }
[{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Phlox'] [{'concept': 'architectural structure'}, 'named after', 'Phlox']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Phlox } UNION { ?y property:named_after resource:Phlox } } . ?z rdf:type ontology:physical_property . ?y rdf:type ontology:architectural_structure }
[]
physical property architectural structure
Quantitative|Count|Mult. entity type|Clarification
Q12106
SYSTEM
Did you mean Triticum ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q652016 } UNION { ?y property:P138 resource:Q652016 } } . ?z rdf:type ontology:Q4373292 . ?y rdf:type ontology:Q811979 }
Did you mean Triticum ?
Triticum
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Phlox } UNION { ?y property:named_after resource:Phlox } } . ?z rdf:type ontology:physical_property . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q652016) (c(Q811979),P138,Q652016)
[{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q652016'] [{'concept': 'Q811979'}, 'P138', 'Q652016']
[{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Phlox'] [{'concept': 'architectural structure'}, 'named after', 'Phlox']
[]
SYSTEM
1 physical properties and 1 architectural structures
Q855379 Q958363
(c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q12106) (c(Q811979),P138,Q12106) (c(Q4373292),P138,Q652016) (c(Q811979),P138,Q652016)
[ANSWER]
[{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q12106'] [{'concept': 'Q811979'}, 'P138', 'Q12106'] [{'concept': 'Q4373292'}, 'P138', 'Q652016'] [{'concept': 'Q811979'}, 'P138', 'Q652016']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q12106 } UNION { ?y property:P138 resource:Q12106 } UNION { ?z property:P138 resource:Q652016 } UNION { ?y property:P138 resource:Q652016 } } . ?z rdf:type ontology:Q4373292 . ?y rdf:type ontology:Q811979 }
Búza Square, Miskolc wheat
1 physical properties and 1 architectural structures
[{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Triticum'] [{'concept': 'architectural structure'}, 'named after', 'Triticum'] [{'concept': 'physical property'}, 'named after', 'Phlox'] [{'concept': 'architectural structure'}, 'named after', 'Phlox']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Triticum } UNION { ?y property:named_after resource:Triticum } UNION { ?z property:named_after resource:Phlox } UNION { ?y property:named_after resource:Phlox } } . ?z rdf:type ontology:physical_property . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q580814
P495
Q15617994
USER
How many administrative territories are the origins of Miracle in Lane 2 ?
(Q580814,P495,c(Q15617994))
action count
action filter_type
action find
entity Q580814
relation P495
type Q15617994
['Q580814', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q580814 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Miracle in Lane 2
action count
action filter_type
action find
entity Miracle in Lane 2
relation country of origin
type designation for an administrative territorial entity
['Miracle in Lane 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Miracle_in_Lane_2 property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q580814,P495,c(Q15617994))
action count
action filter_type
action find
entity Q580814
relation P495
type Q15617994
[ANSWER]
['Q580814', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q580814 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Miracle in Lane 2
relation country of origin
type designation for an administrative territorial entity
['Miracle in Lane 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Miracle_in_Lane_2 property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q580814
P364
Q34770
USER
Which language was used originally for the creation of that television program ?
action filter_type
action find
entity Q580814
relation P364
type Q34770
SELECT DISTINCT ?b WHERE { resource:Q580814 property:P364 ?b . ?b rdf:type ontology:Q34770 }
Miracle in Lane 2
action filter_type
action find
entity Miracle in Lane 2
relation original language of work
type language
SELECT DISTINCT ?b WHERE { resource:Miracle_in_Lane_2 property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q580814
relation P364
type Q34770
[ANSWER] was used originally for the creation of that television program
SELECT DISTINCT ?b WHERE { resource:Q580814 property:P364 ?b . ?b rdf:type ontology:Q34770 }
English
English was used originally for the creation of that television program
English
action filter_type
action find
entity Miracle in Lane 2
relation original language of work
type language
SELECT DISTINCT ?b WHERE { resource:Miracle_in_Lane_2 property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12106
P828
Q2057971
USER
Which health problem is caused by Triticum ?
(c(Q2057971),P828,Q12106)
action filter_type
action find_reverse
entity Q12106
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q12106']
SELECT DISTINCT ?o WHERE { ?o property:P828 resource:Q12106 . ?o rdf:type ontology:Q2057971 }
Triticum
action filter_type
action find_reverse
entity Triticum
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Triticum']
SELECT DISTINCT ?o WHERE { ?o property:has_cause resource:Triticum . ?o rdf:type ontology:health_problem }
[]
health problem
Q4413030
SYSTEM
wheat allergy
Q4413030
(c(Q2057971),P828,Q12106)
action filter_type
action find_reverse
entity Q12106
relation P828
type Q2057971
[ANSWER] is caused by Triticum
[{'concept': 'Q2057971'}, 'P828', 'Q12106']
SELECT DISTINCT ?o WHERE { ?o property:P828 resource:Q12106 . ?o rdf:type ontology:Q2057971 }
wheat allergy
Wheat allergy is caused by Triticum
wheat allergy
action filter_type
action find_reverse
entity Triticum
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Triticum']
SELECT DISTINCT ?o WHERE { ?o property:has_cause resource:Triticum . ?o rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4413030
P1542
Q10675206
USER
Which ingredient caused that health problem ?
(c(Q10675206),P1542,Q4413030)
action filter_type
action find_reverse
entity Q4413030
relation P1542
type Q10675206
[{'concept': 'Q10675206'}, 'P1542', 'Q4413030']
SELECT DISTINCT ?g WHERE { ?g property:P1542 resource:Q4413030 . ?g rdf:type ontology:Q10675206 }
wheat allergy
action filter_type
action find_reverse
entity wheat allergy
relation cause of
type ingredient
[{'concept': 'ingredient'}, 'cause of', 'wheat allergy']
SELECT DISTINCT ?g WHERE { ?g property:cause_of resource:wheat_allergy . ?g rdf:type ontology:ingredient }
[]
ingredient
Q15645384
SYSTEM
wheat
Q15645384
(c(Q10675206),P1542,Q4413030)
action filter_type
action find_reverse
entity Q4413030
relation P1542
type Q10675206
The [ANSWER] caused that health problem
[{'concept': 'Q10675206'}, 'P1542', 'Q4413030']
SELECT DISTINCT ?g WHERE { ?g property:P1542 resource:Q4413030 . ?g rdf:type ontology:Q10675206 }
wheat
The wheat caused that health problem
wheat
action filter_type
action find_reverse
entity wheat allergy
relation cause of
type ingredient
[{'concept': 'ingredient'}, 'cause of', 'wheat allergy']
SELECT DISTINCT ?g WHERE { ?g property:cause_of resource:wheat_allergy . ?g rdf:type ontology:ingredient }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P180
Q10675206 Q17335294
USER
Which ingredients are expressed in around the same number of coats of arms as that ingredient ?
(c(Q17335294),P180,c(Q10675206))
action approx
action find_reverse_tuple_counts
relation P180
type Q10675206
type Q17335294
action count
action filter_type
action find
entity Q15645384
relation P180
type Q10675206
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q15645384 property:P180 ?e . ?e rdf:type ontology:Q10675206 } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P180 ?j . ?j rdf:type ontology:Q10675206 . ?n rdf:type ontology:Q17335294 } GROUP BY ?j } }
action approx
action find_reverse_tuple_counts
relation depicts
type ingredient
type flag or coat of arms
action count
action filter_type
action find
entity wheat
relation depicts
type ingredient
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:wheat property:depicts ?e . ?e rdf:type ontology:ingredient } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:depicts ?j . ?j rdf:type ontology:ingredient . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?j } }
[]
ingredient flag or coat of arms
Q15645384
SYSTEM
wheat
Q15645384
(c(Q17335294),P180,c(Q10675206))
action approx
action find_reverse_tuple_counts
relation P180
type Q10675206
type Q17335294
action count
action filter_type
action find
entity Q15645384
relation P180
type Q10675206
The [ANSWER] is expressed in around the same number of coats of arms as that ingredient
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q15645384 property:P180 ?e . ?e rdf:type ontology:Q10675206 } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P180 ?j . ?j rdf:type ontology:Q10675206 . ?n rdf:type ontology:Q17335294 } GROUP BY ?j } }
wheat
The wheat is expressed in around the same number of coats of arms as that ingredient
wheat
action approx
action find_reverse_tuple_counts
relation depicts
type ingredient
type flag or coat of arms
action count
action filter_type
action find
entity wheat
relation depicts
type ingredient
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:wheat property:depicts ?e . ?e rdf:type ontology:ingredient } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:depicts ?j . ?j rdf:type ontology:ingredient . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3139243 Q19960416
P1990 P180
Q16521
USER
Which taxons are expressed in Ruth or are the species present in Chester Zoo ?
OR((Q19960416,P180,c(Q16521)), (Q3139243,P1990,c(Q16521)))
action filter_type
action union
action find
entity Q19960416
relation P180
action find
entity Q3139243
relation P1990
type Q16521
{'OR': [['Q19960416', 'P180', {'concept': 'Q16521'}], ['Q3139243', 'P1990', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19960416 property:P180 ?b } UNION { resource:Q3139243 property:P1990 ?b } } . ?b rdf:type ontology:Q16521 }
Chester Zoo Ruth
action filter_type
action union
action find
entity Ruth
relation depicts
action find
entity Chester Zoo
relation species kept
type taxon
{'OR': [['Ruth', 'depicts', {'concept': 'taxon'}], ['Chester Zoo', 'species kept', {'concept': 'taxon'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Ruth property:depicts ?b } UNION { resource:Chester_Zoo property:species_kept ?b } } . ?b rdf:type ontology:taxon }
[]
taxon
Q46212 Q528256 Q940834 Q772700 Q1050508 Q545709 Q183255 Q232768 Q833607 Q4504
SYSTEM
Some of them are Aardvark, Red-and-blue Lory, Papuan Lorikeet, Short-billed Black Cockatoo, Salvadori's Pheasant, Morpho menelaus, warthog, Great Hornbill, Kirk's dik-dik, Komodo dragon
Q4504 Q23121 Q205477 Q273565 Q338996 Q795542 Q23907 Q373310 Q173651 Q134015 Q12106 Q1769237 Q1050508 Q528256 Q1091763 Q1409488 Q647138 Q772700 Q1273551 Q369817 Q232768 Q31501 Q47910 Q763130 Q471785 Q591987 Q940834 Q302191 Q605804 Q732544 Q1049623 Q2662974 Q619612 Q506308 Q579213 Q183255 Q1300287 Q213084 Q608635 Q183339 Q833607 Q167435 Q323847 Q1051641 Q219565 Q545709 Q629176 Q646488 Q35694 Q1945558 Q599672 Q662429 Q262307 Q133006 Q543424 Q46212 Q207043 Q809443 Q757360 Q601538
OR((Q19960416,P180,c(Q16521)), (Q3139243,P1990,c(Q16521)))
action filter_type
action union
action find
entity Q19960416
relation P180
action find
entity Q3139243
relation P1990
type Q16521
[ANSWERS] are expressed in Ruth or are the species present in Chester Zoo
{'OR': [['Q19960416', 'P180', {'concept': 'Q16521'}], ['Q3139243', 'P1990', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19960416 property:P180 ?b } UNION { resource:Q3139243 property:P1990 ?b } } . ?b rdf:type ontology:Q16521 }
Komodo dragon banded mongoose blue-and-yellow macaw Lechwe Afropavo congensis Red Bird-of-paradise cheetah Saint Lucia Amazon African wild dog meerkat Triticum Asia minor spiny mouse Salvadori's Pheasant Red-and-blue Lory Rodrigues flying fox Ctenosaura bakeri Tarictic Hornbill Short-billed Black Cockatoo Giant Scops Owl scimitar oryx Great Hornbill palm cockatoo Indian rhinoceros crested partridge Roan antelope Palawan peacock-pheasant Papuan Lorikeet Seba's Short-tailed Bat Nicobar Pigeon yellow mongoose Livingstone's fruit bat Greta oto Mindanao Lorikeet Barasingha Victoria crowned pigeon warthog Montserrat Oriole springbok superb starling blackbuck Kirk's dik-dik Attacus atlas rock hyrax Chattering Lory Grévy's zebra Morpho menelaus Blue-eyed Cockatoo Eld's deer jaguar Atta colombica Bornean orangutan Pheasant Pigeon crested porcupine Asian elephant Sumatran orangutan Aardvark Gemsbok Mindanao Bleeding-heart Red-vented Cockatoo Socorro Dove
Aardvark, Red-and-blue Lory, Papuan Lorikeet, Short-billed Black Cockatoo, Salvadori's Pheasant, Morpho menelaus, warthog, Great Hornbill, Kirk's dik-dik and Komodo dragon are expressed in Ruth or are the species present in Chester Zoo
Aardvark Red-and-blue Lory Papuan Lorikeet Short-billed Black Cockatoo Salvadori's Pheasant Morpho menelaus warthog Great Hornbill Kirk's dik-dik Komodo dragon
action filter_type
action union
action find
entity Ruth
relation depicts
action find
entity Chester Zoo
relation species kept
type taxon
{'OR': [['Ruth', 'depicts', {'concept': 'taxon'}], ['Chester Zoo', 'species kept', {'concept': 'taxon'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Ruth property:depicts ?b } UNION { resource:Chester_Zoo property:species_kept ?b } } . ?b rdf:type ontology:taxon }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2432295
P1990
Q178706
USER
Do Tierpark Neumünster have housed the species named those taxons ?
(Q2432295,P1990,Q46212) (Q2432295,P1990,Q528256) (Q2432295,P1990,Q940834) (Q2432295,P1990,Q772700) (Q2432295,P1990,Q1050508) (Q2432295,P1990,Q545709) (Q2432295,P1990,Q183255) (Q2432295,P1990,Q232768) (Q2432295,P1990,Q833607) (Q2432295,P1990,Q4504)
action is_in
entity prev_answer
action find
entity Q2432295
relation P1990
['Q2432295', 'P1990', 'Q46212'] ['Q2432295', 'P1990', 'Q528256'] ['Q2432295', 'P1990', 'Q940834'] ['Q2432295', 'P1990', 'Q772700'] ['Q2432295', 'P1990', 'Q1050508'] ['Q2432295', 'P1990', 'Q545709'] ['Q2432295', 'P1990', 'Q183255'] ['Q2432295', 'P1990', 'Q232768'] ['Q2432295', 'P1990', 'Q833607'] ['Q2432295', 'P1990', 'Q4504']
ASK WHERE { VALUES ( ?w ) { ( resource:Q4504 ) ( resource:Q23121 ) ( resource:Q205477 ) } . resource:Q2432295 property:P1990 ?w }
Tierpark Neumünster
action is_in
entity prev_answer
action find
entity Tierpark Neumünster
relation species kept
['Tierpark Neumünster', 'species kept', 'Aardvark'] ['Tierpark Neumünster', 'species kept', 'Red-and-blue Lory'] ['Tierpark Neumünster', 'species kept', 'Papuan Lorikeet'] ['Tierpark Neumünster', 'species kept', 'Short-billed Black Cockatoo'] ['Tierpark Neumünster', 'species kept', "Salvadori's Pheasant"] ['Tierpark Neumünster', 'species kept', 'Morpho menelaus'] ['Tierpark Neumünster', 'species kept', 'warthog'] ['Tierpark Neumünster', 'species kept', 'Great Hornbill'] ['Tierpark Neumünster', 'species kept', "Kirk's dik-dik"] ['Tierpark Neumünster', 'species kept', 'Komodo dragon']
ASK WHERE { VALUES ( ?w ) { ( resource:Komodo_dragon ) ( resource:banded_mongoose ) ( resource:blue-and-yellow_macaw ) } . resource:Tierpark_Neumünster property:species_kept ?w }
[]
institution
SYSTEM
NO
(Q2432295,P1990,Q46212) (Q2432295,P1990,Q528256) (Q2432295,P1990,Q940834) (Q2432295,P1990,Q772700) (Q2432295,P1990,Q1050508) (Q2432295,P1990,Q545709) (Q2432295,P1990,Q183255) (Q2432295,P1990,Q232768) (Q2432295,P1990,Q833607) (Q2432295,P1990,Q4504)
action is_in
entity prev_answer
action find
entity Q2432295
relation P1990
[ANSWER]
['Q2432295', 'P1990', 'Q46212'] ['Q2432295', 'P1990', 'Q528256'] ['Q2432295', 'P1990', 'Q940834'] ['Q2432295', 'P1990', 'Q772700'] ['Q2432295', 'P1990', 'Q1050508'] ['Q2432295', 'P1990', 'Q545709'] ['Q2432295', 'P1990', 'Q183255'] ['Q2432295', 'P1990', 'Q232768'] ['Q2432295', 'P1990', 'Q833607'] ['Q2432295', 'P1990', 'Q4504']
ASK WHERE { VALUES ( ?w ) { ( resource:Q4504 ) ( resource:Q23121 ) ( resource:Q205477 ) } . resource:Q2432295 property:P1990 ?w }
No
action is_in
entity prev_answer
action find
entity Tierpark Neumünster
relation species kept
['Tierpark Neumünster', 'species kept', 'Aardvark'] ['Tierpark Neumünster', 'species kept', 'Red-and-blue Lory'] ['Tierpark Neumünster', 'species kept', 'Papuan Lorikeet'] ['Tierpark Neumünster', 'species kept', 'Short-billed Black Cockatoo'] ['Tierpark Neumünster', 'species kept', "Salvadori's Pheasant"] ['Tierpark Neumünster', 'species kept', 'Morpho menelaus'] ['Tierpark Neumünster', 'species kept', 'warthog'] ['Tierpark Neumünster', 'species kept', 'Great Hornbill'] ['Tierpark Neumünster', 'species kept', "Kirk's dik-dik"] ['Tierpark Neumünster', 'species kept', 'Komodo dragon']
ASK WHERE { VALUES ( ?w ) { ( resource:Komodo_dragon ) ( resource:banded_mongoose ) ( resource:blue-and-yellow_macaw ) } . resource:Tierpark_Neumünster property:species_kept ?w }
[]