Simple Question (Direct)
Simple Question
Q4902050
P57
Q502895
USER
Who was Bhorer Allo directed by ?
(Q4902050,P57,c(Q502895))
action filter_type
action find
entity Q4902050
relation P57
type Q502895
['Q4902050', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4902050 property:P57 ?s . ?s rdf:type ontology:Q502895 }
Bhorer Allo
action filter_type
action find
entity Bhorer Allo
relation director
type common name
['Bhorer Allo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Bhorer_Allo property:director ?s . ?s rdf:type ontology:common_name }
[]
common name
Q7237239
SYSTEM
Prabhat Roy
Q7237239
(Q4902050,P57,c(Q502895))
action filter_type
action find
entity Q4902050
relation P57
type Q502895
Raj [ANSWER] Bhorer Allo was directed by
['Q4902050', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4902050 property:P57 ?s . ?s rdf:type ontology:Q502895 }
Prabhat Roy
Raj Prabhat Roy Bhorer Allo was directed by
Prabhat Roy
action filter_type
action find
entity Bhorer Allo
relation director
type common name
['Bhorer Allo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Bhorer_Allo property:director ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7237239
P58
Q838948
USER
What is that person a screwriter of ?
(c(Q838948),P58,Q7237239)
action filter_type
action find_reverse
entity Q7237239
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q7237239']
SELECT DISTINCT ?x WHERE { ?x property:P58 resource:Q7237239 . ?x rdf:type ontology:Q838948 }
Prabhat Roy
action filter_type
action find_reverse
entity Prabhat Roy
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Prabhat Roy']
SELECT DISTINCT ?x WHERE { ?x property:screenwriter resource:Prabhat_Roy . ?x rdf:type ontology:work_of_art }
[]
work of art
Q16248785
SYSTEM
Hangover
Q16248785
(c(Q838948),P58,Q7237239)
action filter_type
action find_reverse
entity Q7237239
relation P58
type Q838948
That person a screwriter of is the [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q7237239']
SELECT DISTINCT ?x WHERE { ?x property:P58 resource:Q7237239 . ?x rdf:type ontology:Q838948 }
Hangover
That person a screwriter of is the Hangover
Hangover
action filter_type
action find_reverse
entity Prabhat Roy
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Prabhat Roy']
SELECT DISTINCT ?x WHERE { ?x property:screenwriter resource:Prabhat_Roy . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16248785
P161
Q502895
USER
Who starred in that work of art ?
(Q16248785,P161,c(Q502895))
action filter_type
action find
entity Q16248785
relation P161
type Q502895
['Q16248785', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q16248785 property:P161 ?v }
Hangover
action filter_type
action find
entity Hangover
relation cast member
type common name
['Hangover', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Hangover property:cast_member ?v }
[]
common name
Q7250587
SYSTEM
Prosenjit Chatterjee
Q7250587
(Q16248785,P161,c(Q502895))
action filter_type
action find
entity Q16248785
relation P161
type Q502895
[ANSWER] starred in that work of art
['Q16248785', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q16248785 property:P161 ?v }
Prosenjit Chatterjee
Prosenjit Chatterjee starred in that work of art
Prosenjit Chatterjee
action filter_type
action find
entity Hangover
relation cast member
type common name
['Hangover', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Hangover property:cast_member ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7250587 Q5384802
P161
Q838948
USER
Does Eradane Maduve have that person as actor ?
(Q5384802,P161,Q7250587)
action is_in
entity Q5384802
action find
entity Q7250587
relation P161
['Q5384802', 'P161', 'Q7250587']
ASK WHERE { resource:Q7250587 property:P161 resource:Q5384802 }
Prosenjit Chatterjee Eradane Maduve
action is_in
entity Eradane Maduve
action find
entity Prosenjit Chatterjee
relation cast member
['Eradane Maduve', 'cast member', 'Prosenjit Chatterjee']
ASK WHERE { resource:Prosenjit_Chatterjee property:cast_member resource:Eradane_Maduve }
[]
work of art
SYSTEM
NO
(Q5384802,P161,Q7250587)
action is_in
entity Q5384802
action find
entity Q7250587
relation P161
[ANSWER]
['Q5384802', 'P161', 'Q7250587']
ASK WHERE { resource:Q7250587 property:P161 resource:Q5384802 }
No
action is_in
entity Eradane Maduve
action find
entity Prosenjit Chatterjee
relation cast member
['Eradane Maduve', 'cast member', 'Prosenjit Chatterjee']
ASK WHERE { resource:Prosenjit_Chatterjee property:cast_member resource:Eradane_Maduve }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2654066
P669
Q34442 Q83620 Q838948
USER
Which works of art are located on less number of roads or thoroughfares than statue of Sacred Heart of Jesus Christ ?
(c(Q838948),P669,c(Q34442)|c(Q83620))
action less
action union
action find_tuple_counts
relation P669
type Q838948
type Q34442
action find_tuple_counts
relation P669
type Q838948
type Q83620
action count
action filter_multi_types
action find
entity Q2654066
relation P669
type Q34442
type Q83620
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?q WHERE { { ?q property:P669 ?g . ?q rdf:type ontology:Q838948 . ?g rdf:type ontology:Q34442 } UNION { ?q property:P669 ?g . ?g rdf:type ontology:Q83620 . ?q rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q2654066 property:P669 ?m . { { ?m rdf:type ontology:Q83620 } UNION { ?m rdf:type ontology:Q34442 } } } } }
statue of Sacred Heart of Jesus Christ
action less
action union
action find_tuple_counts
relation located on street
type work of art
type road
action find_tuple_counts
relation located on street
type work of art
type thoroughfare
action count
action filter_multi_types
action find
entity statue of Sacred Heart of Jesus Christ
relation located on street
type road
type thoroughfare
[{'concept': 'work of art'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?q WHERE { { ?q property:located_on_street ?g . ?q rdf:type ontology:work_of_art . ?g rdf:type ontology:road } UNION { ?q property:located_on_street ?g . ?g rdf:type ontology:thoroughfare . ?q rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:statue_of_Sacred_Heart_of_Jesus_Christ property:located_on_street ?m . { { ?m rdf:type ontology:thoroughfare } UNION { ?m rdf:type ontology:road } } } } }
[]
road thoroughfare work of art
Q3497619 Q16941175 Q18201640
SYSTEM
equestrian statue of Louis XIII, The Republic, Wikipedia Monument
Q18180817 Q18180816 Q23593677 Q23316603 Q23038443 Q23714516 Q3153574 Q26485436 Q17527231 Q15181960 Q23640066 Q23593617 Q17347232 Q1111051 Q3223836 Q23448415 Q20792934 Q3323366 Q2994621 Q23593565 Q27311620 Q17522039 Q20803861 Q3323388 Q23608368 Q17341711 Q23608361 Q15629970 Q3176192 Q4868732 Q23641900 Q23316480 Q18168657 Q16941329 Q3034186 Q392352 Q5185458 Q23593603 Q3076264 Q23448424 Q3076179 Q20641888 Q15878813 Q15176615 Q3205071 Q23593574 Q16941175 Q16941479 Q3323377 Q23316374 Q20800382 Q23384378 Q16941473 Q23608338 Q16941469 Q3208366 Q3497619 Q23641880 Q10144 Q23641881 Q23640042 Q3088245 Q3497614 Q3497616 Q18201640 Q26485491 Q23637014 Q23641883 Q23637013 Q23608352 Q23646399 Q23638102 Q1870178 Q17518369 Q17518368 Q19930022 Q16941487 Q23639908 Q18180811 Q17518367 Q23459664 Q3531119 Q24248463 Q27087094 Q20800698 Q16941420 Q2869431 Q23638215 Q23384803 Q16941383 Q2984293 Q23641895 Q23641894 Q18168531 Q16941202 Q23641878 Q2939929 Q15726574 Q16941497 Q23317468 Q23593665 Q15056206 Q3212087 Q23637009 Q18168586 Q3213193 Q26485600 Q2559736 Q21560732 Q3819918 Q23646404 Q23641882 Q23641884 Q23641885 Q23641886 Q15211575 Q16941451 Q16941450 Q19693349 Q6091808 Q23637005 Q27105820 Q3559220 Q16941430 Q23608287 Q7324819 Q18102059 Q3076128 Q25339467 Q18168597 Q18168591 Q23640011 Q3203476 Q23459626 Q23714159 Q16941449 Q19691897 Q2377453 Q3076294 Q15726556 Q12432989 Q23646418 Q20799674 Q23593649 Q23639910 Q23638031 Q23638034 Q23638037 Q20792861 Q635634 Q18157051 Q3069759 Q7604483 Q7604481 Q26485518 Q23593222 Q13499542 Q15160973 Q23385498 Q23320730 Q6463260 Q23641898 Q23593554 Q15211805 Q23639906 Q23639907 Q23638028 Q23639905 Q18168592 Q23639900 Q23593635 Q3542568 Q16056033 Q15992425 Q3323408 Q7604492 Q7604495 Q16941400 Q23316244 Q23608302 Q17518375 Q3497629 Q16941502 Q3497617 Q15057808 Q21546419 Q23640092 Q2376846 Q23593212 Q23383008 Q15726575 Q23637015 Q23646122 Q19691875 Q3323414 Q23637012 Q3076201 Q3323370 Q23646412 Q3486535 Q20799766 Q3497628 Q23640019 Q23640053 Q23608274 Q3128616 Q23608379 Q16941448 Q23383642 Q3323390 Q23316707 Q16014270
(c(Q838948),P669,c(Q34442)|c(Q83620))
action less
action union
action find_tuple_counts
relation P669
type Q838948
type Q34442
action find_tuple_counts
relation P669
type Q838948
type Q83620
action count
action filter_multi_types
action find
entity Q2654066
relation P669
type Q34442
type Q83620
[ANSWERS] are located on less number of roads or thoroughfares than statue of Sacred Heart of Jesus Christ
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?q WHERE { { ?q property:P669 ?g . ?q rdf:type ontology:Q838948 . ?g rdf:type ontology:Q34442 } UNION { ?q property:P669 ?g . ?g rdf:type ontology:Q83620 . ?q rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q2654066 property:P669 ?m . { { ?m rdf:type ontology:Q83620 } UNION { ?m rdf:type ontology:Q34442 } } } } }
Jean-Jacques Rousseau Pierre Corneille L'Âge d'airain Man Equestrian statue of Prince Albert equestrian statue of Louis XIII Interpénétration des deux espaces Porta de Franca Equestrian statue of William III Luigi Cherubini's tomb Valentin Haüy Horace Wells Equestrian statue of William the Conqueror Colonne Vendôme Le Kiosque des noctambules Monument to Maréchal Leclerc equestrian statue of Joan of Arc monument to Komitas Consigne à vie Triumphal Dance Monument to Juan Bravo Murillo Basse-cour equestrian statue of Napoleon Paul Baudry's tomb Monument to Émile and Isaac Péreire Monument aux morts de l'île du Souvenir Monument to Tristan Bernard Chronos 15 Joan of Arc, Liberator of France Batcolumn Jules Simon Hommage to Léon Monument to the Russian Expeditionary Force Equality Monumento a los Caidos por España Frédéric Chopin's tomb Crimean War Memorial Myron Timothy Herrick fontaine du Château d'eau Monument to Théophile Roussel fontaine de l'Avril Amiral du Chaffault Lost Luggage Depot Alexandre Aguado's tomb L'Âme de la France Washington and La Fayette The Republic The July Revolution François-Joseph Lefebvre's tomb Penelope equestrian statue of Louis XIV Monument to Philippe Pinel The Glorious First of June Monument to Léon Serpollet La Patrie en danger War Memorial equestrian statue of Louis XIII Brest Fontaine Bartholdi Lille Monument to Maréchal Lyautey From Boullée to Eternity equestrian statue of Joan of Arc equestrian statue of La Fayette Wikipedia Monument Cyclope Saint Denis Marseille Monument to Maréchal Moncey Monument to Maréchal Juin and the Italian Campaign Monument to Baron Taylor Monument to Jean Macé Lloyd Memorial Aristide Briand Anne of Brittany Equestrian statue of Edward VII The Adoption of universal suffrage Monument to Louis Pasteur Monument to Auguste Comte Anne of Brittany Comte de la Pérouse Tombe du Dragon equestrian statue of Emir Abdelkader The Venus Fountain equestrian statue of René II The Tennis Court Oath Atlas Édith Piaf Mystery Fraternity colonne Louis-XVI Honoré de Balzac Seine equestrian statue of José de San Martín Liberty Bordeaux Carolina equestrian statue of Louis XIV The Proclamation of the Republic Hommage to Berty Albrecht Comte de Rochambeau Théodore Barrière's tomb The Fourth Apple Le Passe-muraille Rearing Horse La Tour d'exercice Pyramide du Centenaire Millennium Monument of Brest Paternoster Topos V Monument to Johann Strauss Lyon Nantes Rouen Strasbourg Eugène Gautier's tomb The Proclamation of the Abolition of the Monarchy The Battle of Valmy Begegnung It Happened on Fifth Avenue Bust of Dalida Las Lecturas del Dos de Mayo Écoute The Storming of the Bastille Monument to Alexandre Dumas, père Richard Coeur de Lion Statue of Charles II fontaine de Diane Eagle Squadron Memorial equestrian statue of Edward VII monument to Alexander I of Yugoslavia Bust of Habib Bourguiba L'Heure de tous Monument to Diego Brosset Louis XIV La Fête de la Fédération Three Way Piece No. 2: The Archer The Centaur fontaine du jardin Villemin Monochrome for Paris Oscar Wilde's tomb Léon Blum equestrian statue of Bertrand du Guesclin Physichromie double face Monument to Vauban Forêt de candélabres The Harvest Uranus equestrian statue of Joan of Arc Fontaine-labyrinthe Pulitzer Fountain Fers Statue of George V Equestrian statue of George IV Dragon de Dragignan Monument to Alphand equestrian statue of Maréchal Joffre Richard Wallace's tomb The Return of the Prodigal Son 12th Arrondissement War Memorial La Joute Général de Gaulle Terre du Mexique en terre de France Piñeyro's tomb Monument to Maréchal Fayolle Monument to Maréchal Galliéni Red Balcony Monument to François Coppée equestrian statue of Albert I Wings of Dawn Monument to Général de Lattre de Tassigny Twisted Lamppost Star monument fontaine à Jean-Pierre Pléney Des baigneuses pas très académiques Monument à Francis Garnier Equestrian statue of Charles I Statue of Nelson Mandela Lion La Dame de Bercy Monument to Sarah Bernhardt Ange Guépin Equestrian statue of George Washington The First Bastille Day equestrian statue of Joan of Arc Monument to the Republic Statue of George Canning Law La Place des enfants Luís de Camões Young Athletes equestrian statue of Maréchal Foch Chevalier de la Barre Monument to Paul Gavarni Hill Arches Monument to Mickiewicz Eugène Carrière fontaine de la Porte Dorée Héloïse and Abélard's tomb Reconciliation Slat equestrian statue of Louis XIV equestrian statue of Simón Bolívar Monument to Général Mangin Bust of Lucien Guitry Monument to Alexandre Dumas, fils Hautes Herbes Henri Becque 4th August 1789 Monument to Maréchal Juin Delille's tomb L'Un fontaines de la place des Vosges
Equestrian statue of Louis XIII, The Republic and Wikipedia Monument are located on less number of roads or thoroughfares than statue of Sacred Heart of Jesus Christ
equestrian statue of Louis XIII The Republic Wikipedia Monument
action less
action union
action find_tuple_counts
relation located on street
type work of art
type road
action find_tuple_counts
relation located on street
type work of art
type thoroughfare
action count
action filter_multi_types
action find
entity statue of Sacred Heart of Jesus Christ
relation located on street
type road
type thoroughfare
[{'concept': 'work of art'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?q WHERE { { ?q property:located_on_street ?g . ?q rdf:type ontology:work_of_art . ?g rdf:type ontology:road } UNION { ?q property:located_on_street ?g . ?g rdf:type ontology:thoroughfare . ?q rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:statue_of_Sacred_Heart_of_Jesus_Christ property:located_on_street ?m . { { ?m rdf:type ontology:thoroughfare } UNION { ?m rdf:type ontology:road } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7237239
P21
Q290
USER
What is the sex of Prabhat Roy ?
(Q7237239,P21,c(Q290))
action filter_type
action find
entity Q7237239
relation P21
type Q290
['Q7237239', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q7237239 property:P21 ?i }
Prabhat Roy
action filter_type
action find
entity Prabhat Roy
relation gender
type sex
['Prabhat Roy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Prabhat_Roy property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7237239,P21,c(Q290))
action filter_type
action find
entity Q7237239
relation P21
type Q290
The sex of Prabhat Roy is the [ANSWER]
['Q7237239', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q7237239 property:P21 ?i }
male
The sex of Prabhat Roy is the male
male
action filter_type
action find
entity Prabhat Roy
relation gender
type sex
['Prabhat Roy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Prabhat_Roy property:gender ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2100709
Q290
USER
And how about Gilmore Junio?
(Q2100709,P21,c(Q290))
action filter_type
action find
entity Q2100709
relation P21
type Q290
['Q2100709', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2100709 property:P21 ?k . ?k rdf:type ontology:Q290 }
Gilmore Junio
action filter_type
action find
entity Gilmore Junio
relation gender
type sex
['Gilmore Junio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Gilmore_Junio property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2100709,P21,c(Q290))
action filter_type
action find
entity Q2100709
relation P21
type Q290
[ANSWER]
['Q2100709', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2100709 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Gilmore Junio
relation gender
type sex
['Gilmore Junio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Gilmore_Junio property:gender ?k . ?k rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q19876710
P21
Q502895
USER
Is Adam Lisagor a that sex ?
(Q19876710,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19876710
relation P21
['Q19876710', 'P21', 'Q6581097']
ASK WHERE { resource:Q19876710 property:P21 resource:Q6581097 }
male Adam Lisagor
action is_in
entity male
action find
entity Adam Lisagor
relation gender
['Adam Lisagor', 'gender', 'male']
ASK WHERE { resource:Adam_Lisagor property:gender resource:male }
[]
common name
SYSTEM
YES
(Q19876710,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19876710
relation P21
[ANSWER]
['Q19876710', 'P21', 'Q6581097']
ASK WHERE { resource:Q19876710 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Adam Lisagor
relation gender
['Adam Lisagor', 'gender', 'male']
ASK WHERE { resource:Adam_Lisagor property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7250587
P161
Q2031291 Q838948
USER
How many releases and works of art stars Prosenjit Chatterjee as actor ?
(c(Q2031291),P161,Q7250587) (c(Q838948),P161,Q7250587)
action count
action union
action filter_type
action find_reverse
entity Q7250587
relation P161
type Q2031291
action filter_type
action find_reverse
entity Q7250587
relation P161
type Q838948
[{'concept': 'Q2031291'}, 'P161', 'Q7250587'] [{'concept': 'Q838948'}, 'P161', 'Q7250587']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } }
Prosenjit Chatterjee
action count
action union
action filter_type
action find_reverse
entity Prosenjit Chatterjee
relation cast member
type release
action filter_type
action find_reverse
entity Prosenjit Chatterjee
relation cast member
type work of art
[{'concept': 'release'}, 'cast member', 'Prosenjit Chatterjee'] [{'concept': 'work of art'}, 'cast member', 'Prosenjit Chatterjee']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:release ) ( ontology:work_of_art ) } }
[]
release work of art
SYSTEM
2 releases and 90 works of art
Q19572789 Q16247117 Q16246581 Q18124879 Q16251179 Q16248979 Q16829159 Q6401236 Q16740241 Q19898425 Q6732854 Q16253952 Q16246574 Q23840915 Q6929402 Q16736288 Q18345336 Q5266626 Q19824771 Q16950021 Q16249431 Q6897558 Q20900160 Q7499766 Q16253182 Q16253475 Q4848679 Q7286288 Q19363426 Q7903248 Q5072851 Q6898957 Q4907444 Q7653821 Q19573045 Q21001647 Q7496010 Q7918221 Q1637583 Q16252650 Q7063830 Q16248797 Q5299245 Q17069780 Q16968455 Q7887009 Q16825176 Q25588506 Q16246383 Q15043364 Q24288498 Q16248785 Q16247709 Q16057862 Q16057861 Q18602987 Q16848669 Q16824197 Q16952083 Q15043352 Q7488394 Q7678425 Q16251285 Q17071526 Q5580864 Q19572032 Q6353131 Q16249772 Q6875617 Q16961312 Q16962691 Q24446205 Q7144731 Q16251567 Q16247648 Q16246727 Q6353143 Q15637920 Q13522751 Q4779122 Q16248580 Q16248748 Q4826295 Q16254223 Q16254503 Q16250195 Q16253481 Q16058230 Q16253889 Q16250218 Q7286314 Q16247429
(c(Q2031291),P161,Q7250587) (c(Q838948),P161,Q7250587)
action count
action union
action filter_type
action find_reverse
entity Q7250587
relation P161
type Q2031291
action filter_type
action find_reverse
entity Q7250587
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q2031291'}, 'P161', 'Q7250587'] [{'concept': 'Q838948'}, 'P161', 'Q7250587']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } }
Madhur Milan Bhai Amar Bhai Amar Sangi Force Mama Bhagne Houseful Apan Por Khela Mayar Badhon Soldier Mahakaal Sathi Amar Amar Prem Zulfiqar Mr Funtoosh Apon Holo Por Lathi Devdas Lorai: Play to Live Badnam Jaatishwar Mon Mane Na Sindurer Adhikar Shob Charitro Kalponik Pratisodh Raju Uncle Baishe Srabon Rajkumar Mahabharat Utsab Chaowa Pawa Moner Manush Bikram Singha: The Lion Is Back Swapner Din Moner Manush Tara Shibaji Veerta Chokher Bali Ora Charjon Noukadubi Hanuman.com Dosar Pratibad Refugee Unishe April Annadaata Khawto Biyer Phool Porichoi Adarer Bon Hangover Criminal Aami Sei Meye Aamar Tumi Agni Shikha Inquilaab Aasroy Swapno Ami, Yasin Ar Amar Madhubala Shanghai Takkar Mandira Tumi Ele Tai Golmaal Guru Shisya Kalishankar Jyoti Mishor Rohoshyo Sasurbari Zindabad Paribar Praktan Pathbhola Mayer Anchal Choto Bou Apan Amar Apan Kalishankar Bakul Priya Hochheta Ki Aparajita Tumi Gharjamai Gyarakal Autograph Shudhu Tumi Sudhu Ekbar Bolo Kartavya Rakhe Hari Mare Ke Agni Sangharsha Katha Dilam Rajmohol Cholo Paltai
2 releases and 90 works of art
action count
action union
action filter_type
action find_reverse
entity Prosenjit Chatterjee
relation cast member
type release
action filter_type
action find_reverse
entity Prosenjit Chatterjee
relation cast member
type work of art
[{'concept': 'release'}, 'cast member', 'Prosenjit Chatterjee'] [{'concept': 'work of art'}, 'cast member', 'Prosenjit Chatterjee']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:release ) ( ontology:work_of_art ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q838948 Q2342494 Q201658
USER
Which works of art are max number of collectables and film genres based on ?
(c(Q2342494)|c(Q201658),P144,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P144 ?b . ?b rdf:type ontology:Q838948 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P144 ?b . ?b rdf:type ontology:Q838948 . ?u rdf:type ontology:Q201658 } } GROUP BY ?b } } . FILTER ( ?p = ?g ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P144 ?s . ?s rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } UNION { ?q property:P144 ?s . ?s rdf:type ontology:Q838948 . ?q rdf:type ontology:Q201658 } } GROUP BY ?s } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:based_on ?b . ?b rdf:type ontology:work_of_art . ?u rdf:type ontology:collectable } UNION { ?u property:based_on ?b . ?b rdf:type ontology:work_of_art . ?u rdf:type ontology:film_genre } } GROUP BY ?b } } . FILTER ( ?p = ?g ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:based_on ?s . ?s rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } UNION { ?q property:based_on ?s . ?s rdf:type ontology:work_of_art . ?q rdf:type ontology:film_genre } } GROUP BY ?s } }
[]
work of art collectable film genre
Q41567 Q669694
SYSTEM
Hamlet, A Doll's House
Q41567 Q669694
(c(Q2342494)|c(Q201658),P144,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
Of art based on [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P144 ?b . ?b rdf:type ontology:Q838948 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P144 ?b . ?b rdf:type ontology:Q838948 . ?u rdf:type ontology:Q201658 } } GROUP BY ?b } } . FILTER ( ?p = ?g ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P144 ?s . ?s rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } UNION { ?q property:P144 ?s . ?s rdf:type ontology:Q838948 . ?q rdf:type ontology:Q201658 } } GROUP BY ?s } }
Hamlet A Doll's House
Of art based on Hamlet and A Doll's House
Hamlet A Doll's House
action argmax
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:based_on ?b . ?b rdf:type ontology:work_of_art . ?u rdf:type ontology:collectable } UNION { ?u property:based_on ?b . ?b rdf:type ontology:work_of_art . ?u rdf:type ontology:film_genre } } GROUP BY ?b } } . FILTER ( ?p = ?g ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:based_on ?s . ?s rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } UNION { ?q property:based_on ?s . ?s rdf:type ontology:work_of_art . ?q rdf:type ontology:film_genre } } GROUP BY ?s } }
[]