Simple Question (Direct)
Simple Question
Q21115020
P703
Q16521
USER
Which taxon is Palmitoyltransferase ZDHHC17 found in ?
(Q21115020,P703,c(Q16521))
action filter_type
action find
entity Q21115020
relation P703
type Q16521
['Q21115020', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21115020 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Palmitoyltransferase ZDHHC17
action filter_type
action find
entity Palmitoyltransferase ZDHHC17
relation found in taxon
type taxon
['Palmitoyltransferase ZDHHC17', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Palmitoyltransferase_ZDHHC17 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21115020,P703,c(Q16521))
action filter_type
action find
entity Q21115020
relation P703
type Q16521
Palmitoyltransferase ZDHHC 17 is found in [ANSWER]
['Q21115020', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21115020 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Homo sapiens
Palmitoyltransferase ZDHHC 17 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Palmitoyltransferase ZDHHC17
relation found in taxon
type taxon
['Palmitoyltransferase ZDHHC17', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Palmitoyltransferase_ZDHHC17 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21115020
P702
Q863908
USER
What encodes Palmitoyltransferase ZDHHC17 ?
(Q21115020,P702,c(Q863908))
action filter_type
action find
entity Q21115020
relation P702
type Q863908
['Q21115020', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q21115020 property:P702 ?z . ?z rdf:type ontology:Q863908 }
Palmitoyltransferase ZDHHC17
action filter_type
action find
entity Palmitoyltransferase ZDHHC17
relation encoded by
type nucleic acid sequence
['Palmitoyltransferase ZDHHC17', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Palmitoyltransferase_ZDHHC17 property:encoded_by ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18037143
SYSTEM
ZDHHC17
Q18037143
(Q21115020,P702,c(Q863908))
action filter_type
action find
entity Q21115020
relation P702
type Q863908
[ANSWER] encodes Palmitoyltransferase [ANSWER]
['Q21115020', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q21115020 property:P702 ?z . ?z rdf:type ontology:Q863908 }
ZDHHC17
ZDHHC17 encodes Palmitoyltransferase ZDHHC17
ZDHHC17
action filter_type
action find
entity Palmitoyltransferase ZDHHC17
relation encoded by
type nucleic acid sequence
['Palmitoyltransferase ZDHHC17', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Palmitoyltransferase_ZDHHC17 property:encoded_by ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21115020
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q18037143)
action filter_type
action find_reverse
entity Q21115020
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q18037143']
SELECT DISTINCT ?x WHERE { ?x property:P688 resource:Q21115020 . ?x rdf:type ontology:Q863908 }
Palmitoyltransferase ZDHHC17
action filter_type
action find_reverse
entity Palmitoyltransferase ZDHHC17
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ZDHHC17']
SELECT DISTINCT ?x WHERE { ?x property:encodes resource:Palmitoyltransferase_ZDHHC17 . ?x rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18037143
SYSTEM
ZDHHC17
Q18037143
(c(Q863908),P688,Q18037143)
action filter_type
action find_reverse
entity Q21115020
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q18037143']
SELECT DISTINCT ?x WHERE { ?x property:P688 resource:Q21115020 . ?x rdf:type ontology:Q863908 }
ZDHHC17
ZDHHC17 encodes that nutrient
ZDHHC17
action filter_type
action find_reverse
entity Palmitoyltransferase ZDHHC17
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ZDHHC17']
SELECT DISTINCT ?x WHERE { ?x property:encodes resource:Palmitoyltransferase_ZDHHC17 . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3238275 Q15978631
P427
Q3343211
USER
Which zoological nomenclatures are the taxonomic types of Homo sapiens and Homo sapiens sapiens ?
AND((Q15978631,P427,c(Q3343211)), (Q3238275,P427,c(Q3343211)))
action filter_type
action intersection
action find
entity Q15978631
relation P427
action find
entity Q3238275
relation P427
type Q3343211
{'AND': [['Q15978631', 'P427', {'concept': 'Q3343211'}], ['Q3238275', 'P427', {'concept': 'Q3343211'}]]}
SELECT DISTINCT ?l WHERE { resource:Q15978631 property:P427 ?l . resource:Q3238275 property:P427 ?l . ?l rdf:type ontology:Q3343211 }
Homo sapiens sapiens Homo sapiens
action filter_type
action intersection
action find
entity Homo sapiens
relation taxonomic type
action find
entity Homo sapiens sapiens
relation taxonomic type
type zoological nomenclature
{'AND': [['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}], ['Homo sapiens sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]]}
SELECT DISTINCT ?l WHERE { resource:Homo_sapiens property:taxonomic_type ?l . resource:Homo_sapiens_sapiens property:taxonomic_type ?l . ?l rdf:type ontology:zoological_nomenclature }
[]
zoological nomenclature
Q1043
SYSTEM
Carl Linnaeus
Q1043
AND((Q15978631,P427,c(Q3343211)), (Q3238275,P427,c(Q3343211)))
action filter_type
action intersection
action find
entity Q15978631
relation P427
action find
entity Q3238275
relation P427
type Q3343211
The [ANSWER] is the taxonomic types of Homo and Homo sapiens sapiens
{'AND': [['Q15978631', 'P427', {'concept': 'Q3343211'}], ['Q3238275', 'P427', {'concept': 'Q3343211'}]]}
SELECT DISTINCT ?l WHERE { resource:Q15978631 property:P427 ?l . resource:Q3238275 property:P427 ?l . ?l rdf:type ontology:Q3343211 }
Carl Linnaeus
The Carl Linnaeus is the taxonomic types of Homo and Homo sapiens sapiens
Carl Linnaeus
action filter_type
action intersection
action find
entity Homo sapiens
relation taxonomic type
action find
entity Homo sapiens sapiens
relation taxonomic type
type zoological nomenclature
{'AND': [['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}], ['Homo sapiens sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]]}
SELECT DISTINCT ?l WHERE { resource:Homo_sapiens property:taxonomic_type ?l . resource:Homo_sapiens_sapiens property:taxonomic_type ?l . ?l rdf:type ontology:zoological_nomenclature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1043
P22
Q502895
USER
Who have that zoological nomenclature as a father ?
(c(Q502895),P22,Q1043)
action filter_type
action find_reverse
entity Q1043
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1043']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q1043 . ?a rdf:type ontology:Q502895 }
Carl Linnaeus
action filter_type
action find_reverse
entity Carl Linnaeus
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carl Linnaeus']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Carl_Linnaeus . ?a rdf:type ontology:common_name }
[]
common name
Q13360126 Q178823
SYSTEM
Elisabeth Christina von Linné, Carl Linnaeus the Younger
Q13360126 Q178823
(c(Q502895),P22,Q1043)
action filter_type
action find_reverse
entity Q1043
relation P22
type Q502895
[ANSWERS] have that zoological nomenclature as a father
[{'concept': 'Q502895'}, 'P22', 'Q1043']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q1043 . ?a rdf:type ontology:Q502895 }
Elisabeth Christina von Linné Carl Linnaeus the Younger
Elisabeth Christina von Linné and Carl Linnaeus the Younger have that zoological nomenclature as a father
Elisabeth Christina von Linné Carl Linnaeus the Younger
action filter_type
action find_reverse
entity Carl Linnaeus
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carl Linnaeus']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Carl_Linnaeus . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1043
P737
Q502895
USER
Who did Carl Linnaeus have an influence on ?
(c(Q502895),P737,Q1043)
action filter_type
action find_reverse
entity Q1043
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q1043']
SELECT DISTINCT ?x WHERE { ?x property:P737 resource:Q1043 . ?x rdf:type ontology:Q502895 }
Carl Linnaeus
action filter_type
action find_reverse
entity Carl Linnaeus
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Carl Linnaeus']
SELECT DISTINCT ?x WHERE { ?x property:influenced_by resource:Carl_Linnaeus . ?x rdf:type ontology:common_name }
[]
common name
Q1094656
SYSTEM
Clas Alströmer
Q1094656
(c(Q502895),P737,Q1043)
action filter_type
action find_reverse
entity Q1043
relation P737
type Q502895
Carl Linnaeus had an influence on the [ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q1043']
SELECT DISTINCT ?x WHERE { ?x property:P737 resource:Q1043 . ?x rdf:type ontology:Q502895 }
Clas Alströmer
Carl Linnaeus had an influence on the Clas Alströmer
Clas Alströmer
action filter_type
action find_reverse
entity Carl Linnaeus
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Carl Linnaeus']
SELECT DISTINCT ?x WHERE { ?x property:influenced_by resource:Carl_Linnaeus . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1094656
P184
Q3343211
USER
Which zoological nomenclature was the doctoral advisor of that person ?
(Q1094656,P184,c(Q3343211))
action filter_type
action find
entity Q1094656
relation P184
type Q3343211
['Q1094656', 'P184', {'concept': 'Q3343211'}]
SELECT DISTINCT ?s WHERE { resource:Q1094656 property:P184 ?s . ?s rdf:type ontology:Q3343211 }
Clas Alströmer
action filter_type
action find
entity Clas Alströmer
relation doctoral advisor
type zoological nomenclature
['Clas Alströmer', 'doctoral advisor', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?s WHERE { resource:Clas_Alströmer property:doctoral_advisor ?s . ?s rdf:type ontology:zoological_nomenclature }
[]
zoological nomenclature
Q1043
SYSTEM
Carl Linnaeus
Q1043
(Q1094656,P184,c(Q3343211))
action filter_type
action find
entity Q1094656
relation P184
type Q3343211
[ANSWER] was the doctoral advisor of that person
['Q1094656', 'P184', {'concept': 'Q3343211'}]
SELECT DISTINCT ?s WHERE { resource:Q1094656 property:P184 ?s . ?s rdf:type ontology:Q3343211 }
Carl Linnaeus
Carl Linnaeus was the doctoral advisor of that person
Carl Linnaeus
action filter_type
action find
entity Clas Alströmer
relation doctoral advisor
type zoological nomenclature
['Clas Alströmer', 'doctoral advisor', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?s WHERE { resource:Clas_Alströmer property:doctoral_advisor ?s . ?s rdf:type ontology:zoological_nomenclature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art did max number of people dub for ?
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?y ) WHERE { ?z property:P725 ?w . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q838948 } GROUP BY ?z } . FILTER ( ?y = ?l ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } } }
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?y ) WHERE { ?z property:voice_actor ?w . ?w rdf:type ontology:common_name . ?z rdf:type ontology:work_of_art } GROUP BY ?z } . FILTER ( ?y = ?l ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } GROUP BY ?c } } }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
Which works of art max number of people dubbed for
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?y ) WHERE { ?z property:P725 ?w . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q838948 } GROUP BY ?z } . FILTER ( ?y = ?l ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } } }
The Anthem of the Heart
Which works of art max number of people dubbed for
The Anthem of the Heart
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?y ) WHERE { ?z property:voice_actor ?w . ?w rdf:type ontology:common_name . ?z rdf:type ontology:work_of_art } GROUP BY ?z } . FILTER ( ?y = ?l ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } GROUP BY ?c } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19263748 Q288328 Q14686956
P495
Q15617994
USER
Does that work of art originates at Siddi, Sardinia and Wilkes County School District ?
(Q19263748,P495,Q288328) (Q19263748,P495,Q14686956)
action is_in
entity Q19263748
action intersection
action find_reverse
entity Q288328
relation P495
action find_reverse
entity Q14686956
relation P495
['Q19263748', 'P495', 'Q288328'] ['Q19263748', 'P495', 'Q14686956']
ASK WHERE { resource:Q19263748 property:P495 resource:Q288328 . resource:Q19263748 property:P495 resource:Q14686956 }
The Anthem of the Heart Siddi, Sardinia Wilkes County School District
action is_in
entity The Anthem of the Heart
action intersection
action find_reverse
entity Siddi, Sardinia
relation country of origin
action find_reverse
entity Wilkes County School District
relation country of origin
['The Anthem of the Heart', 'country of origin', 'Siddi, Sardinia'] ['The Anthem of the Heart', 'country of origin', 'Wilkes County School District']
ASK WHERE { resource:The_Anthem_of_the_Heart property:country_of_origin resource:Siddi,_Sardinia . resource:The_Anthem_of_the_Heart property:country_of_origin resource:Wilkes_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q19263748,P495,Q288328) (Q19263748,P495,Q14686956)
action is_in
entity Q19263748
action intersection
action find_reverse
entity Q288328
relation P495
action find_reverse
entity Q14686956
relation P495
[ANSWER]
['Q19263748', 'P495', 'Q288328'] ['Q19263748', 'P495', 'Q14686956']
ASK WHERE { resource:Q19263748 property:P495 resource:Q288328 . resource:Q19263748 property:P495 resource:Q14686956 }
No
action is_in
entity The Anthem of the Heart
action intersection
action find_reverse
entity Siddi, Sardinia
relation country of origin
action find_reverse
entity Wilkes County School District
relation country of origin
['The Anthem of the Heart', 'country of origin', 'Siddi, Sardinia'] ['The Anthem of the Heart', 'country of origin', 'Wilkes County School District']
ASK WHERE { resource:The_Anthem_of_the_Heart property:country_of_origin resource:Siddi,_Sardinia . resource:The_Anthem_of_the_Heart property:country_of_origin resource:Wilkes_County_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q14660 Q3305213
USER
How many taxons are depicted in exactly 2 flags and paintings ?
(c(Q14660)|c(Q3305213),P180,c(Q16521))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q14660
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
value 2
[[{'concept': 'Q14660'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P180 ?e . ?e rdf:type ontology:Q16521 . ?o rdf:type ontology:Q14660 } UNION { ?o property:P180 ?e . ?e rdf:type ontology:Q16521 . ?o rdf:type ontology:Q3305213 } } GROUP BY ?e } . FILTER ( ?p = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type flag
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
value 2
[[{'concept': 'flag'}, {'concept': 'painting'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:depicts ?e . ?e rdf:type ontology:taxon . ?o rdf:type ontology:flag } UNION { ?o property:depicts ?e . ?e rdf:type ontology:taxon . ?o rdf:type ontology:painting } } GROUP BY ?e } . FILTER ( ?p = 2 ) }
[]
taxon flag painting
SYSTEM
5
Q71516 Q19707 Q26771 Q186101 Q146
(c(Q14660)|c(Q3305213),P180,c(Q16521))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q14660
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
value 2
[ANSWER]
[[{'concept': 'Q14660'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P180 ?e . ?e rdf:type ontology:Q16521 . ?o rdf:type ontology:Q14660 } UNION { ?o property:P180 ?e . ?e rdf:type ontology:Q16521 . ?o rdf:type ontology:Q3305213 } } GROUP BY ?e } . FILTER ( ?p = 2 ) }
dromedary donkey Hedera aquatic plant cat
5
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type flag
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
value 2
[[{'concept': 'flag'}, {'concept': 'painting'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:depicts ?e . ?e rdf:type ontology:taxon . ?o rdf:type ontology:flag } UNION { ?o property:depicts ?e . ?e rdf:type ontology:taxon . ?o rdf:type ontology:painting } } GROUP BY ?e } . FILTER ( ?p = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to fabricate max number of works of art ?
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?x WHERE { FILTER ( ?t = ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?x } . { SELECT DISTINCT ( MAX ( ?l ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2079 ?q . ?p rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2695280 } GROUP BY ?q } } }
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?x WHERE { FILTER ( ?t = ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:fabrication_method ?x . ?x rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?x } . { SELECT DISTINCT ( MAX ( ?l ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:fabrication_method ?q . ?p rdf:type ontology:work_of_art . ?q rdf:type ontology:technics } GROUP BY ?q } } }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used to fabricate max number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?x WHERE { FILTER ( ?t = ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?x } . { SELECT DISTINCT ( MAX ( ?l ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2079 ?q . ?p rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2695280 } GROUP BY ?q } } }
gilding collage
Gilding and collage are used to fabricate max number of works of art
gilding collage
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?x WHERE { FILTER ( ?t = ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:fabrication_method ?x . ?x rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?x } . { SELECT DISTINCT ( MAX ( ?l ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:fabrication_method ?q . ?p rdf:type ontology:work_of_art . ?q rdf:type ontology:technics } GROUP BY ?q } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170593
P425
Q12737077
USER
Which occupation does that technics belong to ?
(c(Q12737077),P425,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?v WHERE { ?v property:P425 resource:Q170593 . ?v rdf:type ontology:Q12737077 }
collage
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?v WHERE { ?v property:field_of_this_occupation resource:collage . ?v rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1334300
SYSTEM
Did you mean gilding ?
Q1334300 Q170593
(c(Q12737077),P425,Q1334300) (c(Q12737077),P425,Q170593)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q1334300'] [{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?v WHERE { ?v property:P425 resource:Q170593 . ?v rdf:type ontology:Q12737077 }
gilding collage
Did you mean gilding ?
gilding
[{'concept': 'occupation'}, 'field of this occupation', 'gilding'] [{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?v WHERE { ?v property:field_of_this_occupation resource:collage . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant collage. Could you tell me the answer for that?
(c(Q12737077),P425,Q170593)
Q170593
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
[]
Q22343478
SYSTEM
collagist
Q22343478
(c(Q12737077),P425,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
That technics belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?v WHERE { ?v property:P425 resource:Q170593 . ?v rdf:type ontology:Q12737077 }
collagist
That technics belongs to collagist
collagist
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?v WHERE { ?v property:field_of_this_occupation resource:collage . ?v rdf:type ontology:occupation }
[]