Simple Question (Direct)
Simple Question
Q23506724
P703
Q631147
USER
Where is DNA gyrase subunit B    L0283 found ?
(Q23506724,P703,c(Q631147))
action filter_type
action find
entity Q23506724
relation P703
type Q631147
['Q23506724', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { resource:Q23506724 property:P703 ?k . ?k rdf:type ontology:Q631147 }
DNA gyrase subunit B    L0283
action filter_type
action find
entity DNA gyrase subunit B    L0283
relation found in taxon
type infraspecific name
['DNA gyrase subunit B    L0283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { resource:DNA_gyrase_subunit_B____L0283 property:found_in_taxon ?k . ?k rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102967
SYSTEM
Lactococcus lactis subsp. lactis Il1403
Q21102967
(Q23506724,P703,c(Q631147))
action filter_type
action find
entity Q23506724
relation P703
type Q631147
[ANSWER]
['Q23506724', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { resource:Q23506724 property:P703 ?k . ?k rdf:type ontology:Q631147 }
Lactococcus lactis subsp. lactis Il1403
Lactococcus lactis subsp. lactis Il1403
action filter_type
action find
entity DNA gyrase subunit B    L0283
relation found in taxon
type infraspecific name
['DNA gyrase subunit B    L0283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { resource:DNA_gyrase_subunit_B____L0283 property:found_in_taxon ?k . ?k rdf:type ontology:infraspecific_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23506724
P681
Q15989253
USER
Which part is a component of DNA gyrase subunit B    L0283 ?
(Q23506724,P681,c(Q15989253))
action filter_type
action find
entity Q23506724
relation P681
type Q15989253
['Q23506724', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?f WHERE { resource:Q23506724 property:P681 ?f . ?f rdf:type ontology:Q15989253 }
DNA gyrase subunit B    L0283
action filter_type
action find
entity DNA gyrase subunit B    L0283
relation cell component
type part
['DNA gyrase subunit B    L0283', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?f WHERE { resource:DNA_gyrase_subunit_B____L0283 property:cell_component ?f . ?f rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q23506724,P681,c(Q15989253))
action filter_type
action find
entity Q23506724
relation P681
type Q15989253
[ANSWER]
['Q23506724', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?f WHERE { resource:Q23506724 property:P681 ?f . ?f rdf:type ontology:Q15989253 }
cytoplasm
cytoplasm
action filter_type
action find
entity DNA gyrase subunit B    L0283
relation cell component
type part
['DNA gyrase subunit B    L0283', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?f WHERE { resource:DNA_gyrase_subunit_B____L0283 property:cell_component ?f . ?f rdf:type ontology:part }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21982866
Q15989253
USER
And also tell me about Drebrin-like protein?
(Q21982866,P681,c(Q15989253))
action filter_type
action find
entity Q21982866
relation P681
type Q15989253
['Q21982866', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?u WHERE { resource:Q21982866 property:P681 ?u . ?u rdf:type ontology:Q15989253 }
Drebrin-like protein
action filter_type
action find
entity Drebrin-like protein
relation cell component
type part
['Drebrin-like protein', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?u WHERE { resource:Drebrin-like_protein property:cell_component ?u . ?u rdf:type ontology:part }
[]
part
Q14349455 Q187181 Q79899
SYSTEM
membrane, synapse, cytoplasm
Q14349455 Q187181 Q79899 Q189073
(Q21982866,P681,c(Q15989253))
action filter_type
action find
entity Q21982866
relation P681
type Q15989253
[ANSWERS]
['Q21982866', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?u WHERE { resource:Q21982866 property:P681 ?u . ?u rdf:type ontology:Q15989253 }
membrane synapse cytoplasm cell junction
membrane synapse cytoplasm
action filter_type
action find
entity Drebrin-like protein
relation cell component
type part
['Drebrin-like protein', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?u WHERE { resource:Drebrin-like_protein property:cell_component ?u . ?u rdf:type ontology:part }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21125020
P681
Q181394
USER
Do Ras-related protein Rab-11B have those parts as their cell component ?
(Q21125020,P681,Q14349455) (Q21125020,P681,Q187181) (Q21125020,P681,Q79899)
action is_in
entity prev_answer
action find
entity Q21125020
relation P681
['Q21125020', 'P681', 'Q14349455'] ['Q21125020', 'P681', 'Q187181'] ['Q21125020', 'P681', 'Q79899']
ASK WHERE { VALUES ( ?r ) { ( resource:Q14349455 ) ( resource:Q187181 ) ( resource:Q79899 ) } . resource:Q21125020 property:P681 ?r }
Ras-related protein Rab-11B
action is_in
entity prev_answer
action find
entity Ras-related protein Rab-11B
relation cell component
['Ras-related protein Rab-11B', 'cell component', 'membrane'] ['Ras-related protein Rab-11B', 'cell component', 'synapse'] ['Ras-related protein Rab-11B', 'cell component', 'cytoplasm']
ASK WHERE { VALUES ( ?r ) { ( resource:membrane ) ( resource:synapse ) ( resource:cytoplasm ) } . resource:Ras-related_protein_Rab-11B property:cell_component ?r }
[]
nutrient
SYSTEM
YES
(Q21125020,P681,Q14349455) (Q21125020,P681,Q187181) (Q21125020,P681,Q79899)
action is_in
entity prev_answer
action find
entity Q21125020
relation P681
[ANSWER]
['Q21125020', 'P681', 'Q14349455'] ['Q21125020', 'P681', 'Q187181'] ['Q21125020', 'P681', 'Q79899']
ASK WHERE { VALUES ( ?r ) { ( resource:Q14349455 ) ( resource:Q187181 ) ( resource:Q79899 ) } . resource:Q21125020 property:P681 ?r }
Yes
action is_in
entity prev_answer
action find
entity Ras-related protein Rab-11B
relation cell component
['Ras-related protein Rab-11B', 'cell component', 'membrane'] ['Ras-related protein Rab-11B', 'cell component', 'synapse'] ['Ras-related protein Rab-11B', 'cell component', 'cytoplasm']
ASK WHERE { VALUES ( ?r ) { ( resource:membrane ) ( resource:synapse ) ( resource:cytoplasm ) } . resource:Ras-related_protein_Rab-11B property:cell_component ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q15989253 Q15989253
USER
How many parts are around 5 parts a portion of ?
(c(Q15989253),P361,c(Q15989253))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q15989253
value 5
[{'concept': 'Q15989253'}, 'P361', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?m ) WHERE { ?k rdf:type ontology:Q15989253 . ?d rdf:type ontology:Q15989253 . ?d property:P361 ?k } GROUP BY ?k } . FILTER ( ?m = 5 ) }
action count
action approx
action find_reverse_tuple_counts
relation part of
type part
type part
value 5
[{'concept': 'part'}, 'part of', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?m ) WHERE { ?k rdf:type ontology:part . ?d rdf:type ontology:part . ?d property:part_of ?k } GROUP BY ?k } . FILTER ( ?m = 5 ) }
[]
part part
SYSTEM
31
Q24777276 Q24773317 Q24773030 Q24725230 Q24727168 Q24727158 Q24775380 Q24741257 Q24724841 Q24772226 Q24777173 Q24721427 Q24784804 Q24773139 Q24769639 Q24772708 Q24780318 Q24772015 Q24723016 Q24741081 Q24725799 Q24783329 Q24739373 Q24723028 Q24773027 Q24783253 Q24777474 Q24724480 Q24769753 Q24788276 Q24777282
(c(Q15989253),P361,c(Q15989253))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q15989253
value 5
[ANSWER]
[{'concept': 'Q15989253'}, 'P361', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?m ) WHERE { ?k rdf:type ontology:Q15989253 . ?d rdf:type ontology:Q15989253 . ?d property:P361 ?k } GROUP BY ?k } . FILTER ( ?m = 5 ) }
Cyclin-like Polycystin cation channel L-Aspartase-like Pseudouridine synthase, catalytic domain Ubiquinol-cytochrome c reductase, iron-sulphur subunit Xanthine dehydrogenase, small subunit Pullulanase, type I Alanyl-tRNA synthetase, class IIc, core domain DNA ligase D DNA topoisomerase, type IIA-like domain Transcription termination factor NusA Biotin carboxylation domain WD40/YVTN repeat-like-containing domain Rossmann-like alpha/beta/alpha sandwich fold Homeodomain-like ABC transporter-like Pullulanase, extracellular Cupredoxin Pectin lyase fold/virulence factor Lipid transport protein, beta-sheet shell Group II dsDNA virus coat/capsid protein DNA topoisomerase, type IA, central RNA polymerase sigma-70 like domain FERM domain Nucleic acid-binding, OB-fold Immunoglobulin-like domain RmlC-like jelly roll fold RNA polymerase sigma-70 DNA topoisomerase I, eukaryotic-type Phosphoribosylaminoimidazole carboxylase, ATPase subunit RNA polymerase sigma factor RpoD, C-terminal
31
action count
action approx
action find_reverse_tuple_counts
relation part of
type part
type part
value 5
[{'concept': 'part'}, 'part of', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?m ) WHERE { ?k rdf:type ontology:part . ?d rdf:type ontology:part . ?d property:part_of ?k } GROUP BY ?k } . FILTER ( ?m = 5 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23505122 Q23506724
P702
Q863908
USER
Which nucleic acid sequences encodes DNA gyrase subunit B    L0283 or hypothetical protein    HMPREF0351_12034 ?
OR((Q23506724,P702,c(Q863908)), (Q23505122,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23506724
relation P702
action find
entity Q23505122
relation P702
type Q863908
{'OR': [['Q23506724', 'P702', {'concept': 'Q863908'}], ['Q23505122', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q23506724 property:P702 ?t } UNION { resource:Q23505122 property:P702 ?t } } . ?t rdf:type ontology:Q863908 }
hypothetical protein    HMPREF0351_12034 DNA gyrase subunit B    L0283
action filter_type
action union
action find
entity DNA gyrase subunit B    L0283
relation encoded by
action find
entity hypothetical protein    HMPREF0351_12034
relation encoded by
type nucleic acid sequence
{'OR': [['DNA gyrase subunit B    L0283', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    HMPREF0351_12034', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?t WHERE { { { resource:DNA_gyrase_subunit_B____L0283 property:encoded_by ?t } UNION { resource:hypothetical_protein____HMPREF0351_12034 property:encoded_by ?t } } . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23182454 Q23185542
SYSTEM
hypothetical protein    HMPREF0351_12034, DNA gyrase subunit B    L0283
Q23182454 Q23185542
OR((Q23506724,P702,c(Q863908)), (Q23505122,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23506724
relation P702
action find
entity Q23505122
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q23506724', 'P702', {'concept': 'Q863908'}], ['Q23505122', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q23506724 property:P702 ?t } UNION { resource:Q23505122 property:P702 ?t } } . ?t rdf:type ontology:Q863908 }
hypothetical protein    HMPREF0351_12034 DNA gyrase subunit B    L0283
hypothetical protein    HMPREF0351_12034 DNA gyrase subunit B    L0283
action filter_type
action union
action find
entity DNA gyrase subunit B    L0283
relation encoded by
action find
entity hypothetical protein    HMPREF0351_12034
relation encoded by
type nucleic acid sequence
{'OR': [['DNA gyrase subunit B    L0283', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    HMPREF0351_12034', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?t WHERE { { { resource:DNA_gyrase_subunit_B____L0283 property:encoded_by ?t } UNION { resource:hypothetical_protein____HMPREF0351_12034 property:encoded_by ?t } } . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23182454 Q23185542
P703
Q631147
USER
Which infraspecific names are those nucleic acid sequences found in ?
(Q23182454,P703,c(Q631147)) (Q23185542,P703,c(Q631147))
action filter_type
action find
entity prev_answer
relation P703
type Q631147
['Q23182454', 'P703', {'concept': 'Q631147'}] ['Q23185542', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { ?t property:P703 ?u . VALUES ( ?t ) { ( resource:Q23182454 ) ( resource:Q23185542 ) } . ?u rdf:type ontology:Q631147 }
hypothetical protein    HMPREF0351_12034 DNA gyrase subunit B    L0283
action filter_type
action find
entity prev_answer
relation found in taxon
type infraspecific name
['hypothetical protein    HMPREF0351_12034', 'found in taxon', {'concept': 'infraspecific name'}] ['DNA gyrase subunit B    L0283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { ?t property:found_in_taxon ?u . VALUES ( ?t ) { ( resource:hypothetical_protein____HMPREF0351_12034 ) ( resource:DNA_gyrase_subunit_B____L0283 ) } . ?u rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102966 Q21102967
SYSTEM
Enterococcus faecium DO, Lactococcus lactis subsp. lactis Il1403
Q21102966 Q21102967
(Q23182454,P703,c(Q631147)) (Q23185542,P703,c(Q631147))
action filter_type
action find
entity prev_answer
relation P703
type Q631147
[ANSWERS]
['Q23182454', 'P703', {'concept': 'Q631147'}] ['Q23185542', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { ?t property:P703 ?u . VALUES ( ?t ) { ( resource:Q23182454 ) ( resource:Q23185542 ) } . ?u rdf:type ontology:Q631147 }
Enterococcus faecium DO Lactococcus lactis subsp. lactis Il1403
Enterococcus faecium DO Lactococcus lactis subsp. lactis Il1403
action filter_type
action find
entity prev_answer
relation found in taxon
type infraspecific name
['hypothetical protein    HMPREF0351_12034', 'found in taxon', {'concept': 'infraspecific name'}] ['DNA gyrase subunit B    L0283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { ?t property:found_in_taxon ?u . VALUES ( ?t ) { ( resource:hypothetical_protein____HMPREF0351_12034 ) ( resource:DNA_gyrase_subunit_B____L0283 ) } . ?u rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15989253 Q3305213 Q14660
USER
Which parts are depicted in min number of paintings and flags ?
(c(Q3305213)|c(Q14660),P180,c(Q15989253))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
[[{'concept': 'Q3305213'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3305213 ) ( ontology:Q14660 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { { ?d property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?d rdf:type ontology:Q3305213 } UNION { ?d property:P180 ?j . ?d rdf:type ontology:Q14660 . ?j rdf:type ontology:Q15989253 } } GROUP BY ?j } . FILTER ( ?e = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type part
type painting
action find_reverse_tuple_counts
relation depicts
type part
type flag
[[{'concept': 'painting'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:painting ) ( ontology:flag ) } } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { { ?d property:depicts ?j . ?j rdf:type ontology:part . ?d rdf:type ontology:painting } UNION { ?d property:depicts ?j . ?d rdf:type ontology:flag . ?j rdf:type ontology:part } } GROUP BY ?j } . FILTER ( ?e = ?s ) }
[]
part painting flag
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q908430 Q168002 Q392573 Q852590 Q172563 Q201851 Q209760 Q221712 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q3305213)|c(Q14660),P180,c(Q15989253))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
[ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q14660'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3305213 ) ( ontology:Q14660 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { { ?d property:P180 ?j . ?j rdf:type ontology:Q15989253 . ?d rdf:type ontology:Q3305213 } UNION { ?d property:P180 ?j . ?d rdf:type ontology:Q14660 . ?j rdf:type ontology:Q15989253 } } GROUP BY ?j } . FILTER ( ?e = ?s ) }
thigh crown ankle Organ console spire umbilical cord spine rudder sound hole helmet thought bubble bow compartment organ pipe escutcheon bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
organ crest thigh
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type part
type painting
action find_reverse_tuple_counts
relation depicts
type part
type flag
[[{'concept': 'painting'}, {'concept': 'flag'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:painting ) ( ontology:flag ) } } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { { ?d property:depicts ?j . ?j rdf:type ontology:part . ?d rdf:type ontology:painting } UNION { ?d property:depicts ?j . ?d rdf:type ontology:flag . ?j rdf:type ontology:part } } GROUP BY ?j } . FILTER ( ?e = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q129757
P138
Q988343
USER
Which blood vessel is named after thigh ?
(c(Q988343),P138,Q129757)
action filter_type
action find_reverse
entity Q129757
relation P138
type Q988343
[{'concept': 'Q988343'}, 'P138', 'Q129757']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q129757 . ?z rdf:type ontology:Q988343 }
thigh
action filter_type
action find_reverse
entity thigh
relation named after
type blood vessel
[{'concept': 'blood vessel'}, 'named after', 'thigh']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:thigh . ?z rdf:type ontology:blood_vessel }
[]
blood vessel
Q707174
SYSTEM
femoral artery
Q707174
(c(Q988343),P138,Q129757)
action filter_type
action find_reverse
entity Q129757
relation P138
type Q988343
[ANSWER]
[{'concept': 'Q988343'}, 'P138', 'Q129757']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q129757 . ?z rdf:type ontology:Q988343 }
femoral artery
femoral artery
action filter_type
action find_reverse
entity thigh
relation named after
type blood vessel
[{'concept': 'blood vessel'}, 'named after', 'thigh']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:thigh . ?z rdf:type ontology:blood_vessel }
[]