Simple Question (Direct)
Simple Question
Q21987548
P681
Q15989253
USER
Which are the parts that are a component of cAMP-dependent protein kinase inhibitor beta ?
(Q21987548,P681,c(Q15989253))
action filter_type
action find
entity Q21987548
relation P681
type Q15989253
['Q21987548', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15989253 . resource:Q21987548 property:P681 ?d }
cAMP-dependent protein kinase inhibitor beta
action filter_type
action find
entity cAMP-dependent protein kinase inhibitor beta
relation cell component
type part
['cAMP-dependent protein kinase inhibitor beta', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:part . resource:cAMP-dependent_protein_kinase_inhibitor_beta property:cell_component ?d }
[]
part
Q79899 Q40260
SYSTEM
cytoplasm, nucleus
Q79899 Q40260
(Q21987548,P681,c(Q15989253))
action filter_type
action find
entity Q21987548
relation P681
type Q15989253
[ANSWERS] are the parts that are a component of cAMP-dependent protein kinase inhibitor beta
['Q21987548', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15989253 . resource:Q21987548 property:P681 ?d }
cytoplasm nucleus
Cytoplasm and nucleus are the parts that are a component of cAMP-dependent protein kinase inhibitor beta
cytoplasm nucleus
action filter_type
action find
entity cAMP-dependent protein kinase inhibitor beta
relation cell component
type part
['cAMP-dependent protein kinase inhibitor beta', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:part . resource:cAMP-dependent_protein_kinase_inhibitor_beta property:cell_component ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21987548
P703
Q16521
USER
Which taxon is that nutrient found in ?
(Q79899,P703,c(Q16521)) (Q40260,P703,c(Q16521))
action filter_type
action find
entity Q21987548
relation P703
type Q16521
['Q79899', 'P703', {'concept': 'Q16521'}] ['Q40260', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q16521 . resource:Q21987548 property:P703 ?y }
cAMP-dependent protein kinase inhibitor beta
action filter_type
action find
entity cAMP-dependent protein kinase inhibitor beta
relation found in taxon
type taxon
['cytoplasm', 'found in taxon', {'concept': 'taxon'}] ['nucleus', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:taxon . resource:cAMP-dependent_protein_kinase_inhibitor_beta property:found_in_taxon ?y }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q79899,P703,c(Q16521)) (Q40260,P703,c(Q16521))
action filter_type
action find
entity Q21987548
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q79899', 'P703', {'concept': 'Q16521'}] ['Q40260', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q16521 . resource:Q21987548 property:P703 ?y }
Mus musculus
That nutrient is found in Mus musculus
Mus musculus
action filter_type
action find
entity cAMP-dependent protein kinase inhibitor beta
relation found in taxon
type taxon
['cytoplasm', 'found in taxon', {'concept': 'taxon'}] ['nucleus', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:taxon . resource:cAMP-dependent_protein_kinase_inhibitor_beta property:found_in_taxon ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21987548
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q83310)
action filter_type
action find_reverse
entity Q21987548
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q83310']
SELECT DISTINCT ?r WHERE { ?r property:P688 resource:Q21987548 . ?r rdf:type ontology:Q863908 }
cAMP-dependent protein kinase inhibitor beta
action filter_type
action find_reverse
entity cAMP-dependent protein kinase inhibitor beta
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Mus musculus']
SELECT DISTINCT ?r WHERE { ?r property:encodes resource:cAMP-dependent_protein_kinase_inhibitor_beta . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18253068
SYSTEM
Pkib
Q18253068
(c(Q863908),P688,Q83310)
action filter_type
action find_reverse
entity Q21987548
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q83310']
SELECT DISTINCT ?r WHERE { ?r property:P688 resource:Q21987548 . ?r rdf:type ontology:Q863908 }
Pkib
Pkib encodes that nutrient
Pkib
action filter_type
action find_reverse
entity cAMP-dependent protein kinase inhibitor beta
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Mus musculus']
SELECT DISTINCT ?r WHERE { ?r property:encodes resource:cAMP-dependent_protein_kinase_inhibitor_beta . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83310
P144
Q15619164
USER
Which abstract being is an extension Mus musculus ?
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?k WHERE { ?k property:P144 resource:Q83310 . ?k 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 ?k WHERE { ?k property:based_on resource:Mus_musculus . ?k 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 an extension Mus musculus
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?k WHERE { ?k property:P144 resource:Q83310 . ?k rdf:type ontology:Q15619164 }
Pikachu
Pikachu is an extension 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 ?k WHERE { ?k property:based_on resource:Mus_musculus . ?k rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9351
P361
Q16887380
USER
Which group is that abstract being a component of ?
(Q9351,P361,c(Q16887380))
action filter_type
action find
entity Q9351
relation P361
type Q16887380
['Q9351', 'P361', {'concept': 'Q16887380'}]
SELECT DISTINCT ?n WHERE { resource:Q9351 property:P361 ?n . ?n rdf:type ontology:Q16887380 }
Pikachu
action filter_type
action find
entity Pikachu
relation part of
type group
['Pikachu', 'part of', {'concept': 'group'}]
SELECT DISTINCT ?n WHERE { resource:Pikachu property:part_of ?n . ?n rdf:type ontology:group }
[]
group
Q12074899
SYSTEM
evolutionary line of Pichu
Q12074899
(Q9351,P361,c(Q16887380))
action filter_type
action find
entity Q9351
relation P361
type Q16887380
That abstract is being the [ANSWER]
['Q9351', 'P361', {'concept': 'Q16887380'}]
SELECT DISTINCT ?n WHERE { resource:Q9351 property:P361 ?n . ?n rdf:type ontology:Q16887380 }
evolutionary line of Pichu
That abstract is being the evolutionary line of Pichu
evolutionary line of Pichu
action filter_type
action find
entity Pikachu
relation part of
type group
['Pikachu', 'part of', {'concept': 'group'}]
SELECT DISTINCT ?n WHERE { resource:Pikachu property:part_of ?n . ?n rdf:type ontology:group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9351
P180
Q838948
USER
Which work of art expressess Pikachu ?
(c(Q838948),P180,Q9351)
action filter_type
action find_reverse
entity Q9351
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q9351']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q9351 . ?y rdf:type ontology:Q838948 }
Pikachu
action filter_type
action find_reverse
entity Pikachu
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Pikachu']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Pikachu . ?y rdf:type ontology:work_of_art }
[]
work of art
Q26775830
SYSTEM
Pikachu
Q26775830
(c(Q838948),P180,Q9351)
action filter_type
action find_reverse
entity Q9351
relation P180
type Q838948
PROBLEM SINGULARIZE
[{'concept': 'Q838948'}, 'P180', 'Q9351']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q9351 . ?y rdf:type ontology:Q838948 }
Pikachu
PROBLEM SINGULARIZE
Pikachu
action filter_type
action find_reverse
entity Pikachu
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Pikachu']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Pikachu . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9351
P170
Q502895
USER
Who created that abstract being ?
(Q26775830,P170,c(Q502895))
action filter_type
action find
entity Q9351
relation P170
type Q502895
['Q26775830', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q9351 property:P170 ?x . ?x rdf:type ontology:Q502895 }
Pikachu
action filter_type
action find
entity Pikachu
relation creator
type common name
['Pikachu', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Pikachu property:creator ?x . ?x rdf:type ontology:common_name }
[]
common name
Q457871
SYSTEM
Ken Sugimori
Q457871
(Q26775830,P170,c(Q502895))
action filter_type
action find
entity Q9351
relation P170
type Q502895
[ANSWER] created that abstract being
['Q26775830', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q9351 property:P170 ?x . ?x rdf:type ontology:Q502895 }
Ken Sugimori
Ken Sugimori created that abstract being
Ken Sugimori
action filter_type
action find
entity Pikachu
relation creator
type common name
['Pikachu', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Pikachu property:creator ?x . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q177600
P180
Q838948 Q838948 Q15709879
USER
Which works of art are depicted in around the same number of works of art or artwork series as stick figure ?
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q177600
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q177600 . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?m = ?l ) }
stick figure
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity stick figure
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:stick_figure . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } } } . FILTER ( ?m = ?l ) }
[]
work of art work of art artwork series
Q17305020 Q734834 Q1395302
SYSTEM
Tanagra, Ghent Altarpiece, One True Thing
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q21375954 Q27478544 Q232042 Q27462703 Q215194 Q3545179 Q221211 Q170980 Q333009 Q750209 Q19969041 Q734834 Q3015661 Q473237 Q20631770 Q831869 Q2535008 Q17172602 Q93184 Q177600 Q221323 Q2111434 Q1230963 Q11060274 Q3424549 Q1779386 Q1395302 Q294001 Q3731233 Q17275826 Q215911 Q476968 Q1350279 Q3305213 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q3143107 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q216185 Q79218 Q745783 Q183272 Q3918710 Q1192229 Q21743265
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q177600
relation P180
type Q838948
type Q15709879
[ANSWERS] are depicted in around the same number of works of art or artwork series as stick figure
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q177600 . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?m = ?l ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound Allegory of the city of Paris Silenus holding the child Dionysos The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women Twelfth Night obelisk can-can Colossi of Memnon Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of George Washington oenochoe Neptune and Triton monumental cross drawing stick figure golden calf pendant Under Western Stars print Frederik V on Horseback Menat One True Thing Oedipus at Colonus Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater pyxis painting Tanagra partner dance Richard III Ploughman Marly horses Humains diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Charing Cross triptych hydria frieze Wrestlers The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and One True Thing are depicted in around the same number of works of art or artwork series as stick figure
Tanagra Ghent Altarpiece One True Thing
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity stick figure
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:stick_figure . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } } } . FILTER ( ?m = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q774967
P180
Q838948 Q838948 Q15709879
USER
And what about Venus de' Medici?
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q774967
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:P180 ?f . ?f rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15709879 . ?p property:P180 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P180 resource:Q774967 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q15709879 } } } } . FILTER ( ?l = ?d ) }
Venus de' Medici
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Venus de' Medici
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:depicts ?f . ?f rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:work_of_art . ?p rdf:type ontology:artwork_series . ?p property:depicts ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:depicts resource:Venus_de'_Medici . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:artwork_series } } } } . FILTER ( ?l = ?d ) }
[]
work of art work of art artwork series
Q17305020 Q734834 Q1395302
SYSTEM
Tanagra, Ghent Altarpiece, One True Thing
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q21375954 Q27478544 Q232042 Q27462703 Q215194 Q3545179 Q221211 Q170980 Q333009 Q750209 Q19969041 Q734834 Q3015661 Q473237 Q20631770 Q831869 Q2535008 Q17172602 Q93184 Q177600 Q221323 Q2111434 Q1230963 Q11060274 Q3424549 Q1779386 Q1395302 Q294001 Q3731233 Q17275826 Q215911 Q476968 Q1350279 Q3305213 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q3143107 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q216185 Q79218 Q745783 Q183272 Q3918710 Q1192229 Q21743265
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q774967
relation P180
type Q838948
type Q15709879
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:P180 ?f . ?f rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15709879 . ?p property:P180 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P180 resource:Q774967 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q15709879 } } } } . FILTER ( ?l = ?d ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound Allegory of the city of Paris Silenus holding the child Dionysos The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women Twelfth Night obelisk can-can Colossi of Memnon Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of George Washington oenochoe Neptune and Triton monumental cross drawing stick figure golden calf pendant Under Western Stars print Frederik V on Horseback Menat One True Thing Oedipus at Colonus Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater pyxis painting Tanagra partner dance Richard III Ploughman Marly horses Humains diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Charing Cross triptych hydria frieze Wrestlers The Original Sin Torso in Metal from Rock Drill
Tanagra Ghent Altarpiece One True Thing
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Venus de' Medici
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:depicts ?f . ?f rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:work_of_art . ?p rdf:type ontology:artwork_series . ?p property:depicts ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:depicts resource:Venus_de'_Medici . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:artwork_series } } } } . FILTER ( ?l = ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works are set up by max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?o ) WHERE { ?p property:P1445 ?r . ?p rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?s property:P1445 ?y . ?s rdf:type ontology:Q386724 . ?y rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?q = ?u ) }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?o ) WHERE { ?p property:fictional_universe_described_in ?r . ?p rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?s property:fictional_universe_described_in ?y . ?s rdf:type ontology:work . ?y rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?q = ?u ) }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] is set up by max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?o ) WHERE { ?p property:P1445 ?r . ?p rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?s property:P1445 ?y . ?s rdf:type ontology:Q386724 . ?y rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?q = ?u ) }
Pirates of the Caribbean
Pirates of the Caribbean is set up by max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?o ) WHERE { ?p property:fictional_universe_described_in ?r . ?p rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?s property:fictional_universe_described_in ?y . ?s rdf:type ontology:work . ?y rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?q = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q734834
P186
Q16686022
USER
Which natural physical object is used to make Ghent Altarpiece ?
(Q734834,P186,c(Q16686022))
action filter_type
action find
entity Q734834
relation P186
type Q16686022
['Q734834', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?o WHERE { resource:Q734834 property:P186 ?o . ?o rdf:type ontology:Q16686022 }
Ghent Altarpiece
action filter_type
action find
entity Ghent Altarpiece
relation material used
type natural physical object
['Ghent Altarpiece', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?o WHERE { resource:Ghent_Altarpiece property:material_used ?o . ?o rdf:type ontology:natural_physical_object }
[]
natural physical object
Q287
SYSTEM
wood
Q287
(Q734834,P186,c(Q16686022))
action filter_type
action find
entity Q734834
relation P186
type Q16686022
[ANSWER] is used to make Ghent Altarpiece
['Q734834', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?o WHERE { resource:Q734834 property:P186 ?o . ?o rdf:type ontology:Q16686022 }
wood
Wood is used to make Ghent Altarpiece
wood
action filter_type
action find
entity Ghent Altarpiece
relation material used
type natural physical object
['Ghent Altarpiece', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?o WHERE { resource:Ghent_Altarpiece property:material_used ?o . ?o rdf:type ontology:natural_physical_object }
[]