Simple Question (Direct)
Simple Question
Q1089794
P641
Q31629
USER
Which type of sport was Erkki Antila a part of ?
(Q1089794,P641,c(Q31629))
action filter_type
action find
entity Q1089794
relation P641
type Q31629
['Q1089794', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q1089794 property:P641 ?h . ?h rdf:type ontology:Q31629 }
Erkki Antila
action filter_type
action find
entity Erkki Antila
relation sport
type type of sport
['Erkki Antila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Erkki_Antila property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Q166788
SYSTEM
biathlon
Q166788
(Q1089794,P641,c(Q31629))
action filter_type
action find
entity Q1089794
relation P641
type Q31629
The [ANSWER] was Erkki Antila a part of
['Q1089794', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q1089794 property:P641 ?h . ?h rdf:type ontology:Q31629 }
biathlon
The biathlon was Erkki Antila a part of
biathlon
action filter_type
action find
entity Erkki Antila
relation sport
type type of sport
['Erkki Antila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Erkki_Antila property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1089794
P22
Q502895
USER
Which person has Erkki Antila as father ?
(c(Q502895),P22,Q1089794)
action filter_type
action find_reverse
entity Q1089794
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1089794']
SELECT DISTINCT ?z WHERE { ?z property:P22 resource:Q1089794 . ?z rdf:type ontology:Q502895 }
Erkki Antila
action filter_type
action find_reverse
entity Erkki Antila
relation father
type common name
[{'concept': 'common name'}, 'father', 'Erkki Antila']
SELECT DISTINCT ?z WHERE { ?z property:father resource:Erkki_Antila . ?z rdf:type ontology:common_name }
[]
common name
Q428384
SYSTEM
Timo Antila
Q428384
(c(Q502895),P22,Q1089794)
action filter_type
action find_reverse
entity Q1089794
relation P22
type Q502895
[ANSWER] has Erkki Antila as father
[{'concept': 'Q502895'}, 'P22', 'Q1089794']
SELECT DISTINCT ?z WHERE { ?z property:P22 resource:Q1089794 . ?z rdf:type ontology:Q502895 }
Timo Antila
Timo Antila has Erkki Antila as father
Timo Antila
action filter_type
action find_reverse
entity Erkki Antila
relation father
type common name
[{'concept': 'common name'}, 'father', 'Erkki Antila']
SELECT DISTINCT ?z WHERE { ?z property:father resource:Erkki_Antila . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1089794
P1038
Q502895
USER
Which people are relatives of Erkki Antila ?
(Q1089794,P1038,c(Q502895))
action filter_type
action find
entity Q1089794
relation P1038
type Q502895
['Q1089794', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1089794 property:P1038 ?l . ?l rdf:type ontology:Q502895 }
Erkki Antila
action filter_type
action find
entity Erkki Antila
relation relative
type common name
['Erkki Antila', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Erkki_Antila property:relative ?l . ?l rdf:type ontology:common_name }
[]
common name
Q458515 Q259820 Q2083376
SYSTEM
Shiho Nakashima, Hilkka Riihivuori, Kirsi Välimaa
Q458515 Q259820 Q2083376
(Q1089794,P1038,c(Q502895))
action filter_type
action find
entity Q1089794
relation P1038
type Q502895
[ANSWERS] are relatives of Erkki Antila
['Q1089794', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1089794 property:P1038 ?l . ?l rdf:type ontology:Q502895 }
Shiho Nakashima Hilkka Riihivuori Kirsi Välimaa
Shiho Nakashima, Hilkka Riihivuori and Kirsi Välimaa are relatives of Erkki Antila
Shiho Nakashima Hilkka Riihivuori Kirsi Välimaa
action filter_type
action find
entity Erkki Antila
relation relative
type common name
['Erkki Antila', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Erkki_Antila property:relative ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1753301
Q502895
USER
And how about Stanislaw Siestrzencewicz?
(Q1753301,P1038,c(Q502895))
action filter_type
action find
entity Q1753301
relation P1038
type Q502895
['Q1753301', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1753301 property:P1038 ?h . ?h rdf:type ontology:Q502895 }
Stanislaw Siestrzencewicz
action filter_type
action find
entity Stanislaw Siestrzencewicz
relation relative
type common name
['Stanislaw Siestrzencewicz', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Stanislaw_Siestrzencewicz property:relative ?h . ?h rdf:type ontology:common_name }
[]
common name
Q558489
SYSTEM
Józef Brandt
Q558489
(Q1753301,P1038,c(Q502895))
action filter_type
action find
entity Q1753301
relation P1038
type Q502895
[ANSWER]
['Q1753301', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1753301 property:P1038 ?h . ?h rdf:type ontology:Q502895 }
Józef Brandt
Józef Brandt
action filter_type
action find
entity Stanislaw Siestrzencewicz
relation relative
type common name
['Stanislaw Siestrzencewicz', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Stanislaw_Siestrzencewicz property:relative ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q558489 Q270 Q12128331
P937
Q56061
USER
Do that person have Warsaw and Bonciu as their work location ?
(Q558489,P937,Q270) (Q558489,P937,Q12128331)
action is_in
entity Q558489
action intersection
action find_reverse
entity Q270
relation P937
action find_reverse
entity Q12128331
relation P937
['Q558489', 'P937', 'Q270'] ['Q558489', 'P937', 'Q12128331']
ASK WHERE { resource:Q558489 property:P937 resource:Q270 . resource:Q558489 property:P937 resource:Q12128331 }
Józef Brandt Warsaw Bonciu
action is_in
entity Józef Brandt
action intersection
action find_reverse
entity Warsaw
relation work location
action find_reverse
entity Bonciu
relation work location
['Józef Brandt', 'work location', 'Warsaw'] ['Józef Brandt', 'work location', 'Bonciu']
ASK WHERE { resource:Józef_Brandt property:work_location resource:Warsaw . resource:Józef_Brandt property:work_location resource:Bonciu }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q558489,P937,Q270) (Q558489,P937,Q12128331)
action is_in
entity Q558489
action intersection
action find_reverse
entity Q270
relation P937
action find_reverse
entity Q12128331
relation P937
[ANSWER]
['Q558489', 'P937', 'Q270'] ['Q558489', 'P937', 'Q12128331']
ASK WHERE { resource:Q558489 property:P937 resource:Q270 . resource:Q558489 property:P937 resource:Q12128331 }
YES and NO respectively
action is_in
entity Józef Brandt
action intersection
action find_reverse
entity Warsaw
relation work location
action find_reverse
entity Bonciu
relation work location
['Józef Brandt', 'work location', 'Warsaw'] ['Józef Brandt', 'work location', 'Bonciu']
ASK WHERE { resource:Józef_Brandt property:work_location resource:Warsaw . resource:Józef_Brandt property:work_location resource:Bonciu }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q458515 Q21468760
P551
Q56061
USER
How many administrative territories did Shiho Nakashima or Phillip Klimek reside ?
(Q458515,P551,c(Q56061)) (Q21468760,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q458515
relation P551
type Q56061
action filter_type
action find
entity Q21468760
relation P551
type Q56061
['Q458515', 'P551', {'concept': 'Q56061'}] ['Q21468760', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { resource:Q458515 property:P551 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q21468760 property:P551 ?m . ?m rdf:type ontology:Q56061 } }
Shiho Nakashima Phillip Klimek
action count
action union
action filter_type
action find
entity Shiho Nakashima
relation residence
type administrative territorial entity
action filter_type
action find
entity Phillip Klimek
relation residence
type administrative territorial entity
['Shiho Nakashima', 'residence', {'concept': 'administrative territorial entity'}] ['Phillip Klimek', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { resource:Shiho_Nakashima property:residence ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:Phillip_Klimek property:residence ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q64 Q3141
(Q458515,P551,c(Q56061)) (Q21468760,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q458515
relation P551
type Q56061
action filter_type
action find
entity Q21468760
relation P551
type Q56061
[ANSWER]
['Q458515', 'P551', {'concept': 'Q56061'}] ['Q21468760', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { resource:Q458515 property:P551 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q21468760 property:P551 ?m . ?m rdf:type ontology:Q56061 } }
Berlin Melbourne
2
action count
action union
action filter_type
action find
entity Shiho Nakashima
relation residence
type administrative territorial entity
action filter_type
action find
entity Phillip Klimek
relation residence
type administrative territorial entity
['Shiho Nakashima', 'residence', {'concept': 'administrative territorial entity'}] ['Phillip Klimek', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { resource:Shiho_Nakashima property:residence ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:Phillip_Klimek property:residence ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q7725634 Q234460
USER
Which people plays a role in around 1 literary works and texts ?
(c(Q7725634)|c(Q234460),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } GROUP BY ?s } . FILTER ( ?r = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type text
value 1
[[{'concept': 'literary work'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:text ) } } GROUP BY ?s } . FILTER ( ?r = 1 ) }
[]
common name literary work text
Q7243 Q5879 Q9181
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, Abraham
Q216362 Q315795 Q744125 Q1353836 Q36724 Q200902 Q10261 Q5879 Q2458567 Q118653 Q5685 Q36591 Q1291267 Q6323112 Q456931 Q830183 Q62788 Q313421 Q460763 Q1338025 Q229702 Q7200 Q84192 Q2412941 Q9077 Q81422 Q3187975 Q207535 Q662533 Q594805 Q719418 Q991 Q7243 Q8462 Q315628 Q321166 Q154971 Q76721 Q1394 Q1398 Q638973 Q7326 Q63639 Q15995718 Q75568 Q1938388 Q7198 Q6184 Q282280 Q109860 Q229432 Q913 Q8058 Q106077 Q141791 Q200637 Q193660 Q43718 Q1281177 Q75090 Q2596433 Q1747004 Q2116944 Q360798 Q205523 Q230314 Q85393 Q889694 Q297050 Q1774982 Q107626 Q205365 Q8820 Q9181 Q671872 Q83321 Q39259
(c(Q7725634)|c(Q234460),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
value 1
[ANSWERS] play a role in around 1 literary works and texts
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } GROUP BY ?s } . FILTER ( ?r = 1 ) }
August von Goethe Bernal Díaz del Castillo Chaerephon Hrothgar Attila the Hun Shem Pythagoras Johann Wolfgang von Goethe François Bonivard August Engelhardt Anton Chekhov Vladimir Nabokov Gundomar I Nahor Sextus Tarquinius Eve Jethro Abel Benjamin Emma Forsayth Ham Alexander Pushkin Maximilian I of Mexico The Fox and the Cat Moses Noah Judith Roland Hrólfr Kraki Jochebed Vasily Rozanov Fyodor Dostoyevsky Leo Tolstoy Timur Cuitláhuac Abihu Carlota of Mexico Godfrey of Bouillon Vladimir Lenin Virgil Leofric, Earl of Mercia Hernán Cortés Charlotte Buff Albert Hahl Ottilie von Goethe Miriam Ovid Plotius Tucca Vladimir Solovyov Dagobert I Lucretia Socrates Louis XI of France Lady Godiva Moctezuma IIl Japheth Ramon Llull Nikolai Gogol Beowulf Adele Schopenhauer Naomi Timon of Athens Wealhþeow Saint Eligius Zipporah La Malinche Friedrich Wilhelm Riemer Hygelac Cuauhtémoc Ruth Seth Cain Lucius Varius Rufus Abraham Isaac Giacomo Casanova Recep Tayyip Erdoğan
Leo Tolstoy, Johann Wolfgang von Goethe and Abraham play a role in around 1 literary works and texts
Leo Tolstoy Johann Wolfgang von Goethe Abraham
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type text
value 1
[[{'concept': 'literary work'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:text ) } } GROUP BY ?s } . FILTER ( ?r = 1 ) }
[]