Simple Question (Direct)
Simple Question
Q23549995
P703
Q16521
USER
Where is DNA repair ATPase    THEYE_A0642 found ?
(Q23549995,P703,c(Q16521))
action filter_type
action find
entity Q23549995
relation P703
type Q16521
['Q23549995', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { resource:Q23549995 property:P703 ?o . ?o rdf:type ontology:Q16521 }
DNA repair ATPase    THEYE_A0642
action filter_type
action find
entity DNA repair ATPase    THEYE_A0642
relation found in taxon
type taxon
['DNA repair ATPase    THEYE_A0642', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { resource:DNA_repair_ATPase____THEYE_A0642 property:found_in_taxon ?o . ?o rdf:type ontology:taxon }
[]
taxon
Q23309243
SYSTEM
Thermodesulfovibrio yellowstonii DSM 11347
Q23309243
(Q23549995,P703,c(Q16521))
action filter_type
action find
entity Q23549995
relation P703
type Q16521
DNA repair ATPase THEYE_A0642 is found in [ANSWER]
['Q23549995', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { resource:Q23549995 property:P703 ?o . ?o rdf:type ontology:Q16521 }
Thermodesulfovibrio yellowstonii DSM 11347
DNA repair ATPase THEYE_A0642 is found in Thermodesulfovibrio yellowstonii DSM 11347
Thermodesulfovibrio yellowstonii DSM 11347
action filter_type
action find
entity DNA repair ATPase    THEYE_A0642
relation found in taxon
type taxon
['DNA repair ATPase    THEYE_A0642', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { resource:DNA_repair_ATPase____THEYE_A0642 property:found_in_taxon ?o . ?o rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q16521 Q15709879
USER
How many artwork series demonstrate atmost 4 taxons ?
(c(Q15709879),P180,c(Q16521))
action count
action atmost
action find_tuple_counts
relation P180
type Q15709879
type Q16521
value 4
[{'concept': 'Q15709879'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?x property:P180 ?u . ?x rdf:type ontology:Q15709879 . ?u rdf:type ontology:Q16521 } GROUP BY ?x } . FILTER ( ?g <= 4 ) }
action count
action atmost
action find_tuple_counts
relation depicts
type artwork series
type taxon
value 4
[{'concept': 'artwork series'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?x property:depicts ?u . ?x rdf:type ontology:artwork_series . ?u rdf:type ontology:taxon } GROUP BY ?x } . FILTER ( ?g <= 4 ) }
[]
taxon artwork series
SYSTEM
94
Q2734209 Q724377 Q5405830 Q1325840 Q17277950 Q18066151 Q153117 Q19973947 Q20798298 Q3698179 Q17023954 Q3565037 Q7114124 Q22814397 Q2600695 Q5474623 Q11729456 Q1787460 Q7729430 Q18087883 Q13433027 Q5885597 Q2720294 Q26974941 Q4931571 Q15994172 Q20968586 Q26265297 Q3948773 Q19689132 Q1989780 Q20792784 Q4014884 Q5384733 Q8051773 Q217796 Q403550 Q18209516 Q3377374 Q669994 Q22814425 Q2982846 Q684689 Q602980 Q21228100 Q26831186 Q7263012 Q20798308 Q838798 Q7973327 Q1577097 Q20798304 Q2923904 Q127736 Q2525862 Q115728 Q1535573 Q19729666 Q351300 Q2267579 Q7158404 Q25252922 Q17003932 Q24204770 Q3205427 Q3713675 Q20991326 Q7991819 Q18219587 Q18822557 Q1239316 Q733458 Q17091582 Q27267029 Q24531 Q5108944 Q59201 Q3094657 Q3094651 Q3492887 Q21032805 Q18009187 Q1750032 Q3399390 Q2963501 Q2273452 Q14940805 Q637414 Q2829428 Q157541 Q6507323 Q1497715 Q18325696 Q21127606
(c(Q15709879),P180,c(Q16521))
action count
action atmost
action find_tuple_counts
relation P180
type Q15709879
type Q16521
value 4
[ANSWER]
[{'concept': 'Q15709879'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?x property:P180 ?u . ?x rdf:type ontology:Q15709879 . ?u rdf:type ontology:Q16521 } GROUP BY ?x } . FILTER ( ?g <= 4 ) }
Little Dancer of Fourteen Years Bedroom in Arles Portrait of Lady Meux Electric Chair The Card Players Sonderkommando photographs Old Church Tower at Nuenen View of The Hague from the Delftse Vaart in the 17th Century equestrian statue of Joan of Arc Crucifixion Portrait of Dr. Gachet Fine Wind, Clear Morning Ovid among the Scythians The Seven Virtues The Empire of Lights Founding Fathers of Merseyside Football Jupiter and Antiope Watson and the Shark The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775 P.S. Krøyer's paintings of Marie Bathers Holy Grail tapestries L.H.O.O.Q. Four Captives Boaz and Ruth The Last Judgment The First Twelve Roman Emperors Series in Schloss Caputh (1618-1625) Nike Saint Anthony Abbot and the Archangel Michael Winter Night in the Mountains Madonna equestrian statue of Joan of Arc Life of the Virgin Equivalents Yellow Odalisque Lewis chessmen Sopo Archangels Reclining Figure: Festival Little Passion Isle of the Dead The Seven Vices Head of a Catalan Peasant Beethoven Frieze L'Arlésienne Character heads Mercury Passing Before the Sun Pygmalion and the Image series equestrian statue of Joan of Arc Langlois Bridge at Arles Water Mill at Gennep Salome equestrian statue of Joan of Arc Bras de Seine près de Giverny Great Passion Thirty-six Views of Mount Fuji The Madonna of Port Lligat Aix Annunciation Goslar Warrior Adam and Eve The Sick Child Peasant Character Studies Nemesis Falling Autumn Leaves Homage to the Square L'Équipe de Cardiff Pergamene Gauls Le Carceri d'Invenzione Wheat Fields Passion Thirty-six Views of the Eiffel Tower Vesuvius in Eruption Poplar Series Hermaphrodite Nativity with Mary of Burgundy, Jan Crabbe and Pierre Vaillant, series of 17 paintings of counts of Flanders with abbots of Ter Duinen Cortona Triptych Christ and the Virgin Diptych Napoleon Crossing the Alps Ancient Rome Modern Rome Medusa Pendant portraits of Maerten Soolmans and Oopjen Coppit Robert Burns The Four Elements (Air) Portraits of Henry IV of Saxony and Catherine of Mecklenburg Dogs Playing Poker The Judgment of Paris The Apostles of Albi Rouen Cathedral Al Alimón Sunflowers Le Moulin de la Galette Nanxun Tu Contact Ad Plum Park in Kameido
94
action count
action atmost
action find_tuple_counts
relation depicts
type artwork series
type taxon
value 4
[{'concept': 'artwork series'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?x property:depicts ?u . ?x rdf:type ontology:artwork_series . ?u rdf:type ontology:taxon } GROUP BY ?x } . FILTER ( ?g <= 4 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19925151
Q16521
USER
And what about A Goldfinch and a Robin?
(Q19925151,P180,c(Q16521))
action count
action filter_type
action find
entity Q19925151
relation P180
type Q16521
['Q19925151', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q19925151 property:P180 ?n . ?n rdf:type ontology:Q16521 }
A Goldfinch and a Robin
action count
action filter_type
action find
entity A Goldfinch and a Robin
relation depicts
type taxon
['A Goldfinch and a Robin', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:A_Goldfinch_and_a_Robin property:depicts ?n . ?n rdf:type ontology:taxon }
[]
taxon
SYSTEM
2
(Q19925151,P180,c(Q16521))
action count
action filter_type
action find
entity Q19925151
relation P180
type Q16521
[ANSWER]
['Q19925151', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q19925151 property:P180 ?n . ?n rdf:type ontology:Q16521 }
2
action count
action filter_type
action find
entity A Goldfinch and a Robin
relation depicts
type taxon
['A Goldfinch and a Robin', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:A_Goldfinch_and_a_Robin property:depicts ?n . ?n rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3937671 Q19925151
P136
Q1792379
USER
What are the genre for A Goldfinch and a Robin or Portrait of Vincenzo Ferdinando Ranuzzi as Amor ?
OR((Q19925151,P136,c(Q1792379)), (Q3937671,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q19925151
relation P136
action find
entity Q3937671
relation P136
type Q1792379
{'OR': [['Q19925151', 'P136', {'concept': 'Q1792379'}], ['Q3937671', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . { { resource:Q19925151 property:P136 ?p } UNION { resource:Q3937671 property:P136 ?p } } }
Portrait of Vincenzo Ferdinando Ranuzzi as Amor A Goldfinch and a Robin
action filter_type
action union
action find
entity A Goldfinch and a Robin
relation genre
action find
entity Portrait of Vincenzo Ferdinando Ranuzzi as Amor
relation genre
type art genre
{'OR': [['A Goldfinch and a Robin', 'genre', {'concept': 'art genre'}], ['Portrait of Vincenzo Ferdinando Ranuzzi as Amor', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . { { resource:A_Goldfinch_and_a_Robin property:genre ?p } UNION { resource:Portrait_of_Vincenzo_Ferdinando_Ranuzzi_as_Amor property:genre ?p } } }
[]
art genre
Q2302151 Q1400853
SYSTEM
animal painting, portrait painting
Q2302151 Q1400853
OR((Q19925151,P136,c(Q1792379)), (Q3937671,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q19925151
relation P136
action find
entity Q3937671
relation P136
type Q1792379
The genre for A Goldfinch and a Robin or Portrait of Vincenzo Ferdinando Ranuzzi as Amor are both [ANSWERS]
{'OR': [['Q19925151', 'P136', {'concept': 'Q1792379'}], ['Q3937671', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . { { resource:Q19925151 property:P136 ?p } UNION { resource:Q3937671 property:P136 ?p } } }
animal painting portrait painting
The genre for A Goldfinch and a Robin or Portrait of Vincenzo Ferdinando Ranuzzi as Amor are both animal painting and portrait painting
animal painting portrait painting
action filter_type
action union
action find
entity A Goldfinch and a Robin
relation genre
action find
entity Portrait of Vincenzo Ferdinando Ranuzzi as Amor
relation genre
type art genre
{'OR': [['A Goldfinch and a Robin', 'genre', {'concept': 'art genre'}], ['Portrait of Vincenzo Ferdinando Ranuzzi as Amor', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . { { resource:A_Goldfinch_and_a_Robin property:genre ?p } UNION { resource:Portrait_of_Vincenzo_Ferdinando_Ranuzzi_as_Amor property:genre ?p } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q189117
P136
Q502895
USER
Do Jan Matejko have those ones as genre ?
(Q189117,P136,Q2302151) (Q189117,P136,Q1400853)
action is_in
entity prev_answer
action find
entity Q189117
relation P136
['Q189117', 'P136', 'Q2302151'] ['Q189117', 'P136', 'Q1400853']
ASK WHERE { VALUES ( ?d ) { ( resource:Q2302151 ) ( resource:Q1400853 ) } . resource:Q189117 property:P136 ?d }
Jan Matejko
action is_in
entity prev_answer
action find
entity Jan Matejko
relation genre
['Jan Matejko', 'genre', 'animal painting'] ['Jan Matejko', 'genre', 'portrait painting']
ASK WHERE { VALUES ( ?d ) { ( resource:animal_painting ) ( resource:portrait_painting ) } . resource:Jan_Matejko property:genre ?d }
[]
common name
SYSTEM
YES
(Q189117,P136,Q2302151) (Q189117,P136,Q1400853)
action is_in
entity prev_answer
action find
entity Q189117
relation P136
[ANSWER]
['Q189117', 'P136', 'Q2302151'] ['Q189117', 'P136', 'Q1400853']
ASK WHERE { VALUES ( ?d ) { ( resource:Q2302151 ) ( resource:Q1400853 ) } . resource:Q189117 property:P136 ?d }
Yes
action is_in
entity prev_answer
action find
entity Jan Matejko
relation genre
['Jan Matejko', 'genre', 'animal painting'] ['Jan Matejko', 'genre', 'portrait painting']
ASK WHERE { VALUES ( ?d ) { ( resource:animal_painting ) ( resource:portrait_painting ) } . resource:Jan_Matejko property:genre ?d }
[]