Simple Question (Direct)
Simple Question
Q16025672
P106
Q12737077
USER
What does Maurice Escoulent do for a living ?
(Q16025672,P106,c(Q12737077))
action filter_type
action find
entity Q16025672
relation P106
type Q12737077
['Q16025672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16025672 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Maurice Escoulent
action filter_type
action find
entity Maurice Escoulent
relation occupation
type occupation
['Maurice Escoulent', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Maurice_Escoulent property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16025672,P106,c(Q12737077))
action filter_type
action find
entity Q16025672
relation P106
type Q12737077
Maurice Escoulent does a [ANSWER] for a living
['Q16025672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16025672 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
Maurice Escoulent does a politician for a living
politician
action filter_type
action find
entity Maurice Escoulent
relation occupation
type occupation
['Maurice Escoulent', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Maurice_Escoulent property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16025672
P20
Q20667921
USER
Where did Maurice Escoulent expire ?
(Q16025672,P20,c(Q20667921))
action filter_type
action find
entity Q16025672
relation P20
type Q20667921
['Q16025672', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q16025672 property:P20 ?s . ?s rdf:type ontology:Q20667921 }
Maurice Escoulent
action filter_type
action find
entity Maurice Escoulent
relation place of death
type type of french administrative division
['Maurice Escoulent', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Maurice_Escoulent property:place_of_death ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q234270
SYSTEM
Montélimar
Q234270
(Q16025672,P20,c(Q20667921))
action filter_type
action find
entity Q16025672
relation P20
type Q20667921
Maurice Escoulent expired in [ANSWER]
['Q16025672', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q16025672 property:P20 ?s . ?s rdf:type ontology:Q20667921 }
Montélimar
Maurice Escoulent expired in Montélimar
Montélimar
action filter_type
action find
entity Maurice Escoulent
relation place of death
type type of french administrative division
['Maurice Escoulent', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Maurice_Escoulent property:place_of_death ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234270
P190
Q15617994
USER
Which administrative territories are twin cities of that french administrative division ?
(Q234270,P190,c(Q15617994))
action filter_type
action find
entity Q234270
relation P190
type Q15617994
['Q234270', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q234270 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Montélimar
action filter_type
action find
entity Montélimar
relation sister city
type designation for an administrative territorial entity
['Montélimar', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Montélimar property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q94935 Q10231
SYSTEM
Malalbergo, Rivoli
Q94935 Q10231
(Q234270,P190,c(Q15617994))
action filter_type
action find
entity Q234270
relation P190
type Q15617994
[ANSWERS] are twin cities of that french administrative division
['Q234270', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q234270 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Malalbergo Rivoli
Malalbergo and Rivoli are twin cities of that french administrative division
Malalbergo Rivoli
action filter_type
action find
entity Montélimar
relation sister city
type designation for an administrative territorial entity
['Montélimar', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Montélimar property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10231
P17
Q15617994
USER
Which administrative territory does Rivoli belong to ?
(Q10231,P17,c(Q15617994))
action filter_type
action find
entity Q10231
relation P17
type Q15617994
['Q10231', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q10231 property:P17 ?j }
Rivoli
action filter_type
action find
entity Rivoli
relation country
type designation for an administrative territorial entity
['Rivoli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivoli property:country ?j }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q10231,P17,c(Q15617994))
action filter_type
action find
entity Q10231
relation P17
type Q15617994
Rivoli belongs to [ANSWER]
['Q10231', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q10231 property:P17 ?j }
Italy
Rivoli belongs to Italy
Italy
action filter_type
action find
entity Rivoli
relation country
type designation for an administrative territorial entity
['Rivoli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivoli property:country ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17074953
Q15617994
USER
And also tell me about Piggybackr?
(Q17074953,P17,c(Q15617994))
action filter_type
action find
entity Q17074953
relation P17
type Q15617994
['Q17074953', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q17074953 property:P17 ?d }
Piggybackr
action filter_type
action find
entity Piggybackr
relation country
type designation for an administrative territorial entity
['Piggybackr', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piggybackr property:country ?d }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17074953,P17,c(Q15617994))
action filter_type
action find
entity Q17074953
relation P17
type Q15617994
[ANSWER]
['Q17074953', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q17074953 property:P17 ?d }
United States of America
United States of America
action filter_type
action find
entity Piggybackr
relation country
type designation for an administrative territorial entity
['Piggybackr', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piggybackr property:country ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q11613 Q76
P6
Q502895
USER
Does that administrative territory have a government lead by Harry S. Truman and Barack Obama ?
(Q30,P6,Q11613) (Q30,P6,Q76)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11613
relation P6
action find_reverse
entity Q76
relation P6
['Q30', 'P6', 'Q11613'] ['Q30', 'P6', 'Q76']
ASK WHERE { resource:Q30 property:P6 resource:Q11613 . resource:Q30 property:P6 resource:Q76 }
United States of America Harry S. Truman Barack Obama
action is_in
entity United States of America
action intersection
action find_reverse
entity Harry S. Truman
relation head of government
action find_reverse
entity Barack Obama
relation head of government
['United States of America', 'head of government', 'Harry S. Truman'] ['United States of America', 'head of government', 'Barack Obama']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Harry_S._Truman . resource:United_States_of_America property:head_of_government resource:Barack_Obama }
[]
common name
SYSTEM
YES
(Q30,P6,Q11613) (Q30,P6,Q76)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11613
relation P6
action find_reverse
entity Q76
relation P6
[ANSWER]
['Q30', 'P6', 'Q11613'] ['Q30', 'P6', 'Q76']
ASK WHERE { resource:Q30 property:P6 resource:Q11613 . resource:Q30 property:P6 resource:Q76 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Harry S. Truman
relation head of government
action find_reverse
entity Barack Obama
relation head of government
['United States of America', 'head of government', 'Harry S. Truman'] ['United States of America', 'head of government', 'Barack Obama']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Harry_S._Truman . resource:United_States_of_America property:head_of_government resource:Barack_Obama }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P417
Q502895
USER
Which people are the patron saint of Italy ?
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q38 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Italy property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
common name
Q676555 Q229190
SYSTEM
Francis of Assisi, Catherine of Siena
Q676555 Q229190
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
[ANSWERS] are the patron saint of Italy
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q38 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Francis of Assisi Catherine of Siena
Francis of Assisi and Catherine of Siena are the patron saint of Italy
Francis of Assisi Catherine of Siena
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Italy property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P825
Q502895 Q207628
USER
How many people are more number of musical compositions dedicated to than that person ?
(c(Q207628),P825,c(Q502895))
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P825 ?y . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q502895 }
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:dedicated_to ?y . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:common_name }
[]
common name musical composition
Comparative|Count over More/Less|Single entity type|Clarification
Q229190
SYSTEM
Did you mean Catherine of Siena ?
(c(Q207628),P825,c(Q502895))
[ANSWER]
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P825 ?y . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q502895 }
Did you mean Catherine of Siena ?
Catherine of Siena
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:dedicated_to ?y . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Francis of Assisi. Could you tell me the answer for that?
(c(Q207628),P825,c(Q502895))
Q676555
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
[]
SYSTEM
15
Q85210 Q150767 Q1948037 Q44039 Q443559 Q160257 Q66005 Q570845 Q502943 Q51056 Q472635 Q92467 Q538335 Q179858 Q41309
(c(Q207628),P825,c(Q502895))
[ANSWER]
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P825 ?y . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q502895 }
Karl Ritter von Stremayr Benjamin Britten Moritz Reichsgraf von Fries Ludwig II of Bavaria Elizabeth Sprague Coolidge Wanda Landowska Margrave Christian Ludwig of Brandenburg-Schwedt Joseph Franz von Lobkowitz Andrey Razumovsky Franz Joseph I of Austria Gustav, Prince of Vasa Theodor Avé-Lallemant Marianne Kirchgessner Urho Kekkonen Franz Liszt
15
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:dedicated_to ?y . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:common_name }
[]