Simple Question (Direct)
Simple Question
Q3383154
P19
Q20667921
USER
Where was Pierre-Jean-Thomas Boerio born ?
(Q3383154,P19,c(Q20667921))
action filter_type
action find
entity Q3383154
relation P19
type Q20667921
['Q3383154', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3383154 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Pierre-Jean-Thomas Boerio
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation place of birth
type type of french administrative division
['Pierre-Jean-Thomas Boerio', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Pierre-Jean-Thomas_Boerio property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q213555
SYSTEM
Corte
Q213555
(Q3383154,P19,c(Q20667921))
action filter_type
action find
entity Q3383154
relation P19
type Q20667921
Pierre-Jean-Thomas Boerio was born in [ANSWER]
['Q3383154', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3383154 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Corte
Pierre-Jean-Thomas Boerio was born in Corte
Corte
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation place of birth
type type of french administrative division
['Pierre-Jean-Thomas Boerio', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Pierre-Jean-Thomas_Boerio property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3383154
P166
Q618779
USER
What was won by that person ?
(Q213555,P166,c(Q618779))
action filter_type
action find
entity Q3383154
relation P166
type Q618779
['Q213555', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q3383154 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Pierre-Jean-Thomas Boerio
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation award received
type award
['Corte', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Pierre-Jean-Thomas_Boerio property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q213555,P166,c(Q618779))
action filter_type
action find
entity Q3383154
relation P166
type Q618779
Was [ANSWER] was won by that person
['Q213555', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q3383154 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Was Knight of the Legion of Honour was won by that person
Knight of the Legion of Honour
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation award received
type award
['Corte', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Pierre-Jean-Thomas_Boerio property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3383154
P106
Q28640
USER
Which profession has that person as his/her 's career ?
(Q10855271,P106,c(Q28640))
action filter_type
action find
entity Q3383154
relation P106
type Q28640
['Q10855271', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q3383154 property:P106 ?i . ?i rdf:type ontology:Q28640 }
Pierre-Jean-Thomas Boerio
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation occupation
type profession
['Knight of the Legion of Honour', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:Pierre-Jean-Thomas_Boerio property:occupation ?i . ?i rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q10855271,P106,c(Q28640))
action filter_type
action find
entity Q3383154
relation P106
type Q28640
A [ANSWER] has that person as his/her 's career
['Q10855271', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q3383154 property:P106 ?i . ?i rdf:type ontology:Q28640 }
lawyer
A lawyer has that person as his/her 's career
lawyer
action filter_type
action find
entity Pierre-Jean-Thomas Boerio
relation occupation
type profession
['Knight of the Legion of Honour', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:Pierre-Jean-Thomas_Boerio property:occupation ?i . ?i rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40348
P417
Q502895
USER
What are the names of the patron saint of that profession ?
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q40348 property:P417 ?b . ?b rdf:type ontology:Q502895 }
lawyer
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:lawyer property:patron_saint ?b . ?b rdf:type ontology:common_name }
[]
common name
Q179718 Q358325
SYSTEM
Catherine of Alexandria, Ivo of Kermartin
Q179718 Q358325
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
The names of the patron saint of that profession are Saint [ANSWERS]
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q40348 property:P417 ?b . ?b rdf:type ontology:Q502895 }
Catherine of Alexandria Ivo of Kermartin
The names of the patron saint of that profession are Saint Catherine of Alexandria and Ivo of Kermartin
Catherine of Alexandria Ivo of Kermartin
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:lawyer property:patron_saint ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q77202
P417
Q28640
USER
Are those people a patron saint of 1C Company ?
(Q77202,P417,Q179718) (Q77202,P417,Q358325)
action is_in
entity prev_answer
action find
entity Q77202
relation P417
['Q77202', 'P417', 'Q179718'] ['Q77202', 'P417', 'Q358325']
ASK WHERE { VALUES ( ?m ) { ( resource:Q179718 ) ( resource:Q358325 ) } . resource:Q77202 property:P417 ?m }
1C Company
action is_in
entity prev_answer
action find
entity 1C Company
relation patron saint
['1C Company', 'patron saint', 'Catherine of Alexandria'] ['1C Company', 'patron saint', 'Ivo of Kermartin']
ASK WHERE { VALUES ( ?m ) { ( resource:Catherine_of_Alexandria ) ( resource:Ivo_of_Kermartin ) } . resource:1C_Company property:patron_saint ?m }
[]
profession
SYSTEM
NO
(Q77202,P417,Q179718) (Q77202,P417,Q358325)
action is_in
entity prev_answer
action find
entity Q77202
relation P417
[ANSWER]
['Q77202', 'P417', 'Q179718'] ['Q77202', 'P417', 'Q358325']
ASK WHERE { VALUES ( ?m ) { ( resource:Q179718 ) ( resource:Q358325 ) } . resource:Q77202 property:P417 ?m }
No
action is_in
entity prev_answer
action find
entity 1C Company
relation patron saint
['1C Company', 'patron saint', 'Catherine of Alexandria'] ['1C Company', 'patron saint', 'Ivo of Kermartin']
ASK WHERE { VALUES ( ?m ) { ( resource:Catherine_of_Alexandria ) ( resource:Ivo_of_Kermartin ) } . resource:1C_Company property:patron_saint ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 1 person ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
musical instrument common name
SYSTEM
33
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
33
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179718
P825
Q41176
USER
Which building is devoted to Catherine of Alexandria ?
(c(Q41176),P825,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P825
type Q41176
[{'concept': 'Q41176'}, 'P825', 'Q179718']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q41176 . ?m property:P825 resource:Q179718 }
Catherine of Alexandria
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type building
[{'concept': 'building'}, 'dedicated to', 'Catherine of Alexandria']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:building . ?m property:dedicated_to resource:Catherine_of_Alexandria }
[]
building
Q20867981
SYSTEM
Catherine of Alexandria's Chapel
Q20867981
(c(Q41176),P825,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P825
type Q41176
Chapel [ANSWER] is devoted to Catherine of Alexandria
[{'concept': 'Q41176'}, 'P825', 'Q179718']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q41176 . ?m property:P825 resource:Q179718 }
Catherine of Alexandria's Chapel
Chapel Catherine of Alexandria's Chapel is devoted to Catherine of Alexandria
Catherine of Alexandria's Chapel
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type building
[{'concept': 'building'}, 'dedicated to', 'Catherine of Alexandria']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:building . ?m property:dedicated_to resource:Catherine_of_Alexandria }
[]