Simple Question (Direct)
Simple Question
Q20819771
P21
Q290
USER
Which sex does Amélie-Claudine-Constance-Virginie Guyard-Delalain belong to ?
(Q20819771,P21,c(Q290))
action filter_type
action find
entity Q20819771
relation P21
type Q290
['Q20819771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20819771 property:P21 ?p . ?p rdf:type ontology:Q290 }
Amélie-Claudine-Constance-Virginie Guyard-Delalain
action filter_type
action find
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation gender
type sex
['Amélie-Claudine-Constance-Virginie Guyard-Delalain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20819771,P21,c(Q290))
action filter_type
action find
entity Q20819771
relation P21
type Q290
Amélie- Claudine-Constance-Virginie Guyard-Delalain belongs to the [ANSWER]
['Q20819771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20819771 property:P21 ?p . ?p rdf:type ontology:Q290 }
female
Amélie- Claudine-Constance-Virginie Guyard-Delalain belongs to the female
female
action filter_type
action find
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation gender
type sex
['Amélie-Claudine-Constance-Virginie Guyard-Delalain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20819771
P26
Q502895
USER
Who is married to Amélie-Claudine-Constance-Virginie Guyard-Delalain ?
(c(Q502895),P26,Q20819771)
action filter_type
action find
entity Q20819771
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q20819771']
SELECT DISTINCT ?g WHERE { resource:Q20819771 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Amélie-Claudine-Constance-Virginie Guyard-Delalain
action filter_type
action find
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Amélie-Claudine-Constance-Virginie Guyard-Delalain']
SELECT DISTINCT ?g WHERE { resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q20819773
SYSTEM
Alfred Carteron
Q20819773
(c(Q502895),P26,Q20819771)
action filter_type
action find
entity Q20819771
relation P26
type Q502895
[ANSWER] is married to Amélie-Claudine-Constance-Virginie Guyard-Delalain
[{'concept': 'Q502895'}, 'P26', 'Q20819771']
SELECT DISTINCT ?g WHERE { resource:Q20819771 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Alfred Carteron
Alfred Carteron is married to Amélie-Claudine-Constance-Virginie Guyard-Delalain
Alfred Carteron
action filter_type
action find
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Amélie-Claudine-Constance-Virginie Guyard-Delalain']
SELECT DISTINCT ?g WHERE { resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20819773
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q20819773)
action filter_type
action find_reverse
entity Q20819773
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q20819773']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q20819773 . ?b rdf:type ontology:Q502895 }
Alfred Carteron
action filter_type
action find_reverse
entity Alfred Carteron
relation father
type common name
[{'concept': 'common name'}, 'father', 'Alfred Carteron']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Alfred_Carteron . ?b rdf:type ontology:common_name }
[]
common name
Q20819794
SYSTEM
Louise Carteron
Q20819794
(c(Q502895),P22,Q20819773)
action filter_type
action find_reverse
entity Q20819773
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q20819773']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q20819773 . ?b rdf:type ontology:Q502895 }
Louise Carteron
Louise Carteron has that one as father
Louise Carteron
action filter_type
action find_reverse
entity Alfred Carteron
relation father
type common name
[{'concept': 'common name'}, 'father', 'Alfred Carteron']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Alfred_Carteron . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q20819771
P21 P40
Q502895
USER
Which people have Amélie-Claudine-Constance-Virginie Guyard-Delalain as an offspring and are a male ?
AND((c(Q502895),P40,Q20819771), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20819771
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q20819771'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q20819771 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Amélie-Claudine-Constance-Virginie Guyard-Delalain
action filter_type
action intersection
action find_reverse
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Amélie-Claudine-Constance-Virginie Guyard-Delalain'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:child resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q15969582
SYSTEM
Augustin Guyard-Delalain
Q15969582
AND((c(Q502895),P40,Q20819771), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20819771
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Amélie-Claudine-Constance-Virginie Guyard-Delalain as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q20819771'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q20819771 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Augustin Guyard-Delalain
Augustin Guyard-Delalain have Amélie-Claudine-Constance-Virginie Guyard-Delalain as an offspring and are a male
Augustin Guyard-Delalain
action filter_type
action intersection
action find_reverse
entity Amélie-Claudine-Constance-Virginie Guyard-Delalain
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Amélie-Claudine-Constance-Virginie Guyard-Delalain'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:child resource:Amélie-Claudine-Constance-Virginie_Guyard-Delalain . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q15969582 Q142 Q6709765
P27
Q15617994
USER
Is that person a native of France and Lyons-Decatur Northeast Schools ?
(Q15969582,P27,Q142) (Q15969582,P27,Q6709765)
action is_in
entity Q15969582
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q6709765
relation P27
['Q15969582', 'P27', 'Q142'] ['Q15969582', 'P27', 'Q6709765']
ASK WHERE { resource:Q15969582 property:P27 resource:Q142 . resource:Q15969582 property:P27 resource:Q6709765 }
Augustin Guyard-Delalain France Lyons-Decatur Northeast Schools
action is_in
entity Augustin Guyard-Delalain
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Lyons-Decatur Northeast Schools
relation country of citizenship
['Augustin Guyard-Delalain', 'country of citizenship', 'France'] ['Augustin Guyard-Delalain', 'country of citizenship', 'Lyons-Decatur Northeast Schools']
ASK WHERE { resource:Augustin_Guyard-Delalain property:country_of_citizenship resource:France . resource:Augustin_Guyard-Delalain property:country_of_citizenship resource:Lyons-Decatur_Northeast_Schools }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q15969582,P27,Q142) (Q15969582,P27,Q6709765)
action is_in
entity Q15969582
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q6709765
relation P27
[ANSWER]
['Q15969582', 'P27', 'Q142'] ['Q15969582', 'P27', 'Q6709765']
ASK WHERE { resource:Q15969582 property:P27 resource:Q142 . resource:Q15969582 property:P27 resource:Q6709765 }
YES and NO respectively
action is_in
entity Augustin Guyard-Delalain
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Lyons-Decatur Northeast Schools
relation country of citizenship
['Augustin Guyard-Delalain', 'country of citizenship', 'France'] ['Augustin Guyard-Delalain', 'country of citizenship', 'Lyons-Decatur Northeast Schools']
ASK WHERE { resource:Augustin_Guyard-Delalain property:country_of_citizenship resource:France . resource:Augustin_Guyard-Delalain property:country_of_citizenship resource:Lyons-Decatur_Northeast_Schools }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q593995
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as player piano ?
(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 Q593995
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q593995 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?g = ?o ) }
player piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:player_piano property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?g = ?o ) }
[]
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 Q593995
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as player piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q593995 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?g = ?o ) }
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 can approximately the same number of people perform with as player piano
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 player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:player_piano property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?g = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q838948 Q862597
USER
How many musical instruments are the instrumentations used in around 5 works of art or musical forms ?
(c(Q838948)|c(Q862597),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
value 5
[[{'concept': 'Q838948'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P870 ?x . ?x rdf:type ontology:Q34379 . ?l rdf:type ontology:Q862597 } UNION { ?l property:P870 ?x . ?x rdf:type ontology:Q34379 . ?l rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?o = 5 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
value 5
[[{'concept': 'work of art'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:instrumentation ?x . ?x rdf:type ontology:musical_instrument . ?l rdf:type ontology:musical_form } UNION { ?l property:instrumentation ?x . ?x rdf:type ontology:musical_instrument . ?l rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?o = 5 ) }
[]
musical instrument work of art musical form
SYSTEM
18
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q838948)|c(Q862597),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
value 5
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P870 ?x . ?x rdf:type ontology:Q34379 . ?l rdf:type ontology:Q862597 } UNION { ?l property:P870 ?x . ?x rdf:type ontology:Q34379 . ?l rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?o = 5 ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca violin drum vibraphone harpsichord
18
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
value 5
[[{'concept': 'work of art'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:instrumentation ?x . ?x rdf:type ontology:musical_instrument . ?l rdf:type ontology:musical_form } UNION { ?l property:instrumentation ?x . ?x rdf:type ontology:musical_instrument . ?l rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?o = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15969582
P39
Q12737077
USER
What was the position for which Augustin Guyard-Delalain was appointed ?
(Q15969582,P39,c(Q12737077))
action filter_type
action find
entity Q15969582
relation P39
type Q12737077
['Q15969582', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q15969582 property:P39 ?r }
Augustin Guyard-Delalain
action filter_type
action find
entity Augustin Guyard-Delalain
relation position held
type occupation
['Augustin Guyard-Delalain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Augustin_Guyard-Delalain property:position_held ?r }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q15969582,P39,c(Q12737077))
action filter_type
action find
entity Q15969582
relation P39
type Q12737077
Member of the French National Assembly
['Q15969582', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q15969582 property:P39 ?r }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Augustin Guyard-Delalain
relation position held
type occupation
['Augustin Guyard-Delalain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Augustin_Guyard-Delalain property:position_held ?r }
[]