Simple Question (Direct)
Simple Question
Q23528170
P681
Q15989253
USER
What is a component of polysaccharide deacetylase    CLC_0409 ?
(Q23528170,P681,c(Q15989253))
action filter_type
action find
entity Q23528170
relation P681
type Q15989253
['Q23528170', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q23528170 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
polysaccharide deacetylase    CLC_0409
action filter_type
action find
entity polysaccharide deacetylase    CLC_0409
relation cell component
type part
['polysaccharide deacetylase    CLC_0409', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:polysaccharide_deacetylase____CLC_0409 property:cell_component ?r . ?r rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q23528170,P681,c(Q15989253))
action filter_type
action find
entity Q23528170
relation P681
type Q15989253
A component of polysaccharide deacetylase CLC_0409 is a [ANSWER]
['Q23528170', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q23528170 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
membrane
A component of polysaccharide deacetylase CLC_0409 is a membrane
membrane
action filter_type
action find
entity polysaccharide deacetylase    CLC_0409
relation cell component
type part
['polysaccharide deacetylase    CLC_0409', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:polysaccharide_deacetylase____CLC_0409 property:cell_component ?r . ?r rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23528170
P682
Q1057
USER
Which metabolic process is polysaccharide deacetylase    CLC_0409 involved in ?
(Q23528170,P682,c(Q1057))
action filter_type
action find
entity Q23528170
relation P682
type Q1057
['Q23528170', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?x WHERE { resource:Q23528170 property:P682 ?x . ?x rdf:type ontology:Q1057 }
polysaccharide deacetylase    CLC_0409
action filter_type
action find
entity polysaccharide deacetylase    CLC_0409
relation biological process
type metabolic process
['polysaccharide deacetylase    CLC_0409', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?x WHERE { resource:polysaccharide_deacetylase____CLC_0409 property:biological_process ?x . ?x rdf:type ontology:metabolic_process }
[]
metabolic process
Q14762260
SYSTEM
carbohydrate metabolic process
Q14762260
(Q23528170,P682,c(Q1057))
action filter_type
action find
entity Q23528170
relation P682
type Q1057
Which metabolic process is polysaccharide deacetylase CLC_0409 involved in
['Q23528170', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?x WHERE { resource:Q23528170 property:P682 ?x . ?x rdf:type ontology:Q1057 }
carbohydrate metabolic process
Which metabolic process is polysaccharide deacetylase CLC_0409 involved in
carbohydrate metabolic process
action filter_type
action find
entity polysaccharide deacetylase    CLC_0409
relation biological process
type metabolic process
['polysaccharide deacetylase    CLC_0409', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?x WHERE { resource:polysaccharide_deacetylase____CLC_0409 property:biological_process ?x . ?x rdf:type ontology:metabolic_process }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23621321
Q1057
USER
And how about folE    BL1683?
(Q23621321,P682,c(Q1057))
action filter_type
action find
entity Q23621321
relation P682
type Q1057
['Q23621321', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?r WHERE { resource:Q23621321 property:P682 ?r . ?r rdf:type ontology:Q1057 }
folE    BL1683
action filter_type
action find
entity folE    BL1683
relation biological process
type metabolic process
['folE    BL1683', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?r WHERE { resource:folE____BL1683 property:biological_process ?r . ?r rdf:type ontology:metabolic_process }
[]
metabolic process
Q14819379
SYSTEM
one-carbon metabolic process
Q14819379
(Q23621321,P682,c(Q1057))
action filter_type
action find
entity Q23621321
relation P682
type Q1057
[ANSWER]
['Q23621321', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?r WHERE { resource:Q23621321 property:P682 ?r . ?r rdf:type ontology:Q1057 }
one-carbon metabolic process
one-carbon metabolic process
action filter_type
action find
entity folE    BL1683
relation biological process
type metabolic process
['folE    BL1683', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?r WHERE { resource:folE____BL1683 property:biological_process ?r . ?r rdf:type ontology:metabolic_process }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14819379 Q23603402
P682
Q181394
USER
Is Glycine hydroxymethyltransferase    FP0681 involved in that metabolic process ?
(Q23603402,P682,Q14819379)
action is_in
entity Q14819379
action find
entity Q23603402
relation P682
['Q23603402', 'P682', 'Q14819379']
ASK WHERE { resource:Q23603402 property:P682 resource:Q14819379 }
one-carbon metabolic process Glycine hydroxymethyltransferase    FP0681
action is_in
entity one-carbon metabolic process
action find
entity Glycine hydroxymethyltransferase    FP0681
relation biological process
['Glycine hydroxymethyltransferase    FP0681', 'biological process', 'one-carbon metabolic process']
ASK WHERE { resource:Glycine_hydroxymethyltransferase____FP0681 property:biological_process resource:one-carbon_metabolic_process }
[]
nutrient
SYSTEM
YES
(Q23603402,P682,Q14819379)
action is_in
entity Q14819379
action find
entity Q23603402
relation P682
[ANSWER]
['Q23603402', 'P682', 'Q14819379']
ASK WHERE { resource:Q23603402 property:P682 resource:Q14819379 }
Yes
action is_in
entity one-carbon metabolic process
action find
entity Glycine hydroxymethyltransferase    FP0681
relation biological process
['Glycine hydroxymethyltransferase    FP0681', 'biological process', 'one-carbon metabolic process']
ASK WHERE { resource:Glycine_hydroxymethyltransferase____FP0681 property:biological_process resource:one-carbon_metabolic_process }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15989253 Q18783400 Q838948
USER
Which parts are depicted in max number of genres of sculpture or works of art ?
(c(Q18783400)|c(Q838948),P180,c(Q15989253))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } . ?h rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:P180 ?q . ?q rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q18783400 } UNION { ?q rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?q } } GROUP BY ?q } . FILTER ( ?z = ?i ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } . ?h rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:depicts ?q . ?q rdf:type ontology:part . ?x rdf:type ontology:genre_of_sculpture } UNION { ?q rdf:type ontology:part . ?x rdf:type ontology:work_of_art . ?x property:depicts ?q } } GROUP BY ?q } . FILTER ( ?z = ?i ) }
[]
part genre of sculpture work of art
Q42165
SYSTEM
buttocks
Q42165
(c(Q18783400)|c(Q838948),P180,c(Q15989253))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
The [ANSWER] is depicted in max number of genres of sculpture or works of art
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } . ?h rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:P180 ?q . ?q rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q18783400 } UNION { ?q rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?q } } GROUP BY ?q } . FILTER ( ?z = ?i ) }
buttocks
The buttocks is depicted in max number of genres of sculpture or works of art
buttocks
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } . ?h rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:depicts ?q . ?q rdf:type ontology:part . ?x rdf:type ontology:genre_of_sculpture } UNION { ?q rdf:type ontology:part . ?x rdf:type ontology:work_of_art . ?x property:depicts ?q } } GROUP BY ?q } . FILTER ( ?z = ?i ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q15989253 Q18783400
USER
Which genres of sculpture depict max number of parts ?
(c(Q18783400),P180,c(Q15989253))
action argmax
action find_tuple_counts
relation P180
type Q18783400
type Q15989253
[{'concept': 'Q18783400'}, 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?a ) WHERE { ?p property:P180 ?v . ?p rdf:type ontology:Q18783400 . ?v rdf:type ontology:Q15989253 } GROUP BY ?p } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?b ) WHERE { ?z property:P180 ?o . ?z rdf:type ontology:Q18783400 . ?o rdf:type ontology:Q15989253 } GROUP BY ?z } . FILTER ( ?b = ?t ) }
action argmax
action find_tuple_counts
relation depicts
type genre of sculpture
type part
[{'concept': 'genre of sculpture'}, 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?a ) WHERE { ?p property:depicts ?v . ?p rdf:type ontology:genre_of_sculpture . ?v rdf:type ontology:part } GROUP BY ?p } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?b ) WHERE { ?z property:depicts ?o . ?z rdf:type ontology:genre_of_sculpture . ?o rdf:type ontology:part } GROUP BY ?z } . FILTER ( ?b = ?t ) }
[]
part genre of sculpture
Q22337609 Q1058055
SYSTEM
Young man and anchor, cenotaph of O.W. Hacklin, The Three Graces
Q22337609 Q1058055
(c(Q18783400),P180,c(Q15989253))
action argmax
action find_tuple_counts
relation P180
type Q18783400
type Q15989253
[ANSWERS] depict max number of parts
[{'concept': 'Q18783400'}, 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?a ) WHERE { ?p property:P180 ?v . ?p rdf:type ontology:Q18783400 . ?v rdf:type ontology:Q15989253 } GROUP BY ?p } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?b ) WHERE { ?z property:P180 ?o . ?z rdf:type ontology:Q18783400 . ?o rdf:type ontology:Q15989253 } GROUP BY ?z } . FILTER ( ?b = ?t ) }
Young man and anchor, cenotaph of O.W. Hacklin The Three Graces
Young man and anchor, cenotaph of O.W. Hacklin and The Three Graces depict max number of parts
Young man and anchor, cenotaph of O.W. Hacklin The Three Graces
action argmax
action find_tuple_counts
relation depicts
type genre of sculpture
type part
[{'concept': 'genre of sculpture'}, 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?a ) WHERE { ?p property:depicts ?v . ?p rdf:type ontology:genre_of_sculpture . ?v rdf:type ontology:part } GROUP BY ?p } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?b ) WHERE { ?z property:depicts ?o . ?z rdf:type ontology:genre_of_sculpture . ?o rdf:type ontology:part } GROUP BY ?z } . FILTER ( ?b = ?t ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1058055
P186
Q8063
USER
Which rock is used to manufacture that genre of sculpture ?
(Q1058055,P186,c(Q8063))
action filter_type
action find
entity Q1058055
relation P186
type Q8063
['Q1058055', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q8063 . resource:Q1058055 property:P186 ?d }
The Three Graces
action filter_type
action find
entity The Three Graces
relation material used
type rock
['The Three Graces', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:rock . resource:The_Three_Graces property:material_used ?d }
[]
rock
Clarification for simple ques.
Q22337609
SYSTEM
Did you mean Young man and anchor, cenotaph of O.W. Hacklin ?
Q22337609 Q1058055
(Q22337609,P186,c(Q8063)) (Q1058055,P186,c(Q8063))
[ANSWER]
['Q22337609', 'P186', {'concept': 'Q8063'}] ['Q1058055', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q8063 . resource:Q1058055 property:P186 ?d }
Young man and anchor, cenotaph of O.W. Hacklin The Three Graces
Did you mean Young man and anchor, cenotaph of O.W. Hacklin ?
Young man and anchor, cenotaph of O.W. Hacklin
['Young man and anchor, cenotaph of O.W. Hacklin', 'material used', {'concept': 'rock'}] ['The Three Graces', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:rock . resource:The_Three_Graces property:material_used ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant The Three Graces. Could you tell me the answer for that?
(Q1058055,P186,c(Q8063))
Q1058055
['Q1058055', 'P186', {'concept': 'Q8063'}]
['The Three Graces', 'material used', {'concept': 'rock'}]
[]
Q40861
SYSTEM
marble
Q40861
(Q1058055,P186,c(Q8063))
action filter_type
action find
entity Q1058055
relation P186
type Q8063
[ANSWER] is used to manufacture that genre of sculpture
['Q1058055', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q8063 . resource:Q1058055 property:P186 ?d }
marble
Marble is used to manufacture that genre of sculpture
marble
action filter_type
action find
entity The Three Graces
relation material used
type rock
['The Three Graces', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:rock . resource:The_Three_Graces property:material_used ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1058055
P800
Q502895
USER
Whose notable work was The Three Graces ?
(c(Q502895),P800,Q1058055)
action filter_type
action find_reverse
entity Q1058055
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1058055']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q1058055 . ?x rdf:type ontology:Q502895 }
The Three Graces
action filter_type
action find_reverse
entity The Three Graces
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Three Graces']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Three_Graces . ?x rdf:type ontology:common_name }
[]
common name
Q5547
SYSTEM
Antonio Canova
Q5547
(c(Q502895),P800,Q1058055)
action filter_type
action find_reverse
entity Q1058055
relation P800
type Q502895
[ANSWER] was The Three Graces
[{'concept': 'Q502895'}, 'P800', 'Q1058055']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q1058055 . ?x rdf:type ontology:Q502895 }
Antonio Canova
Antonio Canova was The Three Graces
Antonio Canova
action filter_type
action find_reverse
entity The Three Graces
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Three Graces']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Three_Graces . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5547
P138
Q207694
USER
Which art museum has that person as its toponym ?
(c(Q207694),P138,Q5547)
action filter_type
action find_reverse
entity Q5547
relation P138
type Q207694
[{'concept': 'Q207694'}, 'P138', 'Q5547']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q207694 . ?c property:P138 resource:Q5547 }
Antonio Canova
action filter_type
action find_reverse
entity Antonio Canova
relation named after
type art museum
[{'concept': 'art museum'}, 'named after', 'Antonio Canova']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:art_museum . ?c property:named_after resource:Antonio_Canova }
[]
art museum
Q3768553
SYSTEM
Gipsoteca canoviana
Q3768553
(c(Q207694),P138,Q5547)
action filter_type
action find_reverse
entity Q5547
relation P138
type Q207694
[ANSWER] has that person as its toponym
[{'concept': 'Q207694'}, 'P138', 'Q5547']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q207694 . ?c property:P138 resource:Q5547 }
Gipsoteca canoviana
Gipsoteca canoviana has that person as its toponym
Gipsoteca canoviana
action filter_type
action find_reverse
entity Antonio Canova
relation named after
type art museum
[{'concept': 'art museum'}, 'named after', 'Antonio Canova']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:art_museum . ?c property:named_after resource:Antonio_Canova }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23528170
P688
Q863908
USER
Which nucleic acid sequence encodes polysaccharide deacetylase    CLC_0409 ?
(c(Q863908),P688,Q23528170)
action filter_type
action find_reverse
entity Q23528170
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23528170']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q23528170 . ?f rdf:type ontology:Q863908 }
polysaccharide deacetylase    CLC_0409
action filter_type
action find_reverse
entity polysaccharide deacetylase    CLC_0409
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'polysaccharide deacetylase    CLC_0409']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:polysaccharide_deacetylase____CLC_0409 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23407207
SYSTEM
polysaccharide deacetylase    CLC_0409
Q23407207
(c(Q863908),P688,Q23528170)
action filter_type
action find_reverse
entity Q23528170
relation P688
type Q863908
Polysaccharide deacetylase CLC 0409 encodes polysaccharide deacetylase CLC_0409
[{'concept': 'Q863908'}, 'P688', 'Q23528170']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q23528170 . ?f rdf:type ontology:Q863908 }
polysaccharide deacetylase    CLC_0409
Polysaccharide deacetylase CLC 0409 encodes polysaccharide deacetylase CLC_0409
polysaccharide deacetylase    CLC_0409
action filter_type
action find_reverse
entity polysaccharide deacetylase    CLC_0409
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'polysaccharide deacetylase    CLC_0409']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:polysaccharide_deacetylase____CLC_0409 . ?f rdf:type ontology:nucleic_acid_sequence }
[]