Simple Question (Direct)
Simple Question
Q23568956
P681
Q15989253
USER
Which part is a component of NADH dehydrogenase subunit B    gvip331 ?
(Q23568956,P681,c(Q15989253))
action filter_type
action find
entity Q23568956
relation P681
type Q15989253
['Q23568956', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?d WHERE { resource:Q23568956 property:P681 ?d . ?d rdf:type ontology:Q15989253 }
NADH dehydrogenase subunit B    gvip331
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation cell component
type part
['NADH dehydrogenase subunit B    gvip331', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?d WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:cell_component ?d . ?d rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q23568956,P681,c(Q15989253))
action filter_type
action find
entity Q23568956
relation P681
type Q15989253
The [ANSWER] is a component of NADH dehydrogenase subunit B gvip331
['Q23568956', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?d WHERE { resource:Q23568956 property:P681 ?d . ?d rdf:type ontology:Q15989253 }
membrane
The membrane is a component of NADH dehydrogenase subunit B gvip331
membrane
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation cell component
type part
['NADH dehydrogenase subunit B    gvip331', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?d WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:cell_component ?d . ?d rdf:type ontology:part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23568956
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q14349455)
action filter_type
action find_reverse
entity Q23568956
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q14349455']
SELECT DISTINCT ?v WHERE { ?v property:P688 resource:Q23568956 . ?v rdf:type ontology:Q863908 }
NADH dehydrogenase subunit B    gvip331
action filter_type
action find_reverse
entity NADH dehydrogenase subunit B    gvip331
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'membrane']
SELECT DISTINCT ?v WHERE { ?v property:encodes resource:NADH_dehydrogenase_subunit_B____gvip331 . ?v rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23264642
SYSTEM
NADH dehydrogenase subunit B    gvip331
Q23264642
(c(Q863908),P688,Q14349455)
action filter_type
action find_reverse
entity Q23568956
relation P688
type Q863908
De NADH dehydrogenase subunit B gvip331 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q14349455']
SELECT DISTINCT ?v WHERE { ?v property:P688 resource:Q23568956 . ?v rdf:type ontology:Q863908 }
NADH dehydrogenase subunit B    gvip331
De NADH dehydrogenase subunit B gvip331 encodes that nutrient
NADH dehydrogenase subunit B    gvip331
action filter_type
action find_reverse
entity NADH dehydrogenase subunit B    gvip331
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'membrane']
SELECT DISTINCT ?v WHERE { ?v property:encodes resource:NADH_dehydrogenase_subunit_B____gvip331 . ?v rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23264642 Q23602229
P688
Q181394
USER
Is Histidine--tRNA ligase    FP2021 encoded by that nucleic acid sequence ?
(Q23264642,P688,Q23602229)
action is_in
entity Q23602229
action find
entity Q23264642
relation P688
['Q23264642', 'P688', 'Q23602229']
ASK WHERE { resource:Q23264642 property:P688 resource:Q23602229 }
NADH dehydrogenase subunit B    gvip331 Histidine--tRNA ligase    FP2021
action is_in
entity Histidine--tRNA ligase    FP2021
action find
entity NADH dehydrogenase subunit B    gvip331
relation encodes
['NADH dehydrogenase subunit B    gvip331', 'encodes', 'Histidine--tRNA ligase    FP2021']
ASK WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encodes resource:Histidine--tRNA_ligase____FP2021 }
[]
nutrient
SYSTEM
NO
(Q23264642,P688,Q23602229)
action is_in
entity Q23602229
action find
entity Q23264642
relation P688
[ANSWER]
['Q23264642', 'P688', 'Q23602229']
ASK WHERE { resource:Q23264642 property:P688 resource:Q23602229 }
No
action is_in
entity Histidine--tRNA ligase    FP2021
action find
entity NADH dehydrogenase subunit B    gvip331
relation encodes
['NADH dehydrogenase subunit B    gvip331', 'encodes', 'Histidine--tRNA ligase    FP2021']
ASK WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encodes resource:Histidine--tRNA_ligase____FP2021 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23517666 Q23568956
P702
Q863908
USER
Which nucleic acid sequences encode NADH dehydrogenase subunit B    gvip331 or hypothetical protein    BSU23720 ?
OR((Q23568956,P702,c(Q863908)), (Q23517666,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23568956
relation P702
action find
entity Q23517666
relation P702
type Q863908
{'OR': [['Q23568956', 'P702', {'concept': 'Q863908'}], ['Q23517666', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q23568956 property:P702 ?t } UNION { resource:Q23517666 property:P702 ?t } } . ?t rdf:type ontology:Q863908 }
hypothetical protein    BSU23720 NADH dehydrogenase subunit B    gvip331
action filter_type
action union
action find
entity NADH dehydrogenase subunit B    gvip331
relation encoded by
action find
entity hypothetical protein    BSU23720
relation encoded by
type nucleic acid sequence
{'OR': [['NADH dehydrogenase subunit B    gvip331', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    BSU23720', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?t WHERE { { { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encoded_by ?t } UNION { resource:hypothetical_protein____BSU23720 property:encoded_by ?t } } . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23264642 Q23352229
SYSTEM
NADH dehydrogenase subunit B    gvip331, hypothetical protein    BSU23720
Q23264642 Q23352229
OR((Q23568956,P702,c(Q863908)), (Q23517666,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23568956
relation P702
action find
entity Q23517666
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q23568956', 'P702', {'concept': 'Q863908'}], ['Q23517666', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q23568956 property:P702 ?t } UNION { resource:Q23517666 property:P702 ?t } } . ?t rdf:type ontology:Q863908 }
NADH dehydrogenase subunit B    gvip331 hypothetical protein    BSU23720
NADH dehydrogenase subunit B gvip331 and hypothetical protein BSU23720 encode NADH dehydrogenase subunit B gvip331 or hypothetical protein BSU23720
NADH dehydrogenase subunit B    gvip331 hypothetical protein    BSU23720
action filter_type
action union
action find
entity NADH dehydrogenase subunit B    gvip331
relation encoded by
action find
entity hypothetical protein    BSU23720
relation encoded by
type nucleic acid sequence
{'OR': [['NADH dehydrogenase subunit B    gvip331', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    BSU23720', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?t WHERE { { { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encoded_by ?t } UNION { resource:hypothetical_protein____BSU23720 property:encoded_by ?t } } . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23568956
P682
Q1057
USER
What is the metabolic process that NADH dehydrogenase subunit B    gvip331 is involved in ?
(Q23568956,P682,c(Q1057))
action filter_type
action find
entity Q23568956
relation P682
type Q1057
['Q23568956', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?w WHERE { resource:Q23568956 property:P682 ?w . ?w rdf:type ontology:Q1057 }
NADH dehydrogenase subunit B    gvip331
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation biological process
type metabolic process
['NADH dehydrogenase subunit B    gvip331', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?w WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:biological_process ?w . ?w rdf:type ontology:metabolic_process }
[]
metabolic process
Q14349764
SYSTEM
oxidation-reduction process
Q14349764
(Q23568956,P682,c(Q1057))
action filter_type
action find
entity Q23568956
relation P682
type Q1057
The metabolic process that NADH dehydrogenase subunit B gvip331 is involved in is the [ANSWER]
['Q23568956', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?w WHERE { resource:Q23568956 property:P682 ?w . ?w rdf:type ontology:Q1057 }
oxidation-reduction process
The metabolic process that NADH dehydrogenase subunit B gvip331 is involved in is the oxidation-reduction process
oxidation-reduction process
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation biological process
type metabolic process
['NADH dehydrogenase subunit B    gvip331', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?w WHERE { resource:NADH_dehydrogenase_subunit_B____gvip331 property:biological_process ?w . ?w rdf:type ontology:metabolic_process }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23568956 Q419576
P702
Q863908
USER
How many nucleic acid sequences genes encode NADH dehydrogenase subunit B    gvip331 or Neurotensin/neuromedin N ?
(Q23568956,P702,c(Q863908)) (Q419576,P702,c(Q863908))
action count
action union
action filter_type
action find
entity Q23568956
relation P702
type Q863908
action filter_type
action find
entity Q419576
relation P702
type Q863908
['Q23568956', 'P702', {'concept': 'Q863908'}] ['Q419576', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { resource:Q23568956 property:P702 ?c . ?c rdf:type ontology:Q863908 } UNION { resource:Q419576 property:P702 ?c . ?c rdf:type ontology:Q863908 } }
NADH dehydrogenase subunit B    gvip331 Neurotensin/neuromedin N
action count
action union
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation encoded by
type nucleic acid sequence
action filter_type
action find
entity Neurotensin/neuromedin N
relation encoded by
type nucleic acid sequence
['NADH dehydrogenase subunit B    gvip331', 'encoded by', {'concept': 'nucleic acid sequence'}] ['Neurotensin/neuromedin N', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence } UNION { resource:Neurotensin/neuromedin_N property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence } }
[]
nucleic acid sequence
SYSTEM
2
Q23264642 Q14904891
(Q23568956,P702,c(Q863908)) (Q419576,P702,c(Q863908))
action count
action union
action filter_type
action find
entity Q23568956
relation P702
type Q863908
action filter_type
action find
entity Q419576
relation P702
type Q863908
[ANSWER]
['Q23568956', 'P702', {'concept': 'Q863908'}] ['Q419576', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { resource:Q23568956 property:P702 ?c . ?c rdf:type ontology:Q863908 } UNION { resource:Q419576 property:P702 ?c . ?c rdf:type ontology:Q863908 } }
NADH dehydrogenase subunit B    gvip331 NTS
2
action count
action union
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation encoded by
type nucleic acid sequence
action filter_type
action find
entity Neurotensin/neuromedin N
relation encoded by
type nucleic acid sequence
['NADH dehydrogenase subunit B    gvip331', 'encoded by', {'concept': 'nucleic acid sequence'}] ['Neurotensin/neuromedin N', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { resource:NADH_dehydrogenase_subunit_B____gvip331 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence } UNION { resource:Neurotensin/neuromedin_N property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15989253 Q340169 Q14660
USER
How many parts are depicted in atleast 1 medias or flags ?
(c(Q340169)|c(Q14660),P180,c(Q15989253))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
value 1
[[{'concept': 'Q340169'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?q rdf:type ontology:Q340169 } UNION { ?q property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?q rdf:type ontology:Q14660 } } GROUP BY ?j } . FILTER ( ?p >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type flag
value 1
[[{'concept': 'media'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:depicts ?j . ?j rdf:type ontology:part . ?q rdf:type ontology:media } UNION { ?q property:depicts ?j . ?j rdf:type ontology:part . ?q rdf:type ontology:flag } } GROUP BY ?j } . FILTER ( ?p >= 1 ) }
[]
part media flag
SYSTEM
5
Q129757 Q168432 Q25999 Q15807 Q42165
(c(Q340169)|c(Q14660),P180,c(Q15989253))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
value 1
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?q rdf:type ontology:Q340169 } UNION { ?q property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?q rdf:type ontology:Q14660 } } GROUP BY ?j } . FILTER ( ?p >= 1 ) }
thigh anchor sail foot buttocks
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type flag
value 1
[[{'concept': 'media'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:depicts ?j . ?j rdf:type ontology:part . ?q rdf:type ontology:media } UNION { ?q property:depicts ?j . ?j rdf:type ontology:part . ?q rdf:type ontology:flag } } GROUP BY ?j } . FILTER ( ?p >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23264642
P703
Q16521
USER
Where is NADH dehydrogenase subunit B    gvip331 found ?
(Q23264642,P703,c(Q16521))
action filter_type
action find
entity Q23264642
relation P703
type Q16521
['Q23264642', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . resource:Q23264642 property:P703 ?v }
NADH dehydrogenase subunit B    gvip331
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation found in taxon
type taxon
['NADH dehydrogenase subunit B    gvip331', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . resource:NADH_dehydrogenase_subunit_B____gvip331 property:found_in_taxon ?v }
[]
taxon
Q21398052
SYSTEM
Gloeobacter violaceus PCC 7421
Q21398052
(Q23264642,P703,c(Q16521))
action filter_type
action find
entity Q23264642
relation P703
type Q16521
NADH dehydrogenase subunit B gvip331 is found in [ANSWER]
['Q23264642', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . resource:Q23264642 property:P703 ?v }
Gloeobacter violaceus PCC 7421
NADH dehydrogenase subunit B gvip331 is found in Gloeobacter violaceus PCC 7421
Gloeobacter violaceus PCC 7421
action filter_type
action find
entity NADH dehydrogenase subunit B    gvip331
relation found in taxon
type taxon
['NADH dehydrogenase subunit B    gvip331', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . resource:NADH_dehydrogenase_subunit_B____gvip331 property:found_in_taxon ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11326699
P566
Q82799 Q16521
USER
Which names are a basionyms of less number of taxons than Hibiscus hamabo ?
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q11326699
relation P566
type Q16521
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P566 ?c . ?j rdf:type ontology:Q16521 . ?c rdf:type ontology:Q82799 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P566 resource:Q11326699 . ?f rdf:type ontology:Q16521 } } . FILTER ( ?z < ?d ) }
Hibiscus hamabo
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Hibiscus hamabo
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:basionym ?c . ?j rdf:type ontology:taxon . ?c rdf:type ontology:name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:basionym resource:Hibiscus_hamabo . ?f rdf:type ontology:taxon } } . FILTER ( ?z < ?d ) }
[]
name taxon
Q15629400 Q12954907 Q22915049
SYSTEM
Dimorphotheca ecklonis, Polygonum bistorta, Polianthes michoacana
Q12954907 Q22915049 Q7226458 Q159107 Q157851 Q15250904 Q16484730 Q7170299 Q11099680 Q15629400 Q134609
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q11326699
relation P566
type Q16521
[ANSWERS] are a basionyms of less number of taxons than Hibiscus hamabo
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P566 ?c . ?j rdf:type ontology:Q16521 . ?c rdf:type ontology:Q82799 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P566 resource:Q11326699 . ?f rdf:type ontology:Q16521 } } . FILTER ( ?z < ?d ) }
Polygonum bistorta Polianthes michoacana Polygonum cespitosum Hieracium aurantiacum Glaux maritima Polygonum manshuriense Abutilon striatum Persicaria affinis Polygonum perfoliatum Dimorphotheca ecklonis Cynara scolymus
Dimorphotheca ecklonis, Polygonum bistorta and Polianthes michoacana are a basionyms of less number of taxons than Hibiscus hamabo
Dimorphotheca ecklonis Polygonum bistorta Polianthes michoacana
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Hibiscus hamabo
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:basionym ?c . ?j rdf:type ontology:taxon . ?c rdf:type ontology:name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:basionym resource:Hibiscus_hamabo . ?f rdf:type ontology:taxon } } . FILTER ( ?z < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q10377715
P566
Q82799 Q16521
USER
And how about Tabebuia selachidentata?
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q10377715
relation P566
type Q16521
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { ?b rdf:type ontology:Q82799 . ?e rdf:type ontology:Q16521 . ?e property:P566 ?b } GROUP BY ?b } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P566 resource:Q10377715 . ?w rdf:type ontology:Q16521 } } }
Tabebuia selachidentata
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Tabebuia selachidentata
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { ?b rdf:type ontology:name . ?e rdf:type ontology:taxon . ?e property:basionym ?b } GROUP BY ?b } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:basionym resource:Tabebuia_selachidentata . ?w rdf:type ontology:taxon } } }
[]
name taxon
Q15629400 Q12954907 Q22915049
SYSTEM
Dimorphotheca ecklonis, Polygonum bistorta, Polianthes michoacana
Q12954907 Q22915049 Q7226458 Q159107 Q157851 Q15250904 Q16484730 Q7170299 Q11099680 Q15629400 Q134609
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q10377715
relation P566
type Q16521
[ANSWERS]
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { ?b rdf:type ontology:Q82799 . ?e rdf:type ontology:Q16521 . ?e property:P566 ?b } GROUP BY ?b } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P566 resource:Q10377715 . ?w rdf:type ontology:Q16521 } } }
Polygonum bistorta Polianthes michoacana Polygonum cespitosum Hieracium aurantiacum Glaux maritima Polygonum manshuriense Abutilon striatum Persicaria affinis Polygonum perfoliatum Dimorphotheca ecklonis Cynara scolymus
Dimorphotheca ecklonis Polygonum bistorta Polianthes michoacana
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Tabebuia selachidentata
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { ?b rdf:type ontology:name . ?e rdf:type ontology:taxon . ?e property:basionym ?b } GROUP BY ?b } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:basionym resource:Tabebuia_selachidentata . ?w rdf:type ontology:taxon } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q486972 Q82799 Q82799
USER
Which names come from max number of human settlements and names ?
(c(Q82799),P138,c(Q486972)|c(Q82799))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q82799
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { { ?i property:P138 ?g . ?g rdf:type ontology:Q82799 . ?i rdf:type ontology:Q82799 } UNION { ?i property:P138 ?g . ?i rdf:type ontology:Q82799 . ?g rdf:type ontology:Q486972 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { { ?x property:P138 ?u . ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q486972 } UNION { ?x property:P138 ?u . ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q82799 } } GROUP BY ?x } . FILTER ( ?n = ?t ) }
action argmax
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { { ?i property:named_after ?g . ?g rdf:type ontology:name . ?i rdf:type ontology:name } UNION { ?i property:named_after ?g . ?i rdf:type ontology:name . ?g rdf:type ontology:human_settlement } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { { ?x property:named_after ?u . ?x rdf:type ontology:name . ?u rdf:type ontology:human_settlement } UNION { ?x property:named_after ?u . ?x rdf:type ontology:name . ?u rdf:type ontology:name } } GROUP BY ?x } . FILTER ( ?n = ?t ) }
[]
human settlement name name
Q27022433 Q23727105 Q21507928
SYSTEM
Danziger, Poisson, Mouton
Q27022433 Q23727105 Q18043344 Q25115046 Q17747435 Q21507928
(c(Q82799),P138,c(Q486972)|c(Q82799))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q82799
[ANSWERS] come from max number of human settlements and names
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { { ?i property:P138 ?g . ?g rdf:type ontology:Q82799 . ?i rdf:type ontology:Q82799 } UNION { ?i property:P138 ?g . ?i rdf:type ontology:Q82799 . ?g rdf:type ontology:Q486972 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { { ?x property:P138 ?u . ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q486972 } UNION { ?x property:P138 ?u . ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q82799 } } GROUP BY ?x } . FILTER ( ?n = ?t ) }
Danziger Poisson Renard Louarn Ruzena Mouton
Danziger, Poisson and Mouton come from max number of human settlements and names
Danziger Poisson Mouton
action argmax
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { { ?i property:named_after ?g . ?g rdf:type ontology:name . ?i rdf:type ontology:name } UNION { ?i property:named_after ?g . ?i rdf:type ontology:name . ?g rdf:type ontology:human_settlement } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { { ?x property:named_after ?u . ?x rdf:type ontology:name . ?u rdf:type ontology:human_settlement } UNION { ?x property:named_after ?u . ?x rdf:type ontology:name . ?u rdf:type ontology:name } } GROUP BY ?x } . FILTER ( ?n = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7170299 Q22915049
P566
Q82799
USER
Which names are Polianthes michoacana or Persicaria affinis a basionym of ?
OR((c(Q82799),P566,Q22915049), (c(Q82799),P566,Q7170299))
action filter_type
action union
action find_reverse
entity Q22915049
relation P566
action find_reverse
entity Q7170299
relation P566
type Q82799
{'OR': [[{'concept': 'Q82799'}, 'P566', 'Q22915049'], [{'concept': 'Q82799'}, 'P566', 'Q7170299']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P566 resource:Q22915049 } UNION { ?r property:P566 resource:Q7170299 } } . ?r rdf:type ontology:Q82799 }
Persicaria affinis Polianthes michoacana
action filter_type
action union
action find_reverse
entity Polianthes michoacana
relation basionym
action find_reverse
entity Persicaria affinis
relation basionym
type name
{'OR': [[{'concept': 'name'}, 'basionym', 'Polianthes michoacana'], [{'concept': 'name'}, 'basionym', 'Persicaria affinis']]}
SELECT DISTINCT ?r WHERE { { { ?r property:basionym resource:Polianthes_michoacana } UNION { ?r property:basionym resource:Persicaria_affinis } } . ?r rdf:type ontology:name }
[]
name
Q391803 Q10428456
SYSTEM
Agave michoacana, Bistorta affinis
Q391803 Q10428456
OR((c(Q82799),P566,Q22915049), (c(Q82799),P566,Q7170299))
action filter_type
action union
action find_reverse
entity Q22915049
relation P566
action find_reverse
entity Q7170299
relation P566
type Q82799
[ANSWERS] Polianthes michoacana or Persicaria affinis are of
{'OR': [[{'concept': 'Q82799'}, 'P566', 'Q22915049'], [{'concept': 'Q82799'}, 'P566', 'Q7170299']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P566 resource:Q22915049 } UNION { ?r property:P566 resource:Q7170299 } } . ?r rdf:type ontology:Q82799 }
Agave michoacana Bistorta affinis
Agave michoacana and Bistorta affinis Polianthes michoacana or Persicaria affinis are of
Agave michoacana Bistorta affinis
action filter_type
action union
action find_reverse
entity Polianthes michoacana
relation basionym
action find_reverse
entity Persicaria affinis
relation basionym
type name
{'OR': [[{'concept': 'name'}, 'basionym', 'Polianthes michoacana'], [{'concept': 'name'}, 'basionym', 'Persicaria affinis']]}
SELECT DISTINCT ?r WHERE { { { ?r property:basionym resource:Polianthes_michoacana } UNION { ?r property:basionym resource:Persicaria_affinis } } . ?r rdf:type ontology:name }
[]