Simple Question (Direct)
Simple Question
Q15407333
P19
Q20667921
USER
Which french administrative division was Suzanne Sohet born in ?
(Q15407333,P19,c(Q20667921))
action filter_type
action find
entity Q15407333
relation P19
type Q20667921
['Q15407333', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q15407333 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Suzanne Sohet
action filter_type
action find
entity Suzanne Sohet
relation place of birth
type type of french administrative division
['Suzanne Sohet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Suzanne_Sohet property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q659931
SYSTEM
Longuyon
Q659931
(Q15407333,P19,c(Q20667921))
action filter_type
action find
entity Q15407333
relation P19
type Q20667921
Suzanne Sohet was born in [ANSWER]
['Q15407333', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q15407333 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Longuyon
Suzanne Sohet was born in Longuyon
Longuyon
action filter_type
action find
entity Suzanne Sohet
relation place of birth
type type of french administrative division
['Suzanne Sohet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Suzanne_Sohet property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q659931
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q659931)
action filter_type
action find
entity Q659931
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q659931']
SELECT DISTINCT ?c WHERE { resource:Q659931 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Longuyon
action filter_type
action find
entity Longuyon
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Longuyon']
SELECT DISTINCT ?c WHERE { resource:Longuyon property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q587680 Q988183 Q59686
SYSTEM
Grand-Failly, Charency-Vezin, Arrancy-sur-Crusne
Q646176 Q990786 Q59686 Q59216 Q587680 Q988183 Q1047391 Q669412 Q1049851 Q1087149
(c(Q20667921),P47,Q659931)
action filter_type
action find
entity Q659931
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q659931']
SELECT DISTINCT ?c WHERE { resource:Q659931 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Beuveille Colmey Arrancy-sur-Crusne Sorbey Grand-Failly Charency-Vezin Villette Tellancourt Viviers-sur-Chiers Allondrelle-la-Malmaison
Grand-Failly, Charency-Vezin and Arrancy-sur-Crusne are bordered by that one
Grand-Failly Charency-Vezin Arrancy-sur-Crusne
action filter_type
action find
entity Longuyon
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Longuyon']
SELECT DISTINCT ?c WHERE { resource:Longuyon property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q636896
P47
Q20667921
USER
Do Lamoura have an adjacent border with those ones ?
(Q636896,P47,Q587680) (Q636896,P47,Q988183) (Q636896,P47,Q59686)
action is_in
entity prev_answer
action find
entity Q636896
relation P47
['Q636896', 'P47', 'Q587680'] ['Q636896', 'P47', 'Q988183'] ['Q636896', 'P47', 'Q59686']
ASK WHERE { resource:Q636896 property:P47 ?r . VALUES ( ?r ) { ( resource:Q646176 ) ( resource:Q990786 ) ( resource:Q59686 ) } }
Lamoura
action is_in
entity prev_answer
action find
entity Lamoura
relation shares border with
['Lamoura', 'shares border with', 'Grand-Failly'] ['Lamoura', 'shares border with', 'Charency-Vezin'] ['Lamoura', 'shares border with', 'Arrancy-sur-Crusne']
ASK WHERE { resource:Lamoura property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Beuveille ) ( resource:Colmey ) ( resource:Arrancy-sur-Crusne ) } }
[]
type of french administrative division
SYSTEM
NO
(Q636896,P47,Q587680) (Q636896,P47,Q988183) (Q636896,P47,Q59686)
action is_in
entity prev_answer
action find
entity Q636896
relation P47
[ANSWER]
['Q636896', 'P47', 'Q587680'] ['Q636896', 'P47', 'Q988183'] ['Q636896', 'P47', 'Q59686']
ASK WHERE { resource:Q636896 property:P47 ?r . VALUES ( ?r ) { ( resource:Q646176 ) ( resource:Q990786 ) ( resource:Q59686 ) } }
No
action is_in
entity prev_answer
action find
entity Lamoura
relation shares border with
['Lamoura', 'shares border with', 'Grand-Failly'] ['Lamoura', 'shares border with', 'Charency-Vezin'] ['Lamoura', 'shares border with', 'Arrancy-sur-Crusne']
ASK WHERE { resource:Lamoura property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Beuveille ) ( resource:Colmey ) ( resource:Arrancy-sur-Crusne ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q533954 Q988183
P47
Q20667921
USER
Which french administrative divisions have a shared border with Charency-Vezin or Marsonnas ?
OR((Q988183,P47,c(Q20667921)), (Q533954,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q988183
relation P47
action find
entity Q533954
relation P47
type Q20667921
{'OR': [['Q988183', 'P47', {'concept': 'Q20667921'}], ['Q533954', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?f ) { ( resource:Q988183 ) ( resource:Q533954 ) } . ?f property:P47 ?v } . ?v rdf:type ontology:Q20667921 }
Marsonnas Charency-Vezin
action filter_type
action union
action find
entity Charency-Vezin
relation shares border with
action find
entity Marsonnas
relation shares border with
type type of french administrative division
{'OR': [['Charency-Vezin', 'shares border with', {'concept': 'type of french administrative division'}], ['Marsonnas', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?f ) { ( resource:Charency-Vezin ) ( resource:Marsonnas ) } . ?f property:shares_border_with ?v } . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1047391 Q228858 Q1087149 Q838510 Q1378291 Q990786 Q1016836 Q1026456 Q838522 Q637092
SYSTEM
Some of them are Villette, Villers-le-Rond, Allondrelle-la-Malmaison, Boissey, Velosnes, Colmey, Saint-Didier-d'Aussiat, Épiez-sur-Chiers, Béréziat, Jayat
Q244552 Q990786 Q659931 Q228858 Q580443 Q1026456 Q1047391 Q1098477 Q838510 Q1378291 Q853408 Q838522 Q840506 Q1016836 Q637092 Q1087149
OR((Q988183,P47,c(Q20667921)), (Q533954,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q988183
relation P47
action find
entity Q533954
relation P47
type Q20667921
[ANSWERS] have a shared border with Charency-Vezin or Marsonnas
{'OR': [['Q988183', 'P47', {'concept': 'Q20667921'}], ['Q533954', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?f ) { ( resource:Q988183 ) ( resource:Q533954 ) } . ?f property:P47 ?v } . ?v rdf:type ontology:Q20667921 }
Montrevel-en-Bresse Colmey Longuyon Villers-le-Rond Dommartin Épiez-sur-Chiers Villette Saint-Jean-lès-Longuyon Boissey Velosnes Saint-Sulpice Béréziat Saint-Jean-sur-Reyssouze Saint-Didier-d'Aussiat Jayat Allondrelle-la-Malmaison
Villette, Villers-le-Rond, Allondrelle-la-Malmaison, Boissey, Velosnes, Colmey, Saint-Didier-d'Aussiat, Épiez-sur-Chiers, Béréziat and Jayat have a shared border with Charency-Vezin or Marsonnas
Villette Villers-le-Rond Allondrelle-la-Malmaison Boissey Velosnes Colmey Saint-Didier-d'Aussiat Épiez-sur-Chiers Béréziat Jayat
action filter_type
action union
action find
entity Charency-Vezin
relation shares border with
action find
entity Marsonnas
relation shares border with
type type of french administrative division
{'OR': [['Charency-Vezin', 'shares border with', {'concept': 'type of french administrative division'}], ['Marsonnas', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?f ) { ( resource:Charency-Vezin ) ( resource:Marsonnas ) } . ?f property:shares_border_with ?v } . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q20667921
USER
Which states have approximately 1 french administrative division as their county seat ?
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?a rdf:type ontology:Q20667921 } GROUP BY ?t } . FILTER ( ?s = 1 ) }
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:capital_of ?t . ?t rdf:type ontology:state . ?a rdf:type ontology:type_of_french_administrative_division } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
value 1
[ANSWERS] have approximately 1 french administrative division as their county seat
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?a rdf:type ontology:Q20667921 } GROUP BY ?t } . FILTER ( ?s = 1 ) }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo, Duchy of Normandy and Republic of Saugeais have approximately 1 french administrative division as their county seat
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:capital_of ?t . ?t rdf:type ontology:state . ?a rdf:type ontology:type_of_french_administrative_division } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3456417
P36
Q20667921
USER
Which french administrative division is known as the capital of Republic of Saint-Malo ?
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q3456417 property:P36 ?j }
Republic of Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Republic_of_Saint-Malo property:capital ?j }
[]
type of french administrative division
Q163108
SYSTEM
Saint-Malo
Q163108
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
[ANSWER] is known as the capital of Republic of [ANSWER]
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q3456417 property:P36 ?j }
Saint-Malo
Saint-Malo is known as the capital of Republic of Saint-Malo
Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Republic_of_Saint-Malo property:capital ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163108
P190
Q56061
USER
Which administrative territory is the sister city of that french administrative division ?
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q163108 property:P190 ?s }
Saint-Malo
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Saint-Malo property:sister_city ?s }
[]
administrative territorial entity
Q3929
SYSTEM
Port Louis
Q3929
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
[ANSWER] is the sister city of that french administrative division
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q163108 property:P190 ?s }
Port Louis
Port Louis is the sister city of that french administrative division
Port Louis
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Saint-Malo property:sister_city ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3929 Q1353447
P19
Q502895
USER
Was Jean Aerts born at that administrative territory ?
(Q1353447,P19,Q3929)
action is_in
entity Q1353447
action find
entity Q3929
relation P19
['Q1353447', 'P19', 'Q3929']
ASK WHERE { resource:Q3929 property:P19 resource:Q1353447 }
Port Louis Jean Aerts
action is_in
entity Jean Aerts
action find
entity Port Louis
relation place of birth
['Jean Aerts', 'place of birth', 'Port Louis']
ASK WHERE { resource:Port_Louis property:place_of_birth resource:Jean_Aerts }
[]
common name
SYSTEM
NO
(Q1353447,P19,Q3929)
action is_in
entity Q1353447
action find
entity Q3929
relation P19
[ANSWER]
['Q1353447', 'P19', 'Q3929']
ASK WHERE { resource:Q3929 property:P19 resource:Q1353447 }
No
action is_in
entity Jean Aerts
action find
entity Port Louis
relation place of birth
['Jean Aerts', 'place of birth', 'Port Louis']
ASK WHERE { resource:Port_Louis property:place_of_birth resource:Jean_Aerts }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1026456 Q142
P17
Q15617994
USER
Is that french administrative division situated in France ?
(Q1026456,P17,Q142)
action is_in
entity Q142
action find
entity Q1026456
relation P17
['Q1026456', 'P17', 'Q142']
ASK WHERE { resource:Q1026456 property:P17 resource:Q142 }
Épiez-sur-Chiers France
action is_in
entity France
action find
entity Épiez-sur-Chiers
relation country
['Épiez-sur-Chiers', 'country', 'France']
ASK WHERE { resource:Épiez-sur-Chiers property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1026456,P17,Q142)
action is_in
entity Q142
action find
entity Q1026456
relation P17
[ANSWER]
['Q1026456', 'P17', 'Q142']
ASK WHERE { resource:Q1026456 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Épiez-sur-Chiers
relation country
['Épiez-sur-Chiers', 'country', 'France']
ASK WHERE { resource:Épiez-sur-Chiers property:country resource:France }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15407333
P26 P21
Q502895
USER
Which people are the spouse of Suzanne Sohet and have the gender as male ?
AND((c(Q502895),P26,Q15407333), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15407333
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q15407333'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P26 resource:Q15407333 . ?u property:P21 resource:Q6581097 }
male Suzanne Sohet
action filter_type
action intersection
action find_reverse
entity Suzanne Sohet
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Suzanne Sohet'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:spouse resource:Suzanne_Sohet . ?u property:gender resource:male }
[]
common name
Q3309071
SYSTEM
Michel Boulnois
Q3309071
AND((c(Q502895),P26,Q15407333), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15407333
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the spouse of Suzanne Sohet and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q15407333'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P26 resource:Q15407333 . ?u property:P21 resource:Q6581097 }
Michel Boulnois
Michel Boulnois is the spouse of Suzanne Sohet and have the gender as male
Michel Boulnois
action filter_type
action intersection
action find_reverse
entity Suzanne Sohet
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Suzanne Sohet'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:spouse resource:Suzanne_Sohet . ?u property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3309071 Q15407333
P26
Q502895
USER
Is Suzanne Sohet the spouse of that one ?
(Q15407333,P26,Q3309071)
action is_in
entity Q15407333
action find
entity Q3309071
relation P26
['Q15407333', 'P26', 'Q3309071']
ASK WHERE { resource:Q3309071 property:P26 resource:Q15407333 }
Michel Boulnois Suzanne Sohet
action is_in
entity Suzanne Sohet
action find
entity Michel Boulnois
relation spouse
['Suzanne Sohet', 'spouse', 'Michel Boulnois']
ASK WHERE { resource:Michel_Boulnois property:spouse resource:Suzanne_Sohet }
[]
common name
SYSTEM
YES
(Q15407333,P26,Q3309071)
action is_in
entity Q15407333
action find
entity Q3309071
relation P26
[ANSWER]
['Q15407333', 'P26', 'Q3309071']
ASK WHERE { resource:Q3309071 property:P26 resource:Q15407333 }
Yes
action is_in
entity Suzanne Sohet
action find
entity Michel Boulnois
relation spouse
['Suzanne Sohet', 'spouse', 'Michel Boulnois']
ASK WHERE { resource:Michel_Boulnois property:spouse resource:Suzanne_Sohet }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213461
P1303
Q34379 Q502895
USER
Which musical instruments do around the same number of people know to play as harmonium ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1303 ?m . ?c rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q213461 property:P1303 ?j . ?j rdf:type ontology:Q34379 } } . FILTER ( ?r = ?a ) }
harmonium
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:instrument ?m . ?c rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:harmonium property:instrument ?j . ?j rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?a ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 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 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[ANSWERS] around the same number of people know to play as harmonium
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1303 ?m . ?c rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q213461 property:P1303 ?j . ?j rdf:type ontology:Q34379 } } . FILTER ( ?r = ?a ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano 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 electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano around the same number of people know to play as harmonium
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:instrument ?m . ?c rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:harmonium property:instrument ?j . ?j rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q483994
P1303
Q34379 Q502895
USER
And what about Kazoo?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o = ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q483994 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?k } }
Kazoo
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o = ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Kazoo property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?k } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 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 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o = ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q483994 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?k } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano 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 electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o = ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Kazoo property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q201129
P1303
Q34379 Q502895
USER
How many musical instruments are played by greater number of people than lyre ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q201129 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } }
lyre
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:lyre property:instrument ?y . ?y rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q201129 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:lyre property:instrument ?y . ?y rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q39777
P1303
Q34379 Q502895
USER
And also tell me about maraca?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q39777 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?n > ?a ) }
maraca
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:maraca property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?a ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q39777 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?n > ?a ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:maraca property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q3305213
USER
Which paintings express exactly 2 musical instruments ?
(c(Q3305213),P180,c(Q34379))
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 2
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?z ) WHERE { ?m property:P180 ?p . ?m rdf:type ontology:Q3305213 . ?p rdf:type ontology:Q34379 } GROUP BY ?m } . FILTER ( ?z = 2 ) }
action equal
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?z ) WHERE { ?m property:depicts ?p . ?m rdf:type ontology:painting . ?p rdf:type ontology:musical_instrument } GROUP BY ?m } . FILTER ( ?z = 2 ) }
[]
musical instrument painting
Q25540861
SYSTEM
L'Ouïe
Q25540861
(c(Q3305213),P180,c(Q34379))
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 2
[ANSWER] express exactly 2 musical instruments
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?z ) WHERE { ?m property:P180 ?p . ?m rdf:type ontology:Q3305213 . ?p rdf:type ontology:Q34379 } GROUP BY ?m } . FILTER ( ?z = 2 ) }
L'Ouïe
L'Ouïe express exactly 2 musical instruments
L'Ouïe
action equal
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?z ) WHERE { ?m property:depicts ?p . ?m rdf:type ontology:painting . ?p rdf:type ontology:musical_instrument } GROUP BY ?m } . FILTER ( ?z = 2 ) }
[]