Simple Question (Direct)
Simple Question
Q5056257
P140
Q9174
USER
What is the religious affiliation of Cecil Patterson ?
(Q5056257,P140,c(Q9174))
action filter_type
action find
entity Q5056257
relation P140
type Q9174
['Q5056257', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?b WHERE { resource:Q5056257 property:P140 ?b . ?b rdf:type ontology:Q9174 }
Cecil Patterson
action filter_type
action find
entity Cecil Patterson
relation religion
type religion
['Cecil Patterson', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?b WHERE { resource:Cecil_Patterson property:religion ?b . ?b rdf:type ontology:religion }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q5056257,P140,c(Q9174))
action filter_type
action find
entity Q5056257
relation P140
type Q9174
The religious affiliation of Cecil Patterson is of [ANSWER]
['Q5056257', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?b WHERE { resource:Q5056257 property:P140 ?b . ?b rdf:type ontology:Q9174 }
Anglicanism
The religious affiliation of Cecil Patterson is of Anglicanism
Anglicanism
action filter_type
action find
entity Cecil Patterson
relation religion
type religion
['Cecil Patterson', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?b WHERE { resource:Cecil_Patterson property:religion ?b . ?b rdf:type ontology:religion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5056257
P735
Q82799
USER
What is forename of Cecil Patterson ?
(Q5056257,P735,c(Q82799))
action filter_type
action find
entity Q5056257
relation P735
type Q82799
['Q5056257', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q5056257 property:P735 ?l }
Cecil Patterson
action filter_type
action find
entity Cecil Patterson
relation given name
type name
['Cecil Patterson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Cecil_Patterson property:given_name ?l }
[]
name
Q15731759
SYSTEM
Cecil
Q15731759
(Q5056257,P735,c(Q82799))
action filter_type
action find
entity Q5056257
relation P735
type Q82799
Forename of [ANSWER] Patterson is of [ANSWER]
['Q5056257', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q5056257 property:P735 ?l }
Cecil
Forename of Cecil Patterson is of Cecil
Cecil
action filter_type
action find
entity Cecil Patterson
relation given name
type name
['Cecil Patterson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Cecil_Patterson property:given_name ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q514041
P106
Q12737077 Q151885
USER
How many occupations or concepts are the professions of Dulcie Gray ?
(Q514041,P106,c(Q12737077)) (Q514041,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q514041
relation P106
type Q12737077
action filter_type
action find
entity Q514041
relation P106
type Q151885
['Q514041', 'P106', {'concept': 'Q12737077'}] ['Q514041', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } }
Dulcie Gray
action count
action union
action filter_type
action find
entity Dulcie Gray
relation occupation
type occupation
action filter_type
action find
entity Dulcie Gray
relation occupation
type concept
['Dulcie Gray', 'occupation', {'concept': 'occupation'}] ['Dulcie Gray', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:concept ) } }
[]
occupation concept
SYSTEM
4
Q482980 Q33999 Q36180 Q2259451
(Q514041,P106,c(Q12737077)) (Q514041,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q514041
relation P106
type Q12737077
action filter_type
action find
entity Q514041
relation P106
type Q151885
[ANSWER]
['Q514041', 'P106', {'concept': 'Q12737077'}] ['Q514041', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } }
author actor writer stage actor
4
action count
action union
action filter_type
action find
entity Dulcie Gray
relation occupation
type occupation
action filter_type
action find
entity Dulcie Gray
relation occupation
type concept
['Dulcie Gray', 'occupation', {'concept': 'occupation'}] ['Dulcie Gray', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:concept ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5
P180
Q82799 Q1792379 Q15709879
USER
Which names are expressed in less number of art genres and artwork series than human ?
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q5
relation P180
type Q1792379
type Q15709879
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?f WHERE { VALUES ( ?i ) { ( ontology:Q1792379 ) ( ontology:Q15709879 ) } . ?a rdf:type ?i } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P180 resource:Q5 . { { ?u rdf:type ontology:Q15709879 } UNION { ?u rdf:type ontology:Q1792379 } } } } . FILTER ( ?m < ?n ) }
human
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity human
relation depicts
type art genre
type artwork series
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?f WHERE { VALUES ( ?i ) { ( ontology:art_genre ) ( ontology:artwork_series ) } . ?a rdf:type ?i } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:depicts resource:human . { { ?u rdf:type ontology:artwork_series } UNION { ?u rdf:type ontology:art_genre } } } } . FILTER ( ?m < ?n ) }
[]
name art genre artwork series
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q5
relation P180
type Q1792379
type Q15709879
[ANSWERS] are expressed in less number of art genres and artwork series than human
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?f WHERE { VALUES ( ?i ) { ( ontology:Q1792379 ) ( ontology:Q15709879 ) } . ?a rdf:type ?i } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P180 resource:Q5 . { { ?u rdf:type ontology:Q15709879 } UNION { ?u rdf:type ontology:Q1792379 } } } } . FILTER ( ?m < ?n ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
Leek, magi and Cynara scolymus are expressed in less number of art genres and artwork series than human
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity human
relation depicts
type art genre
type artwork series
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?f WHERE { VALUES ( ?i ) { ( ontology:art_genre ) ( ontology:artwork_series ) } . ?a rdf:type ?i } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:depicts resource:human . { { ?u rdf:type ontology:artwork_series } UNION { ?u rdf:type ontology:art_genre } } } } . FILTER ( ?m < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q201251
P180
Q82799 Q1792379 Q15709879
USER
And what about peacock?
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q1792379
type Q15709879
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:Q1792379 . ?e rdf:type ontology:Q82799 . ?o property:P180 ?e } UNION { ?o property:P180 ?e . ?e rdf:type ontology:Q82799 . ?o rdf:type ontology:Q15709879 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P180 resource:Q201251 . { { ?n rdf:type ontology:Q1792379 } UNION { ?n rdf:type ontology:Q15709879 } } } } . FILTER ( ?x < ?v ) }
peacock
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type art genre
type artwork series
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:art_genre . ?e rdf:type ontology:name . ?o property:depicts ?e } UNION { ?o property:depicts ?e . ?e rdf:type ontology:name . ?o rdf:type ontology:artwork_series } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:depicts resource:peacock . { { ?n rdf:type ontology:art_genre } UNION { ?n rdf:type ontology:artwork_series } } } } . FILTER ( ?x < ?v ) }
[]
name art genre artwork series
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q1792379
type Q15709879
[ANSWERS]
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:Q1792379 . ?e rdf:type ontology:Q82799 . ?o property:P180 ?e } UNION { ?o property:P180 ?e . ?e rdf:type ontology:Q82799 . ?o rdf:type ontology:Q15709879 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P180 resource:Q201251 . { { ?n rdf:type ontology:Q1792379 } UNION { ?n rdf:type ontology:Q15709879 } } } } . FILTER ( ?x < ?v ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type art genre
type artwork series
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:art_genre . ?e rdf:type ontology:name . ?o property:depicts ?e } UNION { ?o property:depicts ?e . ?e rdf:type ontology:name . ?o rdf:type ontology:artwork_series } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:depicts resource:peacock . { { ?n rdf:type ontology:art_genre } UNION { ?n rdf:type ontology:artwork_series } } } } . FILTER ( ?x < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q134609
P180
Q82799 Q3305213 Q838948
USER
Which names are depicted in around the same number of paintings and works of art as Cynara scolymus ?
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q134609
relation P180
type Q3305213
type Q838948
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { { ?r property:P180 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q3305213 } UNION { ?r property:P180 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q838948 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { { ?s rdf:type ontology:Q3305213 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P180 resource:Q134609 } } . FILTER ( ?q = ?g ) }
Cynara scolymus
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity Cynara scolymus
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { { ?r property:depicts ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:painting } UNION { ?r property:depicts ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:work_of_art } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { { ?s rdf:type ontology:painting } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:depicts resource:Cynara_scolymus } } . FILTER ( ?q = ?g ) }
[]
name painting work of art
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q134609
relation P180
type Q3305213
type Q838948
[ANSWERS] are depicted in around the same number of paintings and works of art as Cynara scolymus
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { { ?r property:P180 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q3305213 } UNION { ?r property:P180 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q838948 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { { ?s rdf:type ontology:Q3305213 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P180 resource:Q134609 } } . FILTER ( ?q = ?g ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are depicted in around the same number of paintings and works of art as Cynara scolymus
dog leek magi
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity Cynara scolymus
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { { ?r property:depicts ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:painting } UNION { ?r property:depicts ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:work_of_art } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { { ?s rdf:type ontology:painting } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:depicts resource:Cynara_scolymus } } . FILTER ( ?q = ?g ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q82799 Q3305213 Q15709879
USER
How many names are depicted in approximately the same number of paintings or artwork series as that name ?
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15709879 }
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:name . ?x rdf:type ontology:artwork_series }
[]
name painting artwork series
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1807269
SYSTEM
Did you mean leek ?
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15709879 }
Did you mean leek ?
leek
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:name . ?x rdf:type ontology:artwork_series }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
[]
SYSTEM
52
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15709879 }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
52
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:name . ?x rdf:type ontology:artwork_series }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1321
P407
Q34770 Q82799
USER
How many languages are less number of names in than Spanish ?
(c(Q82799),P407,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P407 ?i . ?i rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:Q82799 . ?k property:P407 resource:Q1321 } } . FILTER ( ?z < ?d ) }
Spanish
action count
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:name . ?k property:language_of_work_or_name resource:Spanish } } . FILTER ( ?z < ?d ) }
[]
language name
SYSTEM
27
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P407 ?i . ?i rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:Q82799 . ?k property:P407 resource:Q1321 } } . FILTER ( ?z < ?d ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
27
action count
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:name . ?k property:language_of_work_or_name resource:Spanish } } . FILTER ( ?z < ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q576342 Q876933
P180
Q3305213
USER
Which paintings express magi or salon ?
OR((c(Q3305213),P180,Q876933), (c(Q3305213),P180,Q576342))
action filter_type
action union
action find_reverse
entity Q876933
relation P180
action find_reverse
entity Q576342
relation P180
type Q3305213
{'OR': [[{'concept': 'Q3305213'}, 'P180', 'Q876933'], [{'concept': 'Q3305213'}, 'P180', 'Q576342']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P180 resource:Q876933 } UNION { ?s property:P180 resource:Q576342 } } . ?s rdf:type ontology:Q3305213 }
salon magi
action filter_type
action union
action find_reverse
entity magi
relation depicts
action find_reverse
entity salon
relation depicts
type painting
{'OR': [[{'concept': 'painting'}, 'depicts', 'magi'], [{'concept': 'painting'}, 'depicts', 'salon']]}
SELECT DISTINCT ?s WHERE { { { ?s property:depicts resource:magi } UNION { ?s property:depicts resource:salon } } . ?s rdf:type ontology:painting }
[]
painting
Q650189 Q20064503 Q323155
SYSTEM
Adoration of the Magi, A Salon, Marienaltar
Q650189 Q20064503 Q323155
OR((c(Q3305213),P180,Q876933), (c(Q3305213),P180,Q576342))
action filter_type
action union
action find_reverse
entity Q876933
relation P180
action find_reverse
entity Q576342
relation P180
type Q3305213
[ANSWERS] express magi or salon
{'OR': [[{'concept': 'Q3305213'}, 'P180', 'Q876933'], [{'concept': 'Q3305213'}, 'P180', 'Q576342']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P180 resource:Q876933 } UNION { ?s property:P180 resource:Q576342 } } . ?s rdf:type ontology:Q3305213 }
Adoration of the Magi A Salon Marienaltar
Adoration of the Magi, A Salon and Marienaltar express magi or salon
Adoration of the Magi A Salon Marienaltar
action filter_type
action union
action find_reverse
entity magi
relation depicts
action find_reverse
entity salon
relation depicts
type painting
{'OR': [[{'concept': 'painting'}, 'depicts', 'magi'], [{'concept': 'painting'}, 'depicts', 'salon']]}
SELECT DISTINCT ?s WHERE { { { ?s property:depicts resource:magi } UNION { ?s property:depicts resource:salon } } . ?s rdf:type ontology:painting }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P800
Q3305213 Q502895
USER
Which paintings were done by around the same number of people as that painting ?
(c(Q502895),P800,c(Q3305213))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q3305213'}]
SELECT DISTINCT ?y WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19925980 }
[{'concept': 'common name'}, 'notable work', {'concept': 'painting'}]
SELECT DISTINCT ?y WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:painting }
[]
painting common name
Comparative|More/Less|Single entity type|Clarification
Q323155
SYSTEM
Did you mean Marienaltar ?
(c(Q502895),P800,c(Q3305213))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q3305213'}]
SELECT DISTINCT ?y WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19925980 }
Did you mean Marienaltar ?
Marienaltar
[{'concept': 'common name'}, 'notable work', {'concept': 'painting'}]
SELECT DISTINCT ?y WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:painting }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P800,c(Q3305213))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q3305213'}]
[{'concept': 'common name'}, 'notable work', {'concept': 'painting'}]
[]
Q323155 Q15150145 Q1119782
SYSTEM
Marienaltar, Aux gloires du Lyonnais et du Beaujolais, The Disputation with Simon Magus and the Crucifixion of Peter
Q18688358 Q3698235 Q2790378 Q18689536 Q1750739 Q430293 Q15117526 Q18579139 Q537192 Q18343261 Q3698240 Q17490650 Q573619 Q3698249 Q2604153 Q18599448 Q20098714 Q771210 Q3020438 Q2395709 Q231953 Q15117590 Q18689506 Q18685823 Q10638843 Q1684961 Q18510591 Q3633813 Q12757909 Q3605542 Q18683117 Q570188 Q17189257 Q3897208 Q2858575 Q3207064 Q2485424 Q18572502 Q577165 Q3148502 Q18343248 Q4101655 Q21232677 Q128910 Q976734 Q323155 Q18571641 Q16960320 Q2302517 Q17627640 Q714802 Q1996917 Q318944 Q18573877 Q4003126 Q3119488 Q1119782 Q3087553 Q18342630 Q7837607 Q444406 Q3649209 Q2428392 Q18599215 Q2806343 Q18686629 Q323032 Q15117710 Q3709305 Q633527 Q18502750 Q186953 Q3395798 Q1996932 Q3352607 Q723479 Q5189805 Q15950485 Q567861 Q18564033 Q1539066 Q285392 Q18343236 Q5109001 Q15117703 Q5230430 Q15150145 Q1753248 Q3425292 Q3985203 Q737232 Q2998781 Q6057356 Q2741537 Q19697889 Q3962310 Q1109857 Q4731387 Q18591537 Q18346971 Q3115074 Q3698266 Q18599436 Q1523608 Q18522949 Q733017 Q325212 Q18449375 Q977200 Q18591430 Q18492052 Q2940876 Q18572537 Q18688149 Q5829280 Q2574202
(c(Q502895),P800,c(Q3305213))
[ANSWERS] were done by around the same number of people as that painting
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q3305213'}]
SELECT DISTINCT ?y WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q19925980 }
Joseph Reveals Himself to His Brothers Crucifixion of Bernardo Daddi Last Supper Hanuman returns the mountain with the four healing plants to the Himalayas San Cassiano Altarpiece The Resurrection Basilica Santa Maria Maggiore The Tree Christ in the House of Simon Homme en Grande Bottes Crucifix Abundantia. Les dons de la mer Black Madonna of Częstochowa Crucifx Funerary Monument to Sir John Hawkwood Secret Rest on the Flight to Egypt Assumption of the Virgin De la verticale à l'oblique Champ de coquelicots Two Chained Monkeys Basilica San Pietro The removal of the Sculptures from the Pediments of the Parthenon by Elgin The Parthenon from the Northwest The Princess and the Trolls The Apotheosis of Washington double red Banquet of Herod The Proclamation of Dušan's Law Codex Adoration of the shepherds Archangel Michael Trinity Brita at the Piano The Crossing of the Red Sea Apotheosis of Palermo La Carte du ciel The Donation of Constantine Pendant with Miniature Portrait of Ellen Percy Sermon and Deeds of the Antichrist Il faut se méfier des mots "Bourgeois" W---r, and His Squaw At Binsey, near Oxford The Crucifixion The Last Supper Ceiling fresco in the staircase of the Würzburg Residence Marienaltar Nude Detroit Chimera Graffiti Mural Ecce Homo Etna Along the River During the Qingming Festival The Baptism of Constantine The Last Supper The Gods Sing and Dance for Shiva and Parvati Last Supper Commemoration of Guidoriccio Da Fogliano at the Siege of Montemassi The Disputation with Simon Magus and the Crucifixion of Peter Fresque monumentale A Fair on the Outskirts of Dublin Tree of Life mural Sitting Ducks Our Lady of the Don Třeboň Altarpiece Untitled (Woman Walking) (Put) on a fixed point (taken) from a fixed point (Lawrence Weiner) The Selling of Joseph Miraflores Altarpiece Basilica San Paolo fuori le mura Descent from Mount Sinai Triumph of Caesar Camel Caravan at Rest School of Athens Cervara Polyptych The Battle of the Milvian Bridge One Nation Under CCTV Madonna del Parto Crucifixion, seen from the Cross Tunnelvision The Last Judgment Mohler Barn Trojeručica Mérode Altarpiece "Big Bowl" (A Crow Chief) Christ the Redeemer Basilica San Giovanni in Laterano Presencia de América Latina Aux gloires du Lyonnais et du Beaujolais Racławice Panorama Rendez-vous à l'angle des rues de Belleville et Julien Lacroix Testament and Death of Moses Magi Chapel Couleur en masses Night Landscape with Monastery in Ruins Adoration of the shepherds Pornocrates Sixtus IV Appointing Platina as Prefect of the Vatican Library Crucifixion of Saint Ranieri Allegory of Divine Providence and Barberini Power View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Resurrection grande fresque de la gare de Lyon Crucifix no. 434 Vomit is Culture Wurzach Altar The Silk Mill during the fire of 1910 Saint George and the Princess Miró Wall Autumn Holy Trinity View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Builders No. 1 Cascades de temps Pink Carnation Qasam al-Abbas Arrives from Mecca and Crushes Tahmasp with a Mace Slave Labour Tennis Girl
Marienaltar, Aux gloires du Lyonnais et du Beaujolais and The Disputation with Simon Magus and the Crucifixion of Peter were done by around the same number of people as that painting
Marienaltar Aux gloires du Lyonnais et du Beaujolais The Disputation with Simon Magus and the Crucifixion of Peter
[{'concept': 'common name'}, 'notable work', {'concept': 'painting'}]
SELECT DISTINCT ?y WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:painting }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15150145
P800
Q502895
USER
Which person has that painting as a notable work ?
(c(Q502895),P800,Q15150145)
action filter_type
action find_reverse
entity Q15150145
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q15150145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P800 resource:Q15150145 }
Aux gloires du Lyonnais et du Beaujolais
action filter_type
action find_reverse
entity Aux gloires du Lyonnais et du Beaujolais
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Aux gloires du Lyonnais et du Beaujolais']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:notable_work resource:Aux_gloires_du_Lyonnais_et_du_Beaujolais }
[]
common name
Clarification for simple ques.
Q1119782
SYSTEM
Did you mean The Disputation with Simon Magus and the Crucifixion of Peter ?
Q323155 Q15150145 Q1119782
(c(Q502895),P800,Q323155) (c(Q502895),P800,Q15150145) (c(Q502895),P800,Q1119782)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q323155'] [{'concept': 'Q502895'}, 'P800', 'Q15150145'] [{'concept': 'Q502895'}, 'P800', 'Q1119782']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P800 resource:Q15150145 }
Marienaltar Aux gloires du Lyonnais et du Beaujolais The Disputation with Simon Magus and the Crucifixion of Peter
Did you mean The Disputation with Simon Magus and the Crucifixion of Peter ?
The Disputation with Simon Magus and the Crucifixion of Peter
[{'concept': 'common name'}, 'notable work', 'Marienaltar'] [{'concept': 'common name'}, 'notable work', 'Aux gloires du Lyonnais et du Beaujolais'] [{'concept': 'common name'}, 'notable work', 'The Disputation with Simon Magus and the Crucifixion of Peter']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:notable_work resource:Aux_gloires_du_Lyonnais_et_du_Beaujolais }
[]
Simple Question (Coreferenced)
USER
No, I meant Aux gloires du Lyonnais et du Beaujolais. Could you tell me the answer for that?
(c(Q502895),P800,Q15150145)
Q15150145
[{'concept': 'Q502895'}, 'P800', 'Q15150145']
[{'concept': 'common name'}, 'notable work', 'Aux gloires du Lyonnais et du Beaujolais']
[]
Q535800
SYSTEM
Louis Édouard Fournier
Q535800
(c(Q502895),P800,Q15150145)
action filter_type
action find_reverse
entity Q15150145
relation P800
type Q502895
[ANSWER] has that painting as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q15150145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P800 resource:Q15150145 }
Louis Édouard Fournier
Louis Édouard Fournier has that painting as a notable work
Louis Édouard Fournier
action filter_type
action find_reverse
entity Aux gloires du Lyonnais et du Beaujolais
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Aux gloires du Lyonnais et du Beaujolais']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:notable_work resource:Aux_gloires_du_Lyonnais_et_du_Beaujolais }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q535800
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q535800,P20,c(Q56061))
action filter_type
action find
entity Q535800
relation P20
type Q56061
['Q535800', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q535800 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Louis Édouard Fournier
action filter_type
action find
entity Louis Édouard Fournier
relation place of death
type administrative territorial entity
['Louis Édouard Fournier', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Édouard_Fournier property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q535800,P20,c(Q56061))
action filter_type
action find
entity Q535800
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q535800', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q535800 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Louis Édouard Fournier
relation place of death
type administrative territorial entity
['Louis Édouard Fournier', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Édouard_Fournier property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q535800
P166
Q618779
USER
What were awarded to that person ?
(Q90,P166,c(Q618779))
action filter_type
action find
entity Q535800
relation P166
type Q618779
['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q535800 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Louis Édouard Fournier
action filter_type
action find
entity Louis Édouard Fournier
relation award received
type award
['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Édouard_Fournier property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q576434 Q10855271
SYSTEM
Prix de Rome, Knight of the Legion of Honour
Q576434 Q10855271
(Q90,P166,c(Q618779))
action filter_type
action find
entity Q535800
relation P166
type Q618779
[ANSWERS] were awarded to that person
['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q535800 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Prix de Rome Knight of the Legion of Honour
Prix de Rome and Knight of the Legion of Honour were awarded to that person
Prix de Rome Knight of the Legion of Honour
action filter_type
action find
entity Louis Édouard Fournier
relation award received
type award
['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Édouard_Fournier property:award_received ?b . ?b rdf:type ontology:award }
[]