Simple Question (Direct)
Simple Question
Q575815
P20
Q56061
USER
Where did the demise of Jan Drda occur ?
(Q575815,P20,c(Q56061))
action filter_type
action find
entity Q575815
relation P20
type Q56061
['Q575815', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q575815 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Jan Drda
action filter_type
action find
entity Jan Drda
relation place of death
type administrative territorial entity
['Jan Drda', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jan_Drda property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16515
SYSTEM
Dobříš
Q16515
(Q575815,P20,c(Q56061))
action filter_type
action find
entity Q575815
relation P20
type Q56061
The demise of Jan Drda occurred in [ANSWER]
['Q575815', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q575815 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Dobříš
The demise of Jan Drda occurred in Dobříš
Dobříš
action filter_type
action find
entity Jan Drda
relation place of death
type administrative territorial entity
['Jan Drda', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jan_Drda property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q575815
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q16515,P27,c(Q15617994))
action filter_type
action find
entity Q575815
relation P27
type Q15617994
['Q16515', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q575815 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Jan Drda
action filter_type
action find
entity Jan Drda
relation country of citizenship
type designation for an administrative territorial entity
['Dobříš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Drda property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q16515,P27,c(Q15617994))
action filter_type
action find
entity Q575815
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q16515', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q575815 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is that person a civilian of
Czech Republic
action filter_type
action find
entity Jan Drda
relation country of citizenship
type designation for an administrative territorial entity
['Dobříš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Drda property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P706
Q151885
USER
Which concept has its location as that administrative territory ?
(c(Q151885),P706,Q213)
action filter_type
action find_reverse
entity Q213
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q213']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q213 . ?y rdf:type ontology:Q151885 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Czech Republic']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Czech_Republic . ?y rdf:type ontology:concept }
[]
concept
Q611017
SYSTEM
Lusatian culture
Q611017
(c(Q151885),P706,Q213)
action filter_type
action find_reverse
entity Q213
relation P706
type Q151885
[ANSWER] has its location as that administrative territory
[{'concept': 'Q151885'}, 'P706', 'Q213']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q213 . ?y rdf:type ontology:Q151885 }
Lusatian culture
Lusatian culture has its location as that administrative territory
Lusatian culture
action filter_type
action find_reverse
entity Czech Republic
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Czech Republic']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Czech_Republic . ?y rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q611017 Q183
P706
Q1048835
USER
Is Lusatian culture located on Germany ?
(Q611017,P706,Q183)
action is_in
entity Q183
action find
entity Q611017
relation P706
['Q611017', 'P706', 'Q183']
ASK WHERE { resource:Q611017 property:P706 resource:Q183 }
Lusatian culture Germany
action is_in
entity Germany
action find
entity Lusatian culture
relation located on terrain feature
['Lusatian culture', 'located on terrain feature', 'Germany']
ASK WHERE { resource:Lusatian_culture property:located_on_terrain_feature resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q611017,P706,Q183)
action is_in
entity Q183
action find
entity Q611017
relation P706
[ANSWER]
['Q611017', 'P706', 'Q183']
ASK WHERE { resource:Q611017 property:P706 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Lusatian culture
relation located on terrain feature
['Lusatian culture', 'located on terrain feature', 'Germany']
ASK WHERE { resource:Lusatian_culture property:located_on_terrain_feature resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213 Q183 Q408
P530
Q1048835
USER
Is Czech Republic known to have diplomatic connections with Germany and Australia ?
(Q213,P530,Q183) (Q213,P530,Q408)
action is_in
entity Q213
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q408
relation P530
['Q213', 'P530', 'Q183'] ['Q213', 'P530', 'Q408']
ASK WHERE { resource:Q213 property:P530 resource:Q183 . resource:Q213 property:P530 resource:Q408 }
Czech Republic Germany Australia
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Germany'] ['Czech Republic', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Germany . resource:Czech_Republic property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q213,P530,Q183) (Q213,P530,Q408)
action is_in
entity Q213
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q213', 'P530', 'Q183'] ['Q213', 'P530', 'Q408']
ASK WHERE { resource:Q213 property:P530 resource:Q183 . resource:Q213 property:P530 resource:Q408 }
Yes
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Germany'] ['Czech Republic', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Germany . resource:Czech_Republic property:diplomatic_relation resource:Australia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q611017 Q183
P706
Q1048835
USER
Is Lusatian culture located on Germany ?
(Q611017,P706,Q183)
action is_in
entity Q183
action find
entity Q611017
relation P706
['Q611017', 'P706', 'Q183']
ASK WHERE { resource:Q611017 property:P706 resource:Q183 }
Lusatian culture Germany
action is_in
entity Germany
action find
entity Lusatian culture
relation located on terrain feature
['Lusatian culture', 'located on terrain feature', 'Germany']
ASK WHERE { resource:Lusatian_culture property:located_on_terrain_feature resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q611017,P706,Q183)
action is_in
entity Q183
action find
entity Q611017
relation P706
[ANSWER]
['Q611017', 'P706', 'Q183']
ASK WHERE { resource:Q611017 property:P706 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Lusatian culture
relation located on terrain feature
['Lusatian culture', 'located on terrain feature', 'Germany']
ASK WHERE { resource:Lusatian_culture property:located_on_terrain_feature resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q575815 Q214948 Q168921
P19
Q515
USER
Was Jan Drda born at Cegléd and Bragadiru ?
(Q575815,P19,Q214948) (Q575815,P19,Q168921)
action is_in
entity Q575815
action intersection
action find_reverse
entity Q214948
relation P19
action find_reverse
entity Q168921
relation P19
['Q575815', 'P19', 'Q214948'] ['Q575815', 'P19', 'Q168921']
ASK WHERE { resource:Q575815 property:P19 resource:Q214948 . resource:Q575815 property:P19 resource:Q168921 }
Jan Drda Cegléd Bragadiru
action is_in
entity Jan Drda
action intersection
action find_reverse
entity Cegléd
relation place of birth
action find_reverse
entity Bragadiru
relation place of birth
['Jan Drda', 'place of birth', 'Cegléd'] ['Jan Drda', 'place of birth', 'Bragadiru']
ASK WHERE { resource:Jan_Drda property:place_of_birth resource:Cegléd . resource:Jan_Drda property:place_of_birth resource:Bragadiru }
[]
city
SYSTEM
NO
(Q575815,P19,Q214948) (Q575815,P19,Q168921)
action is_in
entity Q575815
action intersection
action find_reverse
entity Q214948
relation P19
action find_reverse
entity Q168921
relation P19
[ANSWER]
['Q575815', 'P19', 'Q214948'] ['Q575815', 'P19', 'Q168921']
ASK WHERE { resource:Q575815 property:P19 resource:Q214948 . resource:Q575815 property:P19 resource:Q168921 }
No
action is_in
entity Jan Drda
action intersection
action find_reverse
entity Cegléd
relation place of birth
action find_reverse
entity Bragadiru
relation place of birth
['Jan Drda', 'place of birth', 'Cegléd'] ['Jan Drda', 'place of birth', 'Bragadiru']
ASK WHERE { resource:Jan_Drda property:place_of_birth resource:Cegléd . resource:Jan_Drda property:place_of_birth resource:Bragadiru }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q151885 Q2342494
USER
Which collectables are the eponym of min number of concepts ?
(c(Q2342494),P138,c(Q151885))
action argmin
action find_tuple_counts
relation P138
type Q2342494
type Q151885
[{'concept': 'Q2342494'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?c ) WHERE { ?z property:P138 ?a . ?a rdf:type ontology:Q151885 . ?z rdf:type ontology:Q2342494 } GROUP BY ?z } } . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?l ) WHERE { ?r property:P138 ?i . ?r rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?l = ?t ) }
action argmin
action find_tuple_counts
relation named after
type collectable
type concept
[{'concept': 'collectable'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?c ) WHERE { ?z property:named_after ?a . ?a rdf:type ontology:concept . ?z rdf:type ontology:collectable } GROUP BY ?z } } . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?l ) WHERE { ?r property:named_after ?i . ?r rdf:type ontology:collectable . ?i rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?l = ?t ) }
[]
concept collectable
Q43361 Q157360 Q335315
SYSTEM
Harry Potter and the Philosopher's Stone, The Horse and His Boy, Quo Vadis
Q3221959 Q6698160 Q611853 Q174596 Q199774 Q5622235 Q80817 Q41359 Q3079814 Q5016294 Q4059432 Q1185104 Q2496790 Q5255480 Q208460 Q1167442 Q5475943 Q664813 Q23968346 Q2224617 Q1798059 Q6945933 Q18574712 Q6733525 Q20723935 Q157360 Q3201517 Q1140295 Q20664630 Q1777426 Q16189074 Q8071845 Q1529754 Q18357218 Q15080194 Q2712995 Q5419355 Q1729647 Q978370 Q16966602 Q6011356 Q4876885 Q41675 Q497359 Q43361 Q17745584 Q459842 Q130924 Q162478 Q1166201 Q135515 Q7768108 Q214371 Q46887 Q23690390 Q7755328 Q329342 Q5186647 Q1211785 Q17054772 Q46758 Q872215 Q835341 Q46751 Q485093 Q16386806 Q831517 Q335315 Q47209 Q7995014 Q7371825 Q7371822 Q7371821 Q5399521 Q6698577 Q3015406 Q686208 Q1347394 Q622577 Q4656261 Q7572227 Q7981046 Q471017 Q7371819 Q47598
(c(Q2342494),P138,c(Q151885))
action argmin
action find_tuple_counts
relation P138
type Q2342494
type Q151885
[ANSWERS] are the eponym of min number of concepts
[{'concept': 'Q2342494'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?c ) WHERE { ?z property:P138 ?a . ?a rdf:type ontology:Q151885 . ?z rdf:type ontology:Q2342494 } GROUP BY ?z } } . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?l ) WHERE { ?r property:P138 ?i . ?r rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?l = ?t ) }
Le Cri du peuple Lucy Rudolphine Tables Moby-Dick Thus Spoke Zarathustra Guy Fawkes Harry Potter and the Order of the Phoenix Cat's Cradle Foucault Caddie, the Story of a Barmaid Aquarium The Fairy Gunmother Unser Bismarck Democracy: The God That Failed Nineteen Eighty-Four Something Wicked This Way Comes Laterna Magica Undine Olomouc, královské hlavní město Moravy Zero rupee note Hyperion My Lost Mexico Alan Turing: The Enigma Mahatma Gandhi Series The Meursault Investigation The Horse and His Boy Fatal Remedies The Road Mélanges en l'honneur de Maurice Abiteboul Goldfinger Im Kkokjong Zij-i Ilkhani Winkler Prins On Liberty The Goldfinch Time to Live and Time to Die Excalibur Karius and Bactus Empire U2 by U2 In a Glass Darkly Beasts of No Nation Guinness World Records Peter Principle Harry Potter and the Philosopher's Stone There's No Such Thing as a Free Lunch Book of Mormon Kalevala Köchel catalogue Stardust The Sound and the Fury The Tao of Muhammad Ali The Great Gatsby Harry Potter and the Half-Blood Prince Kossuth's banknotes The Oregon Trail: Sketches of Prairie and Rocky-Mountain Life Homeric Hymns Critical Path The Bridge over the River Kwai Rowan and the Travellers Harry Potter and the Deathly Hallows The Emperor's Tomb 2001: A Space Odyssey Harry Potter and the Goblet of Fire The Lion, the Witch, and the Wardrobe Lucy Temple Gödel, Escher, Bach Quo Vadis Harry Potter and the Chamber of Secrets White Line Fever Rowan of the Bukshah Rowan of Rin Rowan and the Zebak Essential Monet Lucy Winchester Down and Out in the Magic Kingdom Audrey Hepburn Cratylus Alfonsine Tables A Darkling Plain Space Well-Tempered Clavicle Grand Ricci Rowan and the Keeper of the Crystal Harry Potter and the Prisoner of Azkaban
Harry Potter and the Philosopher's Stone, The Horse and His Boy and Quo Vadis are the eponym of min number of concepts
Harry Potter and the Philosopher's Stone The Horse and His Boy Quo Vadis
action argmin
action find_tuple_counts
relation named after
type collectable
type concept
[{'concept': 'collectable'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?c ) WHERE { ?z property:named_after ?a . ?a rdf:type ontology:concept . ?z rdf:type ontology:collectable } GROUP BY ?z } } . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?l ) WHERE { ?r property:named_after ?i . ?r rdf:type ontology:collectable . ?i rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?l = ?t ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43361 Q157360 Q335315
P50
Q502895
USER
Who authored Harry Potter and the Philosopher's Stone, The Horse and His Boy and Quo Vadis ?
(Q43361,P50,c(Q502895)) (Q157360,P50,c(Q502895)) (Q335315,P50,c(Q502895))
action union
action filter_type
action find
entity Q43361
relation P50
type Q502895
action filter_type
action find
entity Q157360
relation P50
type Q502895
action filter_type
action find
entity Q335315
relation P50
type Q502895
['Q43361', 'P50', {'concept': 'Q502895'}] ['Q157360', 'P50', {'concept': 'Q502895'}] ['Q335315', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q157360 property:P50 ?g . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . resource:Q43361 property:P50 ?g } }
Harry Potter and the Philosopher's Stone The Horse and His Boy Quo Vadis
action union
action filter_type
action find
entity Harry Potter and the Philosopher's Stone
relation author
type common name
action filter_type
action find
entity The Horse and His Boy
relation author
type common name
action filter_type
action find
entity Quo Vadis
relation author
type common name
["Harry Potter and the Philosopher's Stone", 'author', {'concept': 'common name'}] ['The Horse and His Boy', 'author', {'concept': 'common name'}] ['Quo Vadis', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:The_Horse_and_His_Boy property:author ?g . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . resource:Harry_Potter_and_the_Philosopher's_Stone property:author ?g } }
[]
common name
Q34660 Q9204 Q41502
SYSTEM
J. K. Rowling, C. S. Lewis, Henryk Sienkiewicz
Q34660 Q9204 Q41502
(Q43361,P50,c(Q502895)) (Q157360,P50,c(Q502895)) (Q335315,P50,c(Q502895))
action union
action filter_type
action find
entity Q43361
relation P50
type Q502895
action filter_type
action find
entity Q157360
relation P50
type Q502895
action filter_type
action find
entity Q335315
relation P50
type Q502895
[ANSWERS] authored Harry Potter and the Philosopher's Stone, The Horse and His Boy and Quo Vadis
['Q43361', 'P50', {'concept': 'Q502895'}] ['Q157360', 'P50', {'concept': 'Q502895'}] ['Q335315', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q157360 property:P50 ?g . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . resource:Q43361 property:P50 ?g } }
J. K. Rowling C. S. Lewis Henryk Sienkiewicz
J. K. Rowling, C. S. Lewis and Henryk Sienkiewicz authored Harry Potter and the Philosopher's Stone, The Horse and His Boy and Quo Vadis
J. K. Rowling C. S. Lewis Henryk Sienkiewicz
action union
action filter_type
action find
entity Harry Potter and the Philosopher's Stone
relation author
type common name
action filter_type
action find
entity The Horse and His Boy
relation author
type common name
action filter_type
action find
entity Quo Vadis
relation author
type common name
["Harry Potter and the Philosopher's Stone", 'author', {'concept': 'common name'}] ['The Horse and His Boy', 'author', {'concept': 'common name'}] ['Quo Vadis', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:The_Horse_and_His_Boy property:author ?g . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . resource:Harry_Potter_and_the_Philosopher's_Stone property:author ?g } }
[]