Simple Question (Direct)
Simple Question
Q22294177
P682
Q1057
USER
Which metabolic process is glycerol kinase    TDE1916 involved in ?
(Q22294177,P682,c(Q1057))
action filter_type
action find
entity Q22294177
relation P682
type Q1057
['Q22294177', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?b WHERE { resource:Q22294177 property:P682 ?b . ?b rdf:type ontology:Q1057 }
glycerol kinase    TDE1916
action filter_type
action find
entity glycerol kinase    TDE1916
relation biological process
type metabolic process
['glycerol kinase    TDE1916', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?b WHERE { resource:glycerol_kinase____TDE1916 property:biological_process ?b . ?b rdf:type ontology:metabolic_process }
[]
metabolic process
Q14762260
SYSTEM
carbohydrate metabolic process
Q14762260
(Q22294177,P682,c(Q1057))
action filter_type
action find
entity Q22294177
relation P682
type Q1057
Which metabolic process is glycerol kinase TDE1916 involved in
['Q22294177', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?b WHERE { resource:Q22294177 property:P682 ?b . ?b rdf:type ontology:Q1057 }
carbohydrate metabolic process
Which metabolic process is glycerol kinase TDE1916 involved in
carbohydrate metabolic process
action filter_type
action find
entity glycerol kinase    TDE1916
relation biological process
type metabolic process
['glycerol kinase    TDE1916', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?b WHERE { resource:glycerol_kinase____TDE1916 property:biological_process ?b . ?b rdf:type ontology:metabolic_process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22294177
P702
Q863908
USER
Which nucleic acid sequence encodes glycerol kinase    TDE1916 ?
(Q22294177,P702,c(Q863908))
action filter_type
action find
entity Q22294177
relation P702
type Q863908
['Q22294177', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { resource:Q22294177 property:P702 ?k . ?k rdf:type ontology:Q863908 }
glycerol kinase    TDE1916
action filter_type
action find
entity glycerol kinase    TDE1916
relation encoded by
type nucleic acid sequence
['glycerol kinase    TDE1916', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { resource:glycerol_kinase____TDE1916 property:encoded_by ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q22290085
SYSTEM
glycerol kinase    TDE1916
Q22290085
(Q22294177,P702,c(Q863908))
action filter_type
action find
entity Q22294177
relation P702
type Q863908
Glycerol kinase TDE1916 encodes glycerol kinase TDE1916
['Q22294177', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { resource:Q22294177 property:P702 ?k . ?k rdf:type ontology:Q863908 }
glycerol kinase    TDE1916
Glycerol kinase TDE1916 encodes glycerol kinase TDE1916
glycerol kinase    TDE1916
action filter_type
action find
entity glycerol kinase    TDE1916
relation encoded by
type nucleic acid sequence
['glycerol kinase    TDE1916', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { resource:glycerol_kinase____TDE1916 property:encoded_by ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q22290085 Q22294177
P688
Q181394
USER
Is glycerol kinase    TDE1916 encoded by that nucleic acid sequence ?
(Q22290085,P688,Q22294177)
action is_in
entity Q22294177
action find
entity Q22290085
relation P688
['Q22290085', 'P688', 'Q22294177']
ASK WHERE { resource:Q22290085 property:P688 resource:Q22294177 }
glycerol kinase    TDE1916 glycerol kinase    TDE1916
action is_in
entity glycerol kinase    TDE1916
action find
entity glycerol kinase    TDE1916
relation encodes
['glycerol kinase    TDE1916', 'encodes', 'glycerol kinase    TDE1916']
ASK WHERE { resource:glycerol_kinase____TDE1916 property:encodes resource:glycerol_kinase____TDE1916 }
[]
nutrient
SYSTEM
YES
(Q22290085,P688,Q22294177)
action is_in
entity Q22294177
action find
entity Q22290085
relation P688
[ANSWER]
['Q22290085', 'P688', 'Q22294177']
ASK WHERE { resource:Q22290085 property:P688 resource:Q22294177 }
Yes
action is_in
entity glycerol kinase    TDE1916
action find
entity glycerol kinase    TDE1916
relation encodes
['glycerol kinase    TDE1916', 'encodes', 'glycerol kinase    TDE1916']
ASK WHERE { resource:glycerol_kinase____TDE1916 property:encodes resource:glycerol_kinase____TDE1916 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22290085
P703
Q16521
USER
Where is glycerol kinase    TDE1916 found ?
(Q22290085,P703,c(Q16521))
action filter_type
action find
entity Q22290085
relation P703
type Q16521
['Q22290085', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q22290085 property:P703 ?z . ?z rdf:type ontology:Q16521 }
glycerol kinase    TDE1916
action filter_type
action find
entity glycerol kinase    TDE1916
relation found in taxon
type taxon
['glycerol kinase    TDE1916', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:glycerol_kinase____TDE1916 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
taxon
Q21065228
SYSTEM
Treponema denticola ATCC 35405
Q21065228
(Q22290085,P703,c(Q16521))
action filter_type
action find
entity Q22290085
relation P703
type Q16521
Glycerol kinase TDE1916 is found in [ANSWER]
['Q22290085', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q22290085 property:P703 ?z . ?z rdf:type ontology:Q16521 }
Treponema denticola ATCC 35405
Glycerol kinase TDE1916 is found in Treponema denticola ATCC 35405
Treponema denticola ATCC 35405
action filter_type
action find
entity glycerol kinase    TDE1916
relation found in taxon
type taxon
['glycerol kinase    TDE1916', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:glycerol_kinase____TDE1916 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22290085 Q18034724
P702
Q181394
USER
How many nutrients are encoded by glycerol kinase    TDE1916 or HEPH ?
(c(Q181394),P702,Q22290085) (c(Q181394),P702,Q18034724)
action count
action union
action filter_type
action find_reverse
entity Q22290085
relation P702
type Q181394
action filter_type
action find_reverse
entity Q18034724
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q22290085'] [{'concept': 'Q181394'}, 'P702', 'Q18034724']
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { ?a property:P702 resource:Q22290085 . ?a rdf:type ontology:Q181394 } UNION { ?a property:P702 resource:Q18034724 . ?a rdf:type ontology:Q181394 } }
glycerol kinase    TDE1916 HEPH
action count
action union
action filter_type
action find_reverse
entity glycerol kinase    TDE1916
relation encoded by
type nutrient
action filter_type
action find_reverse
entity HEPH
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'glycerol kinase    TDE1916'] [{'concept': 'nutrient'}, 'encoded by', 'HEPH']
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { ?a property:encoded_by resource:glycerol_kinase____TDE1916 . ?a rdf:type ontology:nutrient } UNION { ?a property:encoded_by resource:HEPH . ?a rdf:type ontology:nutrient } }
[]
nutrient
SYSTEM
2
Q22294177 Q22676503
(c(Q181394),P702,Q22290085) (c(Q181394),P702,Q18034724)
action count
action union
action filter_type
action find_reverse
entity Q22290085
relation P702
type Q181394
action filter_type
action find_reverse
entity Q18034724
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q22290085'] [{'concept': 'Q181394'}, 'P702', 'Q18034724']
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { ?a property:P702 resource:Q22290085 . ?a rdf:type ontology:Q181394 } UNION { ?a property:P702 resource:Q18034724 . ?a rdf:type ontology:Q181394 } }
glycerol kinase    TDE1916 Hephaestin
2
action count
action union
action filter_type
action find_reverse
entity glycerol kinase    TDE1916
relation encoded by
type nutrient
action filter_type
action find_reverse
entity HEPH
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'glycerol kinase    TDE1916'] [{'concept': 'nutrient'}, 'encoded by', 'HEPH']
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { ?a property:encoded_by resource:glycerol_kinase____TDE1916 . ?a rdf:type ontology:nutrient } UNION { ?a property:encoded_by resource:HEPH . ?a rdf:type ontology:nutrient } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3801980
P180
Q16521 Q3516658
USER
Which heraldic symbols depict less number of taxons than iris ?
(c(Q3516658),P180,c(Q16521))
action less
action find_tuple_counts
relation P180
type Q3516658
type Q16521
action count
action filter_type
action find
entity Q3801980
relation P180
type Q16521
[{'concept': 'Q3516658'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?l ) WHERE { ?o property:P180 ?i . ?o rdf:type ontology:Q3516658 . ?i rdf:type ontology:Q16521 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q3801980 property:P180 ?y . ?y rdf:type ontology:Q16521 } } . FILTER ( ?l < ?f ) }
iris
action less
action find_tuple_counts
relation depicts
type heraldic symbol
type taxon
action count
action filter_type
action find
entity iris
relation depicts
type taxon
[{'concept': 'heraldic symbol'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?l ) WHERE { ?o property:depicts ?i . ?o rdf:type ontology:heraldic_symbol . ?i rdf:type ontology:taxon } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:iris property:depicts ?y . ?y rdf:type ontology:taxon } } . FILTER ( ?l < ?f ) }
[]
taxon heraldic symbol
Q557051 Q3631010 Q949516
SYSTEM
anchor, hazelnut, globus cruciger
Q557051 Q3631010 Q949516 Q3743219 Q1531829 Q3972936 Q3685083 Q3967285 Q3657778 Q3846728 Q3860189 Q3908677 Q3738545 Q3630953 Q25409362 Q997698 Q3898919 Q3715134 Q3696963 Q3859462 Q4009696 Q1574285 Q3539700 Q676215 Q1533358 Q2137363 Q989540 Q3954964 Q3877676 Q1634010 Q27347239 Q3607618 Q3849985 Q1258214 Q2963691 Q3950303 Q2135212 Q27625064 Q2226240 Q3700771 Q3995120 Q3643394 Q1493940 Q1070435 Q1031296 Q3993705 Q3621132 Q3411703 Q1341768 Q3855073 Q3925764 Q3749232 Q27347287 Q1382857 Q2379167 Q3143703 Q3765054 Q27192577 Q3693964 Q3853255 Q15825380 Q3757590 Q3778797 Q14906602 Q15851470 Q3998613 Q3747919 Q458448
(c(Q3516658),P180,c(Q16521))
action less
action find_tuple_counts
relation P180
type Q3516658
type Q16521
action count
action filter_type
action find
entity Q3801980
relation P180
type Q16521
[ANSWERS] depict less number of taxons than iris
[{'concept': 'Q3516658'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?l ) WHERE { ?o property:P180 ?i . ?o rdf:type ontology:Q3516658 . ?i rdf:type ontology:Q16521 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q3801980 property:P180 ?y . ?y rdf:type ontology:Q16521 } } . FILTER ( ?l < ?f ) }
anchor hazelnut globus cruciger millrind bell morning star compass spur Jewish hat sea millstone gate scythe forearm Geryon book pilgrim viking ship kremlin mitre weather vane hand Triton arm harpy rainbow saw wild man Gordian knot horseshoe crozier halberd hammer trident Chimera portcullis rake chapel saddle die tower left arm garb cherubim mermaid torch Boreas pegasus angel Mercury chape strawberry lance sword pillar Hydra yoke beehive crown of thorns mace Saint Lawrence galley warrior acorn open triangle caltrap scissors anvil
Anchor, hazelnut and globus cruciger depict less number of taxons than iris
anchor hazelnut globus cruciger
action less
action find_tuple_counts
relation depicts
type heraldic symbol
type taxon
action count
action filter_type
action find
entity iris
relation depicts
type taxon
[{'concept': 'heraldic symbol'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?l ) WHERE { ?o property:depicts ?i . ?o rdf:type ontology:heraldic_symbol . ?i rdf:type ontology:taxon } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:iris property:depicts ?y . ?y rdf:type ontology:taxon } } . FILTER ( ?l < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q41673
P180
Q3516658 Q14660
USER
How many flags demonstrate approximately the same number of heraldic symbols as flag of India ?
(c(Q14660),P180,c(Q3516658))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_type
action find
entity Q41673
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q3516658'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q41673 property:P180 ?o . ?o rdf:type ontology:Q14660 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?z ) WHERE { ?d property:P180 ?r . ?d rdf:type ontology:Q14660 . ?r rdf:type ontology:Q3516658 } GROUP BY ?d } }
flag of India
action count
action approx
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_type
action find
entity flag of India
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'heraldic symbol'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:flag_of_India property:depicts ?o . ?o rdf:type ontology:flag } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?z ) WHERE { ?d property:depicts ?r . ?d rdf:type ontology:flag . ?r rdf:type ontology:heraldic_symbol } GROUP BY ?d } }
[]
heraldic symbol flag
SYSTEM
87
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q135034 Q134521 Q266618 Q484249 Q127179 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q162999 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514
(c(Q14660),P180,c(Q3516658))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_type
action find
entity Q41673
relation P180
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q3516658'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q41673 property:P180 ?o . ?o rdf:type ontology:Q14660 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?z ) WHERE { ?d property:P180 ?r . ?d rdf:type ontology:Q14660 . ?r rdf:type ontology:Q3516658 } GROUP BY ?d } }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark Flag of Cambodia flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji
87
action count
action approx
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_type
action find
entity flag of India
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'heraldic symbol'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:flag_of_India property:depicts ?o . ?o rdf:type ontology:flag } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?z ) WHERE { ?d property:depicts ?r . ?d rdf:type ontology:flag . ?r rdf:type ontology:heraldic_symbol } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q79874
P180
Q3516658 Q14660
USER
And what about flag of Afghanistan?
(c(Q14660),P180,c(Q3516658))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_type
action find
entity Q79874
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q3516658'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q79874 property:P180 ?i . ?i rdf:type ontology:Q14660 } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:Q3516658 . ?c rdf:type ontology:Q14660 . ?c property:P180 ?y } GROUP BY ?c } }
flag of Afghanistan
action count
action approx
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_type
action find
entity flag of Afghanistan
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'heraldic symbol'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:flag_of_Afghanistan property:depicts ?i . ?i rdf:type ontology:flag } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:heraldic_symbol . ?c rdf:type ontology:flag . ?c property:depicts ?y } GROUP BY ?c } }
[]
heraldic symbol flag
SYSTEM
87
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q135034 Q134521 Q266618 Q484249 Q127179 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q162999 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514
(c(Q14660),P180,c(Q3516658))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_type
action find
entity Q79874
relation P180
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q3516658'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q79874 property:P180 ?i . ?i rdf:type ontology:Q14660 } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:Q3516658 . ?c rdf:type ontology:Q14660 . ?c property:P180 ?y } GROUP BY ?c } }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark Flag of Cambodia flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji
87
action count
action approx
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_type
action find
entity flag of Afghanistan
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'heraldic symbol'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:flag_of_Afghanistan property:depicts ?i . ?i rdf:type ontology:flag } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:heraldic_symbol . ?c rdf:type ontology:flag . ?c property:depicts ?y } GROUP BY ?c } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1331136 Q3801980
P427 P180
Q16521
USER
Which taxons are expressed in iris or are the taxonomic types of Dacrymyces ?
OR((Q3801980,P180,c(Q16521)), (Q1331136,P427,c(Q16521)))
action filter_type
action union
action find
entity Q3801980
relation P180
action find
entity Q1331136
relation P427
type Q16521
{'OR': [['Q3801980', 'P180', {'concept': 'Q16521'}], ['Q1331136', 'P427', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3801980 property:P180 ?n } UNION { resource:Q1331136 property:P427 ?n } } . ?n rdf:type ontology:Q16521 }
Dacrymyces iris
action filter_type
action union
action find
entity iris
relation depicts
action find
entity Dacrymyces
relation taxonomic type
type taxon
{'OR': [['iris', 'depicts', {'concept': 'taxon'}], ['Dacrymyces', 'taxonomic type', {'concept': 'taxon'}]]}
SELECT DISTINCT ?n WHERE { { { resource:iris property:depicts ?n } UNION { resource:Dacrymyces property:taxonomic_type ?n } } . ?n rdf:type ontology:taxon }
[]
taxon
Q156901 Q191646
SYSTEM
Iris, Dacrymyces stillatus
Q156901 Q191646
OR((Q3801980,P180,c(Q16521)), (Q1331136,P427,c(Q16521)))
action filter_type
action union
action find
entity Q3801980
relation P180
action find
entity Q1331136
relation P427
type Q16521
[ANSWERS] are expressed in iris or are the taxonomic types of Dacrymyces
{'OR': [['Q3801980', 'P180', {'concept': 'Q16521'}], ['Q1331136', 'P427', {'concept': 'Q16521'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3801980 property:P180 ?n } UNION { resource:Q1331136 property:P427 ?n } } . ?n rdf:type ontology:Q16521 }
Iris Dacrymyces stillatus
Iris and Dacrymyces stillatus are expressed in iris or are the taxonomic types of Dacrymyces
Iris Dacrymyces stillatus
action filter_type
action union
action find
entity iris
relation depicts
action find
entity Dacrymyces
relation taxonomic type
type taxon
{'OR': [['iris', 'depicts', {'concept': 'taxon'}], ['Dacrymyces', 'taxonomic type', {'concept': 'taxon'}]]}
SELECT DISTINCT ?n WHERE { { { resource:iris property:depicts ?n } UNION { resource:Dacrymyces property:taxonomic_type ?n } } . ?n rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
How many nutrients do around 43 nutrients or drugs collaborate with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 43
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { FILTER ( ?u = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?v WHERE { { ?r property:P129 ?v . ?v rdf:type ontology:Q181394 . ?r rdf:type ontology:Q181394 } UNION { ?r property:P129 ?v . ?v rdf:type ontology:Q181394 . ?r rdf:type ontology:Q8386 } } GROUP BY ?v } }
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 43
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { FILTER ( ?u = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?v WHERE { { ?r property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . ?r rdf:type ontology:nutrient } UNION { ?r property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . ?r rdf:type ontology:drug } } GROUP BY ?v } }
[]
nutrient nutrient drug
SYSTEM
4
Q309513 Q21115043 Q1949517 Q2034004
(c(Q181394)|c(Q8386),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 43
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { FILTER ( ?u = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?v WHERE { { ?r property:P129 ?v . ?v rdf:type ontology:Q181394 . ?r rdf:type ontology:Q181394 } UNION { ?r property:P129 ?v . ?v rdf:type ontology:Q181394 . ?r rdf:type ontology:Q8386 } } GROUP BY ?v } }
Histamine H1 receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor
4
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 43
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { FILTER ( ?u = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?v WHERE { { ?r property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . ?r rdf:type ontology:nutrient } UNION { ?r property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . ?r rdf:type ontology:drug } } GROUP BY ?v } }
[]