Simple Question (Direct)
Simple Question
Q21133841
P681
Q15989253
USER
Which parts are components of Shadow of prion protein ?
(Q21133841,P681,c(Q15989253))
action filter_type
action find
entity Q21133841
relation P681
type Q15989253
['Q21133841', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?s WHERE { resource:Q21133841 property:P681 ?s . ?s rdf:type ontology:Q15989253 }
Shadow of prion protein
action filter_type
action find
entity Shadow of prion protein
relation cell component
type part
['Shadow of prion protein', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?s WHERE { resource:Shadow_of_prion_protein property:cell_component ?s . ?s rdf:type ontology:part }
[]
part
Q189206 Q40260 Q14349455
SYSTEM
vesicle, nucleus, membrane
Q189206 Q40260 Q14349455
(Q21133841,P681,c(Q15989253))
action filter_type
action find
entity Q21133841
relation P681
type Q15989253
[ANSWERS] are components of Shadow of prion protein
['Q21133841', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?s WHERE { resource:Q21133841 property:P681 ?s . ?s rdf:type ontology:Q15989253 }
vesicle nucleus membrane
Vesicle, nucleus and membrane are components of Shadow of prion protein
vesicle nucleus membrane
action filter_type
action find
entity Shadow of prion protein
relation cell component
type part
['Shadow of prion protein', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?s WHERE { resource:Shadow_of_prion_protein property:cell_component ?s . ?s rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21133841
P702
Q863908
USER
Which gene encodes Shadow of prion protein ?
(Q21133841,P702,c(Q863908))
action filter_type
action find
entity Q21133841
relation P702
type Q863908
['Q21133841', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?n WHERE { resource:Q21133841 property:P702 ?n . ?n rdf:type ontology:Q863908 }
Shadow of prion protein
action filter_type
action find
entity Shadow of prion protein
relation encoded by
type nucleic acid sequence
['Shadow of prion protein', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?n WHERE { resource:Shadow_of_prion_protein property:encoded_by ?n . ?n rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18058998
SYSTEM
SPRN
Q18058998
(Q21133841,P702,c(Q863908))
action filter_type
action find
entity Q21133841
relation P702
type Q863908
[ANSWER] encodes Shadow of prion protein
['Q21133841', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?n WHERE { resource:Q21133841 property:P702 ?n . ?n rdf:type ontology:Q863908 }
SPRN
SPRN encodes Shadow of prion protein
SPRN
action filter_type
action find
entity Shadow of prion protein
relation encoded by
type nucleic acid sequence
['Shadow of prion protein', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?n WHERE { resource:Shadow_of_prion_protein property:encoded_by ?n . ?n rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21133841
P703
Q16521
USER
Where is that nutrient found ?
(Q18058998,P703,c(Q16521))
action filter_type
action find
entity Q21133841
relation P703
type Q16521
['Q18058998', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q21133841 property:P703 ?j . ?j rdf:type ontology:Q16521 }
Shadow of prion protein
action filter_type
action find
entity Shadow of prion protein
relation found in taxon
type taxon
['SPRN', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:Shadow_of_prion_protein property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18058998,P703,c(Q16521))
action filter_type
action find
entity Q21133841
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q18058998', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q21133841 property:P703 ?j . ?j rdf:type ontology:Q16521 }
Homo sapiens
That nutrient is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Shadow of prion protein
relation found in taxon
type taxon
['SPRN', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:Shadow_of_prion_protein property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21133841
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21133841
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q863908 . ?r property:P688 resource:Q21133841 }
Shadow of prion protein
action filter_type
action find_reverse
entity Shadow of prion protein
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nucleic_acid_sequence . ?r property:encodes resource:Shadow_of_prion_protein }
[]
nucleic acid sequence
Q18058998
SYSTEM
SPRN
Q18058998
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21133841
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q863908 . ?r property:P688 resource:Q21133841 }
SPRN
SPRN encodes that nutrient
SPRN
action filter_type
action find_reverse
entity Shadow of prion protein
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nucleic_acid_sequence . ?r property:encodes resource:Shadow_of_prion_protein }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18058998
P684
Q863908
USER
What is the name of the species that has that one as its orthologous gene ?
(c(Q863908),P684,Q18058998)
action filter_type
action find
entity Q18058998
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18058998']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q863908 . resource:Q18058998 property:P684 ?z }
SPRN
action filter_type
action find
entity SPRN
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'SPRN']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nucleic_acid_sequence . resource:SPRN property:ortholog ?z }
[]
nucleic acid sequence
Q18296375
SYSTEM
Sprn
Q18296375
(c(Q863908),P684,Q18058998)
action filter_type
action find
entity Q18058998
relation P684
type Q863908
The name of the species that has that one as its orthologous gene is [ANSWER]
[{'concept': 'Q863908'}, 'P684', 'Q18058998']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q863908 . resource:Q18058998 property:P684 ?z }
Sprn
The name of the species that has that one as its orthologous gene is Sprn
Sprn
action filter_type
action find
entity SPRN
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'SPRN']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nucleic_acid_sequence . resource:SPRN property:ortholog ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15989253 Q340169 Q17335294
USER
Which parts are expressed in atleast 1 medias and coats of arms ?
(c(Q340169)|c(Q17335294),P180,c(Q15989253))
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 Q17335294
value 1
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?x WHERE { { ?z property:P180 ?x . ?x rdf:type ontology:Q15989253 . ?z rdf:type ontology:Q340169 } UNION { ?x rdf:type ontology:Q15989253 . ?z rdf:type ontology:Q17335294 . ?z property:P180 ?x } } GROUP BY ?x } . FILTER ( ?q >= 1 ) }
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 or coat of arms
value 1
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?x WHERE { { ?z property:depicts ?x . ?x rdf:type ontology:part . ?z rdf:type ontology:media } UNION { ?x rdf:type ontology:part . ?z rdf:type ontology:flag_or_coat_of_arms . ?z property:depicts ?x } } GROUP BY ?x } . FILTER ( ?q >= 1 ) }
[]
part media flag or coat of arms
Q129757 Q908430 Q15807
SYSTEM
thigh, crown, foot
Q129757 Q908430 Q25999 Q15807 Q251238 Q42165 Q217605
(c(Q340169)|c(Q17335294),P180,c(Q15989253))
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 Q17335294
value 1
[ANSWERS] are expressed in atleast 1 medias and coats of arms
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?x WHERE { { ?z property:P180 ?x . ?x rdf:type ontology:Q15989253 . ?z rdf:type ontology:Q340169 } UNION { ?x rdf:type ontology:Q15989253 . ?z rdf:type ontology:Q17335294 . ?z property:P180 ?x } } GROUP BY ?x } . FILTER ( ?q >= 1 ) }
thigh crown sail foot compartment buttocks claw
Thigh, crown and foot are expressed in atleast 1 medias and coats of arms
thigh crown foot
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 or coat of arms
value 1
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?x WHERE { { ?z property:depicts ?x . ?x rdf:type ontology:part . ?z rdf:type ontology:media } UNION { ?x rdf:type ontology:part . ?z rdf:type ontology:flag_or_coat_of_arms . ?z property:depicts ?x } } GROUP BY ?x } . FILTER ( ?q >= 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P180
Q340169 Q838948
USER
How many medias and works of art depict that part ?
(c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q908430) (c(Q838948),P180,Q908430) (c(Q340169),P180,Q15807) (c(Q838948),P180,Q15807)
[{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q908430'] [{'concept': 'Q838948'}, 'P180', 'Q908430'] [{'concept': 'Q340169'}, 'P180', 'Q15807'] [{'concept': 'Q838948'}, 'P180', 'Q15807']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q940147 } UNION { ?y property:P180 resource:Q940147 } UNION { ?z property:P180 resource:Q1651051 } UNION { ?y property:P180 resource:Q1651051 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q838948 }
[{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'crown'] [{'concept': 'work of art'}, 'depicts', 'crown'] [{'concept': 'media'}, 'depicts', 'foot'] [{'concept': 'work of art'}, 'depicts', 'foot']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:crown } UNION { ?y property:depicts resource:crown } UNION { ?z property:depicts resource:foot } UNION { ?y property:depicts resource:foot } } . ?z rdf:type ontology:media . ?y rdf:type ontology:work_of_art }
[]
media work of art
Quantitative|Count|Mult. entity type|Clarification
Q129757
SYSTEM
Did you mean thigh ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q940147 } UNION { ?y property:P180 resource:Q940147 } UNION { ?z property:P180 resource:Q1651051 } UNION { ?y property:P180 resource:Q1651051 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q838948 }
Did you mean thigh ?
thigh
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:crown } UNION { ?y property:depicts resource:crown } UNION { ?z property:depicts resource:foot } UNION { ?y property:depicts resource:foot } } . ?z rdf:type ontology:media . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q908430) (c(Q838948),P180,Q908430) (c(Q340169),P180,Q15807) (c(Q838948),P180,Q15807)
[{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q908430'] [{'concept': 'Q838948'}, 'P180', 'Q908430'] [{'concept': 'Q340169'}, 'P180', 'Q15807'] [{'concept': 'Q838948'}, 'P180', 'Q15807']
[{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'crown'] [{'concept': 'work of art'}, 'depicts', 'crown'] [{'concept': 'media'}, 'depicts', 'foot'] [{'concept': 'work of art'}, 'depicts', 'foot']
[]
SYSTEM
2 medias and 2 works of art
Q19962746 Q2551806 Q19960626 Q20106840
(c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q129757) (c(Q838948),P180,Q129757) (c(Q340169),P180,Q908430) (c(Q838948),P180,Q908430) (c(Q340169),P180,Q15807) (c(Q838948),P180,Q15807)
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q129757'] [{'concept': 'Q838948'}, 'P180', 'Q129757'] [{'concept': 'Q340169'}, 'P180', 'Q908430'] [{'concept': 'Q838948'}, 'P180', 'Q908430'] [{'concept': 'Q340169'}, 'P180', 'Q15807'] [{'concept': 'Q838948'}, 'P180', 'Q15807']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q129757 } UNION { ?y property:P180 resource:Q129757 } UNION { ?z property:P180 resource:Q940147 } UNION { ?y property:P180 resource:Q940147 } UNION { ?z property:P180 resource:Q1651051 } UNION { ?y property:P180 resource:Q1651051 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q838948 }
Female Nude on a Dolphin Belvedere Torso Reclining Female Nude: Study for "Aegina visited by Jupiter" Venus of Badalona
2 medias and 2 works of art
[{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'thigh'] [{'concept': 'work of art'}, 'depicts', 'thigh'] [{'concept': 'media'}, 'depicts', 'crown'] [{'concept': 'work of art'}, 'depicts', 'crown'] [{'concept': 'media'}, 'depicts', 'foot'] [{'concept': 'work of art'}, 'depicts', 'foot']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:thigh } UNION { ?y property:depicts resource:thigh } UNION { ?z property:depicts resource:crown } UNION { ?y property:depicts resource:crown } UNION { ?z property:depicts resource:foot } UNION { ?y property:depicts resource:foot } } . ?z rdf:type ontology:media . ?y rdf:type ontology:work_of_art }
[]