Simple Question (Direct)
Simple Question
Q325573
P20
Q15617994
USER
Which administrative territory is the place of death of William Kennedy ?
(Q325573,P20,c(Q15617994))
action filter_type
action find
entity Q325573
relation P20
type Q15617994
['Q325573', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q325573 property:P20 ?q }
William Kennedy
action filter_type
action find
entity William Kennedy
relation place of death
type designation for an administrative territorial entity
['William Kennedy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Kennedy property:place_of_death ?q }
[]
designation for an administrative territorial entity
Q1948
SYSTEM
Manitoba
Q1948
(Q325573,P20,c(Q15617994))
action filter_type
action find
entity Q325573
relation P20
type Q15617994
[ANSWER] is the place of death of William Kennedy
['Q325573', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q325573 property:P20 ?q }
Manitoba
Manitoba is the place of death of William Kennedy
Manitoba
action filter_type
action find
entity William Kennedy
relation place of death
type designation for an administrative territorial entity
['William Kennedy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Kennedy property:place_of_death ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325573
P27
Q15617994
USER
Which administrative territory is William Kennedy an inhabitant of ?
(Q325573,P27,c(Q15617994))
action filter_type
action find
entity Q325573
relation P27
type Q15617994
['Q325573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q325573 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
William Kennedy
action filter_type
action find
entity William Kennedy
relation country of citizenship
type designation for an administrative territorial entity
['William Kennedy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Kennedy property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q325573,P27,c(Q15617994))
action filter_type
action find
entity Q325573
relation P27
type Q15617994
The [ANSWER] is William Kennedy an inhabitant of
['Q325573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q325573 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is William Kennedy an inhabitant of
United Kingdom
action filter_type
action find
entity William Kennedy
relation country of citizenship
type designation for an administrative territorial entity
['William Kennedy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Kennedy property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P180
Q340169
USER
Which media depicts that administrative territory ?
(c(Q340169),P180,Q145)
action filter_type
action find_reverse
entity Q145
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P180 resource:Q145 . ?f rdf:type ontology:Q340169 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:depicts resource:United_Kingdom . ?f rdf:type ontology:media }
[]
media
Q23308984
SYSTEM
Prima Europe Tabula
Q23308984
(c(Q340169),P180,Q145)
action filter_type
action find_reverse
entity Q145
relation P180
type Q340169
[ANSWER] depicts that administrative territory
[{'concept': 'Q340169'}, 'P180', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P180 resource:Q145 . ?f rdf:type ontology:Q340169 }
Prima Europe Tabula
Prima Europe Tabula depicts that administrative territory
Prima Europe Tabula
action filter_type
action find_reverse
entity United Kingdom
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:depicts resource:United_Kingdom . ?f rdf:type ontology:media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23308984
P170
Q502895
USER
Who is credited with the creation of that media ?
(Q23308984,P170,c(Q502895))
action filter_type
action find
entity Q23308984
relation P170
type Q502895
['Q23308984', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q23308984 property:P170 ?p . ?p rdf:type ontology:Q502895 }
Prima Europe Tabula
action filter_type
action find
entity Prima Europe Tabula
relation creator
type common name
['Prima Europe Tabula', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Prima_Europe_Tabula property:creator ?p . ?p rdf:type ontology:common_name }
[]
common name
Q34943
SYSTEM
Ptolemy
Q34943
(Q23308984,P170,c(Q502895))
action filter_type
action find
entity Q23308984
relation P170
type Q502895
[ANSWER] is credited with the creation of that media
['Q23308984', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q23308984 property:P170 ?p . ?p rdf:type ontology:Q502895 }
Ptolemy
Ptolemy is credited with the creation of that media
Ptolemy
action filter_type
action find
entity Prima Europe Tabula
relation creator
type common name
['Prima Europe Tabula', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Prima_Europe_Tabula property:creator ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q34943 Q19077866
P674
Q223393
USER
Does Death and the Woman have the character that person ?
(Q19077866,P674,Q34943)
action is_in
entity Q19077866
action find
entity Q34943
relation P674
['Q19077866', 'P674', 'Q34943']
ASK WHERE { resource:Q34943 property:P674 resource:Q19077866 }
Ptolemy Death and the Woman
action is_in
entity Death and the Woman
action find
entity Ptolemy
relation characters
['Death and the Woman', 'characters', 'Ptolemy']
ASK WHERE { resource:Ptolemy property:characters resource:Death_and_the_Woman }
[]
literary genre
SYSTEM
NO
(Q19077866,P674,Q34943)
action is_in
entity Q19077866
action find
entity Q34943
relation P674
[ANSWER]
['Q19077866', 'P674', 'Q34943']
ASK WHERE { resource:Q34943 property:P674 resource:Q19077866 }
No
action is_in
entity Death and the Woman
action find
entity Ptolemy
relation characters
['Death and the Woman', 'characters', 'Ptolemy']
ASK WHERE { resource:Ptolemy property:characters resource:Death_and_the_Woman }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q16 Q492741
P530
Q1048835
USER
Is United Kingdom known to have diplomatic connections with Canada and Vélez-Málaga ?
(Q145,P530,Q16) (Q145,P530,Q492741)
action is_in
entity Q145
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q492741
relation P530
['Q145', 'P530', 'Q16'] ['Q145', 'P530', 'Q492741']
ASK WHERE { resource:Q145 property:P530 resource:Q16 . resource:Q145 property:P530 resource:Q492741 }
United Kingdom Canada Vélez-Málaga
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Vélez-Málaga
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Canada'] ['United Kingdom', 'diplomatic relation', 'Vélez-Málaga']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Canada . resource:United_Kingdom property:diplomatic_relation resource:Vélez-Málaga }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q145,P530,Q16) (Q145,P530,Q492741)
action is_in
entity Q145
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q492741
relation P530
[ANSWER]
['Q145', 'P530', 'Q16'] ['Q145', 'P530', 'Q492741']
ASK WHERE { resource:Q145 property:P530 resource:Q16 . resource:Q145 property:P530 resource:Q492741 }
YES and NO respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Vélez-Málaga
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Canada'] ['United Kingdom', 'diplomatic relation', 'Vélez-Málaga']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Canada . resource:United_Kingdom property:diplomatic_relation resource:Vélez-Málaga }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters had exactly 4 people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?e = 4 ) . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?e ) WHERE { ?k rdf:type ontology:Q95074 . ?i rdf:type ontology:Q502895 . ?k property:P725 ?i } GROUP BY ?k } }
action equal
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?e = 4 ) . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?e ) WHERE { ?k rdf:type ontology:fictional_character . ?i rdf:type ontology:common_name . ?k property:voice_actor ?i } GROUP BY ?k } }
[]
common name fictional character
Q3471289 Q12400 Q2340460
SYSTEM
Samurai Goroh, Samus Aran, Captain Falcon
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[ANSWERS] had exactly 4 people as the dubbing artist
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?e = 4 ) . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?e ) WHERE { ?k rdf:type ontology:Q95074 . ?i rdf:type ontology:Q502895 . ?k property:P725 ?i } GROUP BY ?k } }
Samurai Goroh Samus Aran Captain Falcon
Samurai Goroh, Samus Aran and Captain Falcon had exactly 4 people as the dubbing artist
Samurai Goroh Samus Aran Captain Falcon
action equal
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?e = 4 ) . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?e ) WHERE { ?k rdf:type ontology:fictional_character . ?i rdf:type ontology:common_name . ?k property:voice_actor ?i } GROUP BY ?k } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3471289
P1441
Q21191019
USER
Which Japanese TV series is that fictional character present in ?
(Q3471289,P1441,c(Q21191019))
action filter_type
action find
entity Q3471289
relation P1441
type Q21191019
['Q3471289', 'P1441', {'concept': 'Q21191019'}]
SELECT DISTINCT ?j WHERE { resource:Q3471289 property:P1441 ?j . ?j rdf:type ontology:Q21191019 }
Samurai Goroh
action filter_type
action find
entity Samurai Goroh
relation present in work
type Japanese TV series
['Samurai Goroh', 'present in work', {'concept': 'Japanese TV series'}]
SELECT DISTINCT ?j WHERE { resource:Samurai_Goroh property:present_in_work ?j . ?j rdf:type ontology:Japanese_TV_series }
[]
Japanese TV series
Clarification for simple ques.
Q3471289
SYSTEM
Did you mean Samurai Goroh ?
Q3471289 Q12400 Q2340460
(Q3471289,P1441,c(Q21191019)) (Q12400,P1441,c(Q21191019)) (Q2340460,P1441,c(Q21191019))
[ANSWER]
['Q3471289', 'P1441', {'concept': 'Q21191019'}] ['Q12400', 'P1441', {'concept': 'Q21191019'}] ['Q2340460', 'P1441', {'concept': 'Q21191019'}]
SELECT DISTINCT ?j WHERE { resource:Q3471289 property:P1441 ?j . ?j rdf:type ontology:Q21191019 }
Samurai Goroh Samus Aran Captain Falcon
Did you mean Samurai Goroh ?
Samurai Goroh
['Samurai Goroh', 'present in work', {'concept': 'Japanese TV series'}] ['Samus Aran', 'present in work', {'concept': 'Japanese TV series'}] ['Captain Falcon', 'present in work', {'concept': 'Japanese TV series'}]
SELECT DISTINCT ?j WHERE { resource:Samurai_Goroh property:present_in_work ?j . ?j rdf:type ontology:Japanese_TV_series }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3471289,P1441,c(Q21191019))
['Q3471289', 'P1441', {'concept': 'Q21191019'}]
['Samurai Goroh', 'present in work', {'concept': 'Japanese TV series'}]
[]
Q8133833
SYSTEM
F-Zero: GP Legend
Q8133833
(Q3471289,P1441,c(Q21191019))
action filter_type
action find
entity Q3471289
relation P1441
type Q21191019
Which Japanese TV series is that fictional character present in
['Q3471289', 'P1441', {'concept': 'Q21191019'}]
SELECT DISTINCT ?j WHERE { resource:Q3471289 property:P1441 ?j . ?j rdf:type ontology:Q21191019 }
F-Zero: GP Legend
Which Japanese TV series is that fictional character present in
F-Zero: GP Legend
action filter_type
action find
entity Samurai Goroh
relation present in work
type Japanese TV series
['Samurai Goroh', 'present in work', {'concept': 'Japanese TV series'}]
SELECT DISTINCT ?j WHERE { resource:Samurai_Goroh property:present_in_work ?j . ?j rdf:type ontology:Japanese_TV_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8133833
P144
Q5398426
USER
Which television series is that Japanese TV series based on ?
(Q8133833,P144,c(Q5398426))
action filter_type
action find
entity Q8133833
relation P144
type Q5398426
['Q8133833', 'P144', {'concept': 'Q5398426'}]
SELECT DISTINCT ?k WHERE { resource:Q8133833 property:P144 ?k . ?k rdf:type ontology:Q5398426 }
F-Zero: GP Legend
action filter_type
action find
entity F-Zero: GP Legend
relation based on
type television series
['F-Zero: GP Legend', 'based on', {'concept': 'television series'}]
SELECT DISTINCT ?k WHERE { resource:F-Zero:_GP_Legend property:based_on ?k . ?k rdf:type ontology:television_series }
[]
television series
Q6720878
SYSTEM
F-Zero
Q6720878
(Q8133833,P144,c(Q5398426))
action filter_type
action find
entity Q8133833
relation P144
type Q5398426
[ANSWER] is that Japanese TV series based on
['Q8133833', 'P144', {'concept': 'Q5398426'}]
SELECT DISTINCT ?k WHERE { resource:Q8133833 property:P144 ?k . ?k rdf:type ontology:Q5398426 }
F-Zero
F-Zero is that Japanese TV series based on
F-Zero
action filter_type
action find
entity F-Zero: GP Legend
relation based on
type television series
['F-Zero: GP Legend', 'based on', {'concept': 'television series'}]
SELECT DISTINCT ?k WHERE { resource:F-Zero:_GP_Legend property:based_on ?k . ?k rdf:type ontology:television_series }
[]