Simple Question (Direct)
Simple Question
Q820645
P161
Q502895
USER
Who starred in Gold ?
(Q820645,P161,c(Q502895))
action filter_type
action find
entity Q820645
relation P161
type Q502895
['Q820645', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q820645 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Gold
action filter_type
action find
entity Gold
relation cast member
type common name
['Gold', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Gold property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
common name
Q109366 Q110721 Q96580
SYSTEM
Rudolf Platte, Elsa Wagner, Philipp Manning
Q3419227 Q109366 Q89604 Q122569 Q561231 Q101912 Q96580 Q76813 Q1601129 Q1358905 Q120270 Q3442681 Q214762 Q101393 Q103643 Q110721 Q3439136 Q104866 Q96599 Q1340419 Q1600865 Q3158807 Q1421136
(Q820645,P161,c(Q502895))
action filter_type
action find
entity Q820645
relation P161
type Q502895
[ANSWERS] starred in Gold
['Q820645', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q820645 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Raoul Marco Rudolf Platte Friedrich Kayßler Willy Kaiser-Heyl Hans Albers Willi Schur Philipp Manning Brigitte Helm Heinz Wemper Ernst Karchow Friedrich Ettel Rosine Deréan Lien Deyers Ernst Behmer Walter Steinbeck Elsa Wagner Roger Karl Rudolf Biebrach Michael Bohnen Erich Haußmann Heinz Salfner Jacques Dumesnil Fita Benkhoff
Rudolf Platte, Elsa Wagner and Philipp Manning starred in Gold
Rudolf Platte Elsa Wagner Philipp Manning
action filter_type
action find
entity Gold
relation cast member
type common name
['Gold', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Gold property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q109366 Q110721 Q96580
P161
Q838948
USER
Which works of art have Rudolf Platte, Elsa Wagner and Philipp Manning in their star cast ?
(c(Q838948),P161,Q109366) (c(Q838948),P161,Q110721) (c(Q838948),P161,Q96580)
action union
action filter_type
action find_reverse
entity Q109366
relation P161
type Q838948
action filter_type
action find_reverse
entity Q110721
relation P161
type Q838948
action filter_type
action find_reverse
entity Q96580
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q109366'] [{'concept': 'Q838948'}, 'P161', 'Q110721'] [{'concept': 'Q838948'}, 'P161', 'Q96580']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q109366 } UNION { ?q property:P161 resource:Q110721 . ?q rdf:type ontology:Q838948 } }
Rudolf Platte Elsa Wagner Philipp Manning
action union
action filter_type
action find_reverse
entity Rudolf Platte
relation cast member
type work of art
action filter_type
action find_reverse
entity Elsa Wagner
relation cast member
type work of art
action filter_type
action find_reverse
entity Philipp Manning
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rudolf Platte'] [{'concept': 'work of art'}, 'cast member', 'Elsa Wagner'] [{'concept': 'work of art'}, 'cast member', 'Philipp Manning']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Rudolf_Platte } UNION { ?q property:cast_member resource:Elsa_Wagner . ?q rdf:type ontology:work_of_art } }
[]
work of art
Q638451 Q703188 Q2675901
SYSTEM
Robert Koch, Veronika Voss, The Trunks of Mr. O.F.
Q2715747 Q19898289 Q19892508 Q2382468 Q17060588 Q1433318 Q1734864 Q17538947 Q7734540 Q1964781 Q573077 Q1484033 Q478262 Q1194170 Q21646833 Q20650039 Q7728486 Q822458 Q21647206 Q1543008 Q1213379 Q1192548 Q1749422 Q20649820 Q1657954 Q1171084 Q167647 Q2675028 Q2393179 Q406920 Q17512592 Q18390968 Q703188 Q1614141 Q21646625 Q19818504 Q1957153 Q3209571 Q1168989 Q19871996 Q22977287 Q19818503 Q2296239 Q1112620 Q21646117 Q820645 Q7764418 Q15807537 Q16911983 Q4766991 Q478262 Q17041543 Q14949855 Q17060612 Q3766291 Q19796697 Q24933 Q1759358 Q1198835 Q22969049 Q22969576 Q21869698 Q1337075 Q18208518 Q22968457 Q873531 Q17113226 Q1775984 Q21869970 Q4816662 Q1218580 Q1687938 Q22001051 Q21646625 Q22969418 Q1197007 Q7897590 Q1254110 Q22000515 Q426444 Q327874 Q5447693 Q15226280 Q2675901 Q21869434 Q22000622 Q820645 Q7764418 Q14952560 Q21869315 Q18210233 Q21869296 Q19796697 Q20001763 Q17026402 Q21869656 Q3612276 Q7746656 Q22967500 Q5160791 Q2326393 Q21869938 Q22973964 Q638451 Q820835 Q21869521 Q21869504 Q1218840 Q22967637 Q21869587 Q20949627 Q6484017 Q5530063 Q21869861 Q15990767 Q21869806 Q21869412 Q21869414 Q21035695 Q16203519 Q15039170 Q820645
(c(Q838948),P161,Q109366) (c(Q838948),P161,Q110721) (c(Q838948),P161,Q96580)
action union
action filter_type
action find_reverse
entity Q109366
relation P161
type Q838948
action filter_type
action find_reverse
entity Q110721
relation P161
type Q838948
action filter_type
action find_reverse
entity Q96580
relation P161
type Q838948
[ANSWERS] have Rudolf Platte, Elsa Wagner and Philipp Manning in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q109366'] [{'concept': 'Q838948'}, 'P161', 'Q110721'] [{'concept': 'Q838948'}, 'P161', 'Q96580']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q109366 } UNION { ?q property:P161 resource:Q110721 . ?q rdf:type ontology:Q838948 } }
Heinz in the Moon You Have to be Beautiful Donogoo Tonka Auch ich war nur ein mittelmäßiger Schüler The Girl at the Reception I by Day, You by Night Willy the Private Detective The Bath in the Barn The Flower of Hawaii So You Don't Know Korff Yet? Victor and Victoria When the Evening Bells Ring Gasparone Der Haus-Tyrann Pappi When Women Keep Silent The Curtain Falls Homesick for St. Pauli Three Days of Love His Best Friend Gentlemen in White Vests The Blue Fox The Pride of Company Three Don't Ask My Heart Her Most Beautiful Day Das einfache Mädchen Pension Schöller The Muzzle Aunt Wanda from Uganda Hitlerjunge Quex The Cousin from Nowhere Monika Veronika Voss Destination Death La Paloma The Master Detective Mädchen mit schwachem Gedächtnis The High Life The Court Concert Charley's Aunt Two Good Comrades Bashful Felix So ein Flegel The Zurich Engagement Autobus S Gold The Singing Gate A Gust of Wind Sweetheart of the Gods Anna Favetti Gasparone Target in the Clouds The Burning Heart The Girl Irene Joan of Arc The Buddenbrooks The Haunted Castle Our Willi Is the Best The big shadow Comrades A Free People One Minute to Twelve Emil and the Detectives You and I The Blue Mauritius Heimkehr Three from the Unemployment Office Moskau – Shanghai Violantha Atlantik The Divine Jetta Tanz auf dem Vulkan The Lady in the Car La Paloma An Evening Visit The Gambler Unternehmen Michael Laughing Is the Best Medicine It Illuminates, My Dear And the Heavens Above Us The Pedestrian Figaros Hochzeit The Man in the Saddle The Trunks of Mr. O.F. I'll Carry You in My Arms The Kwannon of Okadera Gold The Singing Gate A Student's Song of Heidelberg The Duke of Aleria Woman's Love—Woman's Suffering Did You Fall in Love Along the Beautiful Rhine? The Buddenbrooks The Endless Road Moritz Makes his Fortune My Wife Theresa Rudderless The Legacy of Pretoria The Adventurer of Tunis Congress Dances City of Anatol Trust of Thieves The Love of the Brothers Rott Robert Koch Carl Peters Lena Warnstetten The Lady and the Chauffeur The Last Company The Battle Against Berlin The Man with the Fake Banknote Marshal Forwards Land Without Women Geheimakte W.B.1 Superfluous People The White Demon Shadows of the Metropolis His Best Friend His Best Friend Spy of Madame Pompadour A Storm Over Zakopane The Escape to Nice Gold
Robert Koch, Veronika Voss and The Trunks of Mr. O.F. have Rudolf Platte, Elsa Wagner and Philipp Manning in their star cast
Robert Koch Veronika Voss The Trunks of Mr. O.F.
action union
action filter_type
action find_reverse
entity Rudolf Platte
relation cast member
type work of art
action filter_type
action find_reverse
entity Elsa Wagner
relation cast member
type work of art
action filter_type
action find_reverse
entity Philipp Manning
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rudolf Platte'] [{'concept': 'work of art'}, 'cast member', 'Elsa Wagner'] [{'concept': 'work of art'}, 'cast member', 'Philipp Manning']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Rudolf_Platte } UNION { ?q property:cast_member resource:Elsa_Wagner . ?q rdf:type ontology:work_of_art } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q703188
P86
Q502895
USER
Who was that work of art composed by ?
(Q703188,P86,c(Q502895))
action filter_type
action find
entity Q703188
relation P86
type Q502895
['Q703188', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q703188 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Veronika Voss
action filter_type
action find
entity Veronika Voss
relation composer
type common name
['Veronika Voss', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Veronika_Voss property:composer ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2675901
SYSTEM
Did you mean The Trunks of Mr. O.F. ?
Q638451 Q703188 Q2675901
(Q638451,P86,c(Q502895)) (Q703188,P86,c(Q502895)) (Q2675901,P86,c(Q502895))
[ANSWER]
['Q638451', 'P86', {'concept': 'Q502895'}] ['Q703188', 'P86', {'concept': 'Q502895'}] ['Q2675901', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q703188 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Robert Koch Veronika Voss The Trunks of Mr. O.F.
Did you mean The Trunks of Mr. O.F. ?
The Trunks of Mr. O.F.
['Robert Koch', 'composer', {'concept': 'common name'}] ['Veronika Voss', 'composer', {'concept': 'common name'}] ['The Trunks of Mr. O.F.', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Veronika_Voss property:composer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Veronika Voss. Could you tell me the answer for that?
(Q703188,P86,c(Q502895))
Q703188
['Q703188', 'P86', {'concept': 'Q502895'}]
['Veronika Voss', 'composer', {'concept': 'common name'}]
[]
Q636215
SYSTEM
Peer Raben
Q636215
(Q703188,P86,c(Q502895))
action filter_type
action find
entity Q703188
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q703188', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q703188 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Peer Raben
By that work of art was composed by Peer Raben
Peer Raben
action filter_type
action find
entity Veronika Voss
relation composer
type common name
['Veronika Voss', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Veronika_Voss property:composer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q636215
P106
Q12737077
USER
What does that person do for a living ?
(Q636215,P106,c(Q12737077))
action filter_type
action find
entity Q636215
relation P106
type Q12737077
['Q636215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q636215 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Peer Raben
action filter_type
action find
entity Peer Raben
relation occupation
type occupation
['Peer Raben', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Peer_Raben property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q636215,P106,c(Q12737077))
action filter_type
action find
entity Q636215
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q636215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q636215 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Peer Raben
relation occupation
type occupation
['Peer Raben', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Peer_Raben property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q636215
P19
Q15617994
USER
Where was that person born ?
(Q33999,P19,c(Q15617994))
action filter_type
action find
entity Q636215
relation P19
type Q15617994
['Q33999', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q636215 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Peer Raben
action filter_type
action find
entity Peer Raben
relation place of birth
type designation for an administrative territorial entity
['actor', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Peer_Raben property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258787
SYSTEM
Viechtach
Q258787
(Q33999,P19,c(Q15617994))
action filter_type
action find
entity Q636215
relation P19
type Q15617994
That person was born in [ANSWER]
['Q33999', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q636215 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Viechtach
That person was born in Viechtach
Viechtach
action filter_type
action find
entity Peer Raben
relation place of birth
type designation for an administrative territorial entity
['actor', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Peer_Raben property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25106499
P495
Q15617994
USER
Which administrative territory is the country of origin of The Two Little Rascals ?
(Q25106499,P495,c(Q15617994))
action filter_type
action find
entity Q25106499
relation P495
type Q15617994
['Q25106499', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q25106499 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
The Two Little Rascals
action filter_type
action find
entity The Two Little Rascals
relation country of origin
type designation for an administrative territorial entity
['The Two Little Rascals', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Two_Little_Rascals property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q25106499,P495,c(Q15617994))
action filter_type
action find
entity Q25106499
relation P495
type Q15617994
[ANSWER] is the country of origin of The Two Little Rascals
['Q25106499', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q25106499 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
Spain
Spain is the country of origin of The Two Little Rascals
Spain
action filter_type
action find
entity The Two Little Rascals
relation country of origin
type designation for an administrative territorial entity
['The Two Little Rascals', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Two_Little_Rascals property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q585598
Q15617994
USER
And how about The Anchorite?
(Q585598,P495,c(Q15617994))
action filter_type
action find
entity Q585598
relation P495
type Q15617994
['Q585598', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q585598 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
The Anchorite
action filter_type
action find
entity The Anchorite
relation country of origin
type designation for an administrative territorial entity
['The Anchorite', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Anchorite property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
(Q585598,P495,c(Q15617994))
action filter_type
action find
entity Q585598
relation P495
type Q15617994
[ANSWERS]
['Q585598', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q585598 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
France Spain
France Spain
action filter_type
action find
entity The Anchorite
relation country of origin
type designation for an administrative territorial entity
['The Anchorite', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Anchorite property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q585598
P161
Q502895
USER
How many people are in The Anchorite ?
(Q585598,P161,c(Q502895))
action count
action filter_type
action find
entity Q585598
relation P161
type Q502895
['Q585598', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q585598 property:P161 ?d . ?d rdf:type ontology:Q502895 }
The Anchorite
action count
action filter_type
action find
entity The Anchorite
relation cast member
type common name
['The Anchorite', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:The_Anchorite property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q318736 Q6700439 Q3048309 Q3956185 Q1096611 Q251992 Q3154823
(Q585598,P161,c(Q502895))
action count
action filter_type
action find
entity Q585598
relation P161
type Q502895
[ANSWER]
['Q585598', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q585598 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Fernando Fernán Gómez Luis Ciges Eduardo Calvo Sergio Mendizábal Claude Dauphin Ángel Álvarez Isabel Mestres
7
action count
action filter_type
action find
entity The Anchorite
relation cast member
type common name
['The Anchorite', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:The_Anchorite property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2274789
P136
Q1792379
USER
What can be considered as category for The Orheim Company ?
(Q2274789,P136,c(Q1792379))
action filter_type
action find
entity Q2274789
relation P136
type Q1792379
['Q2274789', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1792379 . resource:Q2274789 property:P136 ?d }
The Orheim Company
action filter_type
action find
entity The Orheim Company
relation genre
type art genre
['The Orheim Company', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:art_genre . resource:The_Orheim_Company property:genre ?d }
[]
art genre
Q1257444
SYSTEM
film adaptation
Q1257444
(Q2274789,P136,c(Q1792379))
action filter_type
action find
entity Q2274789
relation P136
type Q1792379
The [ANSWER] can be considered as category for The Orheim Company
['Q2274789', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1792379 . resource:Q2274789 property:P136 ?d }
film adaptation
The film adaptation can be considered as category for The Orheim Company
film adaptation
action filter_type
action find
entity The Orheim Company
relation genre
type art genre
['The Orheim Company', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:art_genre . resource:The_Orheim_Company property:genre ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P136
Q1792379 Q166142 Q2088357
USER
How many art genres are the genre for more number of applications or musical ensembles than that art genre ?
(c(Q166142)|c(Q2088357),P136,c(Q1792379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q166142
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1257444
relation P136
type Q166142
type Q2088357
[[{'concept': 'Q166142'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P136 ?l . ?l rdf:type ontology:Q1792379 . ?d rdf:type ontology:Q2088357 } UNION { ?d property:P136 ?l . ?l rdf:type ontology:Q1792379 . ?d rdf:type ontology:Q166142 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P136 resource:Q1257444 . { VALUES ( ?y ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?r rdf:type ?y } } } . FILTER ( ?t > ?f ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type art genre
type application
action find_reverse_tuple_counts
relation genre
type art genre
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity film adaptation
relation genre
type application
type musical ensemble
[[{'concept': 'application'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:genre ?l . ?l rdf:type ontology:art_genre . ?d rdf:type ontology:musical_ensemble } UNION { ?d property:genre ?l . ?l rdf:type ontology:art_genre . ?d rdf:type ontology:application } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:genre resource:film_adaptation . { VALUES ( ?y ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?r rdf:type ?y } } } . FILTER ( ?t > ?f ) }
[]
art genre application musical ensemble
SYSTEM
34
Q590103 Q319221 Q725377 Q93204 Q188473 Q5292 Q858330 Q200092 Q93196 Q1425557 Q193606 Q7644030 Q275934 Q182659 Q1637212 Q10728648 Q2975633 Q8261 Q1464369 Q1054574 Q482 Q10992055 Q4184 Q6045390 Q185867 Q1004 Q223770 Q174526 Q6585139 Q186424 Q34274 Q130232 Q2421031 Q604725
(c(Q166142)|c(Q2088357),P136,c(Q1792379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q166142
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1257444
relation P136
type Q166142
type Q2088357
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P136 ?l . ?l rdf:type ontology:Q1792379 . ?d rdf:type ontology:Q2088357 } UNION { ?d property:P136 ?l . ?l rdf:type ontology:Q1792379 . ?d rdf:type ontology:Q166142 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P136 resource:Q1257444 . { VALUES ( ?y ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?r rdf:type ?y } } } . FILTER ( ?t > ?f ) }
psychological thriller adventure film graphic novel documentary film action film encyclopedia romance novel horror film Bollywood vampire literature horror literature supernatural fiction Tokusatsu ballad Comic fantasy occult detective fiction coming-of-age story novel making-of romance film poetry fantasy novel autobiography interactive novel film noir comic B movie cyberpunk mystery fiction detective fiction gospel drama film neo-noir psychological horror
34
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type art genre
type application
action find_reverse_tuple_counts
relation genre
type art genre
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity film adaptation
relation genre
type application
type musical ensemble
[[{'concept': 'application'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:genre ?l . ?l rdf:type ontology:art_genre . ?d rdf:type ontology:musical_ensemble } UNION { ?d property:genre ?l . ?l rdf:type ontology:art_genre . ?d rdf:type ontology:application } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:genre resource:film_adaptation . { VALUES ( ?y ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?r rdf:type ?y } } } . FILTER ( ?t > ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q2342494
USER
How many administrative territories are exactly 2 works of art or collectables set in ?
(c(Q838948)|c(Q2342494),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 2
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P840 ?q . ?q rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P840 ?q . ?u rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:narrative_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:work_of_art } UNION { ?u property:narrative_location ?q . ?u rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } }
[]
designation for an administrative territorial entity work of art collectable
SYSTEM
20
Q804 Q801 Q20837 Q1948 Q145 Q712 Q45 Q1974 Q854 Q236 Q1041 Q2009 Q2007 Q1028 Q1030 Q191 Q963 Q14859 Q2742 Q774
(c(Q838948)|c(Q2342494),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P840 ?q . ?q rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P840 ?q . ?u rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } }
Panama Israel Fanø Manitoba United Kingdom Fiji Portugal British Columbia Sri Lanka Montenegro Senegal Yukon Northwest Territories Morocco Namibia Estonia Botswana Ansbach Münster Guatemala
20
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:narrative_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:work_of_art } UNION { ?u property:narrative_location ?q . ?u rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } }
[]