Simple Question (Direct)
Simple Question
Q21171993
P702
Q863908
USER
Which nucleic acid sequence encodes Coiled-coil domain-containing protein 14 ?
(Q21171993,P702,c(Q863908))
action filter_type
action find
entity Q21171993
relation P702
type Q863908
['Q21171993', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?l WHERE { resource:Q21171993 property:P702 ?l . ?l rdf:type ontology:Q863908 }
Coiled-coil domain-containing protein 14
action filter_type
action find
entity Coiled-coil domain-containing protein 14
relation encoded by
type nucleic acid sequence
['Coiled-coil domain-containing protein 14', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?l WHERE { resource:Coiled-coil_domain-containing_protein_14 property:encoded_by ?l . ?l rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18045742
SYSTEM
CCDC14
Q18045742
(Q21171993,P702,c(Q863908))
action filter_type
action find
entity Q21171993
relation P702
type Q863908
[ANSWER] encodes Coiled-coil domain-containing protein 14
['Q21171993', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?l WHERE { resource:Q21171993 property:P702 ?l . ?l rdf:type ontology:Q863908 }
CCDC14
CCDC14 encodes Coiled-coil domain-containing protein 14
CCDC14
action filter_type
action find
entity Coiled-coil domain-containing protein 14
relation encoded by
type nucleic acid sequence
['Coiled-coil domain-containing protein 14', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?l WHERE { resource:Coiled-coil_domain-containing_protein_14 property:encoded_by ?l . ?l rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18045742
P684
Q863908
USER
Which is the species that has that one as its orthologous gene ?
(c(Q863908),P684,Q18045742)
action filter_type
action find
entity Q18045742
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18045742']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q18045742 property:P684 ?w }
CCDC14
action filter_type
action find
entity CCDC14
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CCDC14']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:CCDC14 property:ortholog ?w }
[]
nucleic acid sequence
Q18298808
SYSTEM
Ccdc14
Q18298808
(c(Q863908),P684,Q18045742)
action filter_type
action find
entity Q18045742
relation P684
type Q863908
[ANSWER] is the species that has that one as its orthologous gene
[{'concept': 'Q863908'}, 'P684', 'Q18045742']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q18045742 property:P684 ?w }
Ccdc14
Ccdc14 is the species that has that one as its orthologous gene
Ccdc14
action filter_type
action find
entity CCDC14
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CCDC14']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:CCDC14 property:ortholog ?w }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q83310 Q18045742
P703 P684
Q863908
USER
Which nucleic acid sequences are CCDC14 an orthlogous gene of and are found in Mus musculus ?
AND((c(Q863908),P684,Q18045742), (c(Q863908),P703,Q83310))
action filter_type
action intersection
action find_reverse
entity Q18045742
relation P684
action find_reverse
entity Q83310
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P684', 'Q18045742'], [{'concept': 'Q863908'}, 'P703', 'Q83310']]}
SELECT DISTINCT ?i WHERE { ?i property:P684 resource:Q18045742 . ?i property:P703 resource:Q83310 . ?i rdf:type ontology:Q863908 }
Mus musculus CCDC14
action filter_type
action intersection
action find_reverse
entity CCDC14
relation ortholog
action find_reverse
entity Mus musculus
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CCDC14'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Mus musculus']]}
SELECT DISTINCT ?i WHERE { ?i property:ortholog resource:CCDC14 . ?i property:found_in_taxon resource:Mus_musculus . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18298808
SYSTEM
Ccdc14
Q18298808
AND((c(Q863908),P684,Q18045742), (c(Q863908),P703,Q83310))
action filter_type
action intersection
action find_reverse
entity Q18045742
relation P684
action find_reverse
entity Q83310
relation P703
type Q863908
[ANSWER] is CCDC14 an orthlogous gene of and is found in Mus musculus
{'AND': [[{'concept': 'Q863908'}, 'P684', 'Q18045742'], [{'concept': 'Q863908'}, 'P703', 'Q83310']]}
SELECT DISTINCT ?i WHERE { ?i property:P684 resource:Q18045742 . ?i property:P703 resource:Q83310 . ?i rdf:type ontology:Q863908 }
Ccdc14
Ccdc14 is CCDC14 an orthlogous gene of and is found in Mus musculus
Ccdc14
action filter_type
action intersection
action find_reverse
entity CCDC14
relation ortholog
action find_reverse
entity Mus musculus
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CCDC14'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Mus musculus']]}
SELECT DISTINCT ?i WHERE { ?i property:ortholog resource:CCDC14 . ?i property:found_in_taxon resource:Mus_musculus . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
How many nutrients do around 44 drugs and nutrients communicate with ?
(c(Q8386)|c(Q181394),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
value 44
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P129 ?y . ?y rdf:type ontology:Q181394 . ?l rdf:type ontology:Q8386 } UNION { ?y rdf:type ontology:Q181394 . ?l rdf:type ontology:Q181394 . ?l property:P129 ?y } } GROUP BY ?y } . FILTER ( ?j = 44 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 44
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:physically_interacts_with ?y . ?y rdf:type ontology:nutrient . ?l rdf:type ontology:drug } UNION { ?y rdf:type ontology:nutrient . ?l rdf:type ontology:nutrient . ?l property:physically_interacts_with ?y } } GROUP BY ?y } . FILTER ( ?j = 44 ) }
[]
nutrient drug nutrient
SYSTEM
4
Q309513 Q21115043 Q1949517 Q2034004
(c(Q8386)|c(Q181394),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
value 44
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P129 ?y . ?y rdf:type ontology:Q181394 . ?l rdf:type ontology:Q8386 } UNION { ?y rdf:type ontology:Q181394 . ?l rdf:type ontology:Q181394 . ?l property:P129 ?y } } GROUP BY ?y } . FILTER ( ?j = 44 ) }
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 drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 44
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:physically_interacts_with ?y . ?y rdf:type ontology:nutrient . ?l rdf:type ontology:drug } UNION { ?y rdf:type ontology:nutrient . ?l rdf:type ontology:nutrient . ?l property:physically_interacts_with ?y } } GROUP BY ?y } . FILTER ( ?j = 44 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83310
P144
Q15619164
USER
Which abstract being is derived from Mus musculus ?
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q83310 . ?c rdf:type ontology:Q15619164 }
Mus musculus
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:Mus_musculus . ?c rdf:type ontology:abstract_being }
[]
abstract being
Q9351
SYSTEM
Pikachu
Q9351
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[ANSWER] is derived from Mus musculus
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q83310 . ?c rdf:type ontology:Q15619164 }
Pikachu
Pikachu is derived from Mus musculus
Pikachu
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:Mus_musculus . ?c rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18298808
P688
Q181394
USER
Which nutrient is encoded by Ccdc14 ?
(Q18298808,P688,c(Q181394))
action filter_type
action find
entity Q18298808
relation P688
type Q181394
['Q18298808', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { resource:Q18298808 property:P688 ?b . ?b rdf:type ontology:Q181394 }
Ccdc14
action filter_type
action find
entity Ccdc14
relation encodes
type nutrient
['Ccdc14', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { resource:Ccdc14 property:encodes ?b . ?b rdf:type ontology:nutrient }
[]
nutrient
Q21494975
SYSTEM
Coiled-coil domain-containing protein 14
Q21494975
(Q18298808,P688,c(Q181394))
action filter_type
action find
entity Q18298808
relation P688
type Q181394
Protein [ANSWER] is encoded by Ccdc14
['Q18298808', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { resource:Q18298808 property:P688 ?b . ?b rdf:type ontology:Q181394 }
Coiled-coil domain-containing protein 14
Protein Coiled-coil domain-containing protein 14 is encoded by Ccdc14
Coiled-coil domain-containing protein 14
action filter_type
action find
entity Ccdc14
relation encodes
type nutrient
['Ccdc14', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { resource:Ccdc14 property:encodes ?b . ?b rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21494975
P681
Q15989253
USER
How many parts are components of Coiled-coil domain-containing protein 14 ?
(Q21494975,P681,c(Q15989253))
action count
action filter_type
action find
entity Q21494975
relation P681
type Q15989253
['Q21494975', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q15989253 . resource:Q21494975 property:P681 ?k }
Coiled-coil domain-containing protein 14
action count
action filter_type
action find
entity Coiled-coil domain-containing protein 14
relation cell component
type part
['Coiled-coil domain-containing protein 14', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:part . resource:Coiled-coil_domain-containing_protein_14 property:cell_component ?k }
[]
part
SYSTEM
2
Q79899 Q190769
(Q21494975,P681,c(Q15989253))
action count
action filter_type
action find
entity Q21494975
relation P681
type Q15989253
[ANSWER]
['Q21494975', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q15989253 . resource:Q21494975 property:P681 ?k }
cytoplasm centrosome
2
action count
action filter_type
action find
entity Coiled-coil domain-containing protein 14
relation cell component
type part
['Coiled-coil domain-containing protein 14', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:part . resource:Coiled-coil_domain-containing_protein_14 property:cell_component ?k }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21494109
Q15989253
USER
And also tell me about Centrosomal protein of 78 kDa?
(Q21494109,P681,c(Q15989253))
action count
action filter_type
action find
entity Q21494109
relation P681
type Q15989253
['Q21494109', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q21494109 property:P681 ?v . ?v rdf:type ontology:Q15989253 }
Centrosomal protein of 78 kDa
action count
action filter_type
action find
entity Centrosomal protein of 78 kDa
relation cell component
type part
['Centrosomal protein of 78 kDa', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Centrosomal_protein_of_78_kDa property:cell_component ?v . ?v rdf:type ontology:part }
[]
part
SYSTEM
2
(Q21494109,P681,c(Q15989253))
action count
action filter_type
action find
entity Q21494109
relation P681
type Q15989253
[ANSWER]
['Q21494109', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q21494109 property:P681 ?v . ?v rdf:type ontology:Q15989253 }
2
action count
action filter_type
action find
entity Centrosomal protein of 78 kDa
relation cell component
type part
['Centrosomal protein of 78 kDa', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Centrosomal_protein_of_78_kDa property:cell_component ?v . ?v rdf:type ontology:part }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q2996394 Q181394
USER
How many biological processes are approximately 1087 nutrients involved in ?
(c(Q181394),P682,c(Q2996394))
action count
action approx
action find_reverse_tuple_counts
relation P682
type Q2996394
type Q181394
value 1087
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P682 ?i . ?i rdf:type ontology:Q2996394 . ?v rdf:type ontology:Q181394 } GROUP BY ?i } . FILTER ( ?z = 1087 ) }
action count
action approx
action find_reverse_tuple_counts
relation biological process
type biological process
type nutrient
value 1087
[{'concept': 'nutrient'}, 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:biological_process ?i . ?i rdf:type ontology:biological_process . ?v rdf:type ontology:nutrient } GROUP BY ?i } . FILTER ( ?z = 1087 ) }
[]
biological process nutrient
SYSTEM
2
Q847556 Q1612119
(c(Q181394),P682,c(Q2996394))
action count
action approx
action find_reverse_tuple_counts
relation P682
type Q2996394
type Q181394
value 1087
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P682 ?i . ?i rdf:type ontology:Q2996394 . ?v rdf:type ontology:Q181394 } GROUP BY ?i } . FILTER ( ?z = 1087 ) }
protein folding immune response
2
action count
action approx
action find_reverse_tuple_counts
relation biological process
type biological process
type nutrient
value 1087
[{'concept': 'nutrient'}, 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:biological_process ?i . ?i rdf:type ontology:biological_process . ?v rdf:type ontology:nutrient } GROUP BY ?i } . FILTER ( ?z = 1087 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21494109
P702
Q863908
USER
How many nucleic acid sequences genes encode Centrosomal protein of 78 kDa ?
(Q21494109,P702,c(Q863908))
action count
action filter_type
action find
entity Q21494109
relation P702
type Q863908
['Q21494109', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q21494109 property:P702 ?k . ?k rdf:type ontology:Q863908 }
Centrosomal protein of 78 kDa
action count
action filter_type
action find
entity Centrosomal protein of 78 kDa
relation encoded by
type nucleic acid sequence
['Centrosomal protein of 78 kDa', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Centrosomal_protein_of_78_kDa property:encoded_by ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18296074
(Q21494109,P702,c(Q863908))
action count
action filter_type
action find
entity Q21494109
relation P702
type Q863908
[ANSWER]
['Q21494109', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q21494109 property:P702 ?k . ?k rdf:type ontology:Q863908 }
Cep78
1
action count
action filter_type
action find
entity Centrosomal protein of 78 kDa
relation encoded by
type nucleic acid sequence
['Centrosomal protein of 78 kDa', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Centrosomal_protein_of_78_kDa property:encoded_by ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q23527370
P702
Q863908
USER
And how about hypothetical protein    CA_C2446?
(Q23527370,P702,c(Q863908))
action count
action filter_type
action find
entity Q23527370
relation P702
type Q863908
['Q23527370', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q23527370 property:P702 ?u . ?u rdf:type ontology:Q863908 }
hypothetical protein    CA_C2446
action count
action filter_type
action find
entity hypothetical protein    CA_C2446
relation encoded by
type nucleic acid sequence
['hypothetical protein    CA_C2446', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:hypothetical_protein____CA_C2446 property:encoded_by ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q23380428
(Q23527370,P702,c(Q863908))
action count
action filter_type
action find
entity Q23527370
relation P702
type Q863908
[ANSWER]
['Q23527370', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q23527370 property:P702 ?u . ?u rdf:type ontology:Q863908 }
hypothetical protein    CA_C2446
1
action count
action filter_type
action find
entity hypothetical protein    CA_C2446
relation encoded by
type nucleic acid sequence
['hypothetical protein    CA_C2446', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:hypothetical_protein____CA_C2446 property:encoded_by ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23469082
Q863908
USER
And what about hypothetical protein    Rru_A2793?
(Q23469082,P702,c(Q863908))
action count
action filter_type
action find
entity Q23469082
relation P702
type Q863908
['Q23469082', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q23469082 property:P702 ?f . ?f rdf:type ontology:Q863908 }
hypothetical protein    Rru_A2793
action count
action filter_type
action find
entity hypothetical protein    Rru_A2793
relation encoded by
type nucleic acid sequence
['hypothetical protein    Rru_A2793', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:hypothetical_protein____Rru_A2793 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
(Q23469082,P702,c(Q863908))
action count
action filter_type
action find
entity Q23469082
relation P702
type Q863908
[ANSWER]
['Q23469082', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q23469082 property:P702 ?f . ?f rdf:type ontology:Q863908 }
1
action count
action filter_type
action find
entity hypothetical protein    Rru_A2793
relation encoded by
type nucleic acid sequence
['hypothetical protein    Rru_A2793', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:hypothetical_protein____Rru_A2793 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q18298808
P703 P684
Q863908
USER
Which nucleic acid sequences are the species that have Ccdc14 as their orthologous gene and are found in Homo sapiens ?
AND((c(Q863908),P684,Q18298808), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q18298808
relation P684
action find_reverse
entity Q15978631
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P684', 'Q18298808'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?v WHERE { ?v property:P684 resource:Q18298808 . ?v property:P703 resource:Q15978631 . ?v rdf:type ontology:Q863908 }
Homo sapiens Ccdc14
action filter_type
action intersection
action find_reverse
entity Ccdc14
relation ortholog
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Ccdc14'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?v WHERE { ?v property:ortholog resource:Ccdc14 . ?v property:found_in_taxon resource:Homo_sapiens . ?v rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18045742
SYSTEM
CCDC14
Q18045742
AND((c(Q863908),P684,Q18298808), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q18298808
relation P684
action find_reverse
entity Q15978631
relation P703
type Q863908
[ANSWER] is the species that have Ccdc14 as their orthologous gene and is found in Homo sapiens
{'AND': [[{'concept': 'Q863908'}, 'P684', 'Q18298808'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?v WHERE { ?v property:P684 resource:Q18298808 . ?v property:P703 resource:Q15978631 . ?v rdf:type ontology:Q863908 }
CCDC14
CCDC14 is the species that have Ccdc14 as their orthologous gene and is found in Homo sapiens
CCDC14
action filter_type
action intersection
action find_reverse
entity Ccdc14
relation ortholog
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Ccdc14'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?v WHERE { ?v property:ortholog resource:Ccdc14 . ?v property:found_in_taxon resource:Homo_sapiens . ?v rdf:type ontology:nucleic_acid_sequence }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1077206
P157
Q6619679 Q95074 Q15619164
USER
Which abstract beings were murdered by greater number of fictional humanoids or fictional characters than Bill ?
(c(Q15619164),P157,c(Q6619679)|c(Q95074))
action greater
action union
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q1077206
relation P157
type Q6619679
type Q95074
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q6619679'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { { ?s property:P157 ?k . ?s rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q6619679 } UNION { ?s rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q95074 . ?s property:P157 ?k } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:Q6619679 } UNION { ?v rdf:type ontology:Q95074 } } . resource:Q1077206 property:P157 ?v } } . FILTER ( ?l > ?o ) }
Bill
action greater
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Bill
relation killed by
type fictional humanoid
type fictional character
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { { ?s property:killed_by ?k . ?s rdf:type ontology:abstract_being . ?k rdf:type ontology:fictional_humanoid } UNION { ?s rdf:type ontology:abstract_being . ?k rdf:type ontology:fictional_character . ?s property:killed_by ?k } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:fictional_humanoid } UNION { ?v rdf:type ontology:fictional_character } } . resource:Bill property:killed_by ?v } } . FILTER ( ?l > ?o ) }
[]
fictional humanoid fictional character abstract being
Q51311 Q1051419 Q51339
SYSTEM
John Locke, Vladimir Harkonnen, Alex Rousseau
Q51339 Q51311 Q51725 Q2343363 Q897891 Q1051419 Q2264501 Q2846264 Q932724 Q51742
(c(Q15619164),P157,c(Q6619679)|c(Q95074))
action greater
action union
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q1077206
relation P157
type Q6619679
type Q95074
[ANSWERS] were murdered by greater number of fictional humanoids or fictional characters than Bill
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q6619679'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { { ?s property:P157 ?k . ?s rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q6619679 } UNION { ?s rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q95074 . ?s property:P157 ?k } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:Q6619679 } UNION { ?v rdf:type ontology:Q95074 } } . resource:Q1077206 property:P157 ?v } } . FILTER ( ?l > ?o ) }
Alex Rousseau John Locke Mace Windu Saesee Tiin Hathor Vladimir Harkonnen Rahvin Andre Drazen Kit Fisto Agen Kolar
John Locke, Vladimir Harkonnen and Alex Rousseau were murdered by greater number of fictional humanoids or fictional characters than Bill
John Locke Vladimir Harkonnen Alex Rousseau
action greater
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Bill
relation killed by
type fictional humanoid
type fictional character
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { { ?s property:killed_by ?k . ?s rdf:type ontology:abstract_being . ?k rdf:type ontology:fictional_humanoid } UNION { ?s rdf:type ontology:abstract_being . ?k rdf:type ontology:fictional_character . ?s property:killed_by ?k } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:fictional_humanoid } UNION { ?v rdf:type ontology:fictional_character } } . resource:Bill property:killed_by ?v } } . FILTER ( ?l > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27614033
P157
Q6619679 Q95074 Q15619164
USER
And also tell me about Sammy Robinson?
(c(Q15619164),P157,c(Q6619679)|c(Q95074))
action greater
action union
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q27614033
relation P157
type Q6619679
type Q95074
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q6619679'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q27614033 property:P157 ?o . { VALUES ( ?i ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?o rdf:type ?i } } } . FILTER ( ?k > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { VALUES ( ?m ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?x rdf:type ?m } GROUP BY ?t } }
Sammy Robinson
action greater
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Sammy Robinson
relation killed by
type fictional humanoid
type fictional character
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Sammy_Robinson property:killed_by ?o . { VALUES ( ?i ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?o rdf:type ?i } } } . FILTER ( ?k > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { VALUES ( ?m ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?x rdf:type ?m } GROUP BY ?t } }
[]
fictional humanoid fictional character abstract being
Q51311 Q1051419 Q51339
SYSTEM
John Locke, Vladimir Harkonnen, Alex Rousseau
Q51339 Q51311 Q51725 Q2343363 Q897891 Q1051419 Q2264501 Q2846264 Q932724 Q51742
(c(Q15619164),P157,c(Q6619679)|c(Q95074))
action greater
action union
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q27614033
relation P157
type Q6619679
type Q95074
[ANSWERS]
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q6619679'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q27614033 property:P157 ?o . { VALUES ( ?i ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?o rdf:type ?i } } } . FILTER ( ?k > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { VALUES ( ?m ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?x rdf:type ?m } GROUP BY ?t } }
Alex Rousseau John Locke Mace Windu Saesee Tiin Hathor Vladimir Harkonnen Rahvin Andre Drazen Kit Fisto Agen Kolar
John Locke Vladimir Harkonnen Alex Rousseau
action greater
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Sammy Robinson
relation killed by
type fictional humanoid
type fictional character
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Sammy_Robinson property:killed_by ?o . { VALUES ( ?i ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?o rdf:type ?i } } } . FILTER ( ?k > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { VALUES ( ?m ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?x rdf:type ?m } GROUP BY ?t } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q51311
P734
Q82799
USER
Who has the surname that abstract being ?
(Q51311,P734,c(Q82799))
action filter_type
action find
entity Q51311
relation P734
type Q82799
['Q51311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q51311 property:P734 ?r . ?r rdf:type ontology:Q82799 }
John Locke
action filter_type
action find
entity John Locke
relation family name
type name
['John Locke', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_Locke property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q51311
SYSTEM
Did you mean John Locke ?
Q51311 Q1051419 Q51339
(Q51311,P734,c(Q82799)) (Q1051419,P734,c(Q82799)) (Q51339,P734,c(Q82799))
[ANSWER]
['Q51311', 'P734', {'concept': 'Q82799'}] ['Q1051419', 'P734', {'concept': 'Q82799'}] ['Q51339', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q51311 property:P734 ?r . ?r rdf:type ontology:Q82799 }
John Locke Vladimir Harkonnen Alex Rousseau
Did you mean John Locke ?
John Locke
['John Locke', 'family name', {'concept': 'name'}] ['Vladimir Harkonnen', 'family name', {'concept': 'name'}] ['Alex Rousseau', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_Locke property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q51311,P734,c(Q82799))
['Q51311', 'P734', {'concept': 'Q82799'}]
['John Locke', 'family name', {'concept': 'name'}]
[]
Q16872404
SYSTEM
Locke
Q16872404
(Q51311,P734,c(Q82799))
action filter_type
action find
entity Q51311
relation P734
type Q82799
[ANSWER] has the surname that abstract being
['Q51311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q51311 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Locke
Locke has the surname that abstract being
Locke
action filter_type
action find
entity John Locke
relation family name
type name
['John Locke', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_Locke property:family_name ?r . ?r rdf:type ontology:name }
[]