Simple Question (Direct)
Simple Question
Q5537312
P27
Q15617994
USER
Which administrative territory is George Brown an inhabitant of ?
(Q5537312,P27,c(Q15617994))
action filter_type
action find
entity Q5537312
relation P27
type Q15617994
['Q5537312', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5537312 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
George Brown
action filter_type
action find
entity George Brown
relation country of citizenship
type designation for an administrative territorial entity
['George Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:George_Brown property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5537312,P27,c(Q15617994))
action filter_type
action find
entity Q5537312
relation P27
type Q15617994
[ANSWER] is George Brown an inhabitant of
['Q5537312', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5537312 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is George Brown an inhabitant of
United Kingdom
action filter_type
action find
entity George Brown
relation country of citizenship
type designation for an administrative territorial entity
['George Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:George_Brown property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5537312
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5537312
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5537312 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
George Brown
action filter_type
action find
entity George Brown
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:George_Brown property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5537312
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5537312 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity George Brown
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:George_Brown property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P551
Q502895
USER
Which people have residence at United Kingdom ?
(c(Q502895),P551,Q145)
action filter_type
action find_reverse
entity Q145
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q145 . ?z rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:United_Kingdom . ?z rdf:type ontology:common_name }
[]
common name
Q41548 Q712851 Q19845625
SYSTEM
Antonio Banderas, Oliver Wallace, Andra Waagmeester
Q15401744 Q41548 Q25915543 Q712851 Q21468469 Q19845625 Q18534257 Q20820956 Q26258404 Q5671358 Q93826 Q21196395
(c(Q502895),P551,Q145)
action filter_type
action find_reverse
entity Q145
relation P551
type Q502895
[ANSWERS] have residence at United Kingdom
[{'concept': 'Q502895'}, 'P551', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q145 . ?z rdf:type ontology:Q502895 }
Cenk Aydin Antonio Banderas Michal Huniewicz Oliver Wallace Joerg Heber Andra Waagmeester Erna Auerbach Elisabet Barnes Ernst Buschbeck Carles Reig i Morell Friedrich Waismann Sue Courtenay
Antonio Banderas, Oliver Wallace and Andra Waagmeester have residence at United Kingdom
Antonio Banderas Oliver Wallace Andra Waagmeester
action filter_type
action find_reverse
entity United Kingdom
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:United_Kingdom . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q41548 Q712851 Q19845625
P734
Q82799
USER
Who have the surname those people ?
(Q41548,P734,c(Q82799)) (Q712851,P734,c(Q82799)) (Q19845625,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
['Q41548', 'P734', {'concept': 'Q82799'}] ['Q712851', 'P734', {'concept': 'Q82799'}] ['Q19845625', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . ?b property:P734 ?s . VALUES ( ?b ) { ( resource:Q15401744 ) ( resource:Q41548 ) ( resource:Q25915543 ) } }
Antonio Banderas Oliver Wallace Andra Waagmeester
action filter_type
action find
entity prev_answer
relation family name
type name
['Antonio Banderas', 'family name', {'concept': 'name'}] ['Oliver Wallace', 'family name', {'concept': 'name'}] ['Andra Waagmeester', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . ?b property:family_name ?s . VALUES ( ?b ) { ( resource:Cenk_Aydin ) ( resource:Antonio_Banderas ) ( resource:Michal_Huniewicz ) } }
[]
name
Q5261248 Q27643894 Q26234602
SYSTEM
Wallace, Domínguez, Banderas
Q27643894 Q26234602 Q5261248 Q17538781
(Q41548,P734,c(Q82799)) (Q712851,P734,c(Q82799)) (Q19845625,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
[ANSWERS] have the surname those people
['Q41548', 'P734', {'concept': 'Q82799'}] ['Q712851', 'P734', {'concept': 'Q82799'}] ['Q19845625', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . ?b property:P734 ?s . VALUES ( ?b ) { ( resource:Q15401744 ) ( resource:Q41548 ) ( resource:Q25915543 ) } }
Domínguez Banderas Wallace Waagmeester
Wallace, Domínguez and Banderas have the surname those people
Wallace Domínguez Banderas
action filter_type
action find
entity prev_answer
relation family name
type name
['Antonio Banderas', 'family name', {'concept': 'name'}] ['Oliver Wallace', 'family name', {'concept': 'name'}] ['Andra Waagmeester', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . ?b property:family_name ?s . VALUES ( ?b ) { ( resource:Cenk_Aydin ) ( resource:Antonio_Banderas ) ( resource:Michal_Huniewicz ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41548
P161
Q15416
USER
Which television programs do Antonio Banderas star in ?
(c(Q15416),P161,Q5261248) (c(Q15416),P161,Q27643894) (c(Q15416),P161,Q26234602)
action filter_type
action find_reverse
entity Q41548
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q5261248'] [{'concept': 'Q15416'}, 'P161', 'Q27643894'] [{'concept': 'Q15416'}, 'P161', 'Q26234602']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15416 . ?n property:P161 resource:Q41548 }
Antonio Banderas
action filter_type
action find_reverse
entity Antonio Banderas
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Wallace'] [{'concept': 'television program'}, 'cast member', 'Domínguez'] [{'concept': 'television program'}, 'cast member', 'Banderas']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:television_program . ?n property:cast_member resource:Antonio_Banderas }
[]
television program
Q2659351 Q2049232 Q3794237
SYSTEM
Scared Shrekless, And Starring Pancho Villa as Himself, Benito
Q3794237 Q23018074 Q2049232 Q2659351
(c(Q15416),P161,Q5261248) (c(Q15416),P161,Q27643894) (c(Q15416),P161,Q26234602)
action filter_type
action find_reverse
entity Q41548
relation P161
type Q15416
Antonio Banderas star [ANSWERS]
[{'concept': 'Q15416'}, 'P161', 'Q5261248'] [{'concept': 'Q15416'}, 'P161', 'Q27643894'] [{'concept': 'Q15416'}, 'P161', 'Q26234602']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15416 . ?n property:P161 resource:Q41548 }
Benito Havana Quartet And Starring Pancho Villa as Himself Scared Shrekless
Antonio Banderas star Scared Shrekless, And Starring Pancho Villa as Himself and Benito
Scared Shrekless And Starring Pancho Villa as Himself Benito
action filter_type
action find_reverse
entity Antonio Banderas
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Wallace'] [{'concept': 'television program'}, 'cast member', 'Domínguez'] [{'concept': 'television program'}, 'cast member', 'Banderas']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:television_program . ?n property:cast_member resource:Antonio_Banderas }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that television program ?
(Q3794237,P161,c(Q502895))
['Q3794237', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q388539 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['Benito', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Benito property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q2049232
SYSTEM
Did you mean And Starring Pancho Villa as Himself ?
(Q2659351,P161,c(Q502895)) (Q2049232,P161,c(Q502895)) (Q3794237,P161,c(Q502895))
[ANSWER]
['Q2659351', 'P161', {'concept': 'Q502895'}] ['Q2049232', 'P161', {'concept': 'Q502895'}] ['Q3794237', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q388539 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean And Starring Pancho Villa as Himself ?
And Starring Pancho Villa as Himself
['Scared Shrekless', 'cast member', {'concept': 'common name'}] ['And Starring Pancho Villa as Himself', 'cast member', {'concept': 'common name'}] ['Benito', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Benito property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Benito. Could you tell me the answer for that?
(Q3794237,P161,c(Q502895))
Q3794237
['Q3794237', 'P161', {'concept': 'Q502895'}]
['Benito', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
6
Q41548 Q1374312 Q3804842 Q440954 Q1051850 Q76550
(Q3794237,P161,c(Q502895))
[ANSWER]
['Q3794237', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q388539 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Antonio Banderas Luca Zingaretti Ivano Marescotti Anna Geislerová Claudia Koll Susanne Lothar
6
['Benito', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Benito property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3177580
P1445
Q15416 Q386724
USER
How many works are set up by less number of television programs than The Walking Dead ?
(c(Q386724),P1445,c(Q15416))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?x ) WHERE { ?u property:P1445 ?k . ?u rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q3177580 property:P1445 ?f . ?f rdf:type ontology:Q15416 } } . FILTER ( ?x < ?i ) }
The Walking Dead
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?x ) WHERE { ?u property:fictional_universe_described_in ?k . ?u rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?f . ?f rdf:type ontology:television_program } } . FILTER ( ?x < ?i ) }
[]
television program work
SYSTEM
3
Q15731902 Q11927 Q384426
(c(Q386724),P1445,c(Q15416))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q15416
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?x ) WHERE { ?u property:P1445 ?k . ?u rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q3177580 property:P1445 ?f . ?f rdf:type ontology:Q15416 } } . FILTER ( ?x < ?i ) }
Aladdin media franchise Stargate Pirates of the Caribbean
3
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?x ) WHERE { ?u property:fictional_universe_described_in ?k . ?u rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?f . ?f rdf:type ontology:television_program } } . FILTER ( ?x < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1203222
P1445
Q15416 Q386724
USER
And also tell me about Shrek?
(c(Q386724),P1445,c(Q15416))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y property:P1445 ?v . ?y rdf:type ontology:Q386724 . ?v rdf:type ontology:Q15416 } GROUP BY ?y } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q1203222 property:P1445 ?c } } }
Shrek
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?v . ?y rdf:type ontology:work . ?v rdf:type ontology:television_program } GROUP BY ?y } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:television_program . resource:Shrek property:fictional_universe_described_in ?c } } }
[]
television program work
SYSTEM
4
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q15416))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q15416
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y property:P1445 ?v . ?y rdf:type ontology:Q386724 . ?v rdf:type ontology:Q15416 } GROUP BY ?y } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q1203222 property:P1445 ?c } } }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
4
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?v . ?y rdf:type ontology:work . ?v rdf:type ontology:television_program } GROUP BY ?y } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:television_program . resource:Shrek property:fictional_universe_described_in ?c } } }
[]