Simple Question (Direct)
Simple Question
Q230358
P47
Q20667921
USER
Which french administrative divisions have a shared border with Talensac ?
(Q230358,P47,c(Q20667921))
action filter_type
action find
entity Q230358
relation P47
type Q20667921
['Q230358', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q230358 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Talensac
action filter_type
action find
entity Talensac
relation shares border with
type type of french administrative division
['Talensac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Talensac property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q533891 Q1011404 Q210664
SYSTEM
Iffendic, Mordelles, Breteil
Q1011404 Q226902 Q223088 Q533891 Q231771 Q230376 Q210664
(Q230358,P47,c(Q20667921))
action filter_type
action find
entity Q230358
relation P47
type Q20667921
[ANSWERS] have a shared border with Talensac
['Q230358', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q230358 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Mordelles Le Verger Monterfil Iffendic Montfort-sur-Meu Cintré Breteil
Iffendic, Mordelles and Breteil have a shared border with Talensac
Iffendic Mordelles Breteil
action filter_type
action find
entity Talensac
relation shares border with
type type of french administrative division
['Talensac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Talensac property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q533891 Q1011404 Q210664
P17
Q15617994
USER
Which administrative territories are Iffendic, Mordelles and Breteil located in ?
(Q533891,P17,c(Q15617994)) (Q1011404,P17,c(Q15617994)) (Q210664,P17,c(Q15617994))
action union
action filter_type
action find
entity Q533891
relation P17
type Q15617994
action filter_type
action find
entity Q1011404
relation P17
type Q15617994
action filter_type
action find
entity Q210664
relation P17
type Q15617994
['Q533891', 'P17', {'concept': 'Q15617994'}] ['Q1011404', 'P17', {'concept': 'Q15617994'}] ['Q210664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Q533891 ) ( resource:Q1011404 ) } . ?d property:P17 ?z }
Iffendic Mordelles Breteil
action union
action filter_type
action find
entity Iffendic
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mordelles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Breteil
relation country
type designation for an administrative territorial entity
['Iffendic', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mordelles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Breteil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Iffendic ) ( resource:Mordelles ) } . ?d property:country ?z }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q533891,P17,c(Q15617994)) (Q1011404,P17,c(Q15617994)) (Q210664,P17,c(Q15617994))
action union
action filter_type
action find
entity Q533891
relation P17
type Q15617994
action filter_type
action find
entity Q1011404
relation P17
type Q15617994
action filter_type
action find
entity Q210664
relation P17
type Q15617994
Which administrative territories are Iffendic, Mordelles and Breteil located in
['Q533891', 'P17', {'concept': 'Q15617994'}] ['Q1011404', 'P17', {'concept': 'Q15617994'}] ['Q210664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Q533891 ) ( resource:Q1011404 ) } . ?d property:P17 ?z }
France France France
Which administrative territories are Iffendic, Mordelles and Breteil located in
France France France
action union
action filter_type
action find
entity Iffendic
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mordelles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Breteil
relation country
type designation for an administrative territorial entity
['Iffendic', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mordelles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Breteil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Iffendic ) ( resource:Mordelles ) } . ?d property:country ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011404
P19
Q502895
USER
Which person was born at Mordelles ?
(c(Q502895),P19,Q1011404)
action filter_type
action find_reverse
entity Q1011404
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1011404']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q1011404 . ?t rdf:type ontology:Q502895 }
Mordelles
action filter_type
action find_reverse
entity Mordelles
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Mordelles']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Mordelles . ?t rdf:type ontology:common_name }
[]
common name
Q3417374
SYSTEM
Raffig Tullou
Q3417374
(c(Q502895),P19,Q1011404)
action filter_type
action find_reverse
entity Q1011404
relation P19
type Q502895
[ANSWER] was born at Mordelles
[{'concept': 'Q502895'}, 'P19', 'Q1011404']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q1011404 . ?t rdf:type ontology:Q502895 }
Raffig Tullou
Raffig Tullou was born at Mordelles
Raffig Tullou
action filter_type
action find_reverse
entity Mordelles
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Mordelles']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Mordelles . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q533891
P190
Q15617994
USER
Which administrative territory is a sister city of Iffendic ?
(c(Q15617994),P190,Q533891)
action filter_type
action find
entity Q533891
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q533891']
SELECT DISTINCT ?m WHERE { resource:Q533891 property:P190 ?m . ?m rdf:type ontology:Q15617994 }
Iffendic
action filter_type
action find
entity Iffendic
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Iffendic']
SELECT DISTINCT ?m WHERE { resource:Iffendic property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q203978
SYSTEM
Orune
Q203978
(c(Q15617994),P190,Q533891)
action filter_type
action find
entity Q533891
relation P190
type Q15617994
[ANSWER] is a sister city of Iffendic
[{'concept': 'Q15617994'}, 'P190', 'Q533891']
SELECT DISTINCT ?m WHERE { resource:Q533891 property:P190 ?m . ?m rdf:type ontology:Q15617994 }
Orune
Orune is a sister city of Iffendic
Orune
action filter_type
action find
entity Iffendic
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Iffendic']
SELECT DISTINCT ?m WHERE { resource:Iffendic property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q533891
P20
Q502895
USER
Which person expired at that french administrative division ?
(c(Q502895),P20,Q203978)
action filter_type
action find_reverse
entity Q533891
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q203978']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q533891 . ?z rdf:type ontology:Q502895 }
Iffendic
action filter_type
action find_reverse
entity Iffendic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Orune']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Iffendic . ?z rdf:type ontology:common_name }
[]
common name
Q19840474
SYSTEM
Camille Fleuriot de Langle
Q19840474
(c(Q502895),P20,Q203978)
action filter_type
action find_reverse
entity Q533891
relation P20
type Q502895
[ANSWER] expired at that french administrative division
[{'concept': 'Q502895'}, 'P20', 'Q203978']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q533891 . ?z rdf:type ontology:Q502895 }
Camille Fleuriot de Langle
Camille Fleuriot de Langle expired at that french administrative division
Camille Fleuriot de Langle
action filter_type
action find_reverse
entity Iffendic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Orune']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Iffendic . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19840474 Q10311
P27
Q15617994
USER
Is that person an inhabitant of Susa ?
(Q19840474,P27,Q10311)
action is_in
entity Q10311
action find
entity Q19840474
relation P27
['Q19840474', 'P27', 'Q10311']
ASK WHERE { resource:Q19840474 property:P27 resource:Q10311 }
Camille Fleuriot de Langle Susa
action is_in
entity Susa
action find
entity Camille Fleuriot de Langle
relation country of citizenship
['Camille Fleuriot de Langle', 'country of citizenship', 'Susa']
ASK WHERE { resource:Camille_Fleuriot_de_Langle property:country_of_citizenship resource:Susa }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q19840474,P27,Q10311)
action is_in
entity Q10311
action find
entity Q19840474
relation P27
[ANSWER]
['Q19840474', 'P27', 'Q10311']
ASK WHERE { resource:Q19840474 property:P27 resource:Q10311 }
No
action is_in
entity Susa
action find
entity Camille Fleuriot de Langle
relation country of citizenship
['Camille Fleuriot de Langle', 'country of citizenship', 'Susa']
ASK WHERE { resource:Camille_Fleuriot_de_Langle property:country_of_citizenship resource:Susa }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7828
P725
Q502895 Q95074
USER
Which fictional characters did approximately the same number of people dub for as Marge Simpson ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q7828
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:P725 ?z . ?z rdf:type ontology:Q502895 . ?t rdf:type ontology:Q95074 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q7828 property:P725 ?q . ?q rdf:type ontology:Q95074 } } . FILTER ( ?r = ?a ) }
Marge Simpson
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Marge Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:voice_actor ?z . ?z rdf:type ontology:common_name . ?t rdf:type ontology:fictional_character } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Marge_Simpson property:voice_actor ?q . ?q rdf:type ontology:fictional_character } } . FILTER ( ?r = ?a ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q7828
relation P725
type Q95074
[ANSWERS] approximately the same number of people dubbed for as Marge Simpson
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:P725 ?z . ?z rdf:type ontology:Q502895 . ?t rdf:type ontology:Q95074 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q7828 property:P725 ?q . ?q rdf:type ontology:Q95074 } } . FILTER ( ?r = ?a ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo approximately the same number of people dubbed for as Marge Simpson
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Marge Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:voice_actor ?z . ?z rdf:type ontology:common_name . ?t rdf:type ontology:fictional_character } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Marge_Simpson property:voice_actor ?q . ?q rdf:type ontology:fictional_character } } . FILTER ( ?r = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q15710873
P725
Q502895 Q95074
USER
And also tell me about Princess Celestia?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?g ) WHERE { ?s property:P725 ?n . ?s rdf:type ontology:Q95074 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q15710873 property:P725 ?l . ?l rdf:type ontology:Q95074 } } . FILTER ( ?g = ?p ) }
Princess Celestia
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?g ) WHERE { ?s property:voice_actor ?n . ?s rdf:type ontology:fictional_character . ?n rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Princess_Celestia property:voice_actor ?l . ?l rdf:type ontology:fictional_character } } . FILTER ( ?g = ?p ) }
[]
common name fictional character
Q1621656 Q16027672 Q15710873
SYSTEM
Solid Snake, Dr. Stewart, Princess Celestia
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?g ) WHERE { ?s property:P725 ?n . ?s rdf:type ontology:Q95074 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q15710873 property:P725 ?l . ?l rdf:type ontology:Q95074 } } . FILTER ( ?g = ?p ) }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
Solid Snake Dr. Stewart Princess Celestia
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?g ) WHERE { ?s property:voice_actor ?n . ?s rdf:type ontology:fictional_character . ?n rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Princess_Celestia property:voice_actor ?l . ?l rdf:type ontology:fictional_character } } . FILTER ( ?g = ?p ) }
[]