Simple Question (Direct)
Simple Question
Q3281934
P462
Q1075
USER
Which color is associated with The Greening of Whitney Brown ?
(Q3281934,P462,c(Q1075))
action filter_type
action find
entity Q3281934
relation P462
type Q1075
['Q3281934', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { resource:Q3281934 property:P462 ?i . ?i rdf:type ontology:Q1075 }
The Greening of Whitney Brown
action filter_type
action find
entity The Greening of Whitney Brown
relation color
type color
['The Greening of Whitney Brown', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { resource:The_Greening_of_Whitney_Brown property:color ?i . ?i rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q3281934,P462,c(Q1075))
action filter_type
action find
entity Q3281934
relation P462
type Q1075
The [ANSWER] is associated with The Greening of Whitney Brown
['Q3281934', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { resource:Q3281934 property:P462 ?i . ?i rdf:type ontology:Q1075 }
color
The color is associated with The Greening of Whitney Brown
color
action filter_type
action find
entity The Greening of Whitney Brown
relation color
type color
['The Greening of Whitney Brown', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { resource:The_Greening_of_Whitney_Brown property:color ?i . ?i rdf:type ontology:color }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q846870
P674
Q502895 Q95074 Q838948
USER
How many works of art have the character around the same number of people and fictional characters as Prometheus Bound ?
(c(Q838948),P674,c(Q502895)|c(Q95074))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q502895
action find_tuple_counts
relation P674
type Q838948
type Q95074
action count
action filter_multi_types
action find
entity Q846870
relation P674
type Q502895
type Q95074
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q846870 property:P674 ?p . { { ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q95074 } } } } . FILTER ( ?d = ?u ) }
Prometheus Bound
action count
action approx
action union
action find_tuple_counts
relation characters
type work of art
type common name
action find_tuple_counts
relation characters
type work of art
type fictional character
action count
action filter_multi_types
action find
entity Prometheus Bound
relation characters
type common name
type fictional character
[{'concept': 'work of art'}, 'characters', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Prometheus_Bound property:characters ?p . { { ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:fictional_character } } } } . FILTER ( ?d = ?u ) }
[]
common name fictional character work of art
SYSTEM
117
Q309048 Q3091040 Q86440 Q20736738 Q13393950 Q2893677 Q7230176 Q1216139 Q3226385 Q3230758 Q1254421 Q23701769 Q2312519 Q20711488 Q969098 Q1764277 Q206400 Q868483 Q286381 Q846870 Q945342 Q26768828 Q903424 Q18170404 Q3481943 Q3320792 Q3231331 Q568928 Q241077 Q471066 Q512807 Q2911576 Q1196012 Q29478 Q11053391 Q788676 Q754687 Q614607 Q632743 Q5437016 Q961492 Q2864475 Q3820032 Q375786 Q3221287 Q14772351 Q3278137 Q15005 Q3247743 Q3332723 Q16933688 Q559310 Q3213141 Q148643 Q3278101 Q332387 Q130283 Q1246408 Q4205446 Q705232 Q3483718 Q1189436 Q7283713 Q4409901 Q758588 Q672319 Q3221640 Q12900461 Q1368693 Q3246902 Q4146306 Q1233164 Q11688406 Q341482 Q3211245 Q498150 Q16201590 Q412341 Q2022683 Q294001 Q733444 Q753298 Q4261490 Q506546 Q41567 Q2869617 Q2972876 Q746818 Q1216943 Q1476152 Q1415903 Q2882090 Q102754 Q83186 Q4851394 Q1233203 Q650063 Q888131 Q667750 Q2834224 Q26833 Q5380161 Q7752052 Q2634066 Q4796620 Q3246423 Q1224659 Q23395 Q934597 Q793366 Q3515611 Q587921 Q844836 Q337078 Q583392 Q740134 Q2924384
(c(Q838948),P674,c(Q502895)|c(Q95074))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q502895
action find_tuple_counts
relation P674
type Q838948
type Q95074
action count
action filter_multi_types
action find
entity Q846870
relation P674
type Q502895
type Q95074
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q846870 property:P674 ?p . { { ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q95074 } } } } . FILTER ( ?d = ?u ) }
King Kong Furia à Bahia pour OSS 117 The Tempest Kullervo My Little Pony: Equestria Girls Beep, Beep Porky and Gabby The Suppliants Arsène Lupin Returns The Adventures of Arsène Lupin Dracula Periandros van Korinthe Home Harry Potter and the Cursed Child Phèdre Taras Bulba The Merchant of Venice A Chinese Odyssey Medea Prometheus Bound Trachiniae Teit meistä kauniin Iphigénie Seer 4 Sherlock Holmes Agamemnon Majestic Hotel Cellars Garfield: The Movie Antigone The Government Inspector Andromaque Bossemans et Coppenolle Britannicus Faust La Torna Bajazet Athalie Ion The Barber of Seville Fast and Furry-ous OSS 117: Lost in Rio Arsene Lupin, Detective The Man on the Eiffel Tower Hippolytus The Yellow Dog Batman v Superman: Dawn of Justice Maigret Sees Red Woe from Wit OSS 117 n'est pas mort Médée The Fencer Maigret Sets a Trap La Thébaïde Oedipus Rex Maigret et l'Affaire Saint-Fiacre The Taming of the Shrew Macbeth Alcestis La Tête d'un homme Arsène Lupin Signé Arsène Lupin OSS 117: Cairo, Nest of Spies Raid The Wedding Arsene Lupin vs. Arsene Lupin The Suppliants Maigret a Pigalle Ino GeGeGe no Kitarō OSS 117 - Double Agent An Ardent Heart Eumenides The Libation Bearers Acis and Galatea Night at the Crossroads Taras Bulba Going! Going! Gosh! Ajax On the Harmful Effects of Tobacco Oedipus at Colonus Electra Uncle Vanya Liquidation Seven against Thebes Hamlet Atout coeur à Tokyo pour OSS 117 Five Ashore in Singapore Esther The Trojan Women Waxwork II: Lost in Time Philoctetes Banco à Bangkok pour OSS 117 Dr. No Romeo and Juliet Balladyna Herakles' Children The Seagull The Wind Rises Rhesus Alexandre le Grand Othello Enter Arsène Lupin The Monkey King Treasure Island Arsène Lupin OSS 117 takes a vacation Digimon Adventure: Bokura no War Game! Fear and Loathing in Las Vegas The Bacchae Berenice Taras Bulba Garfield: A Tail of Two Kitties The Merry Wives of Windsor The Big Lebowski Les Plaideurs Mithridate Full House
117
action count
action approx
action union
action find_tuple_counts
relation characters
type work of art
type common name
action find_tuple_counts
relation characters
type work of art
type fictional character
action count
action filter_multi_types
action find
entity Prometheus Bound
relation characters
type common name
type fictional character
[{'concept': 'work of art'}, 'characters', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Prometheus_Bound property:characters ?p . { { ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:fictional_character } } } } . FILTER ( ?d = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3281934
P364
Q34770
USER
Which language was used originally for the creation of The Greening of Whitney Brown ?
(Q3281934,P364,c(Q34770))
action filter_type
action find
entity Q3281934
relation P364
type Q34770
['Q3281934', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3281934 property:P364 ?k . ?k rdf:type ontology:Q34770 }
The Greening of Whitney Brown
action filter_type
action find
entity The Greening of Whitney Brown
relation original language of work
type language
['The Greening of Whitney Brown', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:The_Greening_of_Whitney_Brown property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3281934,P364,c(Q34770))
action filter_type
action find
entity Q3281934
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Greening of Whitney Brown
['Q3281934', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3281934 property:P364 ?k . ?k rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Greening of Whitney Brown
English
action filter_type
action find
entity The Greening of Whitney Brown
relation original language of work
type language
['The Greening of Whitney Brown', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:The_Greening_of_Whitney_Brown property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18914923
Q34770
USER
And also tell me about The Crystal Gazer?
(Q18914923,P364,c(Q34770))
action filter_type
action find
entity Q18914923
relation P364
type Q34770
['Q18914923', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q18914923 property:P364 ?h }
The Crystal Gazer
action filter_type
action find
entity The Crystal Gazer
relation original language of work
type language
['The Crystal Gazer', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:The_Crystal_Gazer property:original_language_of_work ?h }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18914923,P364,c(Q34770))
action filter_type
action find
entity Q18914923
relation P364
type Q34770
[ANSWER]
['Q18914923', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q18914923 property:P364 ?h }
English
English
action filter_type
action find
entity The Crystal Gazer
relation original language of work
type language
['The Crystal Gazer', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:The_Crystal_Gazer property:original_language_of_work ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18914923
P161
Q502895
USER
Which people are in that work of art ?
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q18914923
relation P161
type Q502895
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q18914923 property:P161 ?v . ?v rdf:type ontology:Q502895 }
The Crystal Gazer
action filter_type
action find
entity The Crystal Gazer
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Crystal_Gazer property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q2305010 Q3066429 Q370280
SYSTEM
Harrison Ford, Fannie Ward, Raymond Hatton
Q370280 Q2305010 Q3048841 Q2082402 Q6152961 Q3066429
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q18914923
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q18914923 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Raymond Hatton Harrison Ford Edythe Chapman Winifred Greenwood Jane Wolfe Fannie Ward
Harrison Ford, Fannie Ward and Raymond Hatton are in that work of art
Harrison Ford Fannie Ward Raymond Hatton
action filter_type
action find
entity The Crystal Gazer
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Crystal_Gazer property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2305010
P26
Q502895
USER
Which person is the life partner of Harrison Ford ?
(c(Q502895),P26,Q2305010)
action filter_type
action find
entity Q2305010
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2305010']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q2305010 property:P26 ?p }
Harrison Ford
action filter_type
action find
entity Harrison Ford
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Harrison Ford']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Harrison_Ford property:spouse ?p }
[]
common name
Q4877191
SYSTEM
Beatrice Prentice
Q4877191
(c(Q502895),P26,Q2305010)
action filter_type
action find
entity Q2305010
relation P26
type Q502895
[ANSWER] is the life partner of Harrison Ford
[{'concept': 'Q502895'}, 'P26', 'Q2305010']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q2305010 property:P26 ?p }
Beatrice Prentice
Beatrice Prentice is the life partner of Harrison Ford
Beatrice Prentice
action filter_type
action find
entity Harrison Ford
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Harrison Ford']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Harrison_Ford property:spouse ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q2305010
P27 P26
Q502895
USER
Which people are the life partner of Harrison Ford and are a citizen of United States of America ?
AND((c(Q502895),P26,Q2305010), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q2305010
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2305010'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?q WHERE { ?q property:P26 resource:Q2305010 . ?q property:P27 resource:Q30 . ?q rdf:type ontology:Q502895 }
United States of America Harrison Ford
action filter_type
action intersection
action find_reverse
entity Harrison Ford
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Harrison Ford'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?q WHERE { ?q property:spouse resource:Harrison_Ford . ?q property:country_of_citizenship resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
common name
Q4877191
SYSTEM
Beatrice Prentice
Q4877191
AND((c(Q502895),P26,Q2305010), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q2305010
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWER] is the life partner of Harrison Ford and is a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2305010'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?q WHERE { ?q property:P26 resource:Q2305010 . ?q property:P27 resource:Q30 . ?q rdf:type ontology:Q502895 }
Beatrice Prentice
Beatrice Prentice is the life partner of Harrison Ford and is a citizen of United States of America
Beatrice Prentice
action filter_type
action intersection
action find_reverse
entity Harrison Ford
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Harrison Ford'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?q WHERE { ?q property:spouse resource:Harrison_Ford . ?q property:country_of_citizenship resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P407
Q13417114 Q5292
USER
How many noble families or encyclopedias were done in English language ?
(c(Q13417114),P407,Q1860) (c(Q5292),P407,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q13417114
action filter_type
action find_reverse
entity Q1860
relation P407
type Q5292
[{'concept': 'Q13417114'}, 'P407', 'Q1860'] [{'concept': 'Q5292'}, 'P407', 'Q1860']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:Q13417114 ) ( ontology:Q5292 ) } . ?h rdf:type ?e }
English
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type noble family
action filter_type
action find_reverse
entity English
relation language of work or name
type encyclopedia
[{'concept': 'noble family'}, 'language of work or name', 'English'] [{'concept': 'encyclopedia'}, 'language of work or name', 'English']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:noble_family ) ( ontology:encyclopedia ) } . ?h rdf:type ?e }
[]
noble family encyclopedia
SYSTEM
3
Q1158144 Q15987216 Q187801
(c(Q13417114),P407,Q1860) (c(Q5292),P407,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q13417114
action filter_type
action find_reverse
entity Q1860
relation P407
type Q5292
[ANSWER]
[{'concept': 'Q13417114'}, 'P407', 'Q1860'] [{'concept': 'Q5292'}, 'P407', 'Q1860']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:Q13417114 ) ( ontology:Q5292 ) } . ?h rdf:type ?e }
FitzGerald dynasty Dictionary of National Biography (1885-1900) Citizendium
3
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type noble family
action filter_type
action find_reverse
entity English
relation language of work or name
type encyclopedia
[{'concept': 'noble family'}, 'language of work or name', 'English'] [{'concept': 'encyclopedia'}, 'language of work or name', 'English']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:noble_family ) ( ontology:encyclopedia ) } . ?h rdf:type ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4877191
P21
Q290
USER
Which sex does Beatrice Prentice have ?
(Q4877191,P21,c(Q290))
action filter_type
action find
entity Q4877191
relation P21
type Q290
['Q4877191', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q4877191 property:P21 ?r }
Beatrice Prentice
action filter_type
action find
entity Beatrice Prentice
relation gender
type sex
['Beatrice Prentice', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Beatrice_Prentice property:gender ?r }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4877191,P21,c(Q290))
action filter_type
action find
entity Q4877191
relation P21
type Q290
Beatrice Prentice has a [ANSWER]
['Q4877191', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q4877191 property:P21 ?r }
female
Beatrice Prentice has a female
female
action filter_type
action find
entity Beatrice Prentice
relation gender
type sex
['Beatrice Prentice', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Beatrice_Prentice property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2305010
P734
Q82799
USER
Who has the surname Harrison Ford ?
(Q2305010,P734,c(Q82799))
action filter_type
action find
entity Q2305010
relation P734
type Q82799
['Q2305010', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2305010 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Harrison Ford
action filter_type
action find
entity Harrison Ford
relation family name
type name
['Harrison Ford', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Harrison_Ford property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q11247279
SYSTEM
Ford
Q11247279
(Q2305010,P734,c(Q82799))
action filter_type
action find
entity Q2305010
relation P734
type Q82799
[ANSWER] has the surname Harrison [ANSWER]
['Q2305010', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2305010 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Ford
Ford has the surname Harrison Ford
Ford
action filter_type
action find
entity Harrison Ford
relation family name
type name
['Harrison Ford', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Harrison_Ford property:family_name ?d . ?d rdf:type ontology:name }
[]