Simple Question (Direct)
Simple Question
Q7144929
P19
Q56061
USER
Which administrative territory is the place of birth of Patience Abbe ?
(Q7144929,P19,c(Q56061))
action filter_type
action find
entity Q7144929
relation P19
type Q56061
['Q7144929', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q7144929 property:P19 ?r }
Patience Abbe
action filter_type
action find
entity Patience Abbe
relation place of birth
type administrative territorial entity
['Patience Abbe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Patience_Abbe property:place_of_birth ?r }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q7144929,P19,c(Q56061))
action filter_type
action find
entity Q7144929
relation P19
type Q56061
[ANSWER] is the place of birth of Patience Abbe
['Q7144929', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q7144929 property:P19 ?r }
Paris
Paris is the place of birth of Patience Abbe
Paris
action filter_type
action find
entity Patience Abbe
relation place of birth
type administrative territorial entity
['Patience Abbe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Patience_Abbe property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7144929
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q7144929
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7144929 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Patience Abbe
action filter_type
action find
entity Patience Abbe
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Patience_Abbe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q7144929
relation P106
type Q12737077
The [ANSWER] has that person as his/her 's career
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7144929 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
writer
The writer has that person as his/her 's career
writer
action filter_type
action find
entity Patience Abbe
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Patience_Abbe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36180
P425
Q1914636
USER
Which activity has that one as the associated field of occupation ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q36180 property:P425 ?j . ?j rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:writer property:field_of_this_occupation ?j . ?j rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] has that one as the associated field of occupation
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q36180 property:P425 ?j . ?j rdf:type ontology:Q1914636 }
literature
The literature has that one as the associated field of occupation
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:writer property:field_of_this_occupation ?j . ?j rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36180
P180
Q838948
USER
Which work of art depicts that occupation ?
(c(Q838948),P180,Q8242)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q8242']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P180 resource:Q36180 }
writer
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'literature']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:depicts resource:writer }
[]
work of art
Q19204877
SYSTEM
D'Alembert
Q19204877
(c(Q838948),P180,Q8242)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[ANSWER] depicts that occupation
[{'concept': 'Q838948'}, 'P180', 'Q8242']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P180 resource:Q36180 }
D'Alembert
D'Alembert depicts that occupation
D'Alembert
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'literature']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:depicts resource:writer }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P127
Q3305213
USER
Which paintings are under posessision of Paris ?
(c(Q3305213),P127,Q90)
action filter_type
action find_reverse
entity Q90
relation P127
type Q3305213
[{'concept': 'Q3305213'}, 'P127', 'Q90']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q90 . ?h rdf:type ontology:Q3305213 }
Paris
action filter_type
action find_reverse
entity Paris
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Paris']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Paris . ?h rdf:type ontology:painting }
[]
painting
Q3837491 Q326503
SYSTEM
Jacob Wrestling with the Angel, The Sleepers
Q3837491 Q326503
(c(Q3305213),P127,Q90)
action filter_type
action find_reverse
entity Q90
relation P127
type Q3305213
Jacob wrestling with the Angel and The Sleepers are under posessision of Paris
[{'concept': 'Q3305213'}, 'P127', 'Q90']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q90 . ?h rdf:type ontology:Q3305213 }
Jacob Wrestling with the Angel The Sleepers
Jacob wrestling with the Angel and The Sleepers are under posessision of Paris
Jacob Wrestling with the Angel The Sleepers
action filter_type
action find_reverse
entity Paris
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Paris']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Paris . ?h rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3837491 Q326503
P186
Q214609
USER
Which materials are used to manufacture those paintings ?
(Q3837491,P186,c(Q214609)) (Q326503,P186,c(Q214609))
action filter_type
action find
entity prev_answer
relation P186
type Q214609
['Q3837491', 'P186', {'concept': 'Q214609'}] ['Q326503', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Q3837491 ) ( resource:Q326503 ) } . ?h rdf:type ontology:Q214609 . ?x property:P186 ?h }
Jacob Wrestling with the Angel The Sleepers
action filter_type
action find
entity prev_answer
relation material used
type material
['Jacob Wrestling with the Angel', 'material used', {'concept': 'material'}] ['The Sleepers', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Jacob_Wrestling_with_the_Angel ) ( resource:The_Sleepers ) } . ?h rdf:type ontology:material . ?x property:material_used ?h }
[]
material
Q296955 Q274988 Q296955
SYSTEM
oil paint for 1st, 3rd, plaster for 2nd
Q296955 Q274988 Q296955 Q4259259
(Q3837491,P186,c(Q214609)) (Q326503,P186,c(Q214609))
action filter_type
action find
entity prev_answer
relation P186
type Q214609
[ANSWERS]
['Q3837491', 'P186', {'concept': 'Q214609'}] ['Q326503', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Q3837491 ) ( resource:Q326503 ) } . ?h rdf:type ontology:Q214609 . ?x property:P186 ?h }
oil paint plaster oil paint canvas
Oil paint, plaster and oil paint are used to manufacture those paintings
oil paint plaster oil paint
action filter_type
action find
entity prev_answer
relation material used
type material
['Jacob Wrestling with the Angel', 'material used', {'concept': 'material'}] ['The Sleepers', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Jacob_Wrestling_with_the_Angel ) ( resource:The_Sleepers ) } . ?h rdf:type ontology:material . ?x property:material_used ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q296955
P101
Q502895
USER
Which person has his/her area as that material ?
(c(Q502895),P101,Q296955)
action filter_type
action find_reverse
entity Q296955
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q296955 . ?l rdf:type ontology:Q502895 }
oil paint
action filter_type
action find_reverse
entity oil paint
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:oil_paint . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q274988
SYSTEM
Did you mean plaster ?
Q296955 Q274988 Q296955
(c(Q502895),P101,Q296955) (c(Q502895),P101,Q274988) (c(Q502895),P101,Q296955)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q296955'] [{'concept': 'Q502895'}, 'P101', 'Q274988'] [{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q296955 . ?l rdf:type ontology:Q502895 }
oil paint plaster oil paint
Did you mean plaster ?
plaster
[{'concept': 'common name'}, 'field of work', 'oil paint'] [{'concept': 'common name'}, 'field of work', 'plaster'] [{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:oil_paint . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant oil paint. Could you tell me the answer for that?
(c(Q502895),P101,Q296955)
Q296955
[{'concept': 'Q502895'}, 'P101', 'Q296955']
[{'concept': 'common name'}, 'field of work', 'oil paint']
[]
Q264559
SYSTEM
Ariana Richards
Q264559
(c(Q502895),P101,Q296955)
action filter_type
action find_reverse
entity Q296955
relation P101
type Q502895
[ANSWER] has his/her area as that material
[{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q296955 . ?l rdf:type ontology:Q502895 }
Ariana Richards
Ariana Richards has his/her area as that material
Ariana Richards
action filter_type
action find_reverse
entity oil paint
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:oil_paint . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q264559
P101
Q214609
USER
Which material is the area of that person ?
(Q264559,P101,c(Q214609))
action filter_type
action find
entity Q264559
relation P101
type Q214609
['Q264559', 'P101', {'concept': 'Q214609'}]
SELECT DISTINCT ?j WHERE { resource:Q264559 property:P101 ?j . ?j rdf:type ontology:Q214609 }
Ariana Richards
action filter_type
action find
entity Ariana Richards
relation field of work
type material
['Ariana Richards', 'field of work', {'concept': 'material'}]
SELECT DISTINCT ?j WHERE { resource:Ariana_Richards property:field_of_work ?j . ?j rdf:type ontology:material }
[]
material
Q296955
SYSTEM
oil paint
Q296955
(Q264559,P101,c(Q214609))
action filter_type
action find
entity Q264559
relation P101
type Q214609
Is [ANSWER] is the area of that person
['Q264559', 'P101', {'concept': 'Q214609'}]
SELECT DISTINCT ?j WHERE { resource:Q264559 property:P101 ?j . ?j rdf:type ontology:Q214609 }
oil paint
Is oil paint is the area of that person
oil paint
action filter_type
action find
entity Ariana Richards
relation field of work
type material
['Ariana Richards', 'field of work', {'concept': 'material'}]
SELECT DISTINCT ?j WHERE { resource:Ariana_Richards property:field_of_work ?j . ?j rdf:type ontology:material }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P186
Q16686022 Q214609 Q214609
USER
How many materials are made from around the same number of natural physical objects or materials as that material ?
(c(Q214609),P186,c(Q16686022)|c(Q214609))
action count
action approx
action union
action find_tuple_counts
relation P186
type Q214609
type Q16686022
action find_tuple_counts
relation P186
type Q214609
type Q214609
action count
action filter_multi_types
action find
entity Q296955
relation P186
type Q16686022
type Q214609
[{'concept': 'Q214609'}, 'P186', [{'concept': 'Q16686022'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?h ) { ( ontology:Q16686022 ) ( ontology:Q214609 ) } . ?n rdf:type ?h } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { { ?k rdf:type ontology:Q16686022 } UNION { ?k rdf:type ontology:Q214609 } } . resource:Q296955 property:P186 ?k } } . FILTER ( ?p = ?g ) }
action count
action approx
action union
action find_tuple_counts
relation material used
type material
type natural physical object
action find_tuple_counts
relation material used
type material
type material
action count
action filter_multi_types
action find
entity oil paint
relation material used
type natural physical object
type material
[{'concept': 'material'}, 'material used', [{'concept': 'natural physical object'}, {'concept': 'material'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?h ) { ( ontology:natural_physical_object ) ( ontology:material ) } . ?n rdf:type ?h } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { { ?k rdf:type ontology:natural_physical_object } UNION { ?k rdf:type ontology:material } } . resource:oil_paint property:material_used ?k } } . FILTER ( ?p = ?g ) }
[]
natural physical object material material
SYSTEM
6
Q911285 Q372852 Q16961891 Q4705114 Q1334655 Q1355652
(c(Q214609),P186,c(Q16686022)|c(Q214609))
action count
action approx
action union
action find_tuple_counts
relation P186
type Q214609
type Q16686022
action find_tuple_counts
relation P186
type Q214609
type Q214609
action count
action filter_multi_types
action find
entity Q296955
relation P186
type Q16686022
type Q214609
[ANSWER]
[{'concept': 'Q214609'}, 'P186', [{'concept': 'Q16686022'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?h ) { ( ontology:Q16686022 ) ( ontology:Q214609 ) } . ?n rdf:type ?h } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { { ?k rdf:type ontology:Q16686022 } UNION { ?k rdf:type ontology:Q214609 } } . resource:Q296955 property:P186 ?k } } . FILTER ( ?p = ?g ) }
hessian Drywall haircloth ala kiyiz Terrazzo plank
6
action count
action approx
action union
action find_tuple_counts
relation material used
type material
type natural physical object
action find_tuple_counts
relation material used
type material
type material
action count
action filter_multi_types
action find
entity oil paint
relation material used
type natural physical object
type material
[{'concept': 'material'}, 'material used', [{'concept': 'natural physical object'}, {'concept': 'material'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?h ) { ( ontology:natural_physical_object ) ( ontology:material ) } . ?n rdf:type ?h } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { { ?k rdf:type ontology:natural_physical_object } UNION { ?k rdf:type ontology:material } } . resource:oil_paint property:material_used ?k } } . FILTER ( ?p = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q537192
P608
Q464980 Q33506 Q3305213
USER
How many paintings were exhibited at approximately the same number of exhibitions and museums as Christ in the House of Simon ?
(c(Q3305213),P608,c(Q464980)|c(Q33506))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action count
action filter_multi_types
action find
entity Q537192
relation P608
type Q464980
type Q33506
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?w ) WHERE { { ?s property:P608 ?j . ?j rdf:type ontology:Q464980 . ?s rdf:type ontology:Q3305213 } UNION { ?s rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q33506 . ?s property:P608 ?j } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q537192 property:P608 ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?w = ?i ) }
Christ in the House of Simon
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action find_tuple_counts
relation exhibition history
type painting
type museum
action count
action filter_multi_types
action find
entity Christ in the House of Simon
relation exhibition history
type exhibition
type museum
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?w ) WHERE { { ?s property:exhibition_history ?j . ?j rdf:type ontology:exhibition . ?s rdf:type ontology:painting } UNION { ?s rdf:type ontology:painting . ?j rdf:type ontology:museum . ?s property:exhibition_history ?j } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Christ_in_the_House_of_Simon property:exhibition_history ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?w = ?i ) }
[]
exhibition museum painting
SYSTEM
13
Q18691653 Q11765899 Q23699210 Q537192 Q18343261 Q27005745 Q19914051 Q2390197 Q318944 Q18492052 Q27464761 Q18510591 Q18343236
(c(Q3305213),P608,c(Q464980)|c(Q33506))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action count
action filter_multi_types
action find
entity Q537192
relation P608
type Q464980
type Q33506
[ANSWER]
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?w ) WHERE { { ?s property:P608 ?j . ?j rdf:type ontology:Q464980 . ?s rdf:type ontology:Q3305213 } UNION { ?s rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q33506 . ?s property:P608 ?j } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q537192 property:P608 ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?w = ?i ) }
Arroyo Hondo Mary Enthroned with the Child The Body of Abel Found by Adam and Eve Christ in the House of Simon Homme en Grande Bottes Chapelle Cardon Margaret Rieche Richard St. John the Evangelist on Patmos The Last Supper Builders No. 1 The taking of Jerusalem double red "Big Bowl" (A Crow Chief)
13
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action find_tuple_counts
relation exhibition history
type painting
type museum
action count
action filter_multi_types
action find
entity Christ in the House of Simon
relation exhibition history
type exhibition
type museum
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?w ) WHERE { { ?s property:exhibition_history ?j . ?j rdf:type ontology:exhibition . ?s rdf:type ontology:painting } UNION { ?s rdf:type ontology:painting . ?j rdf:type ontology:museum . ?s property:exhibition_history ?j } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Christ_in_the_House_of_Simon property:exhibition_history ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?w = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18343236
P608
Q464980 Q33506 Q3305213
USER
And what about "Big Bowl" (A Crow Chief)?
(c(Q3305213),P608,c(Q464980)|c(Q33506))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action count
action filter_multi_types
action find
entity Q18343236
relation P608
type Q464980
type Q33506
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?j ) WHERE { { ?u property:P608 ?n . ?u rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q464980 } UNION { ?u rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q33506 . ?u property:P608 ?n } } GROUP BY ?u } . FILTER ( ?j = ?e ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q18343236 property:P608 ?h . { { ?h rdf:type ontology:Q464980 } UNION { ?h rdf:type ontology:Q33506 } } } } }
"Big Bowl" (A Crow Chief)
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action find_tuple_counts
relation exhibition history
type painting
type museum
action count
action filter_multi_types
action find
entity "Big Bowl" (A Crow Chief)
relation exhibition history
type exhibition
type museum
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?j ) WHERE { { ?u property:exhibition_history ?n . ?u rdf:type ontology:painting . ?n rdf:type ontology:exhibition } UNION { ?u rdf:type ontology:painting . ?n rdf:type ontology:museum . ?u property:exhibition_history ?n } } GROUP BY ?u } . FILTER ( ?j = ?e ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:"Big_Bowl"_(A_Crow_Chief) property:exhibition_history ?h . { { ?h rdf:type ontology:exhibition } UNION { ?h rdf:type ontology:museum } } } } }
[]
exhibition museum painting
SYSTEM
13
Q18691653 Q11765899 Q23699210 Q537192 Q18343261 Q27005745 Q19914051 Q2390197 Q318944 Q18492052 Q27464761 Q18510591 Q18343236
(c(Q3305213),P608,c(Q464980)|c(Q33506))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action count
action filter_multi_types
action find
entity Q18343236
relation P608
type Q464980
type Q33506
[ANSWER]
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?j ) WHERE { { ?u property:P608 ?n . ?u rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q464980 } UNION { ?u rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q33506 . ?u property:P608 ?n } } GROUP BY ?u } . FILTER ( ?j = ?e ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q18343236 property:P608 ?h . { { ?h rdf:type ontology:Q464980 } UNION { ?h rdf:type ontology:Q33506 } } } } }
Arroyo Hondo Mary Enthroned with the Child The Body of Abel Found by Adam and Eve Christ in the House of Simon Homme en Grande Bottes Chapelle Cardon Margaret Rieche Richard St. John the Evangelist on Patmos The Last Supper Builders No. 1 The taking of Jerusalem double red "Big Bowl" (A Crow Chief)
13
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action find_tuple_counts
relation exhibition history
type painting
type museum
action count
action filter_multi_types
action find
entity "Big Bowl" (A Crow Chief)
relation exhibition history
type exhibition
type museum
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?j ) WHERE { { ?u property:exhibition_history ?n . ?u rdf:type ontology:painting . ?n rdf:type ontology:exhibition } UNION { ?u rdf:type ontology:painting . ?n rdf:type ontology:museum . ?u property:exhibition_history ?n } } GROUP BY ?u } . FILTER ( ?j = ?e ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:"Big_Bowl"_(A_Crow_Chief) property:exhibition_history ?h . { { ?h rdf:type ontology:exhibition } UNION { ?h rdf:type ontology:museum } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q264559
P106
Q12737077
USER
How many occupations are the job of Ariana Richards ?
(Q264559,P106,c(Q12737077))
action count
action filter_type
action find
entity Q264559
relation P106
type Q12737077
['Q264559', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q264559 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Ariana Richards
action count
action filter_type
action find
entity Ariana Richards
relation occupation
type occupation
['Ariana Richards', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Ariana_Richards property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q1028181 Q10798782 Q33999
(Q264559,P106,c(Q12737077))
action count
action filter_type
action find
entity Q264559
relation P106
type Q12737077
[ANSWER]
['Q264559', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q264559 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
painter television actor actor
3
action count
action filter_type
action find
entity Ariana Richards
relation occupation
type occupation
['Ariana Richards', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Ariana_Richards property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2562660
P106
Q12737077
USER
And also tell me about Herman Gesellius?
(Q2562660,P106,c(Q12737077))
action count
action filter_type
action find
entity Q2562660
relation P106
type Q12737077
['Q2562660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q2562660 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Herman Gesellius
action count
action filter_type
action find
entity Herman Gesellius
relation occupation
type occupation
['Herman Gesellius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Herman_Gesellius property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q42973
(Q2562660,P106,c(Q12737077))
action count
action filter_type
action find
entity Q2562660
relation P106
type Q12737077
[ANSWER]
['Q2562660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q2562660 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
architect
1
action count
action filter_type
action find
entity Herman Gesellius
relation occupation
type occupation
['Herman Gesellius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Herman_Gesellius property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2281039
Q12737077
USER
And how about Sibylle Springer?
(Q2281039,P106,c(Q12737077))
action count
action filter_type
action find
entity Q2281039
relation P106
type Q12737077
['Q2281039', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q12737077 . resource:Q2281039 property:P106 ?k }
Sibylle Springer
action count
action filter_type
action find
entity Sibylle Springer
relation occupation
type occupation
['Sibylle Springer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:occupation . resource:Sibylle_Springer property:occupation ?k }
[]
occupation
SYSTEM
2
(Q2281039,P106,c(Q12737077))
action count
action filter_type
action find
entity Q2281039
relation P106
type Q12737077
[ANSWER]
['Q2281039', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q12737077 . resource:Q2281039 property:P106 ?k }
2
action count
action filter_type
action find
entity Sibylle Springer
relation occupation
type occupation
['Sibylle Springer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:occupation . resource:Sibylle_Springer property:occupation ?k }
[]