Simple Question (Direct)
Simple Question
Q1337658
P512
Q3412758
USER
What is the name of the degree held by Karl-Georg Loritz ?
(Q1337658,P512,c(Q3412758))
action filter_type
action find
entity Q1337658
relation P512
type Q3412758
['Q1337658', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q1337658 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
Karl-Georg Loritz
action filter_type
action find
entity Karl-Georg Loritz
relation academic degree
type qualification
['Karl-Georg Loritz', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Karl-Georg_Loritz property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1337658,P512,c(Q3412758))
action filter_type
action find
entity Q1337658
relation P512
type Q3412758
The name of the degree held by Karl-Georg Loritz is the [ANSWER]
['Q1337658', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q1337658 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Karl-Georg Loritz is the doctoral degree
doctoral degree
action filter_type
action find
entity Karl-Georg Loritz
relation academic degree
type qualification
['Karl-Georg Loritz', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Karl-Georg_Loritz property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P69
Q502895
USER
Who were educated at that qualification ?
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P69 resource:Q849697 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:educated_at resource:doctoral_degree }
[]
common name
Q2369193 Q120389 Q3419113
SYSTEM
Auguste Sabatier, Stéphane Udry, Raoul Allier
Q2369193 Q120389 Q3419113
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[ANSWERS] were educated at that qualification
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P69 resource:Q849697 }
Auguste Sabatier Stéphane Udry Raoul Allier
Auguste Sabatier, Stéphane Udry and Raoul Allier were educated at that qualification
Auguste Sabatier Stéphane Udry Raoul Allier
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:educated_at resource:doctoral_degree }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2369193 Q120389 Q3419113
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Auguste Sabatier, Stéphane Udry and Raoul Allier ?
(Q2369193,P27,c(Q15617994)) (Q120389,P27,c(Q15617994)) (Q3419113,P27,c(Q15617994))
action union
action filter_type
action find
entity Q2369193
relation P27
type Q15617994
action filter_type
action find
entity Q120389
relation P27
type Q15617994
action filter_type
action find
entity Q3419113
relation P27
type Q15617994
['Q2369193', 'P27', {'concept': 'Q15617994'}] ['Q120389', 'P27', {'concept': 'Q15617994'}] ['Q3419113', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { resource:Q2369193 property:P27 ?s . ?s rdf:type ontology:Q15617994 } UNION { ?s rdf:type ontology:Q15617994 . resource:Q120389 property:P27 ?s } }
Auguste Sabatier Stéphane Udry Raoul Allier
action union
action filter_type
action find
entity Auguste Sabatier
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Stéphane Udry
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Raoul Allier
relation country of citizenship
type designation for an administrative territorial entity
['Auguste Sabatier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Stéphane Udry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Raoul Allier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:Auguste_Sabatier property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stéphane_Udry property:country_of_citizenship ?s } }
[]
designation for an administrative territorial entity
Q142 Q39 Q142
SYSTEM
France for 1st, 3rd, Switzerland for 2nd
Q142 Q39 Q142
(Q2369193,P27,c(Q15617994)) (Q120389,P27,c(Q15617994)) (Q3419113,P27,c(Q15617994))
action union
action filter_type
action find
entity Q2369193
relation P27
type Q15617994
action filter_type
action find
entity Q120389
relation P27
type Q15617994
action filter_type
action find
entity Q3419113
relation P27
type Q15617994
[ANSWERS]
['Q2369193', 'P27', {'concept': 'Q15617994'}] ['Q120389', 'P27', {'concept': 'Q15617994'}] ['Q3419113', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { resource:Q2369193 property:P27 ?s . ?s rdf:type ontology:Q15617994 } UNION { ?s rdf:type ontology:Q15617994 . resource:Q120389 property:P27 ?s } }
France Switzerland France
France, Switzerland and France are the countries of citizenship of Auguste Sabatier, Stéphane Udry and Raoul Allier
France Switzerland France
action union
action filter_type
action find
entity Auguste Sabatier
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Stéphane Udry
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Raoul Allier
relation country of citizenship
type designation for an administrative territorial entity
['Auguste Sabatier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Stéphane Udry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Raoul Allier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:Auguste_Sabatier property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stéphane_Udry property:country_of_citizenship ?s } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P1532
Q502895
USER
Which people play for that administrative territory ?
(c(Q502895),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q142']
SELECT DISTINCT ?v WHERE { ?v property:P1532 resource:Q142 . ?v rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'France']
SELECT DISTINCT ?v WHERE { ?v property:country_for_sport resource:France . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q142 Q39 Q142
(c(Q502895),P1532,Q142) (c(Q502895),P1532,Q39) (c(Q502895),P1532,Q142)
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q142'] [{'concept': 'Q502895'}, 'P1532', 'Q39'] [{'concept': 'Q502895'}, 'P1532', 'Q142']
SELECT DISTINCT ?v WHERE { ?v property:P1532 resource:Q142 . ?v rdf:type ontology:Q502895 }
France Switzerland France
Did you mean France ?
France
[{'concept': 'common name'}, 'country for sport', 'France'] [{'concept': 'common name'}, 'country for sport', 'Switzerland'] [{'concept': 'common name'}, 'country for sport', 'France']
SELECT DISTINCT ?v WHERE { ?v property:country_for_sport resource:France . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1532,Q142)
[{'concept': 'Q502895'}, 'P1532', 'Q142']
[{'concept': 'common name'}, 'country for sport', 'France']
[]
Q273561 Q26780559 Q3358507
SYSTEM
Anne-Marie Colchen, Rodica Nagel, Ousmane Diarra
Q22667577 Q3358507 Q24152306 Q20524784 Q273561 Q16647692 Q20630283 Q22083801 Q25435269 Q25435278 Q20993695 Q25911245 Q273422 Q26780559 Q21936459
(c(Q502895),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q502895
[ANSWERS] play for that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q142']
SELECT DISTINCT ?v WHERE { ?v property:P1532 resource:Q142 . ?v rdf:type ontology:Q502895 }
Gérald Baudouin Ousmane Diarra Stanley Joseph Bernard Picone Anne-Marie Colchen Justine Fedronic Djamel Aïteur Dylan Barbier Carolle Zahi Floriane Gnafoua Agnès Teppe Aurel Manga Nicole Duclos Rodica Nagel Maeva Danois
Anne-Marie Colchen, Rodica Nagel and Ousmane Diarra play for that administrative territory
Anne-Marie Colchen Rodica Nagel Ousmane Diarra
action filter_type
action find_reverse
entity France
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'France']
SELECT DISTINCT ?v WHERE { ?v property:country_for_sport resource:France . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did around 9 people do the dubbing for ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 9
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?d ) WHERE { ?k property:P725 ?z . ?z rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15961987 } GROUP BY ?k } . FILTER ( ?d = 9 ) }
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 9
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?d ) WHERE { ?k property:voice_actor ?z . ?z rdf:type ontology:common_name . ?k rdf:type ontology:television_genre } GROUP BY ?k } . FILTER ( ?d = 9 ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q18790 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 9
Around 9 people did the dubbing for [ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?d ) WHERE { ?k property:P725 ?z . ?z rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15961987 } GROUP BY ?k } . FILTER ( ?d = 9 ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
Around 9 people did the dubbing for The Simpsons, Adventure Time and My Little Pony: Friendship Is Magic
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 9
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?d ) WHERE { ?k property:voice_actor ?z . ?z rdf:type ontology:common_name . ?k rdf:type ontology:television_genre } GROUP BY ?k } . FILTER ( ?d = 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with France ?
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q142 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:France property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
15
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q142 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
15
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:France property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q212
Q15617994
USER
And also tell me about Ukraine?
(Q212,P530,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
['Q212', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q212 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Ukraine
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Ukraine property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q212,P530,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[ANSWER]
['Q212', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q212 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Ukraine property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P36
Q515
USER
Which city is associated to that administrative territory as the capital ?
action filter_type
action find
entity Q212
relation P36
type Q515
SELECT DISTINCT ?x WHERE { resource:Q212 property:P36 ?x . ?x rdf:type ontology:Q515 }
Ukraine
action filter_type
action find
entity Ukraine
relation capital
type city
SELECT DISTINCT ?x WHERE { resource:Ukraine property:capital ?x . ?x rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
action filter_type
action find
entity Q212
relation P36
type Q515
[ANSWER] is associated to that administrative territory as the capital
SELECT DISTINCT ?x WHERE { resource:Q212 property:P36 ?x . ?x rdf:type ontology:Q515 }
Kyiv
Kyiv is associated to that administrative territory as the capital
Kyiv
action filter_type
action find
entity Ukraine
relation capital
type city
SELECT DISTINCT ?x WHERE { resource:Ukraine property:capital ?x . ?x rdf:type ontology:city }
[]