Simple Question (Direct)
Simple Question
Q1471687
P47
Q20667921
USER
Which french administrative divisions are adjacent to Montgaillard ?
(Q1471687,P47,c(Q20667921))
action filter_type
action find
entity Q1471687
relation P47
type Q20667921
['Q1471687', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1471687 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Montgaillard
action filter_type
action find
entity Montgaillard
relation shares border with
type type of french administrative division
['Montgaillard', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Montgaillard property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q960041 Q374333 Q1467036
SYSTEM
Verlhac-Tescou, Salvagnac, Grazac
Q1619007 Q1390379 Q374333 Q960041 Q1216757 Q1467036 Q1619014
(Q1471687,P47,c(Q20667921))
action filter_type
action find
entity Q1471687
relation P47
type Q20667921
[ANSWERS] are adjacent to Montgaillard
['Q1471687', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1471687 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Tauriac La Sauzière-Saint-Jean Salvagnac Verlhac-Tescou Beauvais-sur-Tescou Grazac Saint-Urcisse
Verlhac-Tescou, Salvagnac and Grazac are adjacent to Montgaillard
Verlhac-Tescou Salvagnac Grazac
action filter_type
action find
entity Montgaillard
relation shares border with
type type of french administrative division
['Montgaillard', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Montgaillard property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q374333
P36
Q20667921
USER
Which french administrative division has that one as its administrative centre ?
(c(Q20667921),P36,Q374333)
action filter_type
action find_reverse
entity Q374333
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q374333']
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q374333 . ?s rdf:type ontology:Q20667921 }
Salvagnac
action filter_type
action find_reverse
entity Salvagnac
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Salvagnac']
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Salvagnac . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q960041
SYSTEM
Did you mean Verlhac-Tescou ?
Q960041 Q374333 Q1467036
(c(Q20667921),P36,Q960041) (c(Q20667921),P36,Q374333) (c(Q20667921),P36,Q1467036)
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q960041'] [{'concept': 'Q20667921'}, 'P36', 'Q374333'] [{'concept': 'Q20667921'}, 'P36', 'Q1467036']
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q374333 . ?s rdf:type ontology:Q20667921 }
Verlhac-Tescou Salvagnac Grazac
Did you mean Verlhac-Tescou ?
Verlhac-Tescou
[{'concept': 'type of french administrative division'}, 'capital', 'Verlhac-Tescou'] [{'concept': 'type of french administrative division'}, 'capital', 'Salvagnac'] [{'concept': 'type of french administrative division'}, 'capital', 'Grazac']
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Salvagnac . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Salvagnac. Could you tell me the answer for that?
(c(Q20667921),P36,Q374333)
Q374333
[{'concept': 'Q20667921'}, 'P36', 'Q374333']
[{'concept': 'type of french administrative division'}, 'capital', 'Salvagnac']
[]
Q763816
SYSTEM
canton of Salvagnac
Q763816
(c(Q20667921),P36,Q374333)
action filter_type
action find_reverse
entity Q374333
relation P36
type Q20667921
The [ANSWER] has that one as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q374333']
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q374333 . ?s rdf:type ontology:Q20667921 }
canton of Salvagnac
The canton of Salvagnac has that one as its administrative centre
canton of Salvagnac
action filter_type
action find_reverse
entity Salvagnac
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Salvagnac']
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Salvagnac . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q763816
P1376
Q20667921
USER
Which french administrative division is the county seat of that one ?
(c(Q20667921),P1376,Q763816)
action filter_type
action find_reverse
entity Q763816
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q763816']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P1376 resource:Q763816 }
canton of Salvagnac
action filter_type
action find_reverse
entity canton of Salvagnac
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Salvagnac']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of resource:canton_of_Salvagnac }
[]
type of french administrative division
Q374333
SYSTEM
Salvagnac
Q374333
(c(Q20667921),P1376,Q763816)
action filter_type
action find_reverse
entity Q763816
relation P1376
type Q20667921
County [ANSWER] is the county seat of that one
[{'concept': 'Q20667921'}, 'P1376', 'Q763816']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P1376 resource:Q763816 }
Salvagnac
County Salvagnac is the county seat of that one
Salvagnac
action filter_type
action find_reverse
entity canton of Salvagnac
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Salvagnac']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of resource:canton_of_Salvagnac }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q374333
P20
Q502895
USER
Which person has that french administrative division as the location of death ?
(c(Q502895),P20,Q374333)
action filter_type
action find_reverse
entity Q374333
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q374333']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q374333 . ?g rdf:type ontology:Q502895 }
Salvagnac
action filter_type
action find_reverse
entity Salvagnac
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Salvagnac']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Salvagnac . ?g rdf:type ontology:common_name }
[]
common name
Q3559688
SYSTEM
Vincent Labeyrie
Q3559688
(c(Q502895),P20,Q374333)
action filter_type
action find_reverse
entity Q374333
relation P20
type Q502895
[ANSWER] has that french administrative division as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q374333']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q374333 . ?g rdf:type ontology:Q502895 }
Vincent Labeyrie
Vincent Labeyrie has that french administrative division as the location of death
Vincent Labeyrie
action filter_type
action find_reverse
entity Salvagnac
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Salvagnac']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Salvagnac . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3559688 Q142 Q5663457
P27
Q15617994
USER
Is that person a native of France and Harper Woods School District ?
(Q3559688,P27,Q142) (Q3559688,P27,Q5663457)
action is_in
entity Q3559688
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q5663457
relation P27
['Q3559688', 'P27', 'Q142'] ['Q3559688', 'P27', 'Q5663457']
ASK WHERE { resource:Q3559688 property:P27 resource:Q142 . resource:Q3559688 property:P27 resource:Q5663457 }
Vincent Labeyrie France Harper Woods School District
action is_in
entity Vincent Labeyrie
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Harper Woods School District
relation country of citizenship
['Vincent Labeyrie', 'country of citizenship', 'France'] ['Vincent Labeyrie', 'country of citizenship', 'Harper Woods School District']
ASK WHERE { resource:Vincent_Labeyrie property:country_of_citizenship resource:France . resource:Vincent_Labeyrie property:country_of_citizenship resource:Harper_Woods_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3559688,P27,Q142) (Q3559688,P27,Q5663457)
action is_in
entity Q3559688
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q5663457
relation P27
[ANSWER]
['Q3559688', 'P27', 'Q142'] ['Q3559688', 'P27', 'Q5663457']
ASK WHERE { resource:Q3559688 property:P27 resource:Q142 . resource:Q3559688 property:P27 resource:Q5663457 }
YES and NO respectively
action is_in
entity Vincent Labeyrie
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Harper Woods School District
relation country of citizenship
['Vincent Labeyrie', 'country of citizenship', 'France'] ['Vincent Labeyrie', 'country of citizenship', 'Harper Woods School District']
ASK WHERE { resource:Vincent_Labeyrie property:country_of_citizenship resource:France . resource:Vincent_Labeyrie property:country_of_citizenship resource:Harper_Woods_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6902732
P725
Q502895 Q166142
USER
How many applications did greater number of people dub for than Monster Hunter Diary: Poka Poka Airu Village ?
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q6902732
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?z ) WHERE { ?d property:P725 ?l . ?d rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q6902732 property:P725 ?c . ?c rdf:type ontology:Q166142 } } . FILTER ( ?z > ?h ) }
Monster Hunter Diary: Poka Poka Airu Village
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Monster Hunter Diary: Poka Poka Airu Village
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?z ) WHERE { ?d property:voice_actor ?l . ?d rdf:type ontology:application . ?l rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Monster_Hunter_Diary:_Poka_Poka_Airu_Village property:voice_actor ?c . ?c rdf:type ontology:application } } . FILTER ( ?z > ?h ) }
[]
common name application
SYSTEM
33
Q16031150 Q1052131 Q1141963 Q53362 Q870981 Q2578717 Q15588417 Q1191681 Q2061445 Q166060 Q1035512 Q27863 Q538150 Q216995 Q838707 Q843131 Q207981 Q1154327 Q1207525 Q2005910 Q847471 Q537389 Q23017199 Q170489 Q839091 Q484072 Q1371603 Q484233 Q182548 Q385228 Q2666042 Q4121008 Q2473832
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q6902732
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?z ) WHERE { ?d property:P725 ?l . ?d rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q6902732 property:P725 ?c . ?c rdf:type ontology:Q166142 } } . FILTER ( ?z > ?h ) }
Hyperdimension Neptunia PP Super Smash Bros. Melee Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Project 575 Battle Vixens Hyperdimension Neptunia Mk2 Umineko: When They Cry Danganronpa: Trigger Happy Havoc Sword Art Online To Love-Ru Super Mario 64 Mario Kart Wii Super Smash Bros. Brawl Code Geass XIII Hyperdimension Neptunia Metroid: Other M Full Throttle Soul Eater Marvel Avengers Academy Super Mario Galaxy Lucky Star Granado Espada Star Fox 64 3D Dungeon Fighter Online (DFO) Date A Live Spice and Wolf Star Fox: Assault Hyperdimension Neptunia Victory Tantei Opera Milky Holmes
33
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Monster Hunter Diary: Poka Poka Airu Village
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?z ) WHERE { ?d property:voice_actor ?l . ?d rdf:type ontology:application . ?l rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Monster_Hunter_Diary:_Poka_Poka_Airu_Village property:voice_actor ?c . ?c rdf:type ontology:application } } . FILTER ( ?z > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q207981
P725
Q502895 Q166142
USER
And also tell me about Code Geass?
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q207981
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q207981 property:P725 ?y . ?y rdf:type ontology:Q166142 } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:P725 ?p . ?p rdf:type ontology:Q502895 . ?f rdf:type ontology:Q166142 } GROUP BY ?f } }
Code Geass
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Code Geass
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Code_Geass property:voice_actor ?y . ?y rdf:type ontology:application } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:voice_actor ?p . ?p rdf:type ontology:common_name . ?f rdf:type ontology:application } GROUP BY ?f } }
[]
common name application
SYSTEM
21
Q16031150 Q1052131 Q1141963 Q53362 Q870981 Q2578717 Q15588417 Q1191681 Q2061445 Q27863 Q538150 Q843131 Q1154327 Q1207525 Q23017199 Q170489 Q1371603 Q182548 Q2666042 Q4121008 Q2473832
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q207981
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q207981 property:P725 ?y . ?y rdf:type ontology:Q166142 } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:P725 ?p . ?p rdf:type ontology:Q502895 . ?f rdf:type ontology:Q166142 } GROUP BY ?f } }
Hyperdimension Neptunia PP Super Smash Bros. Melee Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Project 575 Battle Vixens Hyperdimension Neptunia Mk2 Sword Art Online To Love-Ru Super Smash Bros. Brawl XIII Hyperdimension Neptunia Marvel Avengers Academy Super Mario Galaxy Star Fox 64 3D Date A Live Star Fox: Assault Hyperdimension Neptunia Victory Tantei Opera Milky Holmes
21
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Code Geass
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Code_Geass property:voice_actor ?y . ?y rdf:type ontology:application } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:voice_actor ?p . ?p rdf:type ontology:common_name . ?f rdf:type ontology:application } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6773272 Q960041
P27 P17
Q15617994
USER
Which administrative territories are Verlhac-Tescou a part of or are the countries of citizenship of Marselli Sumarno ?
OR((Q960041,P17,c(Q15617994)), (Q6773272,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q960041
relation P17
action find
entity Q6773272
relation P27
type Q15617994
{'OR': [['Q960041', 'P17', {'concept': 'Q15617994'}], ['Q6773272', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q960041 property:P17 ?f } UNION { resource:Q6773272 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Marselli Sumarno Verlhac-Tescou
action filter_type
action union
action find
entity Verlhac-Tescou
relation country
action find
entity Marselli Sumarno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Verlhac-Tescou', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Marselli Sumarno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Verlhac-Tescou property:country ?f } UNION { resource:Marselli_Sumarno property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q252
SYSTEM
France, Indonesia
Q142 Q252
OR((Q960041,P17,c(Q15617994)), (Q6773272,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q960041
relation P17
action find
entity Q6773272
relation P27
type Q15617994
[ANSWERS] are Verlhac-Tescou a part of or are the countries of citizenship of Marselli Sumarno
{'OR': [['Q960041', 'P17', {'concept': 'Q15617994'}], ['Q6773272', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q960041 property:P17 ?f } UNION { resource:Q6773272 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
France Indonesia
France and Indonesia are Verlhac-Tescou a part of or are the countries of citizenship of Marselli Sumarno
France Indonesia
action filter_type
action union
action find
entity Verlhac-Tescou
relation country
action find
entity Marselli Sumarno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Verlhac-Tescou', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Marselli Sumarno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Verlhac-Tescou property:country ?f } UNION { resource:Marselli_Sumarno property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]