Simple Question (Direct)
Simple Question
Q1966634
P162
Q502895
USER
Which person is the produced of Süskind ?
(Q1966634,P162,c(Q502895))
action filter_type
action find
entity Q1966634
relation P162
type Q502895
['Q1966634', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1966634 property:P162 ?t }
Süskind
action filter_type
action find
entity Süskind
relation producer
type common name
['Süskind', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Süskind property:producer ?t }
[]
common name
Q2324859
SYSTEM
San Fu Maltha
Q2324859
(Q1966634,P162,c(Q502895))
action filter_type
action find
entity Q1966634
relation P162
type Q502895
[ANSWER] is the produced of Süskind
['Q1966634', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1966634 property:P162 ?t }
San Fu Maltha
San Fu Maltha is the produced of Süskind
San Fu Maltha
action filter_type
action find
entity Süskind
relation producer
type common name
['Süskind', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Süskind property:producer ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1966634
P57
Q502895
USER
Which person served as the directed of Süskind ?
(Q1966634,P57,c(Q502895))
action filter_type
action find
entity Q1966634
relation P57
type Q502895
['Q1966634', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1966634 property:P57 ?t . ?t rdf:type ontology:Q502895 }
Süskind
action filter_type
action find
entity Süskind
relation director
type common name
['Süskind', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Süskind property:director ?t . ?t rdf:type ontology:common_name }
[]
common name
Q137261
SYSTEM
Rudolf van den Berg
Q137261
(Q1966634,P57,c(Q502895))
action filter_type
action find
entity Q1966634
relation P57
type Q502895
[ANSWER] served as the directed of Süskind
['Q1966634', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1966634 property:P57 ?t . ?t rdf:type ontology:Q502895 }
Rudolf van den Berg
Rudolf van den Berg served as the directed of Süskind
Rudolf van den Berg
action filter_type
action find
entity Süskind
relation director
type common name
['Süskind', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Süskind property:director ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1966634
P495
Q15617994
USER
Which administrative territory is the country of origin of that work of art ?
(Q137261,P495,c(Q15617994))
action filter_type
action find
entity Q1966634
relation P495
type Q15617994
['Q137261', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1966634 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Süskind
action filter_type
action find
entity Süskind
relation country of origin
type designation for an administrative territorial entity
['Rudolf van den Berg', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Süskind property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q137261,P495,c(Q15617994))
action filter_type
action find
entity Q1966634
relation P495
type Q15617994
[ANSWER] is the country of origin of that work of art
['Q137261', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1966634 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Netherlands
Netherlands is the country of origin of that work of art
Netherlands
action filter_type
action find
entity Süskind
relation country of origin
type designation for an administrative territorial entity
['Rudolf van den Berg', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Süskind property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q223393 Q166142
USER
Which people appears as a character in around 1 literary genres and applications ?
(c(Q223393)|c(Q166142),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
value 1
[[{'concept': 'Q223393'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:P674 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q223393 } UNION { ?m rdf:type ontology:Q166142 . ?u rdf:type ontology:Q502895 . ?m property:P674 ?u } } GROUP BY ?u } }
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type application
value 1
[[{'concept': 'literary genre'}, {'concept': 'application'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:characters ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:literary_genre } UNION { ?m rdf:type ontology:application . ?u rdf:type ontology:common_name . ?m property:characters ?u } } GROUP BY ?u } }
[]
common name literary genre application
Q41370 Q33760 Q130221
SYSTEM
David, Bertrand Russell, Frederick II, Holy Roman Emperor
Q5254 Q18720650 Q33923 Q2054 Q33760 Q676555 Q43706 Q36724 Q1093574 Q295824 Q635 Q41370 Q3867479 Q234022 Q92639 Q243203 Q130221 Q41155 Q270438 Q2254800 Q44265 Q317554 Q244912 Q41980 Q2721219 Q2521377 Q1067 Q367387 Q172916 Q59180 Q188646 Q8778 Q223440 Q83041 Q9438 Q81018 Q232913 Q5264 Q1133523 Q9077 Q152717 Q207535 Q426862 Q154938 Q359237 Q4344 Q172353 Q43939 Q355903 Q1425 Q312537 Q111559 Q297776 Q83400 Q76721 Q160441 Q7734 Q311456 Q3236830 Q1398 Q7328 Q434217 Q166876 Q7198 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q8018 Q8409 Q451516 Q102851 Q706003 Q310686 Q316876 Q144622 Q8581 Q913 Q785250 Q211246 Q234533 Q366270 Q41866 Q199991 Q2755054 Q466048 Q868 Q247137 Q9458 Q170335 Q1402591 Q172248 Q188411 Q2497107 Q1541 Q132786 Q6197 Q859 Q203792 Q325026 Q1048 Q665165 Q6691 Q39837 Q36303 Q258369 Q131463 Q267733 Q43746 Q40662 Q205365 Q448586 Q315347 Q332750 Q1405 Q207370 Q60059
(c(Q223393)|c(Q166142),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
value 1
[ANSWERS]
[[{'concept': 'Q223393'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:P674 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q223393 } UNION { ?m rdf:type ontology:Q166142 . ?u rdf:type ontology:Q502895 . ?m property:P674 ?u } } GROUP BY ?u } }
Folquet de Marselha Nyssia Peter Seneca Bertrand Russell Francis of Assisi John Chrysostom Attila the Hun Ruggieri degli Ubaldini Peter I of Portugal Cleopatra David Musciatto Franzesi Inês de Castro Christos Papadimitriou Publius Papinius Statius Frederick II, Holy Roman Emperor Heraclitus Charles of Valois Cunizza da Romano Benedict of Nursia Hugh of Saint Victor Hezekiah Democritus Farinata degli Uberti Ottaviano degli Ubaldini Dante Alighieri William II of Sicily John XXI Diogenes of Sinope Lucan Galen Lucius Junius Brutus Anaxagoras Thomas Aquinas Judas Iscariot Beatrice Portinari Hippocrates Jephthah Moses Henry VII, Holy Roman Emperor Roland Guido Bonatti Bede Charles Martel of Anjou Arnaut Daniel Pyrrhus Anselm of Canterbury Siger of Brabant Trajan Gyges of Lydia Judah Maccabee Pedanius Dioscorides Paulo da Gama Godfrey of Bouillon Rabanus Maurus Joshua Orosius Princess Changping Virgil Vasco da Gama Candaules Isidore of Seville Ovid Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Augustine of Hippo Alexander the Great Gaius Scribonius Curio Boethius Ugolino della Gherardesca Dionysius the Areopagite Guido Cavalcanti Phil Collins Saladin Socrates Petrus Comestor Caiaphas Cornelia Africana Guido Guinizelli Justinian I Joachim of Fiore Guido I da Montefeltro Francesca da Rimini Aristotle Aelius Donatus Muhammad Constance, Queen of Sicily Ohthere Marcus Junius Brutus Bernard of Clairvaux Igor Svyatoslavich Cicero Anastasius II Horace Plato Robert Guiscard Anacharsis Julius Caesar Sordello Homer Averroes Thales Peter Damian Clement V Thaïs Bonaventure John the Baptist Cain Fra Dolcino Peter Lombard Dionysius I of Syracuse Augustus Gaius Cassius Longinus Albertus Magnus
David, Bertrand Russell and Frederick II, Holy Roman Emperor appear as a character in around 1 literary genres and applications
David Bertrand Russell Frederick II, Holy Roman Emperor
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type application
value 1
[[{'concept': 'literary genre'}, {'concept': 'application'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?a ) WHERE { { ?m property:characters ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:literary_genre } UNION { ?m rdf:type ontology:application . ?u rdf:type ontology:common_name . ?m property:characters ?u } } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works had max number of people as the dubbing artist ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:P725 ?r . ?m rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?i ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q386724 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?i = ?u ) }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:voice_actor ?r . ?m rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?i ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:work . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?i = ?u ) }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:P725 ?r . ?m rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?i ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q386724 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?i = ?u ) }
Hércules y el examen de conducir
Hércules y el examen de conducir had max number of people as the dubbing artist
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:voice_actor ?r . ?m rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?i ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:work . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?i = ?u ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26331781 Q1321
P407
Q34770
USER
Is Spanish the language of work for that one ?
(Q26331781,P407,Q1321)
action is_in
entity Q1321
action find
entity Q26331781
relation P407
['Q26331781', 'P407', 'Q1321']
ASK WHERE { resource:Q26331781 property:P407 resource:Q1321 }
Hércules y el examen de conducir Spanish
action is_in
entity Spanish
action find
entity Hércules y el examen de conducir
relation language of work or name
['Hércules y el examen de conducir', 'language of work or name', 'Spanish']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name resource:Spanish }
[]
language
SYSTEM
YES
(Q26331781,P407,Q1321)
action is_in
entity Q1321
action find
entity Q26331781
relation P407
[ANSWER]
['Q26331781', 'P407', 'Q1321']
ASK WHERE { resource:Q26331781 property:P407 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Hércules y el examen de conducir
relation language of work or name
['Hércules y el examen de conducir', 'language of work or name', 'Spanish']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name resource:Spanish }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41370 Q1218 Q2609985
P20
Q56061
USER
Did David die in Jerusalem and Badgeworth ?
(Q41370,P20,Q1218) (Q41370,P20,Q2609985)
action is_in
entity Q41370
action intersection
action find_reverse
entity Q1218
relation P20
action find_reverse
entity Q2609985
relation P20
['Q41370', 'P20', 'Q1218'] ['Q41370', 'P20', 'Q2609985']
ASK WHERE { resource:Q41370 property:P20 resource:Q2609985 . resource:Q41370 property:P20 resource:Q1218 }
David Jerusalem Badgeworth
action is_in
entity David
action intersection
action find_reverse
entity Jerusalem
relation place of death
action find_reverse
entity Badgeworth
relation place of death
['David', 'place of death', 'Jerusalem'] ['David', 'place of death', 'Badgeworth']
ASK WHERE { resource:David property:place_of_death resource:Badgeworth . resource:David property:place_of_death resource:Jerusalem }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q41370,P20,Q1218) (Q41370,P20,Q2609985)
action is_in
entity Q41370
action intersection
action find_reverse
entity Q1218
relation P20
action find_reverse
entity Q2609985
relation P20
[ANSWER]
['Q41370', 'P20', 'Q1218'] ['Q41370', 'P20', 'Q2609985']
ASK WHERE { resource:Q41370 property:P20 resource:Q2609985 . resource:Q41370 property:P20 resource:Q1218 }
YES and NO respectively
action is_in
entity David
action intersection
action find_reverse
entity Jerusalem
relation place of death
action find_reverse
entity Badgeworth
relation place of death
['David', 'place of death', 'Jerusalem'] ['David', 'place of death', 'Badgeworth']
ASK WHERE { resource:David property:place_of_death resource:Badgeworth . resource:David property:place_of_death resource:Jerusalem }
[]