Simple Question (Direct)
Simple Question
Q1612542
P21
Q290
USER
Which sex does Hermann Rüppell belong to ?
(Q1612542,P21,c(Q290))
action filter_type
action find
entity Q1612542
relation P21
type Q290
['Q1612542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1612542 property:P21 ?b . ?b rdf:type ontology:Q290 }
Hermann Rüppell
action filter_type
action find
entity Hermann Rüppell
relation gender
type sex
['Hermann Rüppell', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Rüppell property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1612542,P21,c(Q290))
action filter_type
action find
entity Q1612542
relation P21
type Q290
Hermann Rüppell belongs to [ANSWER]
['Q1612542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1612542 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Hermann Rüppell belongs to male
male
action filter_type
action find
entity Hermann Rüppell
relation gender
type sex
['Hermann Rüppell', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Rüppell property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1612542
P734
Q82799
USER
Who has the surname that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q1612542
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q1612542 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Hermann Rüppell
action filter_type
action find
entity Hermann Rüppell
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Rüppell property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q25796520
SYSTEM
Rüppell
Q25796520
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q1612542
relation P734
type Q82799
[ANSWER] has the surname that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q1612542 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Rüppell
Rüppell has the surname that person
Rüppell
action filter_type
action find
entity Hermann Rüppell
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Rüppell property:family_name ?b . ?b rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q123120
P180
Q82799 Q838948 Q15709879
USER
Which names are demonstrated in more number of works of art and artwork series than vulture ?
(c(Q838948)|c(Q15709879),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q123120
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P180 resource:Q123120 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:P180 ?h . ?v rdf:type ontology:Q15709879 . ?h rdf:type ontology:Q82799 } UNION { ?v property:P180 ?h . ?h rdf:type ontology:Q82799 . ?v rdf:type ontology:Q838948 } } GROUP BY ?h } }
vulture
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity vulture
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:depicts resource:vulture . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:depicts ?h . ?v rdf:type ontology:artwork_series . ?h rdf:type ontology:name } UNION { ?v property:depicts ?h . ?h rdf:type ontology:name . ?v rdf:type ontology:work_of_art } } GROUP BY ?h } }
[]
name work of art artwork series
Q144 Q152 Q726
SYSTEM
dog, fish, horse
Q5 Q726 Q3736439 Q7368 Q7369 Q2092297 Q144 Q201251 Q8331 Q3537778 Q1367 Q9394 Q2734060 Q7378 Q152
(c(Q838948)|c(Q15709879),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q123120
relation P180
type Q838948
type Q15709879
[ANSWERS] are demonstrated in more number of works of art and artwork series than vulture
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P180 resource:Q123120 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:P180 ?h . ?v rdf:type ontology:Q15709879 . ?h rdf:type ontology:Q82799 } UNION { ?v property:P180 ?h . ?h rdf:type ontology:Q82799 . ?v rdf:type ontology:Q838948 } } GROUP BY ?h } }
human horse duck Ovis aries dolphin eagle dog peacock fox donkeys monkey rabbit reed elephant fish
Dog, fish and horse are demonstrated in more number of works of art and artwork series than vulture
dog fish horse
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity vulture
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:depicts resource:vulture . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:depicts ?h . ?v rdf:type ontology:artwork_series . ?h rdf:type ontology:name } UNION { ?v property:depicts ?h . ?h rdf:type ontology:name . ?v rdf:type ontology:work_of_art } } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q144 Q204776
P180
Q838948
USER
How many works of art express dog and bench ?
(c(Q838948),P180,Q144) (c(Q838948),P180,Q204776)
action count
action intersection
action filter_type
action find_reverse
entity Q144
relation P180
type Q838948
action filter_type
action find_reverse
entity Q204776
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q144'] [{'concept': 'Q838948'}, 'P180', 'Q204776']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P180 resource:Q144 . ?j rdf:type ontology:Q838948 . ?j property:P180 resource:Q204776 . ?j rdf:type ontology:Q838948 }
dog bench
action count
action intersection
action filter_type
action find_reverse
entity dog
relation depicts
type work of art
action filter_type
action find_reverse
entity bench
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'dog'] [{'concept': 'work of art'}, 'depicts', 'bench']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:depicts resource:dog . ?j rdf:type ontology:work_of_art . ?j property:depicts resource:bench . ?j rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q18156279 Q18156282
(c(Q838948),P180,Q144) (c(Q838948),P180,Q204776)
action count
action intersection
action filter_type
action find_reverse
entity Q144
relation P180
type Q838948
action filter_type
action find_reverse
entity Q204776
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q144'] [{'concept': 'Q838948'}, 'P180', 'Q204776']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P180 resource:Q144 . ?j rdf:type ontology:Q838948 . ?j property:P180 resource:Q204776 . ?j rdf:type ontology:Q838948 }
Smell À mon seul désir
2
action count
action intersection
action filter_type
action find_reverse
entity dog
relation depicts
type work of art
action filter_type
action find_reverse
entity bench
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'dog'] [{'concept': 'work of art'}, 'depicts', 'bench']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:depicts resource:dog . ?j rdf:type ontology:work_of_art . ?j property:depicts resource:bench . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q144
P689
Q16521
USER
Which taxon afflicts that name ?
action filter_type
action find_reverse
entity Q144
relation P689
type Q16521
SELECT DISTINCT ?v WHERE { ?v property:P689 resource:Q144 . ?v rdf:type ontology:Q16521 }
dog
action filter_type
action find_reverse
entity dog
relation afflicts
type taxon
SELECT DISTINCT ?v WHERE { ?v property:afflicts resource:dog . ?v rdf:type ontology:taxon }
[]
taxon
Q1995242
SYSTEM
Dirofilaria repens
Q1995242
action filter_type
action find_reverse
entity Q144
relation P689
type Q16521
[ANSWER] afflicts that name
SELECT DISTINCT ?v WHERE { ?v property:P689 resource:Q144 . ?v rdf:type ontology:Q16521 }
Dirofilaria repens
Dirofilaria repens afflicts that name
Dirofilaria repens
action filter_type
action find_reverse
entity dog
relation afflicts
type taxon
SELECT DISTINCT ?v WHERE { ?v property:afflicts resource:dog . ?v rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26899 Q144
P180
Q3305213
USER
Which paintings express dog or Aesculus hippocastanum ?
OR((c(Q3305213),P180,Q144), (c(Q3305213),P180,Q26899))
action filter_type
action union
action find_reverse
entity Q144
relation P180
action find_reverse
entity Q26899
relation P180
type Q3305213
{'OR': [[{'concept': 'Q3305213'}, 'P180', 'Q144'], [{'concept': 'Q3305213'}, 'P180', 'Q26899']]}
SELECT DISTINCT ?r WHERE { { ?r property:P180 ?x . VALUES ( ?x ) { ( resource:Q144 ) ( resource:Q26899 ) } } . ?r rdf:type ontology:Q3305213 }
Aesculus hippocastanum dog
action filter_type
action union
action find_reverse
entity dog
relation depicts
action find_reverse
entity Aesculus hippocastanum
relation depicts
type painting
{'OR': [[{'concept': 'painting'}, 'depicts', 'dog'], [{'concept': 'painting'}, 'depicts', 'Aesculus hippocastanum']]}
SELECT DISTINCT ?r WHERE { { ?r property:depicts ?x . VALUES ( ?x ) { ( resource:dog ) ( resource:Aesculus_hippocastanum ) } } . ?r rdf:type ontology:painting }
[]
painting
Q2653851 Q21494568 Q3937289 Q24040013 Q17015401 Q17644450 Q19820266 Q16941150
SYSTEM
The Elevation of the Cross, Erechtheum, Joachim among the Shepherds, Artist in Caffè Greco in Rome, Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good, St. Roch interceding for the plague-stricken, Allée des marronniers au Jas de Bouffan, January
Q2653851 Q21494568 Q3937289 Q24040013 Q17015401 Q17644450 Q19820266 Q16941150
OR((c(Q3305213),P180,Q144), (c(Q3305213),P180,Q26899))
action filter_type
action union
action find_reverse
entity Q144
relation P180
action find_reverse
entity Q26899
relation P180
type Q3305213
[ANSWERS] express dog or Aesculus hippocastanum
{'OR': [[{'concept': 'Q3305213'}, 'P180', 'Q144'], [{'concept': 'Q3305213'}, 'P180', 'Q26899']]}
SELECT DISTINCT ?r WHERE { { ?r property:P180 ?x . VALUES ( ?x ) { ( resource:Q144 ) ( resource:Q26899 ) } } . ?r rdf:type ontology:Q3305213 }
The Elevation of the Cross Erechtheum Joachim among the Shepherds Artist in Caffè Greco in Rome Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good St. Roch interceding for the plague-stricken Allée des marronniers au Jas de Bouffan January
The Elevation of the Cross, Erechtheum, Joachim among the Shepherds, Artist in Caffè Greco in Rome, Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good, St. Roch interceding for the plague-stricken, Allée des marronniers au Jas de Bouffan and January express dog or Aesculus hippocastanum
The Elevation of the Cross Erechtheum Joachim among the Shepherds Artist in Caffè Greco in Rome Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good St. Roch interceding for the plague-stricken Allée des marronniers au Jas de Bouffan January
action filter_type
action union
action find_reverse
entity dog
relation depicts
action find_reverse
entity Aesculus hippocastanum
relation depicts
type painting
{'OR': [[{'concept': 'painting'}, 'depicts', 'dog'], [{'concept': 'painting'}, 'depicts', 'Aesculus hippocastanum']]}
SELECT DISTINCT ?r WHERE { { ?r property:depicts ?x . VALUES ( ?x ) { ( resource:dog ) ( resource:Aesculus_hippocastanum ) } } . ?r rdf:type ontology:painting }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P195
Q33506 Q16970
USER
How many museums and churches contain that painting in it ?
(Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q21494568,P195,c(Q33506)) (Q21494568,P195,c(Q16970)) (Q3937289,P195,c(Q33506)) (Q3937289,P195,c(Q16970)) (Q24040013,P195,c(Q33506)) (Q24040013,P195,c(Q16970)) (Q17015401,P195,c(Q33506)) (Q17015401,P195,c(Q16970)) (Q17644450,P195,c(Q33506)) (Q17644450,P195,c(Q16970)) (Q19820266,P195,c(Q33506)) (Q19820266,P195,c(Q16970)) (Q16941150,P195,c(Q33506)) (Q16941150,P195,c(Q16970))
['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q21494568', 'P195', {'concept': 'Q33506'}] ['Q21494568', 'P195', {'concept': 'Q16970'}] ['Q3937289', 'P195', {'concept': 'Q33506'}] ['Q3937289', 'P195', {'concept': 'Q16970'}] ['Q24040013', 'P195', {'concept': 'Q33506'}] ['Q24040013', 'P195', {'concept': 'Q16970'}] ['Q17015401', 'P195', {'concept': 'Q33506'}] ['Q17015401', 'P195', {'concept': 'Q16970'}] ['Q17644450', 'P195', {'concept': 'Q33506'}] ['Q17644450', 'P195', {'concept': 'Q16970'}] ['Q19820266', 'P195', {'concept': 'Q33506'}] ['Q19820266', 'P195', {'concept': 'Q16970'}] ['Q16941150', 'P195', {'concept': 'Q33506'}] ['Q16941150', 'P195', {'concept': 'Q16970'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q20789699 property:Q5146077 ?z } UNION { resource:Q20789699 property:Q5146077 ?y } UNION { resource:Q3937289 property:Q5146077 ?z } UNION { resource:Q3937289 property:Q5146077 ?y } UNION { resource:Q24040013 property:Q5146077 ?z } UNION { resource:Q24040013 property:Q5146077 ?y } UNION { resource:Q17015401 property:Q5146077 ?z } UNION { resource:Q17015401 property:Q5146077 ?y } UNION { resource:Q17644450 property:Q5146077 ?z } UNION { resource:Q17644450 property:Q5146077 ?y } UNION { resource:Q19820266 property:Q5146077 ?z } UNION { resource:Q19820266 property:Q5146077 ?y } UNION { resource:Q262290 property:Q5146077 ?z } UNION { resource:Q262290 property:Q5146077 ?y } } . ?z rdf:type ontology:Q33506 . ?y rdf:type ontology:Q23056934 }
['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['Erechtheum', 'collection', {'concept': 'museum'}] ['Erechtheum', 'collection', {'concept': 'church'}] ['Joachim among the Shepherds', 'collection', {'concept': 'museum'}] ['Joachim among the Shepherds', 'collection', {'concept': 'church'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'museum'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'church'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'museum'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'church'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'museum'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'church'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'museum'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'church'}] ['January', 'collection', {'concept': 'museum'}] ['January', 'collection', {'concept': 'church'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:Erechtheum property:collection ?z } UNION { resource:Erechtheum property:collection ?y } UNION { resource:Joachim_among_the_Shepherds property:collection ?z } UNION { resource:Joachim_among_the_Shepherds property:collection ?y } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?z } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?y } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?z } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?y } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?z } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?y } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?z } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?y } UNION { resource:January property:collection ?z } UNION { resource:January property:collection ?y } } . ?z rdf:type ontology:museum . ?y rdf:type ontology:church }
[]
museum church
Quantitative|Count|Mult. entity type|Clarification
Q3937289
SYSTEM
Did you mean Joachim among the Shepherds ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q20789699 property:Q5146077 ?z } UNION { resource:Q20789699 property:Q5146077 ?y } UNION { resource:Q3937289 property:Q5146077 ?z } UNION { resource:Q3937289 property:Q5146077 ?y } UNION { resource:Q24040013 property:Q5146077 ?z } UNION { resource:Q24040013 property:Q5146077 ?y } UNION { resource:Q17015401 property:Q5146077 ?z } UNION { resource:Q17015401 property:Q5146077 ?y } UNION { resource:Q17644450 property:Q5146077 ?z } UNION { resource:Q17644450 property:Q5146077 ?y } UNION { resource:Q19820266 property:Q5146077 ?z } UNION { resource:Q19820266 property:Q5146077 ?y } UNION { resource:Q262290 property:Q5146077 ?z } UNION { resource:Q262290 property:Q5146077 ?y } } . ?z rdf:type ontology:Q33506 . ?y rdf:type ontology:Q23056934 }
Did you mean Joachim among the Shepherds ?
Joachim among the Shepherds
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:Erechtheum property:collection ?z } UNION { resource:Erechtheum property:collection ?y } UNION { resource:Joachim_among_the_Shepherds property:collection ?z } UNION { resource:Joachim_among_the_Shepherds property:collection ?y } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?z } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?y } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?z } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?y } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?z } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?y } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?z } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?y } UNION { resource:January property:collection ?z } UNION { resource:January property:collection ?y } } . ?z rdf:type ontology:museum . ?y rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Elevation of the Cross. Could you tell me the answer for that?
(Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q21494568,P195,c(Q33506)) (Q21494568,P195,c(Q16970)) (Q3937289,P195,c(Q33506)) (Q3937289,P195,c(Q16970)) (Q24040013,P195,c(Q33506)) (Q24040013,P195,c(Q16970)) (Q17015401,P195,c(Q33506)) (Q17015401,P195,c(Q16970)) (Q17644450,P195,c(Q33506)) (Q17644450,P195,c(Q16970)) (Q19820266,P195,c(Q33506)) (Q19820266,P195,c(Q16970)) (Q16941150,P195,c(Q33506)) (Q16941150,P195,c(Q16970))
Q2653851
['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q21494568', 'P195', {'concept': 'Q33506'}] ['Q21494568', 'P195', {'concept': 'Q16970'}] ['Q3937289', 'P195', {'concept': 'Q33506'}] ['Q3937289', 'P195', {'concept': 'Q16970'}] ['Q24040013', 'P195', {'concept': 'Q33506'}] ['Q24040013', 'P195', {'concept': 'Q16970'}] ['Q17015401', 'P195', {'concept': 'Q33506'}] ['Q17015401', 'P195', {'concept': 'Q16970'}] ['Q17644450', 'P195', {'concept': 'Q33506'}] ['Q17644450', 'P195', {'concept': 'Q16970'}] ['Q19820266', 'P195', {'concept': 'Q33506'}] ['Q19820266', 'P195', {'concept': 'Q16970'}] ['Q16941150', 'P195', {'concept': 'Q33506'}] ['Q16941150', 'P195', {'concept': 'Q16970'}]
['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['Erechtheum', 'collection', {'concept': 'museum'}] ['Erechtheum', 'collection', {'concept': 'church'}] ['Joachim among the Shepherds', 'collection', {'concept': 'museum'}] ['Joachim among the Shepherds', 'collection', {'concept': 'church'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'museum'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'church'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'museum'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'church'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'museum'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'church'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'museum'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'church'}] ['January', 'collection', {'concept': 'museum'}] ['January', 'collection', {'concept': 'church'}]
[]
SYSTEM
1 museums and 1 churches
Q1471477 Q5901
(Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q2653851,P195,c(Q33506)) (Q2653851,P195,c(Q16970)) (Q21494568,P195,c(Q33506)) (Q21494568,P195,c(Q16970)) (Q3937289,P195,c(Q33506)) (Q3937289,P195,c(Q16970)) (Q24040013,P195,c(Q33506)) (Q24040013,P195,c(Q16970)) (Q17015401,P195,c(Q33506)) (Q17015401,P195,c(Q16970)) (Q17644450,P195,c(Q33506)) (Q17644450,P195,c(Q16970)) (Q19820266,P195,c(Q33506)) (Q19820266,P195,c(Q16970)) (Q16941150,P195,c(Q33506)) (Q16941150,P195,c(Q16970))
[ANSWER]
['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q2653851', 'P195', {'concept': 'Q33506'}] ['Q2653851', 'P195', {'concept': 'Q16970'}] ['Q21494568', 'P195', {'concept': 'Q33506'}] ['Q21494568', 'P195', {'concept': 'Q16970'}] ['Q3937289', 'P195', {'concept': 'Q33506'}] ['Q3937289', 'P195', {'concept': 'Q16970'}] ['Q24040013', 'P195', {'concept': 'Q33506'}] ['Q24040013', 'P195', {'concept': 'Q16970'}] ['Q17015401', 'P195', {'concept': 'Q33506'}] ['Q17015401', 'P195', {'concept': 'Q16970'}] ['Q17644450', 'P195', {'concept': 'Q33506'}] ['Q17644450', 'P195', {'concept': 'Q16970'}] ['Q19820266', 'P195', {'concept': 'Q33506'}] ['Q19820266', 'P195', {'concept': 'Q16970'}] ['Q16941150', 'P195', {'concept': 'Q33506'}] ['Q16941150', 'P195', {'concept': 'Q16970'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q2653851 property:Q5146077 ?z } UNION { resource:Q2653851 property:Q5146077 ?y } UNION { resource:Q20789699 property:Q5146077 ?z } UNION { resource:Q20789699 property:Q5146077 ?y } UNION { resource:Q3937289 property:Q5146077 ?z } UNION { resource:Q3937289 property:Q5146077 ?y } UNION { resource:Q24040013 property:Q5146077 ?z } UNION { resource:Q24040013 property:Q5146077 ?y } UNION { resource:Q17015401 property:Q5146077 ?z } UNION { resource:Q17015401 property:Q5146077 ?y } UNION { resource:Q17644450 property:Q5146077 ?z } UNION { resource:Q17644450 property:Q5146077 ?y } UNION { resource:Q19820266 property:Q5146077 ?z } UNION { resource:Q19820266 property:Q5146077 ?y } UNION { resource:Q262290 property:Q5146077 ?z } UNION { resource:Q262290 property:Q5146077 ?y } } . ?z rdf:type ontology:Q33506 . ?y rdf:type ontology:Q23056934 }
Royal Museum of Fine Arts Antwerp (KMSKA) Cathedral of Our Lady
1 museums and 1 churches
['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['The Elevation of the Cross', 'collection', {'concept': 'museum'}] ['The Elevation of the Cross', 'collection', {'concept': 'church'}] ['Erechtheum', 'collection', {'concept': 'museum'}] ['Erechtheum', 'collection', {'concept': 'church'}] ['Joachim among the Shepherds', 'collection', {'concept': 'museum'}] ['Joachim among the Shepherds', 'collection', {'concept': 'church'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'museum'}] ['Artist in Caffè Greco in Rome', 'collection', {'concept': 'church'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'museum'}] ["Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good", 'collection', {'concept': 'church'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'museum'}] ['St. Roch interceding for the plague-stricken', 'collection', {'concept': 'church'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'museum'}] ['Allée des marronniers au Jas de Bouffan', 'collection', {'concept': 'church'}] ['January', 'collection', {'concept': 'museum'}] ['January', 'collection', {'concept': 'church'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:The_Elevation_of_the_Cross property:collection ?z } UNION { resource:The_Elevation_of_the_Cross property:collection ?y } UNION { resource:Erechtheum property:collection ?z } UNION { resource:Erechtheum property:collection ?y } UNION { resource:Joachim_among_the_Shepherds property:collection ?z } UNION { resource:Joachim_among_the_Shepherds property:collection ?y } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?z } UNION { resource:Artist_in_Caffè_Greco_in_Rome property:collection ?y } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?z } UNION { resource:Jean_Wauquelin_presenting_his_'Chroniques_de_Hainaut'_to_Philip_the_Good property:collection ?y } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?z } UNION { resource:St._Roch_interceding_for_the_plague-stricken property:collection ?y } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?z } UNION { resource:Allée_des_marronniers_au_Jas_de_Bouffan property:collection ?y } UNION { resource:January property:collection ?z } UNION { resource:January property:collection ?y } } . ?z rdf:type ontology:museum . ?y rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2653851
P17
Q15617994
USER
How many administrative territories are The Elevation of the Cross situated in ?
(Q2653851,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2653851
relation P17
type Q15617994
['Q2653851', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q2653851 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
The Elevation of the Cross
action count
action filter_type
action find
entity The Elevation of the Cross
relation country
type designation for an administrative territorial entity
['The Elevation of the Cross', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:The_Elevation_of_the_Cross property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q31
(Q2653851,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2653851
relation P17
type Q15617994
[ANSWER]
['Q2653851', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q2653851 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Belgium
1
action count
action filter_type
action find
entity The Elevation of the Cross
relation country
type designation for an administrative territorial entity
['The Elevation of the Cross', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:The_Elevation_of_the_Cross property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2653851
P186
Q214609
USER
Which material is used to construct that painting ?
action filter_type
action find
entity Q2653851
relation P186
type Q214609
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q214609 . resource:Q2653851 property:P186 ?r }
The Elevation of the Cross
action filter_type
action find
entity The Elevation of the Cross
relation material used
type material
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:material . resource:The_Elevation_of_the_Cross property:material_used ?r }
[]
material
Q296955
SYSTEM
oil paint
Q296955
action filter_type
action find
entity Q2653851
relation P186
type Q214609
[ANSWER] is used to construct that painting
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q214609 . resource:Q2653851 property:P186 ?r }
oil paint
Oil paint is used to construct that painting
oil paint
action filter_type
action find
entity The Elevation of the Cross
relation material used
type material
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:material . resource:The_Elevation_of_the_Cross property:material_used ?r }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25796520
P734 P21
Q502895
USER
Which people have Rüppell as surname and have male as the sex ?
AND((c(Q502895),P734,Q25796520), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25796520
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q25796520'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P21 resource:Q6581097 . ?c property:P734 resource:Q25796520 . ?c rdf:type ontology:Q502895 }
male Rüppell
action filter_type
action intersection
action find_reverse
entity Rüppell
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Rüppell'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:gender resource:male . ?c property:family_name resource:Rüppell . ?c rdf:type ontology:common_name }
[]
common name
Q60542 Q1612542 Q1505805
SYSTEM
Eduard Rüppell, Hermann Rüppell, Georg Rüppell
Q60542 Q1612542 Q1505805
AND((c(Q502895),P734,Q25796520), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25796520
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Rüppell as surname and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q25796520'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P21 resource:Q6581097 . ?c property:P734 resource:Q25796520 . ?c rdf:type ontology:Q502895 }
Eduard Rüppell Hermann Rüppell Georg Rüppell
Eduard Rüppell, Hermann Rüppell and Georg Rüppell have Rüppell as surname and have male as the sex
Eduard Rüppell Hermann Rüppell Georg Rüppell
action filter_type
action intersection
action find_reverse
entity Rüppell
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Rüppell'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:gender resource:male . ?c property:family_name resource:Rüppell . ?c rdf:type ontology:common_name }
[]