Simple Question (Direct)
Simple Question
Q18202491
P136
Q1792379
USER
What can be considered as category for Risen ?
(Q18202491,P136,c(Q1792379))
action filter_type
action find
entity Q18202491
relation P136
type Q1792379
['Q18202491', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q18202491 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
Risen
action filter_type
action find
entity Risen
relation genre
type art genre
['Risen', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Risen property:genre ?g . ?g rdf:type ontology:art_genre }
[]
art genre
Q17013749 Q130232
SYSTEM
historical film, drama film
Q17013749 Q130232
(Q18202491,P136,c(Q1792379))
action filter_type
action find
entity Q18202491
relation P136
type Q1792379
And [ANSWERS] can be considered as category for Risen
['Q18202491', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q18202491 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
historical film drama film
And historical film and drama film can be considered as category for Risen
historical film drama film
action filter_type
action find
entity Risen
relation genre
type art genre
['Risen', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Risen property:genre ?g . ?g rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18202491
P57
Q502895
USER
Which person directed Risen ?
(Q18202491,P57,c(Q502895))
action filter_type
action find
entity Q18202491
relation P57
type Q502895
['Q18202491', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q18202491 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Risen
action filter_type
action find
entity Risen
relation director
type common name
['Risen', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Risen property:director ?f . ?f rdf:type ontology:common_name }
[]
common name
Q464903
SYSTEM
Kevin Reynolds
Q464903
(Q18202491,P57,c(Q502895))
action filter_type
action find
entity Q18202491
relation P57
type Q502895
[ANSWER] directed Risen
['Q18202491', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q18202491 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Kevin Reynolds
Kevin Reynolds directed Risen
Kevin Reynolds
action filter_type
action find
entity Risen
relation director
type common name
['Risen', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Risen property:director ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q464903
P1412
Q34770
USER
Which language does that person speak in ?
(Q464903,P1412,c(Q34770))
action filter_type
action find
entity Q464903
relation P1412
type Q34770
['Q464903', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q464903 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Kevin Reynolds
action filter_type
action find
entity Kevin Reynolds
relation languages spoken, written or signed
type language
['Kevin Reynolds', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Reynolds property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q464903,P1412,c(Q34770))
action filter_type
action find
entity Q464903
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q464903', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q464903 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Kevin Reynolds
relation languages spoken, written or signed
type language
['Kevin Reynolds', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Reynolds property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7070206 Q18202491
P495
Q15617994
USER
Which administrative territories are the countries of origin of Risen or Nurse on Wheels ?
OR((Q18202491,P495,c(Q15617994)), (Q7070206,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q18202491
relation P495
action find
entity Q7070206
relation P495
type Q15617994
{'OR': [['Q18202491', 'P495', {'concept': 'Q15617994'}], ['Q7070206', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7070206 property:P495 ?i } UNION { resource:Q18202491 property:P495 ?i } } . ?i rdf:type ontology:Q15617994 }
Nurse on Wheels Risen
action filter_type
action union
action find
entity Risen
relation country of origin
action find
entity Nurse on Wheels
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Risen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Nurse on Wheels', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Nurse_on_Wheels property:country_of_origin ?i } UNION { resource:Risen property:country_of_origin ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q18202491,P495,c(Q15617994)), (Q7070206,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q18202491
relation P495
action find
entity Q7070206
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Risen or Nurse on Wheels
{'OR': [['Q18202491', 'P495', {'concept': 'Q15617994'}], ['Q7070206', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7070206 property:P495 ?i } UNION { resource:Q18202491 property:P495 ?i } } . ?i rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are the countries of origin of Risen or Nurse on Wheels
United States of America United Kingdom
action filter_type
action union
action find
entity Risen
relation country of origin
action find
entity Nurse on Wheels
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Risen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Nurse on Wheels', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Nurse_on_Wheels property:country_of_origin ?i } UNION { resource:Risen property:country_of_origin ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5712848
P180
Q12737077 Q34379 Q1792379
USER
Which art genres demonstrate more number of occupations or musical instruments than Self-Portrait with Monkey ?
(c(Q1792379),P180,c(Q12737077)|c(Q34379))
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_multi_types
action find
entity Q5712848
relation P180
type Q12737077
type Q34379
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q34379'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q34379 } } . resource:Q5712848 property:P180 ?y } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?e ) WHERE { { ?b rdf:type ontology:Q1792379 . ?k rdf:type ontology:Q12737077 . ?b property:P180 ?k } UNION { ?b property:P180 ?k . ?b rdf:type ontology:Q1792379 . ?k rdf:type ontology:Q34379 } } GROUP BY ?b } }
Self-Portrait with Monkey
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_multi_types
action find
entity Self-Portrait with Monkey
relation depicts
type occupation
type musical instrument
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'musical instrument'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:musical_instrument } } . resource:Self-Portrait_with_Monkey property:depicts ?y } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?e ) WHERE { { ?b rdf:type ontology:art_genre . ?k rdf:type ontology:occupation . ?b property:depicts ?k } UNION { ?b property:depicts ?k . ?b rdf:type ontology:art_genre . ?k rdf:type ontology:musical_instrument } } GROUP BY ?b } }
[]
occupation musical instrument art genre
Q26267230 Q18661427 Q22915045
SYSTEM
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Memorial of the people of Pori, Zinc sculptures of the Pori town hall
Q26267230 Q18661427 Q22915045 Q659396
(c(Q1792379),P180,c(Q12737077)|c(Q34379))
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_multi_types
action find
entity Q5712848
relation P180
type Q12737077
type Q34379
[ANSWERS] demonstrate more number of occupations or musical instruments than Self-Portrait with Monkey
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q34379'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q34379 } } . resource:Q5712848 property:P180 ?y } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?e ) WHERE { { ?b rdf:type ontology:Q1792379 . ?k rdf:type ontology:Q12737077 . ?b property:P180 ?k } UNION { ?b property:P180 ?k . ?b rdf:type ontology:Q1792379 . ?k rdf:type ontology:Q34379 } } GROUP BY ?b } }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Memorial of the people of Pori Zinc sculptures of the Pori town hall equestrian statue
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Memorial of the people of Pori and Zinc sculptures of the Pori town hall demonstrate more number of occupations or musical instruments than Self-Portrait with Monkey
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Memorial of the people of Pori Zinc sculptures of the Pori town hall
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_multi_types
action find
entity Self-Portrait with Monkey
relation depicts
type occupation
type musical instrument
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'musical instrument'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:musical_instrument } } . resource:Self-Portrait_with_Monkey property:depicts ?y } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?e ) WHERE { { ?b rdf:type ontology:art_genre . ?k rdf:type ontology:occupation . ?b property:depicts ?k } UNION { ?b property:depicts ?k . ?b rdf:type ontology:art_genre . ?k rdf:type ontology:musical_instrument } } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12303833
P180
Q12737077 Q34379 Q1792379
USER
And also tell me about floral painting?
(c(Q1792379),P180,c(Q12737077)|c(Q34379))
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_multi_types
action find
entity Q12303833
relation P180
type Q12737077
type Q34379
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q34379'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q12303833 property:P180 ?e . { { ?e rdf:type ontology:Q12737077 } UNION { ?e rdf:type ontology:Q34379 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?h WHERE { { ?h property:P180 ?x . ?h rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q12737077 } UNION { ?h property:P180 ?x . ?h rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q34379 } } GROUP BY ?h } }
floral painting
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_multi_types
action find
entity floral painting
relation depicts
type occupation
type musical instrument
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'musical instrument'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:floral_painting property:depicts ?e . { { ?e rdf:type ontology:occupation } UNION { ?e rdf:type ontology:musical_instrument } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?h WHERE { { ?h property:depicts ?x . ?h rdf:type ontology:art_genre . ?x rdf:type ontology:occupation } UNION { ?h property:depicts ?x . ?h rdf:type ontology:art_genre . ?x rdf:type ontology:musical_instrument } } GROUP BY ?h } }
[]
occupation musical instrument art genre
Q26267230 Q18661427 Q22915045
SYSTEM
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Memorial of the people of Pori, Zinc sculptures of the Pori town hall
Q26267230 Q18661427 Q22915045 Q659396
(c(Q1792379),P180,c(Q12737077)|c(Q34379))
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_multi_types
action find
entity Q12303833
relation P180
type Q12737077
type Q34379
[ANSWERS]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q34379'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q12303833 property:P180 ?e . { { ?e rdf:type ontology:Q12737077 } UNION { ?e rdf:type ontology:Q34379 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?h WHERE { { ?h property:P180 ?x . ?h rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q12737077 } UNION { ?h property:P180 ?x . ?h rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q34379 } } GROUP BY ?h } }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Memorial of the people of Pori Zinc sculptures of the Pori town hall equestrian statue
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Memorial of the people of Pori Zinc sculptures of the Pori town hall
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type occupation
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_multi_types
action find
entity floral painting
relation depicts
type occupation
type musical instrument
[{'concept': 'art genre'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'musical instrument'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:floral_painting property:depicts ?e . { { ?e rdf:type ontology:occupation } UNION { ?e rdf:type ontology:musical_instrument } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?h WHERE { { ?h property:depicts ?x . ?h rdf:type ontology:art_genre . ?x rdf:type ontology:occupation } UNION { ?h property:depicts ?x . ?h rdf:type ontology:art_genre . ?x rdf:type ontology:musical_instrument } } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q12303833
P27 P101
Q502895
USER
Which people have his/her area as floral painting and are a native of France ?
AND((c(Q502895),P101,Q12303833), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q12303833
relation P101
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q12303833'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P101 resource:Q12303833 . ?h property:P27 resource:Q142 }
France floral painting
action filter_type
action intersection
action find_reverse
entity floral painting
relation field of work
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'floral painting'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:field_of_work resource:floral_painting . ?h property:country_of_citizenship resource:France }
[]
common name
Q947112 Q3370650 Q534891 Q5407637 Q18535073 Q310715 Q7154580 Q2941938 Q2523019 Q2834553
SYSTEM
Some of them are Nicolas Baudesson, Paul Biva, Antoine Berjon, Eugene Petit, Iphigénie Decaux-Milet-Moreau, Henri Fantin-Latour, Paul de Longpré, Catherine Duchemin, Gerard van Spaendonck, Alexis Kreyder
Q5407637 Q16186108 Q7154580 Q2941938 Q2834553 Q310715 Q947112 Q18535073 Q3370650 Q534891 Q2523019
AND((c(Q502895),P101,Q12303833), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q12303833
relation P101
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] have his/her area as floral painting and are a native of France
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q12303833'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P101 resource:Q12303833 . ?h property:P27 resource:Q142 }
Eugene Petit Charlotte Eustace Sophie de Fuligny-Damas Paul de Longpré Catherine Duchemin Alexis Kreyder Henri Fantin-Latour Nicolas Baudesson Iphigénie Decaux-Milet-Moreau Paul Biva Antoine Berjon Gerard van Spaendonck
Nicolas Baudesson, Paul Biva, Antoine Berjon, Eugene Petit, Iphigénie Decaux-Milet-Moreau, Henri Fantin-Latour, Paul de Longpré, Catherine Duchemin, Gerard van Spaendonck and Alexis Kreyder have his/her area as floral painting and are a native of France
Nicolas Baudesson Paul Biva Antoine Berjon Eugene Petit Iphigénie Decaux-Milet-Moreau Henri Fantin-Latour Paul de Longpré Catherine Duchemin Gerard van Spaendonck Alexis Kreyder
action filter_type
action intersection
action find_reverse
entity floral painting
relation field of work
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'floral painting'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:field_of_work resource:floral_painting . ?h property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q310715
P106
Q12737077 Q28640
USER
How many occupations and professions have Henri Fantin-Latour as his/her as a career ?
(Q310715,P106,c(Q12737077)) (Q310715,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q310715
relation P106
type Q12737077
action filter_type
action find
entity Q310715
relation P106
type Q28640
['Q310715', 'P106', {'concept': 'Q12737077'}] ['Q310715', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Q310715 property:P106 ?t . ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q28640 . resource:Q310715 property:P106 ?t } }
Henri Fantin-Latour
action count
action union
action filter_type
action find
entity Henri Fantin-Latour
relation occupation
type occupation
action filter_type
action find
entity Henri Fantin-Latour
relation occupation
type profession
['Henri Fantin-Latour', 'occupation', {'concept': 'occupation'}] ['Henri Fantin-Latour', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Henri_Fantin-Latour property:occupation ?t . ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:profession . resource:Henri_Fantin-Latour property:occupation ?t } }
[]
occupation profession
SYSTEM
3 occupations and 1 professions
Q1028181 Q16947657 Q3148760 Q1925963
(Q310715,P106,c(Q12737077)) (Q310715,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q310715
relation P106
type Q12737077
action filter_type
action find
entity Q310715
relation P106
type Q28640
[ANSWER]
['Q310715', 'P106', {'concept': 'Q12737077'}] ['Q310715', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Q310715 property:P106 ?t . ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q28640 . resource:Q310715 property:P106 ?t } }
painter lithographer botanical illustrator graphic artist
3 occupations and 1 professions
action count
action union
action filter_type
action find
entity Henri Fantin-Latour
relation occupation
type occupation
action filter_type
action find
entity Henri Fantin-Latour
relation occupation
type profession
['Henri Fantin-Latour', 'occupation', {'concept': 'occupation'}] ['Henri Fantin-Latour', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Henri_Fantin-Latour property:occupation ?t . ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:profession . resource:Henri_Fantin-Latour property:occupation ?t } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19885120 Q26267230
P195
Q33506
USER
Which museums include Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Onement III in it ?
OR((Q26267230,P195,c(Q33506)), (Q19885120,P195,c(Q33506)))
action filter_type
action union
action find
entity Q26267230
relation P195
action find
entity Q19885120
relation P195
type Q33506
{'OR': [['Q26267230', 'P195', {'concept': 'Q33506'}], ['Q19885120', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q26267230 property:P195 ?q } UNION { resource:Q19885120 property:P195 ?q } } . ?q rdf:type ontology:Q33506 }
Onement III Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
action filter_type
action union
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation collection
action find
entity Onement III
relation collection
type museum
{'OR': [['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'collection', {'concept': 'museum'}], ['Onement III', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:collection ?q } UNION { resource:Onement_III property:collection ?q } } . ?q rdf:type ontology:museum }
[]
museum
Q2988142 Q188740
SYSTEM
Halle Gate, Museum of Modern Art
Q2988142 Q188740
OR((Q26267230,P195,c(Q33506)), (Q19885120,P195,c(Q33506)))
action filter_type
action union
action find
entity Q26267230
relation P195
action find
entity Q19885120
relation P195
type Q33506
[ANSWERS] include Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Onement III in it
{'OR': [['Q26267230', 'P195', {'concept': 'Q33506'}], ['Q19885120', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q26267230 property:P195 ?q } UNION { resource:Q19885120 property:P195 ?q } } . ?q rdf:type ontology:Q33506 }
Halle Gate Museum of Modern Art
Halle Gate and Museum of Modern Art include Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Onement III in it
Halle Gate Museum of Modern Art
action filter_type
action union
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation collection
action find
entity Onement III
relation collection
type museum
{'OR': [['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'collection', {'concept': 'museum'}], ['Onement III', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:collection ?q } UNION { resource:Onement_III property:collection ?q } } . ?q rdf:type ontology:museum }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q129397 Q18202491
P161
Q502895
USER
Which people starred in Risen and American Horror Story: Asylum ?
AND((Q18202491,P161,c(Q502895)), (Q129397,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q18202491
relation P161
action find
entity Q129397
relation P161
type Q502895
{'AND': [['Q18202491', 'P161', {'concept': 'Q502895'}], ['Q129397', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { resource:Q18202491 property:P161 ?z . resource:Q129397 property:P161 ?z . ?z rdf:type ontology:Q502895 }
American Horror Story: Asylum Risen
action filter_type
action intersection
action find
entity Risen
relation cast member
action find
entity American Horror Story: Asylum
relation cast member
type common name
{'AND': [['Risen', 'cast member', {'concept': 'common name'}], ['American Horror Story: Asylum', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { resource:Risen property:cast_member ?z . resource:American_Horror_Story:_Asylum property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Q223790
SYSTEM
Joseph Fiennes
Q223790
AND((Q18202491,P161,c(Q502895)), (Q129397,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q18202491
relation P161
action find
entity Q129397
relation P161
type Q502895
[ANSWER] starred in Risen and American Horror Story: Asylum
{'AND': [['Q18202491', 'P161', {'concept': 'Q502895'}], ['Q129397', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { resource:Q18202491 property:P161 ?z . resource:Q129397 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Joseph Fiennes
Joseph Fiennes starred in Risen and American Horror Story: Asylum
Joseph Fiennes
action filter_type
action intersection
action find
entity Risen
relation cast member
action find
entity American Horror Story: Asylum
relation cast member
type common name
{'AND': [['Risen', 'cast member', {'concept': 'common name'}], ['American Horror Story: Asylum', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { resource:Risen property:cast_member ?z . resource:American_Horror_Story:_Asylum property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q223790 Q11518214 Q1490388
P25
Q502895
USER
Does Joseph Fiennes have Katsunobu Kihara and Jennifer Lash as a parent ?
(Q223790,P25,Q11518214) (Q223790,P25,Q1490388)
action is_in
entity Q223790
action intersection
action find_reverse
entity Q11518214
relation P25
action find_reverse
entity Q1490388
relation P25
['Q223790', 'P25', 'Q11518214'] ['Q223790', 'P25', 'Q1490388']
ASK WHERE { resource:Q223790 property:P25 resource:Q11518214 . resource:Q223790 property:P25 resource:Q1490388 }
Joseph Fiennes Katsunobu Kihara Jennifer Lash
action is_in
entity Joseph Fiennes
action intersection
action find_reverse
entity Katsunobu Kihara
relation mother
action find_reverse
entity Jennifer Lash
relation mother
['Joseph Fiennes', 'mother', 'Katsunobu Kihara'] ['Joseph Fiennes', 'mother', 'Jennifer Lash']
ASK WHERE { resource:Joseph_Fiennes property:mother resource:Katsunobu_Kihara . resource:Joseph_Fiennes property:mother resource:Jennifer_Lash }
[]
common name
SYSTEM
NO and YES respectively
(Q223790,P25,Q11518214) (Q223790,P25,Q1490388)
action is_in
entity Q223790
action intersection
action find_reverse
entity Q11518214
relation P25
action find_reverse
entity Q1490388
relation P25
[ANSWER]
['Q223790', 'P25', 'Q11518214'] ['Q223790', 'P25', 'Q1490388']
ASK WHERE { resource:Q223790 property:P25 resource:Q11518214 . resource:Q223790 property:P25 resource:Q1490388 }
NO and YES respectively
action is_in
entity Joseph Fiennes
action intersection
action find_reverse
entity Katsunobu Kihara
relation mother
action find_reverse
entity Jennifer Lash
relation mother
['Joseph Fiennes', 'mother', 'Katsunobu Kihara'] ['Joseph Fiennes', 'mother', 'Jennifer Lash']
ASK WHERE { resource:Joseph_Fiennes property:mother resource:Katsunobu_Kihara . resource:Joseph_Fiennes property:mother resource:Jennifer_Lash }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q221679
P725
Q502895 Q1001378
USER
How many cinematic techniques had their voice dubbing done by approximately the same number of people as Meet the Robinsons ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q221679
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?d property:P725 ?j . ?d rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q1001378 . resource:Q221679 property:P725 ?l } } . FILTER ( ?z = ?k ) }
Meet the Robinsons
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Meet the Robinsons
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?d property:voice_actor ?j . ?d rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:cinematic_technique . resource:Meet_the_Robinsons property:voice_actor ?l } } . FILTER ( ?z = ?k ) }
[]
common name cinematic technique
SYSTEM
41
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q221679
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?d property:P725 ?j . ?d rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q1001378 . resource:Q221679 property:P725 ?l } } . FILTER ( ?z = ?k ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
41
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Meet the Robinsons
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?d property:voice_actor ?j . ?d rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:cinematic_technique . resource:Meet_the_Robinsons property:voice_actor ?l } } . FILTER ( ?z = ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q223790 Q187923
P106
Q12737077
USER
How many occupations have Joseph Fiennes or Ginny Weasley as his/her as a career ?
(Q223790,P106,c(Q12737077)) (Q187923,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q223790
relation P106
type Q12737077
action filter_type
action find
entity Q187923
relation P106
type Q12737077
['Q223790', 'P106', {'concept': 'Q12737077'}] ['Q187923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?f property:P106 ?r . VALUES ( ?f ) { ( resource:Q187923 ) ( resource:Q223790 ) } }
Joseph Fiennes Ginny Weasley
action count
action union
action filter_type
action find
entity Joseph Fiennes
relation occupation
type occupation
action filter_type
action find
entity Ginny Weasley
relation occupation
type occupation
['Joseph Fiennes', 'occupation', {'concept': 'occupation'}] ['Ginny Weasley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?f property:occupation ?r . VALUES ( ?f ) { ( resource:Ginny_Weasley ) ( resource:Joseph_Fiennes ) } }
[]
occupation
SYSTEM
3
Q21505200 Q2405480 Q33999
(Q223790,P106,c(Q12737077)) (Q187923,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q223790
relation P106
type Q12737077
action filter_type
action find
entity Q187923
relation P106
type Q12737077
[ANSWER]
['Q223790', 'P106', {'concept': 'Q12737077'}] ['Q187923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?f property:P106 ?r . VALUES ( ?f ) { ( resource:Q187923 ) ( resource:Q223790 ) } }
Quidditch player voice actor actor
3
action count
action union
action filter_type
action find
entity Joseph Fiennes
relation occupation
type occupation
action filter_type
action find
entity Ginny Weasley
relation occupation
type occupation
['Joseph Fiennes', 'occupation', {'concept': 'occupation'}] ['Ginny Weasley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?f property:occupation ?r . VALUES ( ?f ) { ( resource:Ginny_Weasley ) ( resource:Joseph_Fiennes ) } }
[]