Simple Question (Direct)
Simple Question
Q80966
P1412
Q34770
USER
Which language does Cate Blanchett speak in ?
(Q80966,P1412,c(Q34770))
action filter_type
action find
entity Q80966
relation P1412
type Q34770
['Q80966', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q80966 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Cate Blanchett
action filter_type
action find
entity Cate Blanchett
relation languages spoken, written or signed
type language
['Cate Blanchett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Cate_Blanchett property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q80966,P1412,c(Q34770))
action filter_type
action find
entity Q80966
relation P1412
type Q34770
Cate Blanchett speaks French [ANSWER]
['Q80966', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q80966 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
Cate Blanchett speaks French English
English
action filter_type
action find
entity Cate Blanchett
relation languages spoken, written or signed
type language
['Cate Blanchett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Cate_Blanchett property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q80966
P1346
Q618779
USER
Which awards were won by Cate Blanchett ?
(c(Q618779),P1346,Q80966)
action filter_type
action find_reverse
entity Q80966
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q80966']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q618779 . ?v property:P1346 resource:Q80966 }
Cate Blanchett
action filter_type
action find_reverse
entity Cate Blanchett
relation winner
type award
[{'concept': 'award'}, 'winner', 'Cate Blanchett']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:award . ?v property:winner resource:Cate_Blanchett }
[]
award
Q518675 Q922396 Q1967719
SYSTEM
Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Broadcast Film Critics Association Award for Best Cast, National Society of Film Critics Award for Best Supporting Actress
Q501273 Q4649800 Q922396 Q922226 Q518675 Q1967719
(c(Q618779),P1346,Q80966)
action filter_type
action find_reverse
entity Q80966
relation P1346
type Q618779
The [ANSWERS] were won by Cate Blanchett
[{'concept': 'Q618779'}, 'P1346', 'Q80966']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q618779 . ?v property:P1346 resource:Q80966 }
Los Angeles Film Critics Association Award for Best Actress AACTA Award for Best Actress in a Leading Role Broadcast Film Critics Association Award for Best Cast Broadcast Film Critics Association Award for Best Actress Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture National Society of Film Critics Award for Best Supporting Actress
The Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Broadcast Film Critics Association Award for Best Cast and National Society of Film Critics Award for Best Supporting Actress were won by Cate Blanchett
Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Broadcast Film Critics Association Award for Best Cast National Society of Film Critics Award for Best Supporting Actress
action filter_type
action find_reverse
entity Cate Blanchett
relation winner
type award
[{'concept': 'award'}, 'winner', 'Cate Blanchett']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:award . ?v property:winner resource:Cate_Blanchett }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q80966
P737
Q502895
USER
Who was influenced by Cate Blanchett ?
(c(Q502895),P737,Q80966)
action filter_type
action find_reverse
entity Q80966
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q80966']
SELECT DISTINCT ?f WHERE { ?f property:P737 resource:Q80966 . ?f rdf:type ontology:Q502895 }
Cate Blanchett
action filter_type
action find_reverse
entity Cate Blanchett
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Cate Blanchett']
SELECT DISTINCT ?f WHERE { ?f property:influenced_by resource:Cate_Blanchett . ?f rdf:type ontology:common_name }
[]
common name
Q236839
SYSTEM
Natalie Dormer
Q236839
(c(Q502895),P737,Q80966)
action filter_type
action find_reverse
entity Q80966
relation P737
type Q502895
[ANSWER] was influenced by Cate Blanchett
[{'concept': 'Q502895'}, 'P737', 'Q80966']
SELECT DISTINCT ?f WHERE { ?f property:P737 resource:Q80966 . ?f rdf:type ontology:Q502895 }
Natalie Dormer
Natalie Dormer was influenced by Cate Blanchett
Natalie Dormer
action filter_type
action find_reverse
entity Cate Blanchett
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Cate Blanchett']
SELECT DISTINCT ?f WHERE { ?f property:influenced_by resource:Cate_Blanchett . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q236839
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q236839)
action filter_type
action find_reverse
entity Q236839
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q236839']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q236839 . ?v rdf:type ontology:Q838948 }
Natalie Dormer
action filter_type
action find_reverse
entity Natalie Dormer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Natalie Dormer']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Natalie_Dormer . ?v rdf:type ontology:work_of_art }
[]
work of art
Q275120 Q10307713 Q1768437
SYSTEM
Captain America: The First Avenger, The Hunger Games: Mockingjay – Part 2, Rush
Q16670788 Q19363897 Q275120 Q5123755 Q311525 Q3061599 Q10307713 Q942958 Q4142083 Q1235550 Q1768437
(c(Q838948),P161,Q236839)
action filter_type
action find_reverse
entity Q236839
relation P161
type Q838948
[ANSWERS] have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q236839']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q236839 . ?v rdf:type ontology:Q838948 }
The Riot Club The Forest Captain America: The First Avenger City of Life Flawless The Counselor The Hunger Games: Mockingjay – Part 2 Casanova The Hunger Games: Mockingjay – Part 1 W.E. Rush
Captain America: The First Avenger, The Hunger Games: Mockingjay – Part 2 and Rush have that person as actor
Captain America: The First Avenger The Hunger Games: Mockingjay – Part 2 Rush
action filter_type
action find_reverse
entity Natalie Dormer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Natalie Dormer']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Natalie_Dormer . ?v rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q130958
P180
Q838948 Q340169 Q11060274
USER
How many works of art are expressed in greater number of medias and prints than The Great Sphinx ?
(c(Q340169)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q130958
relation P180
type Q340169
type Q11060274
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { { ?a rdf:type ontology:Q838948 . ?x rdf:type ontology:Q340169 . ?x property:P180 ?a } UNION { ?x property:P180 ?a . ?x rdf:type ontology:Q11060274 . ?a rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P180 resource:Q130958 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q11060274 } } } } }
The Great Sphinx
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity The Great Sphinx
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { { ?a rdf:type ontology:work_of_art . ?x rdf:type ontology:media . ?x property:depicts ?a } UNION { ?x property:depicts ?a . ?x rdf:type ontology:print . ?a rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:depicts resource:The_Great_Sphinx . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:print } } } } }
[]
work of art media print
SYSTEM
5
Q143912 Q215194 Q267971 Q733893 Q3143107
(c(Q340169)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q130958
relation P180
type Q340169
type Q11060274
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { { ?a rdf:type ontology:Q838948 . ?x rdf:type ontology:Q340169 . ?x property:P180 ?a } UNION { ?x property:P180 ?a . ?x rdf:type ontology:Q11060274 . ?a rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P180 resource:Q130958 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q11060274 } } } } }
triumphal arch gargoyle Triton Fountain Chair of Saint Peter Humains
5
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity The Great Sphinx
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { { ?a rdf:type ontology:work_of_art . ?x rdf:type ontology:media . ?x property:depicts ?a } UNION { ?x property:depicts ?a . ?x rdf:type ontology:print . ?a rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:depicts resource:The_Great_Sphinx . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:print } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q473237
P180
Q838948 Q340169 Q11060274
USER
And what about Statue of Bartolomeo Colleoni?
(c(Q340169)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q473237
relation P180
type Q340169
type Q11060274
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?e rdf:type ?i } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P180 resource:Q473237 . { { ?a rdf:type ontology:Q340169 } UNION { ?a rdf:type ontology:Q11060274 } } } } . FILTER ( ?l > ?z ) }
Statue of Bartolomeo Colleoni
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Statue of Bartolomeo Colleoni
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:media ) ( ontology:print ) } . ?e rdf:type ?i } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:depicts resource:Statue_of_Bartolomeo_Colleoni . { { ?a rdf:type ontology:media } UNION { ?a rdf:type ontology:print } } } } . FILTER ( ?l > ?z ) }
[]
work of art media print
SYSTEM
5
Q143912 Q215194 Q267971 Q733893 Q3143107
(c(Q340169)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q473237
relation P180
type Q340169
type Q11060274
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?e rdf:type ?i } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P180 resource:Q473237 . { { ?a rdf:type ontology:Q340169 } UNION { ?a rdf:type ontology:Q11060274 } } } } . FILTER ( ?l > ?z ) }
triumphal arch gargoyle Triton Fountain Chair of Saint Peter Humains
5
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Statue of Bartolomeo Colleoni
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:media ) ( ontology:print ) } . ?e rdf:type ?i } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:depicts resource:Statue_of_Bartolomeo_Colleoni . { { ?a rdf:type ontology:media } UNION { ?a rdf:type ontology:print } } } } . FILTER ( ?l > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q80966
P19
Q56061
USER
Which administrative territory is the place of birth of Cate Blanchett ?
(Q80966,P19,c(Q56061))
action filter_type
action find
entity Q80966
relation P19
type Q56061
['Q80966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q80966 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Cate Blanchett
action filter_type
action find
entity Cate Blanchett
relation place of birth
type administrative territorial entity
['Cate Blanchett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cate_Blanchett property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3141
SYSTEM
Melbourne
Q3141
(Q80966,P19,c(Q56061))
action filter_type
action find
entity Q80966
relation P19
type Q56061
[ANSWER] is the place of birth of Cate Blanchett
['Q80966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q80966 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Melbourne
Melbourne is the place of birth of Cate Blanchett
Melbourne
action filter_type
action find
entity Cate Blanchett
relation place of birth
type administrative territorial entity
['Cate Blanchett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cate_Blanchett property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17628070
Q56061
USER
And how about Rafael Heka?
(Q17628070,P19,c(Q56061))
action filter_type
action find
entity Q17628070
relation P19
type Q56061
['Q17628070', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q17628070 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Rafael Heka
action filter_type
action find
entity Rafael Heka
relation place of birth
type administrative territorial entity
['Rafael Heka', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rafael_Heka property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8356
SYSTEM
Valladolid
Q8356
(Q17628070,P19,c(Q56061))
action filter_type
action find
entity Q17628070
relation P19
type Q56061
[ANSWER]
['Q17628070', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q17628070 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Valladolid
Valladolid
action filter_type
action find
entity Rafael Heka
relation place of birth
type administrative territorial entity
['Rafael Heka', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rafael_Heka property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3555769
P1071
Q15617994 Q20667921 Q838948
USER
Which works of art have greater number of administrative territories or french administrative divisions as their terminal assembly location than Vercingétorix ?
(c(Q838948),P1071,c(Q15617994)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action count
action filter_multi_types
action find
entity Q3555769
relation P1071
type Q15617994
type Q20667921
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q15617994'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?t WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } } GROUP BY ?t } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q3555769 property:P1071 ?o . { { ?o rdf:type ontology:Q20667921 } UNION { ?o rdf:type ontology:Q15617994 } } } } }
Vercingétorix
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action count
action filter_multi_types
action find
entity Vercingétorix
relation location of final assembly
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?t WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?t } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Vercingétorix property:location_of_final_assembly ?o . { { ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
designation for an administrative territorial entity type of french administrative division work of art
Q15123181 Q11826275 Q17023940
SYSTEM
Proserpina sarcophagus, The siesta (after Millet), Portrait of Dr. Gachet
Q17023940 Q18609768 Q18609790 Q18609791 Q18609855 Q20199990 Q11826275 Q18609795 Q15123181 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q13105422 Q19017414 Q19776419 Q18609838 Q11816717
(c(Q838948),P1071,c(Q15617994)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action count
action filter_multi_types
action find
entity Q3555769
relation P1071
type Q15617994
type Q20667921
[ANSWERS] have greater number of administrative territories or french administrative divisions as their terminal assembly location than Vercingétorix
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q15617994'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?t WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } } GROUP BY ?t } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q3555769 property:P1071 ?o . { { ?o rdf:type ontology:Q20667921 } UNION { ?o rdf:type ontology:Q15617994 } } } } }
Portrait of Dr. Gachet cinerary urn lid cinerary urn sarcophagus sarcophagus lid Female head wearing the polos The siesta (after Millet) cinerary group Proserpina sarcophagus sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid When the Music's Over effigy of Blanche de Champagne My Stuff sarcophagus lid First Steps, after Millet
Proserpina sarcophagus, The siesta (after Millet) and Portrait of Dr. Gachet have greater number of administrative territories or french administrative divisions as their terminal assembly location than Vercingétorix
Proserpina sarcophagus The siesta (after Millet) Portrait of Dr. Gachet
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action count
action filter_multi_types
action find
entity Vercingétorix
relation location of final assembly
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?t WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?t } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Vercingétorix property:location_of_final_assembly ?o . { { ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20200034
P1071
Q15617994 Q20667921 Q838948
USER
And how about Sphinx?
(c(Q838948),P1071,c(Q15617994)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action count
action filter_multi_types
action find
entity Q20200034
relation P1071
type Q15617994
type Q20667921
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q15617994'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q20200034 property:P1071 ?l . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q20667921 } } } } . FILTER ( ?s > ?e ) }
Sphinx
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action count
action filter_multi_types
action find
entity Sphinx
relation location of final assembly
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Sphinx property:location_of_final_assembly ?l . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?s > ?e ) }
[]
designation for an administrative territorial entity type of french administrative division work of art
Q15123181 Q11826275 Q17023940
SYSTEM
Proserpina sarcophagus, The siesta (after Millet), Portrait of Dr. Gachet
Q17023940 Q18609768 Q18609790 Q18609791 Q18609855 Q20199990 Q11826275 Q18609795 Q15123181 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q13105422 Q19017414 Q19776419 Q18609838 Q11816717
(c(Q838948),P1071,c(Q15617994)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action count
action filter_multi_types
action find
entity Q20200034
relation P1071
type Q15617994
type Q20667921
[ANSWERS]
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q15617994'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q20200034 property:P1071 ?l . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q20667921 } } } } . FILTER ( ?s > ?e ) }
Portrait of Dr. Gachet cinerary urn lid cinerary urn sarcophagus sarcophagus lid Female head wearing the polos The siesta (after Millet) cinerary group Proserpina sarcophagus sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid When the Music's Over effigy of Blanche de Champagne My Stuff sarcophagus lid First Steps, after Millet
Proserpina sarcophagus The siesta (after Millet) Portrait of Dr. Gachet
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action count
action filter_multi_types
action find
entity Sphinx
relation location of final assembly
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Sphinx property:location_of_final_assembly ?l . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?s > ?e ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P941
Q223393 Q15709879 Q838948
USER
Which works of art did greater number of literary genres or artwork series inspire than that work of art ?
(c(Q838948),P941,c(Q223393)|c(Q15709879))
[{'concept': 'Q838948'}, 'P941', [{'concept': 'Q223393'}, {'concept': 'Q15709879'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q15709879 }
[{'concept': 'work of art'}, 'inspired by', [{'concept': 'literary genre'}, {'concept': 'artwork series'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:literary_genre . ?x rdf:type ontology:artwork_series }
[]
literary genre artwork series work of art
Comparative|More/Less|Mult. entity type|Clarification
Q17023940
SYSTEM
Did you mean Portrait of Dr. Gachet ?
(c(Q838948),P941,c(Q223393)|c(Q15709879))
[ANSWER]
[{'concept': 'Q838948'}, 'P941', [{'concept': 'Q223393'}, {'concept': 'Q15709879'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q15709879 }
Did you mean Portrait of Dr. Gachet ?
Portrait of Dr. Gachet
[{'concept': 'work of art'}, 'inspired by', [{'concept': 'literary genre'}, {'concept': 'artwork series'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:literary_genre . ?x rdf:type ontology:artwork_series }
[]
Comparative Reasoning (All)
USER
No, I meant The siesta (after Millet). Could you tell me the answer for that?
(c(Q838948),P941,c(Q223393)|c(Q15709879))
Q11826275
[{'concept': 'Q838948'}, 'P941', [{'concept': 'Q223393'}, {'concept': 'Q15709879'}]]
[{'concept': 'work of art'}, 'inspired by', [{'concept': 'literary genre'}, {'concept': 'artwork series'}]]
[]
SYSTEM
6
Q24563763 Q17341711 Q3275883 Q16335942 Q12127530 Q1589300
(c(Q838948),P941,c(Q223393)|c(Q15709879))
[ANSWER]
[{'concept': 'Q838948'}, 'P941', [{'concept': 'Q223393'}, {'concept': 'Q15709879'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q15709879 }
Metamorphoses Monument aux morts de l'île du Souvenir Mademoiselle Fifi Métamorphoses Sleeping Beauty Blancanieves
6
[{'concept': 'work of art'}, 'inspired by', [{'concept': 'literary genre'}, {'concept': 'artwork series'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:literary_genre . ?x rdf:type ontology:artwork_series }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17023940
P17
Q15617994
USER
Which administrative territory is Portrait of Dr. Gachet located in ?
(Q17023940,P17,c(Q15617994))
action filter_type
action find
entity Q17023940
relation P17
type Q15617994
['Q17023940', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q17023940 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Portrait of Dr. Gachet
action filter_type
action find
entity Portrait of Dr. Gachet
relation country
type designation for an administrative territorial entity
['Portrait of Dr. Gachet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Portrait_of_Dr._Gachet property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q17023940,P17,c(Q15617994))
action filter_type
action find
entity Q17023940
relation P17
type Q15617994
Portrait of Dr. Gachet is located in [ANSWER]
['Q17023940', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q17023940 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Japan
Portrait of Dr. Gachet is located in Japan
Japan
action filter_type
action find
entity Portrait of Dr. Gachet
relation country
type designation for an administrative territorial entity
['Portrait of Dr. Gachet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Portrait_of_Dr._Gachet property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5102287
Q15617994
USER
And what about Chitose Station?
(Q5102287,P17,c(Q15617994))
action filter_type
action find
entity Q5102287
relation P17
type Q15617994
['Q5102287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q5102287 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Chitose Station
action filter_type
action find
entity Chitose Station
relation country
type designation for an administrative territorial entity
['Chitose Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Chitose_Station property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q5102287,P17,c(Q15617994))
action filter_type
action find
entity Q5102287
relation P17
type Q15617994
[ANSWER]
['Q5102287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q5102287 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Chitose Station
relation country
type designation for an administrative territorial entity
['Chitose Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Chitose_Station property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]