Simple Question (Direct)
Simple Question
Q217288
P47
Q20667921
USER
Which french administrative divisions are adjacent to Sainte-Livrade-sur-Lot ?
(Q217288,P47,c(Q20667921))
action filter_type
action find
entity Q217288
relation P47
type Q20667921
['Q217288', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q217288 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Sainte-Livrade-sur-Lot
action filter_type
action find
entity Sainte-Livrade-sur-Lot
relation shares border with
type type of french administrative division
['Sainte-Livrade-sur-Lot', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Sainte-Livrade-sur-Lot property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1103938 Q222795 Q24561
SYSTEM
Le Temple-sur-Lot, Pinel-Hauterive, Dolmayrac
Q24561 Q771454 Q1064294 Q529257 Q538699 Q1103938 Q222795
(Q217288,P47,c(Q20667921))
action filter_type
action find
entity Q217288
relation P47
type Q20667921
[ANSWERS] are adjacent to Sainte-Livrade-sur-Lot
['Q217288', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q217288 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Dolmayrac Bias Allez-et-Cazeneuve Casseneuil Saint-Étienne-de-Fougères Le Temple-sur-Lot Pinel-Hauterive
Le Temple-sur-Lot, Pinel-Hauterive and Dolmayrac are adjacent to Sainte-Livrade-sur-Lot
Le Temple-sur-Lot Pinel-Hauterive Dolmayrac
action filter_type
action find
entity Sainte-Livrade-sur-Lot
relation shares border with
type type of french administrative division
['Sainte-Livrade-sur-Lot', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Sainte-Livrade-sur-Lot property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24561
P17
Q15617994
USER
Which administrative territory is that french administrative division a part of ?
(Q24561,P17,c(Q15617994))
action filter_type
action find
entity Q24561
relation P17
type Q15617994
['Q24561', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q24561 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Dolmayrac
action filter_type
action find
entity Dolmayrac
relation country
type designation for an administrative territorial entity
['Dolmayrac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Dolmayrac property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q24561
SYSTEM
Did you mean Dolmayrac ?
Q1103938 Q222795 Q24561
(Q1103938,P17,c(Q15617994)) (Q222795,P17,c(Q15617994)) (Q24561,P17,c(Q15617994))
[ANSWER]
['Q1103938', 'P17', {'concept': 'Q15617994'}] ['Q222795', 'P17', {'concept': 'Q15617994'}] ['Q24561', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q24561 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Le Temple-sur-Lot Pinel-Hauterive Dolmayrac
Did you mean Dolmayrac ?
Dolmayrac
['Le Temple-sur-Lot', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pinel-Hauterive', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dolmayrac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Dolmayrac property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24561,P17,c(Q15617994))
['Q24561', 'P17', {'concept': 'Q15617994'}]
['Dolmayrac', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q24561,P17,c(Q15617994))
action filter_type
action find
entity Q24561
relation P17
type Q15617994
[ANSWER] is that french administrative division a part of
['Q24561', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q24561 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
France is that french administrative division a part of
France
action filter_type
action find
entity Dolmayrac
relation country
type designation for an administrative territorial entity
['Dolmayrac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Dolmayrac property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q101372
P47
Q15617994
USER
Does Pedrengo share border with that one ?
(Q142,P47,Q101372)
action is_in
entity Q101372
action find
entity Q142
relation P47
['Q142', 'P47', 'Q101372']
ASK WHERE { resource:Q142 property:P47 resource:Q101372 }
France Pedrengo
action is_in
entity Pedrengo
action find
entity France
relation shares border with
['France', 'shares border with', 'Pedrengo']
ASK WHERE { resource:France property:shares_border_with resource:Pedrengo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q142,P47,Q101372)
action is_in
entity Q101372
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q101372']
ASK WHERE { resource:Q142 property:P47 resource:Q101372 }
No
action is_in
entity Pedrengo
action find
entity France
relation shares border with
['France', 'shares border with', 'Pedrengo']
ASK WHERE { resource:France property:shares_border_with resource:Pedrengo }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q19814658 Q142
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with France and are not South Stainley with Cayton present in ?
AND((Q142,P530,c(Q15617994)), NOT((Q19814658,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q19814658
relation P17
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19814658', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Q142 property:P530 ?y . FILTER NOT EXISTS { resource:Q19814658 property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
South Stainley with Cayton France
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity South Stainley with Cayton
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['South Stainley with Cayton', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?y WHERE { resource:France property:diplomatic_relation ?y . FILTER NOT EXISTS { resource:South_Stainley_with_Cayton property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q38 Q1011 Q222 Q711 Q32 Q399 Q403 Q159 Q228
SYSTEM
Some of them are Japan, Italy, Cape Verde, Albania, Mongolia, Luxembourg, Armenia, Serbia, Russia, Andorra
Q711 Q159 Q222 Q801 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
AND((Q142,P530,c(Q15617994)), NOT((Q19814658,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q19814658
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with France and are not South Stainley with Cayton present in
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19814658', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Q142 property:P530 ?y . FILTER NOT EXISTS { resource:Q19814658 property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Japan, Italy, Cape Verde, Albania, Mongolia, Luxembourg, Armenia, Serbia, Russia and Andorra hold diplomatic relationship with France and are not South Stainley with Cayton present in
Japan Italy Cape Verde Albania Mongolia Luxembourg Armenia Serbia Russia Andorra
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity South Stainley with Cayton
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['South Stainley with Cayton', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?y WHERE { resource:France property:diplomatic_relation ?y . FILTER NOT EXISTS { resource:South_Stainley_with_Cayton property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with that administrative territory ?
(Q1011,P530,c(Q15617994))
['Q1011', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3658151 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
['Cape Verde', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cape_Verde property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q228
SYSTEM
Did you mean Andorra ?
(Q17,P530,c(Q15617994)) (Q38,P530,c(Q15617994)) (Q1011,P530,c(Q15617994)) (Q222,P530,c(Q15617994)) (Q711,P530,c(Q15617994)) (Q32,P530,c(Q15617994)) (Q399,P530,c(Q15617994)) (Q403,P530,c(Q15617994)) (Q159,P530,c(Q15617994)) (Q228,P530,c(Q15617994))
[ANSWER]
['Q17', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q1011', 'P530', {'concept': 'Q15617994'}] ['Q222', 'P530', {'concept': 'Q15617994'}] ['Q711', 'P530', {'concept': 'Q15617994'}] ['Q32', 'P530', {'concept': 'Q15617994'}] ['Q399', 'P530', {'concept': 'Q15617994'}] ['Q403', 'P530', {'concept': 'Q15617994'}] ['Q159', 'P530', {'concept': 'Q15617994'}] ['Q228', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3658151 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Andorra ?
Andorra
['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Cape Verde', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Albania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mongolia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Luxembourg', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Armenia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Serbia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Andorra', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cape_Verde property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Cape Verde. Could you tell me the answer for that?
(Q1011,P530,c(Q15617994))
Q1011
['Q1011', 'P530', {'concept': 'Q15617994'}]
['Cape Verde', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
9
Q142 Q45 Q159 Q155 Q148 Q241 Q30 Q1041 Q916
(Q1011,P530,c(Q15617994))
[ANSWER]
['Q1011', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3658151 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
France Portugal Russia Brazil People's Republic of China Cuba United States of America Senegal Angola
9
['Cape Verde', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cape_Verde property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P495
Q166142
USER
Which applications originated in Japan ?
(c(Q166142),P495,Q17)
action filter_type
action find_reverse
entity Q17
relation P495
type Q166142
[{'concept': 'Q166142'}, 'P495', 'Q17']
SELECT DISTINCT ?x WHERE { ?x property:P495 resource:Q17 . ?x rdf:type ontology:Q166142 }
Japan
action filter_type
action find_reverse
entity Japan
relation country of origin
type application
[{'concept': 'application'}, 'country of origin', 'Japan']
SELECT DISTINCT ?x WHERE { ?x property:country_of_origin resource:Japan . ?x rdf:type ontology:application }
[]
application
Q735613 Q2297364 Q482494
SYSTEM
The Legend of Zelda: Twilight Princess, Teenage Mutant Ninja Turtles: Turtles in Time, Steins;Gate
Q537389 Q919258 Q1544618 Q735613 Q857261 Q1234084 Q538150 Q2407494 Q452402 Q2983902 Q483103 Q704393 Q20128284 Q482472 Q482494 Q14785138 Q7322237 Q1139741 Q20312770 Q1471287 Q2301154 Q182548 Q22256011 Q1065670 Q15838335 Q385228 Q22082839 Q1184973 Q737271 Q340121 Q3575941 Q476230 Q1639864 Q286051 Q5934433 Q7130815 Q839091 Q1057155 Q26913032 Q531552 Q373565 Q535146 Q1316315 Q1151363 Q3828498 Q204436 Q1055893 Q5239103 Q1114414 Q277021 Q2297364 Q483120 Q95072 Q857823 Q1051912 Q169405 Q714145 Q166060 Q1302197 Q285449 Q699815 Q1761260 Q856326 Q708565 Q1191681 Q21198154 Q24628305 Q1202075 Q1343008 Q53353 Q27863 Q812788 Q3135322
(c(Q166142),P495,Q17)
action filter_type
action find_reverse
entity Q17
relation P495
type Q166142
[ANSWERS] originated in Japan
[{'concept': 'Q166142'}, 'P495', 'Q17']
SELECT DISTINCT ?x WHERE { ?x property:P495 resource:Q17 . ?x rdf:type ontology:Q166142 }
Soul Eater Haunted Junction Green Green The Legend of Zelda: Twilight Princess Rosario + Vampire Yami to Bōshi to Hon no Tabibito To Love-Ru Transformers: The Headmasters Amagami Akakage Nogizaka Haruka no Himitsu Shin Megami Tensei: Devil Children The Legend of Zelda: Tri Force Heroes School Rumble Steins;Gate Kantai Collection Ribbit King Princess Princess Atelier Sophie: The Alchemist of the Mysterious Book Blue Dragon Tales of Eternia Date A Live New Super Marisa Land Shuffle! Love Live! School Idol Festival Spice and Wolf Super Marisa Land Koihime Musō Higurashi When They Cry Aim for the Ace! ZOE: 2167 IDOLO Claymore Disgaea: Hour of Darkness true tears Walkure Romanze: Shōjo Kishi Monogatari Panel Quiz Attack 25 Lucky Star Kimi ga Nozomu Eien Harmonia (visual novel) Angel Beats! Elemental Gelade Angelique Inukami! Da Capo Ganba no Bōken Sorcerous Stabber Orphen School Days Danball Senki Comic Party A Certain Magical Index Teenage Mutant Ninja Turtles: Turtles in Time Nichijou RahXephon Fate/stay night DearS Photo Kano Inazuma Eleven Umineko: When They Cry Princess Lover! Ef: A Fairy Tale of the Two. Galaxy Angel Yumeria Bible Black Rascal the Raccoon Battle Vixens Downwell Monster Strike Yosuga no Sora Hakushaku to Yōsei Puella Magi Madoka Magica Sword Art Online Be-Bop High School Higanjima
The Legend of Zelda: Twilight Princess, Teenage Mutant Ninja Turtles: Turtles in Time and Steins;Gate originated in Japan
The Legend of Zelda: Twilight Princess Teenage Mutant Ninja Turtles: Turtles in Time Steins;Gate
action filter_type
action find_reverse
entity Japan
relation country of origin
type application
[{'concept': 'application'}, 'country of origin', 'Japan']
SELECT DISTINCT ?x WHERE { ?x property:country_of_origin resource:Japan . ?x rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q735613 Q2297364 Q482494
P136
Q483394
USER
What can be considered as category for The Legend of Zelda: Twilight Princess, Teenage Mutant Ninja Turtles: Turtles in Time and Steins;Gate ?
(Q735613,P136,c(Q483394)) (Q2297364,P136,c(Q483394)) (Q482494,P136,c(Q483394))
action union
action filter_type
action find
entity Q735613
relation P136
type Q483394
action filter_type
action find
entity Q2297364
relation P136
type Q483394
action filter_type
action find
entity Q482494
relation P136
type Q483394
['Q735613', 'P136', {'concept': 'Q483394'}] ['Q2297364', 'P136', {'concept': 'Q483394'}] ['Q482494', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?g WHERE { { resource:Q735613 property:P136 ?g . ?g rdf:type ontology:Q483394 } UNION { resource:Q2297364 property:P136 ?g . ?g rdf:type ontology:Q483394 } }
The Legend of Zelda: Twilight Princess Teenage Mutant Ninja Turtles: Turtles in Time Steins;Gate
action union
action filter_type
action find
entity The Legend of Zelda: Twilight Princess
relation genre
type genre
action filter_type
action find
entity Teenage Mutant Ninja Turtles: Turtles in Time
relation genre
type genre
action filter_type
action find
entity Steins;Gate
relation genre
type genre
['The Legend of Zelda: Twilight Princess', 'genre', {'concept': 'genre'}] ['Teenage Mutant Ninja Turtles: Turtles in Time', 'genre', {'concept': 'genre'}] ['Steins;Gate', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?g WHERE { { resource:The_Legend_of_Zelda:_Twilight_Princess property:genre ?g . ?g rdf:type ontology:genre } UNION { resource:Teenage_Mutant_Ninja_Turtles:_Turtles_in_Time property:genre ?g . ?g rdf:type ontology:genre } }
[]
genre
Q343568 Q2281714 Q401831
SYSTEM
action-adventure game, side-scrolling video game, beat 'em up
Q343568 Q2281714 Q401831 Q689445
(Q735613,P136,c(Q483394)) (Q2297364,P136,c(Q483394)) (Q482494,P136,c(Q483394))
action union
action filter_type
action find
entity Q735613
relation P136
type Q483394
action filter_type
action find
entity Q2297364
relation P136
type Q483394
action filter_type
action find
entity Q482494
relation P136
type Q483394
Game [ANSWERS] can be considered as category for The Legend of Zelda: Twilight Princess, Teenage Mutant Ninja Turtles: Turtles in Time and Steins;Gate
['Q735613', 'P136', {'concept': 'Q483394'}] ['Q2297364', 'P136', {'concept': 'Q483394'}] ['Q482494', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?g WHERE { { resource:Q735613 property:P136 ?g . ?g rdf:type ontology:Q483394 } UNION { resource:Q2297364 property:P136 ?g . ?g rdf:type ontology:Q483394 } }
action-adventure game side-scrolling video game beat 'em up visual novel
Game action-adventure game, side-scrolling video game and beat 'em up can be considered as category for The Legend of Zelda: Twilight Princess, Teenage Mutant Ninja Turtles: Turtles in Time and Steins;Gate
action-adventure game side-scrolling video game beat 'em up
action union
action filter_type
action find
entity The Legend of Zelda: Twilight Princess
relation genre
type genre
action filter_type
action find
entity Teenage Mutant Ninja Turtles: Turtles in Time
relation genre
type genre
action filter_type
action find
entity Steins;Gate
relation genre
type genre
['The Legend of Zelda: Twilight Princess', 'genre', {'concept': 'genre'}] ['Teenage Mutant Ninja Turtles: Turtles in Time', 'genre', {'concept': 'genre'}] ['Steins;Gate', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?g WHERE { { resource:The_Legend_of_Zelda:_Twilight_Princess property:genre ?g . ?g rdf:type ontology:genre } UNION { resource:Teenage_Mutant_Ninja_Turtles:_Turtles_in_Time property:genre ?g . ?g rdf:type ontology:genre } }
[]