Simple Question (Direct)
Simple Question
Q21132135
P681
Q15989253
USER
What is a component of Zinc finger protein 488 ?
(Q21132135,P681,c(Q15989253))
action filter_type
action find
entity Q21132135
relation P681
type Q15989253
['Q21132135', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q21132135 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
Zinc finger protein 488
action filter_type
action find
entity Zinc finger protein 488
relation cell component
type part
['Zinc finger protein 488', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:Zinc_finger_protein_488 property:cell_component ?w . ?w rdf:type ontology:part }
[]
part
Q40260
SYSTEM
nucleus
Q40260
(Q21132135,P681,c(Q15989253))
action filter_type
action find
entity Q21132135
relation P681
type Q15989253
A component of Zinc finger protein 488 is the [ANSWER]
['Q21132135', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q21132135 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
nucleus
A component of Zinc finger protein 488 is the nucleus
nucleus
action filter_type
action find
entity Zinc finger protein 488
relation cell component
type part
['Zinc finger protein 488', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:Zinc_finger_protein_488 property:cell_component ?w . ?w rdf:type ontology:part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40260
P361
Q234460
USER
Which text is a part of that one ?
(c(Q234460),P361,Q40260)
action filter_type
action find_reverse
entity Q40260
relation P361
type Q234460
[{'concept': 'Q234460'}, 'P361', 'Q40260']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q40260 . ?i rdf:type ontology:Q234460 }
nucleus
action filter_type
action find_reverse
entity nucleus
relation part of
type text
[{'concept': 'text'}, 'part of', 'nucleus']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:nucleus . ?i rdf:type ontology:text }
[]
text
Q7430
SYSTEM
DNA
Q7430
(c(Q234460),P361,Q40260)
action filter_type
action find_reverse
entity Q40260
relation P361
type Q234460
[ANSWER] is a part of that one
[{'concept': 'Q234460'}, 'P361', 'Q40260']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q40260 . ?i rdf:type ontology:Q234460 }
DNA
DNA is a part of that one
DNA
action filter_type
action find_reverse
entity nucleus
relation part of
type text
[{'concept': 'text'}, 'part of', 'nucleus']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:nucleus . ?i rdf:type ontology:text }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q234460 Q502895
USER
Which texts are more number of people a component of than that text ?
(c(Q502895),P361,c(Q234460))
action greater
action find_tuple_counts
relation P361
type Q234460
type Q502895
action count
action filter_type
action find
entity Q7430
relation P361
type Q234460
[{'concept': 'Q502895'}, 'P361', {'concept': 'Q234460'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:P361 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q234460 } GROUP BY ?a } . FILTER ( ?p > ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q7430 property:P361 ?k . ?k rdf:type ontology:Q234460 } } }
action greater
action find_tuple_counts
relation part of
type text
type common name
action count
action filter_type
action find
entity DNA
relation part of
type text
[{'concept': 'common name'}, 'part of', {'concept': 'text'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:part_of ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:text } GROUP BY ?a } . FILTER ( ?p > ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:DNA property:part_of ?k . ?k rdf:type ontology:text } } }
[]
text common name
Q465108
SYSTEM
Classic of Poetry
Q465108
(c(Q502895),P361,c(Q234460))
action greater
action find_tuple_counts
relation P361
type Q234460
type Q502895
action count
action filter_type
action find
entity Q7430
relation P361
type Q234460
[ANSWER] is more number of people a component of than that text
[{'concept': 'Q502895'}, 'P361', {'concept': 'Q234460'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:P361 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q234460 } GROUP BY ?a } . FILTER ( ?p > ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q7430 property:P361 ?k . ?k rdf:type ontology:Q234460 } } }
Classic of Poetry
Classic of Poetry is more number of people a component of than that text
Classic of Poetry
action greater
action find_tuple_counts
relation part of
type text
type common name
action count
action filter_type
action find
entity DNA
relation part of
type text
[{'concept': 'common name'}, 'part of', {'concept': 'text'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:part_of ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:text } GROUP BY ?a } . FILTER ( ?p > ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:DNA property:part_of ?k . ?k rdf:type ontology:text } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q465108 Q17372137
P361
Q502895
USER
Is Lesser Court Hymns a component of that text ?
(Q17372137,P361,Q465108)
action is_in
entity Q465108
action find
entity Q17372137
relation P361
['Q17372137', 'P361', 'Q465108']
ASK WHERE { resource:Q17372137 property:P361 resource:Q465108 }
Classic of Poetry Lesser Court Hymns
action is_in
entity Classic of Poetry
action find
entity Lesser Court Hymns
relation part of
['Lesser Court Hymns', 'part of', 'Classic of Poetry']
ASK WHERE { resource:Lesser_Court_Hymns property:part_of resource:Classic_of_Poetry }
[]
common name
SYSTEM
YES
(Q17372137,P361,Q465108)
action is_in
entity Q465108
action find
entity Q17372137
relation P361
[ANSWER]
['Q17372137', 'P361', 'Q465108']
ASK WHERE { resource:Q17372137 property:P361 resource:Q465108 }
Yes
action is_in
entity Classic of Poetry
action find
entity Lesser Court Hymns
relation part of
['Lesser Court Hymns', 'part of', 'Classic of Poetry']
ASK WHERE { resource:Lesser_Court_Hymns property:part_of resource:Classic_of_Poetry }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1471060
P186
Q214609 Q234460
USER
How many materials are used to produce more number of texts than tissue paper ?
(c(Q234460),P186,c(Q214609))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q214609
type Q234460
action count
action filter_type
action find
entity Q1471060
relation P186
type Q214609
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q1471060 property:P186 ?y . ?y rdf:type ontology:Q214609 } } . FILTER ( ?s > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P186 ?n . ?n rdf:type ontology:Q214609 . ?w rdf:type ontology:Q234460 } GROUP BY ?n } }
tissue paper
action count
action greater
action find_reverse_tuple_counts
relation material used
type material
type text
action count
action filter_type
action find
entity tissue paper
relation material used
type material
[{'concept': 'text'}, 'material used', {'concept': 'material'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:tissue_paper property:material_used ?y . ?y rdf:type ontology:material } } . FILTER ( ?s > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:material_used ?n . ?n rdf:type ontology:material . ?w rdf:type ontology:text } GROUP BY ?n } }
[]
material text
SYSTEM
3
Q286 Q127418 Q1426327
(c(Q234460),P186,c(Q214609))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q214609
type Q234460
action count
action filter_type
action find
entity Q1471060
relation P186
type Q214609
[ANSWER]
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q1471060 property:P186 ?y . ?y rdf:type ontology:Q214609 } } . FILTER ( ?s > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P186 ?n . ?n rdf:type ontology:Q214609 . ?w rdf:type ontology:Q234460 } GROUP BY ?n } }
leather ink linen
3
action count
action greater
action find_reverse_tuple_counts
relation material used
type material
type text
action count
action filter_type
action find
entity tissue paper
relation material used
type material
[{'concept': 'text'}, 'material used', {'concept': 'material'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:tissue_paper property:material_used ?y . ?y rdf:type ontology:material } } . FILTER ( ?s > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:material_used ?n . ?n rdf:type ontology:material . ?w rdf:type ontology:text } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P186
Q8063 Q234460
USER
How many rocks are used to manufacture around 1 text ?
(c(Q234460),P186,c(Q8063))
action count
action approx
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
value 1
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P186 ?e . ?e rdf:type ontology:Q8063 . ?i rdf:type ontology:Q234460 } GROUP BY ?e } . FILTER ( ?l = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation material used
type rock
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:material_used ?e . ?e rdf:type ontology:rock . ?i rdf:type ontology:text } GROUP BY ?e } . FILTER ( ?l = 1 ) }
[]
rock text
SYSTEM
3
Q43338 Q207079 Q23757
(c(Q234460),P186,c(Q8063))
action count
action approx
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
value 1
[ANSWER]
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P186 ?e . ?e rdf:type ontology:Q8063 . ?i rdf:type ontology:Q234460 } GROUP BY ?e } . FILTER ( ?l = 1 ) }
basalt slate limestone
3
action count
action approx
action find_reverse_tuple_counts
relation material used
type rock
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:material_used ?e . ?e rdf:type ontology:rock . ?i rdf:type ontology:text } GROUP BY ?e } . FILTER ( ?l = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q21132135
P703 P688
Q863908
USER
Which nucleic acid sequences encodes Zinc finger protein 488 and species belongs to the taxon Homo sapiens ?
AND((c(Q863908),P688,Q21132135), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q21132135
relation P688
action find_reverse
entity Q15978631
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21132135'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?y WHERE { ?y property:P688 resource:Q21132135 . ?y property:P703 resource:Q15978631 . ?y rdf:type ontology:Q863908 }
Homo sapiens Zinc finger protein 488
action filter_type
action intersection
action find_reverse
entity Zinc finger protein 488
relation encodes
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Zinc finger protein 488'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?y WHERE { ?y property:encodes resource:Zinc_finger_protein_488 . ?y property:found_in_taxon resource:Homo_sapiens . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18049331
SYSTEM
ZNF488
Q18049331
AND((c(Q863908),P688,Q21132135), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q21132135
relation P688
action find_reverse
entity Q15978631
relation P703
type Q863908
[ANSWER] encodes Zinc finger protein 488 and species belongs to the taxon Homo sapiens
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21132135'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?y WHERE { ?y property:P688 resource:Q21132135 . ?y property:P703 resource:Q15978631 . ?y rdf:type ontology:Q863908 }
ZNF488
ZNF488 encodes Zinc finger protein 488 and species belongs to the taxon Homo sapiens
ZNF488
action filter_type
action intersection
action find_reverse
entity Zinc finger protein 488
relation encodes
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Zinc finger protein 488'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?y WHERE { ?y property:encodes resource:Zinc_finger_protein_488 . ?y property:found_in_taxon resource:Homo_sapiens . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18049331 Q21132135
P702
Q181394
USER
Is Zinc finger protein 488 encoded by that nucleic acid sequence ?
(Q21132135,P702,Q18049331)
action is_in
entity Q18049331
action find
entity Q21132135
relation P702
['Q21132135', 'P702', 'Q18049331']
ASK WHERE { resource:Q21132135 property:P702 resource:Q18049331 }
ZNF488 Zinc finger protein 488
action is_in
entity ZNF488
action find
entity Zinc finger protein 488
relation encoded by
['Zinc finger protein 488', 'encoded by', 'ZNF488']
ASK WHERE { resource:Zinc_finger_protein_488 property:encoded_by resource:ZNF488 }
[]
nutrient
SYSTEM
YES
(Q21132135,P702,Q18049331)
action is_in
entity Q18049331
action find
entity Q21132135
relation P702
[ANSWER]
['Q21132135', 'P702', 'Q18049331']
ASK WHERE { resource:Q21132135 property:P702 resource:Q18049331 }
Yes
action is_in
entity ZNF488
action find
entity Zinc finger protein 488
relation encoded by
['Zinc finger protein 488', 'encoded by', 'ZNF488']
ASK WHERE { resource:Zinc_finger_protein_488 property:encoded_by resource:ZNF488 }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18049331
P684
Q863908
USER
What is the name of the species that has that one as its orthologous gene ?
action filter_type
action find
entity Q18049331
relation P684
type Q863908
SELECT DISTINCT ?b WHERE { resource:Q18049331 property:P684 ?b . ?b rdf:type ontology:Q863908 }
ZNF488
action filter_type
action find
entity ZNF488
relation ortholog
type nucleic acid sequence
SELECT DISTINCT ?b WHERE { resource:ZNF488 property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18303657
SYSTEM
Zfp488
Q18303657
action filter_type
action find
entity Q18049331
relation P684
type Q863908
The name of the species that has that one as its orthologous gene is [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q18049331 property:P684 ?b . ?b rdf:type ontology:Q863908 }
Zfp488
The name of the species that has that one as its orthologous gene is Zfp488
Zfp488
action filter_type
action find
entity ZNF488
relation ortholog
type nucleic acid sequence
SELECT DISTINCT ?b WHERE { resource:ZNF488 property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18303657 Q23442560
P702
Q181394
USER
Is cell division protein MukB    VP1037 encoded by that nucleic acid sequence ?
(Q23442560,P702,Q18303657)
action is_in
entity Q23442560
action find
entity Q18303657
relation P702
['Q23442560', 'P702', 'Q18303657']
ASK WHERE { resource:Q18303657 property:P702 resource:Q23442560 }
Zfp488 cell division protein MukB    VP1037
action is_in
entity cell division protein MukB    VP1037
action find
entity Zfp488
relation encoded by
['cell division protein MukB    VP1037', 'encoded by', 'Zfp488']
ASK WHERE { resource:Zfp488 property:encoded_by resource:cell_division_protein_MukB____VP1037 }
[]
nutrient
SYSTEM
NO
(Q23442560,P702,Q18303657)
action is_in
entity Q23442560
action find
entity Q18303657
relation P702
[ANSWER]
['Q23442560', 'P702', 'Q18303657']
ASK WHERE { resource:Q18303657 property:P702 resource:Q23442560 }
No
action is_in
entity cell division protein MukB    VP1037
action find
entity Zfp488
relation encoded by
['cell division protein MukB    VP1037', 'encoded by', 'Zfp488']
ASK WHERE { resource:Zfp488 property:encoded_by resource:cell_division_protein_MukB____VP1037 }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25999
P180
Q15989253 Q17335294 Q14660
USER
Which parts are expressed in approximately the same number of coats of arms and flags as sail ?
(c(Q17335294)|c(Q14660),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q25999
relation P180
type Q17335294
type Q14660
[[{'concept': 'Q17335294'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:Q17335294 ) ( ontology:Q14660 ) } . ?d rdf:type ?r } GROUP BY ?g } . FILTER ( ?j = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P180 resource:Q25999 . { { ?w rdf:type ontology:Q17335294 } UNION { ?w rdf:type ontology:Q14660 } } } } }
sail
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type flag
action count
action filter_multi_types
action find_reverse
entity sail
relation depicts
type flag or coat of arms
type flag
[[{'concept': 'flag or coat of arms'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:flag_or_coat_of_arms ) ( ontology:flag ) } . ?d rdf:type ?r } GROUP BY ?g } . FILTER ( ?j = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:depicts resource:sail . { { ?w rdf:type ontology:flag_or_coat_of_arms } UNION { ?w rdf:type ontology:flag } } } } }
[]
part flag or coat of arms flag
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q42165 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q17335294)|c(Q14660),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q25999
relation P180
type Q17335294
type Q14660
[ANSWERS] are expressed in approximately the same number of coats of arms and flags as sail
[[{'concept': 'Q17335294'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:Q17335294 ) ( ontology:Q14660 ) } . ?d rdf:type ?r } GROUP BY ?g } . FILTER ( ?j = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P180 resource:Q25999 . { { ?w rdf:type ontology:Q17335294 } UNION { ?w rdf:type ontology:Q14660 } } } } }
thigh ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard buttocks claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
Organ, crest and thigh are expressed in approximately the same number of coats of arms and flags as sail
organ crest thigh
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type flag
action count
action filter_multi_types
action find_reverse
entity sail
relation depicts
type flag or coat of arms
type flag
[[{'concept': 'flag or coat of arms'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:flag_or_coat_of_arms ) ( ontology:flag ) } . ?d rdf:type ?r } GROUP BY ?g } . FILTER ( ?j = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:depicts resource:sail . { { ?w rdf:type ontology:flag_or_coat_of_arms } UNION { ?w rdf:type ontology:flag } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q23470183 Q21132135
P680
Q44424
USER
Which chemical bonds represents the molecular function of Zinc finger protein 488 and isocitrate dehydrogenase    CT0351 ?
AND((Q21132135,P680,c(Q44424)), (Q23470183,P680,c(Q44424)))
action filter_type
action intersection
action find
entity Q21132135
relation P680
action find
entity Q23470183
relation P680
type Q44424
{'AND': [['Q21132135', 'P680', {'concept': 'Q44424'}], ['Q23470183', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?f WHERE { resource:Q21132135 property:P680 ?f . resource:Q23470183 property:P680 ?f . ?f rdf:type ontology:Q44424 }
isocitrate dehydrogenase    CT0351 Zinc finger protein 488
action filter_type
action intersection
action find
entity Zinc finger protein 488
relation molecular function
action find
entity isocitrate dehydrogenase    CT0351
relation molecular function
type chemical bond
{'AND': [['Zinc finger protein 488', 'molecular function', {'concept': 'chemical bond'}], ['isocitrate dehydrogenase    CT0351', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?f WHERE { resource:Zinc_finger_protein_488 property:molecular_function ?f . resource:isocitrate_dehydrogenase____CT0351 property:molecular_function ?f . ?f rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
AND((Q21132135,P680,c(Q44424)), (Q23470183,P680,c(Q44424)))
action filter_type
action intersection
action find
entity Q21132135
relation P680
action find
entity Q23470183
relation P680
type Q44424
The [ANSWER] represents the molecular function of Zinc finger protein 488 and isocitrate dehydrogenase CT0351
{'AND': [['Q21132135', 'P680', {'concept': 'Q44424'}], ['Q23470183', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?f WHERE { resource:Q21132135 property:P680 ?f . resource:Q23470183 property:P680 ?f . ?f rdf:type ontology:Q44424 }
metal ion binding
The metal ion binding represents the molecular function of Zinc finger protein 488 and isocitrate dehydrogenase CT0351
metal ion binding
action filter_type
action intersection
action find
entity Zinc finger protein 488
relation molecular function
action find
entity isocitrate dehydrogenase    CT0351
relation molecular function
type chemical bond
{'AND': [['Zinc finger protein 488', 'molecular function', {'concept': 'chemical bond'}], ['isocitrate dehydrogenase    CT0351', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?f WHERE { resource:Zinc_finger_protein_488 property:molecular_function ?f . resource:isocitrate_dehydrogenase____CT0351 property:molecular_function ?f . ?f rdf:type ontology:chemical_bond }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P680
Q44424 Q181394
USER
How many chemical bonds represent molecular function of greater number of nutrients than that chemical bond ?
(c(Q181394),P680,c(Q44424))
action count
action greater
action find_tuple_counts
relation P680
type Q44424
type Q181394
action count
action filter_type
action find
entity Q13667380
relation P680
type Q44424
[{'concept': 'Q181394'}, 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?d ) WHERE { ?t rdf:type ontology:Q44424 . ?q rdf:type ontology:Q181394 . ?t property:P680 ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q13667380 property:P680 ?o . ?o rdf:type ontology:Q44424 } } . FILTER ( ?d > ?e ) }
action count
action greater
action find_tuple_counts
relation molecular function
type chemical bond
type nutrient
action count
action filter_type
action find
entity metal ion binding
relation molecular function
type chemical bond
[{'concept': 'nutrient'}, 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?d ) WHERE { ?t rdf:type ontology:chemical_bond . ?q rdf:type ontology:nutrient . ?t property:molecular_function ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:metal_ion_binding property:molecular_function ?o . ?o rdf:type ontology:chemical_bond } } . FILTER ( ?d > ?e ) }
[]
chemical bond nutrient
SYSTEM
0
(c(Q181394),P680,c(Q44424))
action count
action greater
action find_tuple_counts
relation P680
type Q44424
type Q181394
action count
action filter_type
action find
entity Q13667380
relation P680
type Q44424
[ANSWER]
[{'concept': 'Q181394'}, 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?d ) WHERE { ?t rdf:type ontology:Q44424 . ?q rdf:type ontology:Q181394 . ?t property:P680 ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q13667380 property:P680 ?o . ?o rdf:type ontology:Q44424 } } . FILTER ( ?d > ?e ) }
0
action count
action greater
action find_tuple_counts
relation molecular function
type chemical bond
type nutrient
action count
action filter_type
action find
entity metal ion binding
relation molecular function
type chemical bond
[{'concept': 'nutrient'}, 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?d ) WHERE { ?t rdf:type ontology:chemical_bond . ?q rdf:type ontology:nutrient . ?t property:molecular_function ?q } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:metal_ion_binding property:molecular_function ?o . ?o rdf:type ontology:chemical_bond } } . FILTER ( ?d > ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q234460 Q2342494 Q201658
USER
Which texts are max number of collectables and film genres adapted from ?
(c(Q2342494)|c(Q201658),P144,c(Q234460))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q234460
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q234460
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?x rdf:type ?i } GROUP BY ?z } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } } GROUP BY ?o } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type text
type collectable
action find_reverse_tuple_counts
relation based on
type text
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'text'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?x rdf:type ?i } GROUP BY ?z } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:film_genre ) } } GROUP BY ?o } }
[]
text collectable film genre
Q191380
SYSTEM
The Hunchback of Notre Dame
Q191380
(c(Q2342494)|c(Q201658),P144,c(Q234460))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q234460
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q234460
type Q201658
Max number of collectables and film genres are adapted from [ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?x rdf:type ?i } GROUP BY ?z } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } } GROUP BY ?o } }
The Hunchback of Notre Dame
Max number of collectables and film genres are adapted from The Hunchback of Notre Dame
The Hunchback of Notre Dame
action argmax
action union
action find_reverse_tuple_counts
relation based on
type text
type collectable
action find_reverse_tuple_counts
relation based on
type text
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'text'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?x rdf:type ?i } GROUP BY ?z } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:film_genre ) } } GROUP BY ?o } }
[]