Simple Question (Direct)
Simple Question
Q4503177
P21
Q290
USER
Which sex does Aleksandr Tsaregorodtsev possess ?
(Q4503177,P21,c(Q290))
action filter_type
action find
entity Q4503177
relation P21
type Q290
['Q4503177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4503177 property:P21 ?c . ?c rdf:type ontology:Q290 }
Aleksandr Tsaregorodtsev
action filter_type
action find
entity Aleksandr Tsaregorodtsev
relation gender
type sex
['Aleksandr Tsaregorodtsev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Aleksandr_Tsaregorodtsev property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4503177,P21,c(Q290))
action filter_type
action find
entity Q4503177
relation P21
type Q290
Aleksandr Tsaregorodtsev possesses de [ANSWER]
['Q4503177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4503177 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Aleksandr Tsaregorodtsev possesses de male
male
action filter_type
action find
entity Aleksandr Tsaregorodtsev
relation gender
type sex
['Aleksandr Tsaregorodtsev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Aleksandr_Tsaregorodtsev property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4503177
P19
Q16521
USER
Which taxon is the birthplace of that person ?
(Q6581097,P19,c(Q16521))
action filter_type
action find
entity Q4503177
relation P19
type Q16521
['Q6581097', 'P19', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q4503177 property:P19 ?d }
Aleksandr Tsaregorodtsev
action filter_type
action find
entity Aleksandr Tsaregorodtsev
relation place of birth
type taxon
['male', 'place of birth', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Aleksandr_Tsaregorodtsev property:place_of_birth ?d }
[]
taxon
Q339517
SYSTEM
Crossbill
Q339517
(Q6581097,P19,c(Q16521))
action filter_type
action find
entity Q4503177
relation P19
type Q16521
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q4503177 property:P19 ?d }
Crossbill
Crossbill is the birthplace of that person
Crossbill
action filter_type
action find
entity Aleksandr Tsaregorodtsev
relation place of birth
type taxon
['male', 'place of birth', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Aleksandr_Tsaregorodtsev property:place_of_birth ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q20668010
P180
Q16521 Q386724
USER
How many works express less number of taxons than Funerary banquet ?
(c(Q386724),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q386724
type Q16521
action count
action filter_type
action find
entity Q20668010
relation P180
type Q16521
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?r ) WHERE { ?a property:P180 ?d . ?a rdf:type ontology:Q386724 . ?d rdf:type ontology:Q16521 } GROUP BY ?a } . FILTER ( ?r < ?f ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q20668010 property:P180 ?y . ?y rdf:type ontology:Q16521 } } }
Funerary banquet
action count
action less
action find_tuple_counts
relation depicts
type work
type taxon
action count
action filter_type
action find
entity Funerary banquet
relation depicts
type taxon
[{'concept': 'work'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?r ) WHERE { ?a property:depicts ?d . ?a rdf:type ontology:work . ?d rdf:type ontology:taxon } GROUP BY ?a } . FILTER ( ?r < ?f ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Funerary_banquet property:depicts ?y . ?y rdf:type ontology:taxon } } }
[]
taxon work
SYSTEM
42
Q27266011 Q18818942 Q20018619 Q18822501 Q3227124 Q7604478 Q18822442 Q2901063 Q20655984 Q23301843 Q27245162 Q3842557 Q25351982 Q16961954 Q20668011 Q18760514 Q20018598 Q18350631 Q208120 Q7772874 Q20012212 Q20012204 Q20012219 Q577890 Q1638622 Q11725617 Q27783590 Q2410932 Q1684762 Q18602499 Q18676635 Q3000066 Q3387593 Q20667955 Q20655689 Q17986845 Q20667953 Q18397036 Q1213160 Q2619037 Q7884355 Q2908939
(c(Q386724),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q386724
type Q16521
action count
action filter_type
action find
entity Q20668010
relation P180
type Q16521
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?r ) WHERE { ?a property:P180 ?d . ?a rdf:type ontology:Q386724 . ?d rdf:type ontology:Q16521 } GROUP BY ?a } . FILTER ( ?r < ?f ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q20668010 property:P180 ?y . ?y rdf:type ontology:Q16521 } } }
Robin Hood The Holy Family in a Landscape Procession of the Panathenaic festival Tarquinius and Lucretia le serment du jeu de paume Statue of Clement X Portrait of Gabriel-Charles Bidault Borghese Vase Georgiana Spencer, Duchess of Devonshire La Trace du lièvre Hidalgo The Virgin and Child with Saint Andrew and Saint Peter Labyrinth Disney Partners Statue Funerary stele of Thalea Entombment of Christ Plaque of the Ergastines I'm too sad to tell you caryatid The Vision of Constantine Female head Banquet scene Griffin Alexamenos graffito Adoration of the Magi George Washington Melancholy My God, Help Me to Survive This Deadly Love Manchester Madonna Mountain Stream, Yemen Valley, Palestine Splatter Analysis Lycurgus Cup Unfinished Portrait of General Bonaparte Funerary stele of Adea and Thrãson Unfinished painting Mae West Lips Sofa Apparition of the Dioscuri at a banquet Landscape with castle The Entombment Portrait of Madame Récamier Unfinished portrait of Franklin D. Roosevelt Bois Protat
42
action count
action less
action find_tuple_counts
relation depicts
type work
type taxon
action count
action filter_type
action find
entity Funerary banquet
relation depicts
type taxon
[{'concept': 'work'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?r ) WHERE { ?a property:depicts ?d . ?a rdf:type ontology:work . ?d rdf:type ontology:taxon } GROUP BY ?a } . FILTER ( ?r < ?f ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Funerary_banquet property:depicts ?y . ?y rdf:type ontology:taxon } } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q24566554
Q16521
USER
And also tell me about Gaunant Mawr, a great waterfall near Snowden?
(Q24566554,P180,c(Q16521))
action count
action filter_type
action find
entity Q24566554
relation P180
type Q16521
['Q24566554', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q24566554 property:P180 ?p . ?p rdf:type ontology:Q16521 }
Gaunant Mawr, a great waterfall near Snowden
action count
action filter_type
action find
entity Gaunant Mawr, a great waterfall near Snowden
relation depicts
type taxon
['Gaunant Mawr, a great waterfall near Snowden', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Gaunant_Mawr,_a_great_waterfall_near_Snowden property:depicts ?p . ?p rdf:type ontology:taxon }
[]
taxon
SYSTEM
1
(Q24566554,P180,c(Q16521))
action count
action filter_type
action find
entity Q24566554
relation P180
type Q16521
[ANSWER]
['Q24566554', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q24566554 property:P180 ?p . ?p rdf:type ontology:Q16521 }
1
action count
action filter_type
action find
entity Gaunant Mawr, a great waterfall near Snowden
relation depicts
type taxon
['Gaunant Mawr, a great waterfall near Snowden', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Gaunant_Mawr,_a_great_waterfall_near_Snowden property:depicts ?p . ?p rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q16521 Q3305213
USER
How many paintings depict exactly 2 taxons ?
(c(Q3305213),P180,c(Q16521))
action count
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q16521
value 2
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?s property:P180 ?u . ?s rdf:type ontology:Q3305213 . ?u rdf:type ontology:Q16521 } GROUP BY ?s } }
action count
action equal
action find_tuple_counts
relation depicts
type painting
type taxon
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?s property:depicts ?u . ?s rdf:type ontology:painting . ?u rdf:type ontology:taxon } GROUP BY ?s } }
[]
taxon painting
SYSTEM
4
Q20022416 Q25541602 Q5856992 Q18591537
(c(Q3305213),P180,c(Q16521))
action count
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q16521
value 2
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?s property:P180 ?u . ?s rdf:type ontology:Q3305213 . ?u rdf:type ontology:Q16521 } GROUP BY ?s } }
View of a Roman house Le Toucher February View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
4
action count
action equal
action find_tuple_counts
relation depicts
type painting
type taxon
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?s property:depicts ?u . ?s rdf:type ontology:painting . ?u rdf:type ontology:taxon } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2510869
Q16521
USER
And how about Concert in the Egg?
(Q2510869,P180,c(Q16521))
action count
action filter_type
action find
entity Q2510869
relation P180
type Q16521
['Q2510869', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q2510869 property:P180 ?q . ?q rdf:type ontology:Q16521 }
Concert in the Egg
action count
action filter_type
action find
entity Concert in the Egg
relation depicts
type taxon
['Concert in the Egg', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Concert_in_the_Egg property:depicts ?q . ?q rdf:type ontology:taxon }
[]
taxon
SYSTEM
3
(Q2510869,P180,c(Q16521))
action count
action filter_type
action find
entity Q2510869
relation P180
type Q16521
[ANSWER]
['Q2510869', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q2510869 property:P180 ?q . ?q rdf:type ontology:Q16521 }
3
action count
action filter_type
action find
entity Concert in the Egg
relation depicts
type taxon
['Concert in the Egg', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Concert_in_the_Egg property:depicts ?q . ?q rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20410300 Q20668010
P195
Q2668072
USER
Which collections include Funerary banquet or Prospekt af Frederiksborg Slot in it ?
OR((Q20668010,P195,c(Q2668072)), (Q20410300,P195,c(Q2668072)))
action filter_type
action union
action find
entity Q20668010
relation P195
action find
entity Q20410300
relation P195
type Q2668072
{'OR': [['Q20668010', 'P195', {'concept': 'Q2668072'}], ['Q20410300', 'P195', {'concept': 'Q2668072'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?q ) { ( resource:Q20668010 ) ( resource:Q20410300 ) } . ?q property:P195 ?c } . ?c rdf:type ontology:Q2668072 }
Prospekt af Frederiksborg Slot Funerary banquet
action filter_type
action union
action find
entity Funerary banquet
relation collection
action find
entity Prospekt af Frederiksborg Slot
relation collection
type collection
{'OR': [['Funerary banquet', 'collection', {'concept': 'collection'}], ['Prospekt af Frederiksborg Slot', 'collection', {'concept': 'collection'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?q ) { ( resource:Funerary_banquet ) ( resource:Prospekt_af_Frederiksborg_Slot ) } . ?q property:collection ?c } . ?c rdf:type ontology:collection }
[]
collection
Q671384 Q3044747
SYSTEM
Statens Museum for Kunst, Department of Greek, Etruscan, and Roman Antiquities of the Louvre
Q671384 Q3044747
OR((Q20668010,P195,c(Q2668072)), (Q20410300,P195,c(Q2668072)))
action filter_type
action union
action find
entity Q20668010
relation P195
action find
entity Q20410300
relation P195
type Q2668072
[ANSWERS]
{'OR': [['Q20668010', 'P195', {'concept': 'Q2668072'}], ['Q20410300', 'P195', {'concept': 'Q2668072'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?q ) { ( resource:Q20668010 ) ( resource:Q20410300 ) } . ?q property:P195 ?c } . ?c rdf:type ontology:Q2668072 }
Statens Museum for Kunst Department of Greek, Etruscan, and Roman Antiquities of the Louvre
Statens Museum for Kunst and Department of Greek, Etruscan, and Roman Antiquities of the Louvre include Funerary banquet or Prospekt af Frederiksborg Slot in it
Statens Museum for Kunst Department of Greek, Etruscan, and Roman Antiquities of the Louvre
action filter_type
action union
action find
entity Funerary banquet
relation collection
action find
entity Prospekt af Frederiksborg Slot
relation collection
type collection
{'OR': [['Funerary banquet', 'collection', {'concept': 'collection'}], ['Prospekt af Frederiksborg Slot', 'collection', {'concept': 'collection'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?q ) { ( resource:Funerary_banquet ) ( resource:Prospekt_af_Frederiksborg_Slot ) } . ?q property:collection ?c } . ?c rdf:type ontology:collection }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q15709879 Q3516658
USER
How many taxons are demonstrated in exactly 1 artwork series and heraldic symbols ?
(c(Q15709879)|c(Q3516658),P180,c(Q16521))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3516658
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h rdf:type ontology:Q15709879 . ?p rdf:type ontology:Q16521 . ?h property:P180 ?p } UNION { ?h property:P180 ?p . ?h rdf:type ontology:Q3516658 . ?p rdf:type ontology:Q16521 } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type artwork series
action find_reverse_tuple_counts
relation depicts
type taxon
type heraldic symbol
value 1
[[{'concept': 'artwork series'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h rdf:type ontology:artwork_series . ?p rdf:type ontology:taxon . ?h property:depicts ?p } UNION { ?h property:depicts ?p . ?h rdf:type ontology:heraldic_symbol . ?p rdf:type ontology:taxon } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
taxon artwork series heraldic symbol
SYSTEM
34
Q34718 Q146911 Q577736 Q3916957 Q310387 Q602028 Q753235 Q25356 Q171497 Q44789 Q5113 Q2102 Q3544136 Q156533 Q157555 Q39918 Q131565 Q13189 Q12106 Q157952 Q312131 Q104212 Q25239 Q138945 Q131770 Q83483 Q44120 Q130980 Q157763 Q269195 Q309490 Q147641 Q156901 Q138047
(c(Q15709879)|c(Q3516658),P180,c(Q16521))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3516658
value 1
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h rdf:type ontology:Q15709879 . ?p rdf:type ontology:Q16521 . ?h property:P180 ?p } UNION { ?h property:P180 ?p . ?h rdf:type ontology:Q3516658 . ?p rdf:type ontology:Q16521 } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
rhinoceros Cupressus Dicynodon turnip Megatherium Teleosaurus labyrinthodont Populus Helianthus annuus Morus bird snake Megaloceros Foxgloves Digitalis purpurea Prunus dulcis Ichthyosaurus Prunus persica Triticum Dracaena draco Mosasaurus common hop alder Anoplotherium Hylaeosaurus sea urchin Prunus domestica Iguanodon Prunus mume Plesiosaur Pterodactylus Aquilegia Iris Palaeotherium
34
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type artwork series
action find_reverse_tuple_counts
relation depicts
type taxon
type heraldic symbol
value 1
[[{'concept': 'artwork series'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h rdf:type ontology:artwork_series . ?p rdf:type ontology:taxon . ?h property:depicts ?p } UNION { ?h property:depicts ?p . ?h rdf:type ontology:heraldic_symbol . ?p rdf:type ontology:taxon } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]