Simple Question (Direct)
Simple Question
Q1586811
P19
Q532
USER
Which village is the place of birth of Harry Steel ?
(Q1586811,P19,c(Q532))
action filter_type
action find
entity Q1586811
relation P19
type Q532
['Q1586811', 'P19', {'concept': 'Q532'}]
SELECT DISTINCT ?i WHERE { resource:Q1586811 property:P19 ?i . ?i rdf:type ontology:Q532 }
Harry Steel
action filter_type
action find
entity Harry Steel
relation place of birth
type village
['Harry Steel', 'place of birth', {'concept': 'village'}]
SELECT DISTINCT ?i WHERE { resource:Harry_Steel property:place_of_birth ?i . ?i rdf:type ontology:village }
[]
village
Q371256
SYSTEM
Sparta
Q371256
(Q1586811,P19,c(Q532))
action filter_type
action find
entity Q1586811
relation P19
type Q532
[ANSWER]
['Q1586811', 'P19', {'concept': 'Q532'}]
SELECT DISTINCT ?i WHERE { resource:Q1586811 property:P19 ?i . ?i rdf:type ontology:Q532 }
Sparta
Sparta
action filter_type
action find
entity Harry Steel
relation place of birth
type village
['Harry Steel', 'place of birth', {'concept': 'village'}]
SELECT DISTINCT ?i WHERE { resource:Harry_Steel property:place_of_birth ?i . ?i rdf:type ontology:village }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1586811
P106
Q12737077
USER
What does Harry Steel do for a living ?
(Q1586811,P106,c(Q12737077))
action filter_type
action find
entity Q1586811
relation P106
type Q12737077
['Q1586811', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1586811 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Harry Steel
action filter_type
action find
entity Harry Steel
relation occupation
type occupation
['Harry Steel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Harry_Steel property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19595175
SYSTEM
amateur wrestler
Q19595175
(Q1586811,P106,c(Q12737077))
action filter_type
action find
entity Q1586811
relation P106
type Q12737077
[ANSWER]
['Q1586811', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1586811 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
amateur wrestler
amateur wrestler
action filter_type
action find
entity Harry Steel
relation occupation
type occupation
['Harry Steel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Harry_Steel property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q371256
P17
Q15617994
USER
Which administrative territory is Sparta situated in ?
(Q371256,P17,c(Q15617994))
action filter_type
action find
entity Q371256
relation P17
type Q15617994
['Q371256', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q371256 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Sparta
action filter_type
action find
entity Sparta
relation country
type designation for an administrative territorial entity
['Sparta', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Sparta property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q371256,P17,c(Q15617994))
action filter_type
action find
entity Q371256
relation P17
type Q15617994
[ANSWER]
['Q371256', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q371256 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Sparta
relation country
type designation for an administrative territorial entity
['Sparta', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Sparta property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P610
Q14524493
USER
Which terrain is the highest point of that administrative territory ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
[ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q148440
Q14524493
USER
And how about Flores?
(Q148440,P610,c(Q14524493))
action filter_type
action find
entity Q148440
relation P610
type Q14524493
['Q148440', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q148440 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Flores
action filter_type
action find
entity Flores
relation highest point
type terrain
['Flores', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Flores property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
terrain
Q1236222
SYSTEM
Poco Mandasawu
Q1236222
(Q148440,P610,c(Q14524493))
action filter_type
action find
entity Q148440
relation P610
type Q14524493
[ANSWER]
['Q148440', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q148440 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Poco Mandasawu
Poco Mandasawu
action filter_type
action find
entity Flores
relation highest point
type terrain
['Flores', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Flores property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1236222 Q5504678 Q42280
P17
Q15617994
USER
Is that terrain situated in Frisco Independent School District and Sesto ed Uniti ?
(Q1236222,P17,Q5504678) (Q1236222,P17,Q42280)
action is_in
entity Q1236222
action intersection
action find_reverse
entity Q5504678
relation P17
action find_reverse
entity Q42280
relation P17
['Q1236222', 'P17', 'Q5504678'] ['Q1236222', 'P17', 'Q42280']
ASK WHERE { resource:Q1236222 property:P17 resource:Q5504678 . resource:Q1236222 property:P17 resource:Q42280 }
Poco Mandasawu Frisco Independent School District Sesto ed Uniti
action is_in
entity Poco Mandasawu
action intersection
action find_reverse
entity Frisco Independent School District
relation country
action find_reverse
entity Sesto ed Uniti
relation country
['Poco Mandasawu', 'country', 'Frisco Independent School District'] ['Poco Mandasawu', 'country', 'Sesto ed Uniti']
ASK WHERE { resource:Poco_Mandasawu property:country resource:Frisco_Independent_School_District . resource:Poco_Mandasawu property:country resource:Sesto_ed_Uniti }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1236222,P17,Q5504678) (Q1236222,P17,Q42280)
action is_in
entity Q1236222
action intersection
action find_reverse
entity Q5504678
relation P17
action find_reverse
entity Q42280
relation P17
[ANSWER]
['Q1236222', 'P17', 'Q5504678'] ['Q1236222', 'P17', 'Q42280']
ASK WHERE { resource:Q1236222 property:P17 resource:Q5504678 . resource:Q1236222 property:P17 resource:Q42280 }
No
action is_in
entity Poco Mandasawu
action intersection
action find_reverse
entity Frisco Independent School District
relation country
action find_reverse
entity Sesto ed Uniti
relation country
['Poco Mandasawu', 'country', 'Frisco Independent School District'] ['Poco Mandasawu', 'country', 'Sesto ed Uniti']
ASK WHERE { resource:Poco_Mandasawu property:country resource:Frisco_Independent_School_District . resource:Poco_Mandasawu property:country resource:Sesto_ed_Uniti }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5565686 Q148440
P27 P17
Q15617994
USER
Which administrative territories are Flores located in or are Nils Barck an inhabitant of ?
OR((Q148440,P17,c(Q15617994)), (Q5565686,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q148440
relation P17
action find
entity Q5565686
relation P27
type Q15617994
{'OR': [['Q148440', 'P17', {'concept': 'Q15617994'}], ['Q5565686', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q5565686 property:P27 ?p } UNION { resource:Q148440 property:P17 ?p } } }
Nils Barck Flores
action filter_type
action union
action find
entity Flores
relation country
action find
entity Nils Barck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flores', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nils Barck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nils_Barck property:country_of_citizenship ?p } UNION { resource:Flores property:country ?p } } }
[]
designation for an administrative territorial entity
Q252 Q34
SYSTEM
Indonesia, Sweden
Q252 Q34
OR((Q148440,P17,c(Q15617994)), (Q5565686,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q148440
relation P17
action find
entity Q5565686
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q148440', 'P17', {'concept': 'Q15617994'}], ['Q5565686', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q5565686 property:P27 ?p } UNION { resource:Q148440 property:P17 ?p } } }
Indonesia Sweden
Indonesia Sweden
action filter_type
action union
action find
entity Flores
relation country
action find
entity Nils Barck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flores', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nils Barck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nils_Barck property:country_of_citizenship ?p } UNION { resource:Flores property:country ?p } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories share the border with Sweden ?
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q33 Q20 Q35
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
[ANSWER]
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Finland Norway Denmark
3
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P6
Q502895
USER
Who are the heads of the government of Sweden ?
(Q34,P6,c(Q502895))
action filter_type
action find
entity Q34
relation P6
type Q502895
['Q34', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q34 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Sweden
action filter_type
action find
entity Sweden
relation head of government
type common name
['Sweden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Sweden property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
Q52920 Q53747 Q2740012
SYSTEM
Fredrik Reinfeldt, Göran Persson, Stefan Löfven
Q2740012 Q52920 Q53740 Q53747
(Q34,P6,c(Q502895))
action filter_type
action find
entity Q34
relation P6
type Q502895
[ANSWERS]
['Q34', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q34 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Stefan Löfven Fredrik Reinfeldt Ingvar Carlsson Göran Persson
Fredrik Reinfeldt Göran Persson Stefan Löfven
action filter_type
action find
entity Sweden
relation head of government
type common name
['Sweden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Sweden property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q741883
P725
Q502895 Q838948
USER
Which works of art have been dubbed by approximately the same number of people as Heaven's Lost Property ?
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q741883
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { ?m property:P725 ?c . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q741883 property:P725 ?t . ?t rdf:type ontology:Q838948 } } . FILTER ( ?j = ?s ) }
Heaven's Lost Property
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Heaven's Lost Property
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { ?m property:voice_actor ?c . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Heaven's_Lost_Property property:voice_actor ?t . ?t rdf:type ontology:work_of_art } } . FILTER ( ?j = ?s ) }
[]
common name work of art
Q18407657 Q1368693 Q5901134
SYSTEM
Captain America: Civil War, GeGeGe no Kitarō, Ant-Man
Q4346544 Q13091172 Q127367 Q16207076 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q477965 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q622742 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q2165639 Q4204793 Q1201022 Q587921 Q1810461 Q387674 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411 Q246418
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q741883
relation P725
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { ?m property:P725 ?c . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q741883 property:P725 ?t . ?t rdf:type ontology:Q838948 } } . FILTER ( ?j = ?s ) }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Persepolis Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Where the Wild Things Are Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire Watership Down History of the Arkanar Massacre Tiger & Bunny Garfield: A Tail of Two Kitties Springtime with Roo Final Fantasy VII: Advent Children Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year Gulliver's Travels
Captain America: Civil War GeGeGe no Kitarō Ant-Man
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Heaven's Lost Property
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { ?m property:voice_actor ?c . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Heaven's_Lost_Property property:voice_actor ?t . ?t rdf:type ontology:work_of_art } } . FILTER ( ?j = ?s ) }
[]