Simple Question (Direct)
Simple Question
Q327953
P344
Q502895
USER
Who is the director of photography for The Robber ?
(Q327953,P344,c(Q502895))
action filter_type
action find
entity Q327953
relation P344
type Q502895
['Q327953', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q327953 property:P344 ?r }
The Robber
action filter_type
action find
entity The Robber
relation director of photography
type common name
['The Robber', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Robber property:director_of_photography ?r }
[]
common name
Q17418303
SYSTEM
Reinhold Vorschneider
Q17418303
(Q327953,P344,c(Q502895))
action filter_type
action find
entity Q327953
relation P344
type Q502895
The director of photography for The Robber is the [ANSWER]
['Q327953', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q327953 property:P344 ?r }
Reinhold Vorschneider
The director of photography for The Robber is the Reinhold Vorschneider
Reinhold Vorschneider
action filter_type
action find
entity The Robber
relation director of photography
type common name
['The Robber', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Robber property:director_of_photography ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327953
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q17418303,P136,c(Q1792379))
action filter_type
action find
entity Q327953
relation P136
type Q1792379
['Q17418303', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q327953 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
The Robber
action filter_type
action find
entity The Robber
relation genre
type art genre
['Reinhold Vorschneider', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:The_Robber property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q17418303,P136,c(Q1792379))
action filter_type
action find
entity Q327953
relation P136
type Q1792379
The [ANSWER] can be considered as category for that work of art
['Q17418303', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q327953 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for that work of art
drama film
action filter_type
action find
entity The Robber
relation genre
type art genre
['Reinhold Vorschneider', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:The_Robber property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q31629 Q502895 Q1792379
USER
How many art genres express atmost 1 types of sport or people ?
(c(Q1792379),P180,c(Q31629)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q502895
value 1
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:Q31629 ) ( ontology:Q502895 ) } . ?n rdf:type ?u } GROUP BY ?c } . FILTER ( ?p <= 1 ) }
action count
action atmost
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 common name
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:type_of_sport ) ( ontology:common_name ) } . ?n rdf:type ?u } GROUP BY ?c } . FILTER ( ?p <= 1 ) }
[]
type of sport common name art genre
SYSTEM
52
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 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q31629)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q502895
value 1
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:Q31629 ) ( ontology:Q502895 ) } . ?n rdf:type ?u } GROUP BY ?c } . FILTER ( ?p <= 1 ) }
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 landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
52
action count
action atmost
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 common name
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:type_of_sport ) ( ontology:common_name ) } . ?n rdf:type ?u } GROUP BY ?c } . FILTER ( ?p <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17418303
P344
Q201658 Q838948
USER
How many film genres and works of art are Reinhold Vorschneider the cinematographer of ?
(c(Q201658),P344,Q17418303) (c(Q838948),P344,Q17418303)
action count
action union
action filter_type
action find_reverse
entity Q17418303
relation P344
type Q201658
action filter_type
action find_reverse
entity Q17418303
relation P344
type Q838948
[{'concept': 'Q201658'}, 'P344', 'Q17418303'] [{'concept': 'Q838948'}, 'P344', 'Q17418303']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?t rdf:type ?f }
Reinhold Vorschneider
action count
action union
action filter_type
action find_reverse
entity Reinhold Vorschneider
relation director of photography
type film genre
action filter_type
action find_reverse
entity Reinhold Vorschneider
relation director of photography
type work of art
[{'concept': 'film genre'}, 'director of photography', 'Reinhold Vorschneider'] [{'concept': 'work of art'}, 'director of photography', 'Reinhold Vorschneider']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?t rdf:type ?f }
[]
film genre work of art
SYSTEM
1 film genres and 11 works of art
Q1883446 Q327953 Q13526718 Q26856862 Q16858303 Q22260096 Q1206255 Q2031176 Q20064350 Q831053 Q1590146 Q3334754
(c(Q201658),P344,Q17418303) (c(Q838948),P344,Q17418303)
action count
action union
action filter_type
action find_reverse
entity Q17418303
relation P344
type Q201658
action filter_type
action find_reverse
entity Q17418303
relation P344
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P344', 'Q17418303'] [{'concept': 'Q838948'}, 'P344', 'Q17418303']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?t rdf:type ?f }
Madonnas The Robber 9 Leben Love Maybe Superegos Wild Germany 09 Orly The Days Between Sleeper In the Shadows Afternoon
1 film genres and 11 works of art
action count
action union
action filter_type
action find_reverse
entity Reinhold Vorschneider
relation director of photography
type film genre
action filter_type
action find_reverse
entity Reinhold Vorschneider
relation director of photography
type work of art
[{'concept': 'film genre'}, 'director of photography', 'Reinhold Vorschneider'] [{'concept': 'work of art'}, 'director of photography', 'Reinhold Vorschneider']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?t rdf:type ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17418303
P27
Q1048835
USER
How many political territories are Reinhold Vorschneider an inhabitant of ?
(Q17418303,P27,c(Q1048835))
action count
action filter_type
action find
entity Q17418303
relation P27
type Q1048835
['Q17418303', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q17418303 property:P27 ?p }
Reinhold Vorschneider
action count
action filter_type
action find
entity Reinhold Vorschneider
relation country of citizenship
type political territorial entity
['Reinhold Vorschneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Reinhold_Vorschneider property:country_of_citizenship ?p }
[]
political territorial entity
SYSTEM
1
Q183
(Q17418303,P27,c(Q1048835))
action count
action filter_type
action find
entity Q17418303
relation P27
type Q1048835
[ANSWER]
['Q17418303', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q17418303 property:P27 ?p }
Germany
1
action count
action filter_type
action find
entity Reinhold Vorschneider
relation country of citizenship
type political territorial entity
['Reinhold Vorschneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Reinhold_Vorschneider property:country_of_citizenship ?p }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q109919
Q1048835
USER
And how about Uwe Holtz?
(Q109919,P27,c(Q1048835))
action count
action filter_type
action find
entity Q109919
relation P27
type Q1048835
['Q109919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q109919 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Uwe Holtz
action count
action filter_type
action find
entity Uwe Holtz
relation country of citizenship
type political territorial entity
['Uwe Holtz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Uwe_Holtz property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q109919,P27,c(Q1048835))
action count
action filter_type
action find
entity Q109919
relation P27
type Q1048835
[ANSWER]
['Q109919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q109919 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Uwe Holtz
relation country of citizenship
type political territorial entity
['Uwe Holtz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Uwe_Holtz property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17418303
P21
Q290
USER
Which sex does Reinhold Vorschneider possess ?
(Q17418303,P21,c(Q290))
action filter_type
action find
entity Q17418303
relation P21
type Q290
['Q17418303', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q17418303 property:P21 ?c . ?c rdf:type ontology:Q290 }
Reinhold Vorschneider
action filter_type
action find
entity Reinhold Vorschneider
relation gender
type sex
['Reinhold Vorschneider', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Reinhold_Vorschneider property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17418303,P21,c(Q290))
action filter_type
action find
entity Q17418303
relation P21
type Q290
Reinhold Vorschneider possesses le [ANSWER]
['Q17418303', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q17418303 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Reinhold Vorschneider possesses le male
male
action filter_type
action find
entity Reinhold Vorschneider
relation gender
type sex
['Reinhold Vorschneider', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Reinhold_Vorschneider property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q4580282 Q17418303
P21
Q290
USER
And also Finn Ørjan Sæle
AND((Q17418303,P21,c(Q290)), (Q4580282,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q17418303
relation P21
action find
entity Q4580282
relation P21
type Q290
{'AND': [['Q17418303', 'P21', {'concept': 'Q290'}], ['Q4580282', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { resource:Q17418303 property:P21 ?h . resource:Q4580282 property:P21 ?h . ?h rdf:type ontology:Q290 }
Finn Ørjan Sæle Reinhold Vorschneider
action filter_type
action intersection
action find
entity Reinhold Vorschneider
relation gender
action find
entity Finn Ørjan Sæle
relation gender
type sex
{'AND': [['Reinhold Vorschneider', 'gender', {'concept': 'sex'}], ['Finn Ørjan Sæle', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { resource:Reinhold_Vorschneider property:gender ?h . resource:Finn_Ørjan_Sæle property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q17418303,P21,c(Q290)), (Q4580282,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q17418303
relation P21
action find
entity Q4580282
relation P21
type Q290
[ANSWER]
{'AND': [['Q17418303', 'P21', {'concept': 'Q290'}], ['Q4580282', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { resource:Q17418303 property:P21 ?h . resource:Q4580282 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Reinhold Vorschneider
relation gender
action find
entity Finn Ørjan Sæle
relation gender
type sex
{'AND': [['Reinhold Vorschneider', 'gender', {'concept': 'sex'}], ['Finn Ørjan Sæle', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { resource:Reinhold_Vorschneider property:gender ?h . resource:Finn_Ørjan_Sæle property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17418303 Q1910347
P21
Q290
USER
How many sexes do Reinhold Vorschneider or Tokyo Rose belong to ?
(Q17418303,P21,c(Q290)) (Q1910347,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q17418303
relation P21
type Q290
action filter_type
action find
entity Q1910347
relation P21
type Q290
['Q17418303', 'P21', {'concept': 'Q290'}] ['Q1910347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { resource:Q1910347 property:P21 ?w . ?w rdf:type ontology:Q290 } UNION { resource:Q17418303 property:P21 ?w . ?w rdf:type ontology:Q290 } }
Reinhold Vorschneider Tokyo Rose
action count
action union
action filter_type
action find
entity Reinhold Vorschneider
relation gender
type sex
action filter_type
action find
entity Tokyo Rose
relation gender
type sex
['Reinhold Vorschneider', 'gender', {'concept': 'sex'}] ['Tokyo Rose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { resource:Tokyo_Rose property:gender ?w . ?w rdf:type ontology:sex } UNION { resource:Reinhold_Vorschneider property:gender ?w . ?w rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q17418303,P21,c(Q290)) (Q1910347,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q17418303
relation P21
type Q290
action filter_type
action find
entity Q1910347
relation P21
type Q290
[ANSWER]
['Q17418303', 'P21', {'concept': 'Q290'}] ['Q1910347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { resource:Q1910347 property:P21 ?w . ?w rdf:type ontology:Q290 } UNION { resource:Q17418303 property:P21 ?w . ?w rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Reinhold Vorschneider
relation gender
type sex
action filter_type
action find
entity Tokyo Rose
relation gender
type sex
['Reinhold Vorschneider', 'gender', {'concept': 'sex'}] ['Tokyo Rose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { resource:Tokyo_Rose property:gender ?w . ?w rdf:type ontology:sex } UNION { resource:Reinhold_Vorschneider property:gender ?w . ?w rdf:type ontology:sex } }
[]