Simple Question (Direct)
Simple Question
Q20666365
P40
Q502895
USER
Who is a child of Charles de Béthisy ?
(Q20666365,P40,c(Q502895))
action filter_type
action find
entity Q20666365
relation P40
type Q502895
['Q20666365', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q20666365 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Charles de Béthisy
action filter_type
action find
entity Charles de Béthisy
relation child
type common name
['Charles de Béthisy', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Charles_de_Béthisy property:child ?x . ?x rdf:type ontology:common_name }
[]
common name
Q20666364
SYSTEM
Alfred-Charles-Gaston de Béthisy
Q20666364
(Q20666365,P40,c(Q502895))
action filter_type
action find
entity Q20666365
relation P40
type Q502895
A child of Charles de Béthisy is named [ANSWER]
['Q20666365', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q20666365 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Alfred-Charles-Gaston de Béthisy
A child of Charles de Béthisy is named Alfred-Charles-Gaston de Béthisy
Alfred-Charles-Gaston de Béthisy
action filter_type
action find
entity Charles de Béthisy
relation child
type common name
['Charles de Béthisy', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Charles_de_Béthisy property:child ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20666365
P410
Q4189293
USER
Which title has Charles de Béthisy achieved ?
(Q20666365,P410,c(Q4189293))
action filter_type
action find
entity Q20666365
relation P410
type Q4189293
['Q20666365', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q20666365 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
Charles de Béthisy
action filter_type
action find
entity Charles de Béthisy
relation military rank
type title
['Charles de Béthisy', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_de_Béthisy property:military_rank ?b . ?b rdf:type ontology:title }
[]
title
Q2487961
SYSTEM
divisional general
Q2487961
(Q20666365,P410,c(Q4189293))
action filter_type
action find
entity Q20666365
relation P410
type Q4189293
Charles de Béthisy has achieved the [ANSWER]
['Q20666365', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q20666365 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
divisional general
Charles de Béthisy has achieved the divisional general
divisional general
action filter_type
action find
entity Charles de Béthisy
relation military rank
type title
['Charles de Béthisy', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_de_Béthisy property:military_rank ?b . ?b rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20666364
P166
Q618779
USER
Which award was Alfred-Charles-Gaston de Béthisy awarded with ?
(Q20666364,P166,c(Q618779))
action filter_type
action find
entity Q20666364
relation P166
type Q618779
['Q20666364', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q20666364 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Alfred-Charles-Gaston de Béthisy
action filter_type
action find
entity Alfred-Charles-Gaston de Béthisy
relation award received
type award
['Alfred-Charles-Gaston de Béthisy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Alfred-Charles-Gaston_de_Béthisy property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q20666364,P166,c(Q618779))
action filter_type
action find
entity Q20666364
relation P166
type Q618779
The [ANSWER] was Alfred-Charles-Gaston de Béthisy awarded with
['Q20666364', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q20666364 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Knight of the Legion of Honour
The Knight of the Legion of Honour was Alfred-Charles-Gaston de Béthisy awarded with
Knight of the Legion of Honour
action filter_type
action find
entity Alfred-Charles-Gaston de Béthisy
relation award received
type award
['Alfred-Charles-Gaston de Béthisy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Alfred-Charles-Gaston_de_Béthisy property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20666364
P21
Q290
USER
Which sex does that person belong to ?
(Q10855271,P21,c(Q290))
action filter_type
action find
entity Q20666364
relation P21
type Q290
['Q10855271', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20666364 property:P21 ?g . ?g rdf:type ontology:Q290 }
Alfred-Charles-Gaston de Béthisy
action filter_type
action find
entity Alfred-Charles-Gaston de Béthisy
relation gender
type sex
['Knight of the Legion of Honour', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alfred-Charles-Gaston_de_Béthisy property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10855271,P21,c(Q290))
action filter_type
action find
entity Q20666364
relation P21
type Q290
That person belongs to [ANSWER]
['Q10855271', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20666364 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Alfred-Charles-Gaston de Béthisy
relation gender
type sex
['Knight of the Legion of Honour', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alfred-Charles-Gaston_de_Béthisy property:gender ?g . ?g rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q20666364
P21 P40
Q502895
USER
Which people have Alfred-Charles-Gaston de Béthisy as a child and are a male ?
AND((c(Q502895),P40,Q20666364), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20666364
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q20666364'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q20666364 . ?c property:P21 resource:Q6581097 }
male Alfred-Charles-Gaston de Béthisy
action filter_type
action intersection
action find_reverse
entity Alfred-Charles-Gaston de Béthisy
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Alfred-Charles-Gaston de Béthisy'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Alfred-Charles-Gaston_de_Béthisy . ?c property:gender resource:male }
[]
common name
Q20666365
SYSTEM
Charles de Béthisy
Q20666365
AND((c(Q502895),P40,Q20666364), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20666364
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Alfred-Charles-Gaston de Béthisy as a child and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q20666364'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q20666364 . ?c property:P21 resource:Q6581097 }
Charles de Béthisy
Charles de Béthisy have Alfred-Charles-Gaston de Béthisy as a child and are a male
Charles de Béthisy
action filter_type
action intersection
action find_reverse
entity Alfred-Charles-Gaston de Béthisy
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Alfred-Charles-Gaston de Béthisy'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Alfred-Charles-Gaston_de_Béthisy . ?c property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 229 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 229
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?v = 229 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 229
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?v = 229 ) }
[]
musical instrument common name
SYSTEM
61
Q80284 Q46185 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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 229
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?v = 229 ) }
viola bass guitar 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
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 229
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?v = 229 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20666365
P22
Q502895
USER
Which person has Charles de Béthisy as father ?
(c(Q502895),P22,Q20666365)
action filter_type
action find_reverse
entity Q20666365
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q20666365']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q20666365 . ?f rdf:type ontology:Q502895 }
Charles de Béthisy
action filter_type
action find_reverse
entity Charles de Béthisy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles de Béthisy']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Charles_de_Béthisy . ?f rdf:type ontology:common_name }
[]
common name
Q20666364
SYSTEM
Alfred-Charles-Gaston de Béthisy
Q20666364
(c(Q502895),P22,Q20666365)
action filter_type
action find_reverse
entity Q20666365
relation P22
type Q502895
[ANSWER] has Charles de Béthisy as father
[{'concept': 'Q502895'}, 'P22', 'Q20666365']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q20666365 . ?f rdf:type ontology:Q502895 }
Alfred-Charles-Gaston de Béthisy
Alfred-Charles-Gaston de Béthisy has Charles de Béthisy as father
Alfred-Charles-Gaston de Béthisy
action filter_type
action find_reverse
entity Charles de Béthisy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles de Béthisy']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Charles_de_Béthisy . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20666365
P39
Q12737077
USER
Which occupations were the positions for which Charles de Béthisy were appointed ?
(Q20666365,P39,c(Q12737077))
action filter_type
action find
entity Q20666365
relation P39
type Q12737077
['Q20666365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q20666365 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Charles de Béthisy
action filter_type
action find
entity Charles de Béthisy
relation position held
type occupation
['Charles de Béthisy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_de_Béthisy property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q3044918 Q21032621
SYSTEM
member of the French National Assembly, Pair of France
Q3044918 Q21032621
(Q20666365,P39,c(Q12737077))
action filter_type
action find
entity Q20666365
relation P39
type Q12737077
[ANSWERS]
['Q20666365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q20666365 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
member of the French National Assembly Pair of France
The member of the French National Assembly and Pair of France were the positions for which Charles de Béthisy were appointed
member of the French National Assembly Pair of France
action filter_type
action find
entity Charles de Béthisy
relation position held
type occupation
['Charles de Béthisy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_de_Béthisy property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P106
Q502895
USER
Which person has member of the French National Assembly as his/her means of employment ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q3044918 . ?d rdf:type ontology:Q502895 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:member_of_the_French National_Assembly . ?d rdf:type ontology:common_name }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWER] has member of the French National Assembly as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q3044918 . ?d rdf:type ontology:Q502895 }
François Thibault de Ménonville
François Thibault de Ménonville has member of the French National Assembly as his/her means of employment
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:member_of_the_French National_Assembly . ?d rdf:type ontology:common_name }
[]