Simple Question (Direct)
Simple Question
Q1871782
P69
Q2668072
USER
Which collection was Louis-Jean-François Lagrenée educated at ?
(Q1871782,P69,c(Q2668072))
action filter_type
action find
entity Q1871782
relation P69
type Q2668072
['Q1871782', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { resource:Q1871782 property:P69 ?a . ?a rdf:type ontology:Q2668072 }
Louis-Jean-François Lagrenée
action filter_type
action find
entity Louis-Jean-François Lagrenée
relation educated at
type collection
['Louis-Jean-François Lagrenée', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { resource:Louis-Jean-François_Lagrenée property:educated_at ?a . ?a rdf:type ontology:collection }
[]
collection
Q273593
SYSTEM
École nationale supérieure des Beaux-Arts
Q273593
(Q1871782,P69,c(Q2668072))
action filter_type
action find
entity Q1871782
relation P69
type Q2668072
Louis-Jean-François Lagrenée was educated at [ANSWER]
['Q1871782', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { resource:Q1871782 property:P69 ?a . ?a rdf:type ontology:Q2668072 }
École nationale supérieure des Beaux-Arts
Louis-Jean-François Lagrenée was educated at École nationale supérieure des Beaux-Arts
École nationale supérieure des Beaux-Arts
action filter_type
action find
entity Louis-Jean-François Lagrenée
relation educated at
type collection
['Louis-Jean-François Lagrenée', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { resource:Louis-Jean-François_Lagrenée property:educated_at ?a . ?a rdf:type ontology:collection }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1871782
P7
Q502895
USER
Which person is the brother of Louis-Jean-François Lagrenée ?
(Q1871782,P7,c(Q502895))
action filter_type
action find
entity Q1871782
relation P7
type Q502895
['Q1871782', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1871782 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Louis-Jean-François Lagrenée
action filter_type
action find
entity Louis-Jean-François Lagrenée
relation brother
type common name
['Louis-Jean-François Lagrenée', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Louis-Jean-François_Lagrenée property:brother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q2330652
SYSTEM
Jean-Jacques Lagrenée
Q2330652
(Q1871782,P7,c(Q502895))
action filter_type
action find
entity Q1871782
relation P7
type Q502895
[ANSWER] is the brother of Louis-Jean-François Lagrenée
['Q1871782', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1871782 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Jean-Jacques Lagrenée
Jean-Jacques Lagrenée is the brother of Louis-Jean-François Lagrenée
Jean-Jacques Lagrenée
action filter_type
action find
entity Louis-Jean-François Lagrenée
relation brother
type common name
['Louis-Jean-François Lagrenée', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Louis-Jean-François_Lagrenée property:brother ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q890073
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than Body percussion ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q890073
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1303 resource:Q890073 . ?n rdf:type ontology:Q502895 } } . FILTER ( ?j < ?t ) }
Body percussion
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Body percussion
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:instrument resource:Body_percussion . ?n rdf:type ontology:common_name } } . FILTER ( ?j < ?t ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q890073
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1303 resource:Q890073 . ?n rdf:type ontology:Q502895 } } . FILTER ( ?j < ?t ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Body percussion
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:instrument resource:Body_percussion . ?n rdf:type ontology:common_name } } . FILTER ( ?j < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3382191
P1303
Q34379 Q502895
USER
And also tell me about upright piano?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1303 resource:Q3382191 } } . FILTER ( ?j < ?g ) }
upright piano
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:common_name . ?a property:instrument resource:upright_piano } } . FILTER ( ?j < ?g ) }
[]
musical instrument common name
SYSTEM
53
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1303 resource:Q3382191 } } . FILTER ( ?j < ?g ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
53
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ontology:common_name . ?a property:instrument resource:upright_piano } } . FILTER ( ?j < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1871782
P22
Q502895
USER
Who has Louis-Jean-François Lagrenée as a father ?
(c(Q502895),P22,Q1871782)
action filter_type
action find_reverse
entity Q1871782
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1871782']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q1871782 . ?f rdf:type ontology:Q502895 }
Louis-Jean-François Lagrenée
action filter_type
action find_reverse
entity Louis-Jean-François Lagrenée
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis-Jean-François Lagrenée']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Louis-Jean-François_Lagrenée . ?f rdf:type ontology:common_name }
[]
common name
Q4252428
SYSTEM
Anthelme-François Lagrenée
Q4252428
(c(Q502895),P22,Q1871782)
action filter_type
action find_reverse
entity Q1871782
relation P22
type Q502895
[ANSWER] has Louis-Jean-François Lagrenée as a father
[{'concept': 'Q502895'}, 'P22', 'Q1871782']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q1871782 . ?f rdf:type ontology:Q502895 }
Anthelme-François Lagrenée
Anthelme-François Lagrenée has Louis-Jean-François Lagrenée as a father
Anthelme-François Lagrenée
action filter_type
action find_reverse
entity Louis-Jean-François Lagrenée
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis-Jean-François Lagrenée']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Louis-Jean-François_Lagrenée . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q273593
P669
Q34442
USER
Which roads are the locations of École nationale supérieure des Beaux-Arts ?
(Q273593,P669,c(Q34442))
action filter_type
action find
entity Q273593
relation P669
type Q34442
['Q273593', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { resource:Q273593 property:P669 ?e . ?e rdf:type ontology:Q34442 }
École nationale supérieure des Beaux-Arts
action filter_type
action find
entity École nationale supérieure des Beaux-Arts
relation located on street
type road
['École nationale supérieure des Beaux-Arts', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { resource:École_nationale_supérieure_des_Beaux-Arts property:located_on_street ?e . ?e rdf:type ontology:road }
[]
road
Q3448392 Q3447194
SYSTEM
rue Jacques-Callot, rue Bonaparte
Q3448392 Q3447194
(Q273593,P669,c(Q34442))
action filter_type
action find
entity Q273593
relation P669
type Q34442
[ANSWERS] are the locations of École nationale supérieure des Beaux-Arts
['Q273593', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { resource:Q273593 property:P669 ?e . ?e rdf:type ontology:Q34442 }
rue Jacques-Callot rue Bonaparte
Rue Jacques-Callot and rue Bonaparte are the locations of École nationale supérieure des Beaux-Arts
rue Jacques-Callot rue Bonaparte
action filter_type
action find
entity École nationale supérieure des Beaux-Arts
relation located on street
type road
['École nationale supérieure des Beaux-Arts', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { resource:École_nationale_supérieure_des_Beaux-Arts property:located_on_street ?e . ?e rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3448392 Q3447194
P47
Q34442
USER
Which roads have an adjacent border with those ones ?
(c(Q34442),P47,Q3448392) (c(Q34442),P47,Q3447194)
action filter_type
action find
entity prev_answer
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3448392'] [{'concept': 'Q34442'}, 'P47', 'Q3447194']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34442 . ?p property:P47 ?j . VALUES ( ?p ) { ( resource:Q3448392 ) ( resource:Q3447194 ) } }
rue Jacques-Callot rue Bonaparte
action filter_type
action find
entity prev_answer
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Jacques-Callot'] [{'concept': 'road'}, 'shares border with', 'rue Bonaparte']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:road . ?p property:shares_border_with ?j . VALUES ( ?p ) { ( resource:rue_Jacques-Callot ) ( resource:rue_Bonaparte ) } }
[]
road
Q2707132 Q3451006 Q2384721
SYSTEM
rue de Vaugirard, rue de Rennes, rue de Seine
Q2384721 Q3449139 Q3448242 Q3448385 Q3448353 Q3452630 Q3451006 Q2420551 Q2707132 Q3451667 Q3452313 Q3448200 Q3448177 Q3450918 Q3450358
(c(Q34442),P47,Q3448392) (c(Q34442),P47,Q3447194)
action filter_type
action find
entity prev_answer
relation P47
type Q34442
[ANSWERS] have an adjacent border with those ones
[{'concept': 'Q34442'}, 'P47', 'Q3448392'] [{'concept': 'Q34442'}, 'P47', 'Q3447194']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34442 . ?p property:P47 ?j . VALUES ( ?p ) { ( resource:Q3448392 ) ( resource:Q3447194 ) } }
rue de Seine rue Mazarine rue Guénégaud rue Jacob rue Honoré-Chevalier rue du Vieux-Colombier rue de Rennes rue de l'Abbaye rue de Vaugirard rue des Beaux-Arts rue du Four rue Guillaume-Apollinaire rue Gozlin rue de Mézières rue Visconti
Rue de Vaugirard, rue de Rennes and rue de Seine have an adjacent border with those ones
rue de Vaugirard rue de Rennes rue de Seine
action filter_type
action find
entity prev_answer
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Jacques-Callot'] [{'concept': 'road'}, 'shares border with', 'rue Bonaparte']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:road . ?p property:shares_border_with ?j . VALUES ( ?p ) { ( resource:rue_Jacques-Callot ) ( resource:rue_Bonaparte ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2707132
P138
Q20667921
USER
Which french administrative division is that road named after ?
(Q2707132,P138,c(Q20667921))
action filter_type
action find
entity Q2707132
relation P138
type Q20667921
['Q2707132', 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2707132 property:P138 ?b . ?b rdf:type ontology:Q20667921 }
rue de Vaugirard
action filter_type
action find
entity rue de Vaugirard
relation named after
type type of french administrative division
['rue de Vaugirard', 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:rue_de_Vaugirard property:named_after ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q2707132
SYSTEM
Did you mean rue de Vaugirard ?
Q2707132 Q3451006 Q2384721
(Q2707132,P138,c(Q20667921)) (Q3451006,P138,c(Q20667921)) (Q2384721,P138,c(Q20667921))
[ANSWER]
['Q2707132', 'P138', {'concept': 'Q20667921'}] ['Q3451006', 'P138', {'concept': 'Q20667921'}] ['Q2384721', 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2707132 property:P138 ?b . ?b rdf:type ontology:Q20667921 }
rue de Vaugirard rue de Rennes rue de Seine
Did you mean rue de Vaugirard ?
rue de Vaugirard
['rue de Vaugirard', 'named after', {'concept': 'type of french administrative division'}] ['rue de Rennes', 'named after', {'concept': 'type of french administrative division'}] ['rue de Seine', 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:rue_de_Vaugirard property:named_after ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2707132,P138,c(Q20667921))
['Q2707132', 'P138', {'concept': 'Q20667921'}]
['rue de Vaugirard', 'named after', {'concept': 'type of french administrative division'}]
[]
Q3555080
SYSTEM
Vaugirard
Q3555080
(Q2707132,P138,c(Q20667921))
action filter_type
action find
entity Q2707132
relation P138
type Q20667921
[ANSWER]
['Q2707132', 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2707132 property:P138 ?b . ?b rdf:type ontology:Q20667921 }
Vaugirard
Vaugirard
action filter_type
action find
entity rue de Vaugirard
relation named after
type type of french administrative division
['rue de Vaugirard', 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:rue_de_Vaugirard property:named_after ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]