Simple Question (Direct)
Simple Question
Q5452764
P364
Q34770
USER
Which language was used originally for the creation of First Comes Courage ?
(Q5452764,P364,c(Q34770))
action filter_type
action find
entity Q5452764
relation P364
type Q34770
['Q5452764', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5452764 property:P364 ?e . ?e rdf:type ontology:Q34770 }
First Comes Courage
action filter_type
action find
entity First Comes Courage
relation original language of work
type language
['First Comes Courage', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:First_Comes_Courage property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5452764,P364,c(Q34770))
action filter_type
action find
entity Q5452764
relation P364
type Q34770
[ANSWER] was used originally for the creation of First Comes Courage
['Q5452764', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5452764 property:P364 ?e . ?e rdf:type ontology:Q34770 }
English
English was used originally for the creation of First Comes Courage
English
action filter_type
action find
entity First Comes Courage
relation original language of work
type language
['First Comes Courage', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:First_Comes_Courage property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5452764
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1860,P136,c(Q1792379))
action filter_type
action find
entity Q5452764
relation P136
type Q1792379
['Q1860', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q5452764 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
First Comes Courage
action filter_type
action find
entity First Comes Courage
relation genre
type art genre
['English', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:First_Comes_Courage property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q369747
SYSTEM
war film
Q369747
(Q1860,P136,c(Q1792379))
action filter_type
action find
entity Q5452764
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q1860', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q5452764 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
war film
War film can be considered as category for that work of art
war film
action filter_type
action find
entity First Comes Courage
relation genre
type art genre
['English', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:First_Comes_Courage property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2824426 Q5452764
P161 P57
Q502895
USER
Which people directed First Comes Courage or were casted in Remember the Day ?
OR((Q5452764,P57,c(Q502895)), (Q2824426,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5452764
relation P57
action find
entity Q2824426
relation P161
type Q502895
{'OR': [['Q5452764', 'P57', {'concept': 'Q502895'}], ['Q2824426', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5452764 property:P57 ?l } UNION { resource:Q2824426 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
Remember the Day First Comes Courage
action filter_type
action union
action find
entity First Comes Courage
relation director
action find
entity Remember the Day
relation cast member
type common name
{'OR': [['First Comes Courage', 'director', {'concept': 'common name'}], ['Remember the Day', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:First_Comes_Courage property:director ?l } UNION { resource:Remember_the_Day property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q546396 Q3526153 Q2278200 Q153332 Q2850383 Q3371436 Q447847 Q3127832 Q203819 Q149507
SYSTEM
Some of them are Douglas Croft, Thurston Hall, Shepperd Strudwick, Mae Marsh, Ann E. Todd, Paul Harvey, Dorothy Arzner, Harry Hayden, Claudette Colbert, Charles Vidor
Q3526153 Q723415 Q3127832 Q153332 Q274737 Q5482191 Q3078072 Q1566398 Q239770 Q3371436 Q447847 Q2278200 Q203819 Q149507 Q2850383 Q546396
OR((Q5452764,P57,c(Q502895)), (Q2824426,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5452764
relation P57
action find
entity Q2824426
relation P161
type Q502895
[ANSWERS] directed First Comes Courage or were casted in Remember the Day
{'OR': [['Q5452764', 'P57', {'concept': 'Q502895'}], ['Q2824426', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5452764 property:P57 ?l } UNION { resource:Q2824426 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
Thurston Hall John Payne Harry Hayden Mae Marsh Frieda Inescort Francis Pierlot Robert Lowery Selmer Jackson Anne Revere Paul Harvey Dorothy Arzner Shepperd Strudwick Claudette Colbert Charles Vidor Ann E. Todd Douglas Croft
Douglas Croft, Thurston Hall, Shepperd Strudwick, Mae Marsh, Ann E. Todd, Paul Harvey, Dorothy Arzner, Harry Hayden, Claudette Colbert and Charles Vidor directed First Comes Courage or were casted in Remember the Day
Douglas Croft Thurston Hall Shepperd Strudwick Mae Marsh Ann E. Todd Paul Harvey Dorothy Arzner Harry Hayden Claudette Colbert Charles Vidor
action filter_type
action union
action find
entity First Comes Courage
relation director
action find
entity Remember the Day
relation cast member
type common name
{'OR': [['First Comes Courage', 'director', {'concept': 'common name'}], ['Remember the Day', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:First_Comes_Courage property:director ?l } UNION { resource:Remember_the_Day property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q203819
P106
Q12737077 Q28640
USER
How many occupations and professions do Claudette Colbert do for a living ?
(Q203819,P106,c(Q12737077)) (Q203819,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q203819
relation P106
type Q12737077
action filter_type
action find
entity Q203819
relation P106
type Q28640
['Q203819', 'P106', {'concept': 'Q12737077'}] ['Q203819', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { resource:Q203819 property:P106 ?p . ?p rdf:type ontology:Q12737077 } UNION { resource:Q203819 property:P106 ?p . ?p rdf:type ontology:Q28640 } }
Claudette Colbert
action count
action union
action filter_type
action find
entity Claudette Colbert
relation occupation
type occupation
action filter_type
action find
entity Claudette Colbert
relation occupation
type profession
['Claudette Colbert', 'occupation', {'concept': 'occupation'}] ['Claudette Colbert', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { resource:Claudette_Colbert property:occupation ?p . ?p rdf:type ontology:occupation } UNION { resource:Claudette_Colbert property:occupation ?p . ?p rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
2 occupations and 1 professions
Q10800557 Q33999 Q2259451
(Q203819,P106,c(Q12737077)) (Q203819,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q203819
relation P106
type Q12737077
action filter_type
action find
entity Q203819
relation P106
type Q28640
[ANSWER]
['Q203819', 'P106', {'concept': 'Q12737077'}] ['Q203819', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { resource:Q203819 property:P106 ?p . ?p rdf:type ontology:Q12737077 } UNION { resource:Q203819 property:P106 ?p . ?p rdf:type ontology:Q28640 } }
film actor actor stage actor
2 occupations and 1 professions
action count
action union
action filter_type
action find
entity Claudette Colbert
relation occupation
type occupation
action filter_type
action find
entity Claudette Colbert
relation occupation
type profession
['Claudette Colbert', 'occupation', {'concept': 'occupation'}] ['Claudette Colbert', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { resource:Claudette_Colbert property:occupation ?p . ?p rdf:type ontology:occupation } UNION { resource:Claudette_Colbert property:occupation ?p . ?p rdf:type ontology:profession } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q203819
P26
Q502895
USER
Who is married to that one ?
action filter_type
action find
entity Q203819
relation P26
type Q502895
SELECT DISTINCT ?x WHERE { resource:Q203819 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Claudette Colbert
action filter_type
action find
entity Claudette Colbert
relation spouse
type common name
SELECT DISTINCT ?x WHERE { resource:Claudette_Colbert property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2409726
SYSTEM
Norman Foster
Q2409726
action filter_type
action find
entity Q203819
relation P26
type Q502895
In [ANSWER] is married to that one
SELECT DISTINCT ?x WHERE { resource:Q203819 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Norman Foster
In Norman Foster is married to that one
Norman Foster
action filter_type
action find
entity Claudette Colbert
relation spouse
type common name
SELECT DISTINCT ?x WHERE { resource:Claudette_Colbert property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q28640 Q12737077
USER
How many professions and occupations have that person as his/her as a career ?
(Q2409726,P106,c(Q28640)) (Q2409726,P106,c(Q12737077)) (Q2409726,P106,c(Q28640)) (Q2409726,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2409726
relation P106
type Q28640
action filter_type
action find
entity Q2409726
relation P106
type Q12737077
['Q2409726', 'P106', {'concept': 'Q28640'}] ['Q2409726', 'P106', {'concept': 'Q12737077'}] ['Q2409726', 'P106', {'concept': 'Q28640'}] ['Q2409726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?d rdf:type ?s }
action count
action union
action filter_type
action find
entity Norman Foster
relation occupation
type profession
action filter_type
action find
entity Norman Foster
relation occupation
type occupation
['Norman Foster', 'occupation', {'concept': 'profession'}] ['Norman Foster', 'occupation', {'concept': 'occupation'}] ['Norman Foster', 'occupation', {'concept': 'profession'}] ['Norman Foster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?s ) { ( ontology:occupation ) ( ontology:profession ) } . ?d rdf:type ?s }
[]
profession occupation
SYSTEM
2 professions and 1 occupations
Q2526255 Q33999 Q28389
(Q2409726,P106,c(Q28640)) (Q2409726,P106,c(Q12737077)) (Q2409726,P106,c(Q28640)) (Q2409726,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2409726
relation P106
type Q28640
action filter_type
action find
entity Q2409726
relation P106
type Q12737077
[ANSWER]
['Q2409726', 'P106', {'concept': 'Q28640'}] ['Q2409726', 'P106', {'concept': 'Q12737077'}] ['Q2409726', 'P106', {'concept': 'Q28640'}] ['Q2409726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?d rdf:type ?s }
film director actor screenwriter
2 professions and 1 occupations
action count
action union
action filter_type
action find
entity Norman Foster
relation occupation
type profession
action filter_type
action find
entity Norman Foster
relation occupation
type occupation
['Norman Foster', 'occupation', {'concept': 'profession'}] ['Norman Foster', 'occupation', {'concept': 'occupation'}] ['Norman Foster', 'occupation', {'concept': 'profession'}] ['Norman Foster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?s ) { ( ontology:occupation ) ( ontology:profession ) } . ?d rdf:type ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q31629 Q2221906 Q1792379
USER
Which art genres depict min number of types of sport or geographic locations ?
(c(Q1792379),P180,c(Q31629)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q2221906
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?r WHERE { { ?r property:P180 ?w . ?r rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q2221906 } UNION { ?r rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q31629 . ?r property:P180 ?w } } GROUP BY ?r } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?o WHERE { { ?o property:P180 ?g . ?o rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q2221906 } UNION { ?o property:P180 ?g . ?o rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q31629 } } GROUP BY ?o } } }
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type type of sport
action find_tuple_counts
relation depicts
type art genre
type geographic location
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?r WHERE { { ?r property:depicts ?w . ?r rdf:type ontology:art_genre . ?w rdf:type ontology:geographic_location } UNION { ?r rdf:type ontology:art_genre . ?w rdf:type ontology:type_of_sport . ?r property:depicts ?w } } GROUP BY ?r } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?o WHERE { { ?o property:depicts ?g . ?o rdf:type ontology:art_genre . ?g rdf:type ontology:geographic_location } UNION { ?o property:depicts ?g . ?o rdf:type ontology:art_genre . ?g rdf:type ontology:type_of_sport } } GROUP BY ?o } } }
[]
type of sport geographic location art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q31629)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q2221906
[ANSWERS] depict min number of types of sport or geographic locations
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?r WHERE { { ?r property:P180 ?w . ?r rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q2221906 } UNION { ?r rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q31629 . ?r property:P180 ?w } } GROUP BY ?r } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?o WHERE { { ?o property:P180 ?g . ?o rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q2221906 } UNION { ?o property:P180 ?g . ?o rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q31629 } } GROUP BY ?o } } }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire depict min number of types of sport or geographic locations
Self-Portrait with Monkey Above and Below The Ring of Fire
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type type of sport
action find_tuple_counts
relation depicts
type art genre
type geographic location
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?r WHERE { { ?r property:depicts ?w . ?r rdf:type ontology:art_genre . ?w rdf:type ontology:geographic_location } UNION { ?r rdf:type ontology:art_genre . ?w rdf:type ontology:type_of_sport . ?r property:depicts ?w } } GROUP BY ?r } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?o WHERE { { ?o property:depicts ?g . ?o rdf:type ontology:art_genre . ?g rdf:type ontology:geographic_location } UNION { ?o property:depicts ?g . ?o rdf:type ontology:art_genre . ?g rdf:type ontology:type_of_sport } } GROUP BY ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q652
P407
Q2031291
USER
How many releases were done in English and Italian language ?
(c(Q2031291),P407,Q1860) (c(Q2031291),P407,Q652)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q2031291
action filter_type
action find_reverse
entity Q652
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q1860'] [{'concept': 'Q2031291'}, 'P407', 'Q652']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P407 resource:Q1860 . ?n rdf:type ontology:Q2031291 . ?n property:P407 resource:Q652 . ?n rdf:type ontology:Q2031291 }
English Italian
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type release
action filter_type
action find_reverse
entity Italian
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'English'] [{'concept': 'release'}, 'language of work or name', 'Italian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:language_of_work_or_name resource:English . ?n rdf:type ontology:release . ?n property:language_of_work_or_name resource:Italian . ?n rdf:type ontology:release }
[]
release
SYSTEM
23
Q3182755 Q23928079 Q3931129 Q5611708 Q23023109 Q3630939 Q1761161 Q3786815 Q26902507 Q686879 Q7486922 Q6722422 Q3837859 Q3707882 Q3632439 Q3795906 Q19365904 Q21055292 Q3628223 Q21427658 Q3601041 Q18711392 Q7561337
(c(Q2031291),P407,Q1860) (c(Q2031291),P407,Q652)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q2031291
action filter_type
action find_reverse
entity Q652
relation P407
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P407', 'Q1860'] [{'concept': 'Q2031291'}, 'P407', 'Q652']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P407 resource:Q1860 . ?n rdf:type ontology:Q2031291 . ?n property:P407 resource:Q652 . ?n rdf:type ontology:Q2031291 }
Numb (Linea 77 album) On (Elisa album) Reality and Fantasy Grown Backwards Derivae Available for Propaganda Voila! Horror Vacui Laura Xmas Solo 2.0 Prontoacorrere Macadam Flower Lovers Dino: Italian Love Songs Baby Gate Il sole nella pioggia Mariposa Cinema Atlantic Le cose che non ho AM PM Parole in circolo Songs I've Sung on the Perry Como Show
23
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type release
action filter_type
action find_reverse
entity Italian
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'English'] [{'concept': 'release'}, 'language of work or name', 'Italian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:language_of_work_or_name resource:English . ?n rdf:type ontology:release . ?n property:language_of_work_or_name resource:Italian . ?n rdf:type ontology:release }
[]