Simple Question (Direct)
Simple Question
Q3171990
P734
Q82799
USER
Who has the surname Jean Favre ?
(Q3171990,P734,c(Q82799))
action filter_type
action find
entity Q3171990
relation P734
type Q82799
['Q3171990', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3171990 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Jean Favre
action filter_type
action find
entity Jean Favre
relation family name
type name
['Jean Favre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Favre property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q764600
SYSTEM
Favre
Q764600
(Q3171990,P734,c(Q82799))
action filter_type
action find
entity Q3171990
relation P734
type Q82799
[ANSWER] has the surname Jean [ANSWER]
['Q3171990', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3171990 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Favre
Favre has the surname Jean Favre
Favre
action filter_type
action find
entity Jean Favre
relation family name
type name
['Jean Favre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Favre property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3171990
P21
Q290
USER
Which sex does that person possess ?
(Q764600,P21,c(Q290))
action filter_type
action find
entity Q3171990
relation P21
type Q290
['Q764600', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3171990 property:P21 ?m . ?m rdf:type ontology:Q290 }
Jean Favre
action filter_type
action find
entity Jean Favre
relation gender
type sex
['Favre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Favre property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q764600,P21,c(Q290))
action filter_type
action find
entity Q3171990
relation P21
type Q290
That person possesses a [ANSWER]
['Q764600', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3171990 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Jean Favre
relation gender
type sex
['Favre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Favre property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3171990
P19
Q20667921
USER
Which french administrative division is the birthplace of Jean Favre ?
(Q3171990,P19,c(Q20667921))
action filter_type
action find
entity Q3171990
relation P19
type Q20667921
['Q3171990', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . resource:Q3171990 property:P19 ?y }
Jean Favre
action filter_type
action find
entity Jean Favre
relation place of birth
type type of french administrative division
['Jean Favre', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . resource:Jean_Favre property:place_of_birth ?y }
[]
type of french administrative division
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(Q3171990,P19,c(Q20667921))
action filter_type
action find
entity Q3171990
relation P19
type Q20667921
Paris [ANSWER] is the birthplace of Jean Favre
['Q3171990', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . resource:Q3171990 property:P19 ?y }
Boulogne-Billancourt
Paris Boulogne-Billancourt is the birthplace of Jean Favre
Boulogne-Billancourt
action filter_type
action find
entity Jean Favre
relation place of birth
type type of french administrative division
['Jean Favre', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . resource:Jean_Favre property:place_of_birth ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172455
P6
Q502895
USER
Which person is that french administrative division the head of goverment of ?
(Q172455,P6,c(Q502895))
action filter_type
action find
entity Q172455
relation P6
type Q502895
['Q172455', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q172455 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Boulogne-Billancourt
action filter_type
action find
entity Boulogne-Billancourt
relation head of government
type common name
['Boulogne-Billancourt', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Boulogne-Billancourt property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3382938
SYSTEM
Pierre-Christophe Baguet
Q3382938
(Q172455,P6,c(Q502895))
action filter_type
action find
entity Q172455
relation P6
type Q502895
[ANSWER] is that french administrative division the head of goverment of
['Q172455', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q172455 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Pierre-Christophe Baguet
Pierre-Christophe Baguet is that french administrative division the head of goverment of
Pierre-Christophe Baguet
action filter_type
action find
entity Boulogne-Billancourt
relation head of government
type common name
['Boulogne-Billancourt', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Boulogne-Billancourt property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 2132 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2132
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?p >= 2132 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2132
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?p >= 2132 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2132
[ANSWERS] are played by atleast 2132 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?p >= 2132 ) }
piano violin organ drum kit
Piano, violin and organ are played by atleast 2132 people
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2132
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?p >= 2132 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7313789
P1303
Q502895
USER
Does René Roy can play those musical instruments ?
(Q7313789,P1303,Q5994) (Q7313789,P1303,Q8355) (Q7313789,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q7313789
relation P1303
['Q7313789', 'P1303', 'Q5994'] ['Q7313789', 'P1303', 'Q8355'] ['Q7313789', 'P1303', 'Q1444']
ASK WHERE { resource:Q7313789 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } }
René Roy
action is_in
entity prev_answer
action find
entity René Roy
relation instrument
['René Roy', 'instrument', 'piano'] ['René Roy', 'instrument', 'violin'] ['René Roy', 'instrument', 'organ']
ASK WHERE { resource:René_Roy property:instrument ?e . VALUES ( ?e ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } }
[]
common name
SYSTEM
NO
(Q7313789,P1303,Q5994) (Q7313789,P1303,Q8355) (Q7313789,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q7313789
relation P1303
[ANSWER]
['Q7313789', 'P1303', 'Q5994'] ['Q7313789', 'P1303', 'Q8355'] ['Q7313789', 'P1303', 'Q1444']
ASK WHERE { resource:Q7313789 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } }
No
action is_in
entity prev_answer
action find
entity René Roy
relation instrument
['René Roy', 'instrument', 'piano'] ['René Roy', 'instrument', 'violin'] ['René Roy', 'instrument', 'organ']
ASK WHERE { resource:René_Roy property:instrument ?e . VALUES ( ?e ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q15850590 Q207628
USER
Which musical instruments are used in around 31 theatrical genres or musical compositions ?
(c(Q15850590)|c(Q207628),P870,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 31
[[{'concept': 'Q15850590'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q15850590 ) ( ontology:Q207628 ) } . ?q rdf:type ?k } GROUP BY ?c } . FILTER ( ?v = 31 ) }
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 31
[[{'concept': 'theatrical genre'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:theatrical_genre ) ( ontology:musical_composition ) } . ?q rdf:type ?k } GROUP BY ?c } . FILTER ( ?v = 31 ) }
[]
musical instrument theatrical genre musical composition
Q5994 Q1444
SYSTEM
piano, organ
Q5994 Q1444
(c(Q15850590)|c(Q207628),P870,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 31
[ANSWERS] are used in around 31 theatrical genres or musical compositions
[[{'concept': 'Q15850590'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q15850590 ) ( ontology:Q207628 ) } . ?q rdf:type ?k } GROUP BY ?c } . FILTER ( ?v = 31 ) }
piano organ
Piano and organ are used in around 31 theatrical genres or musical compositions
piano organ
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 31
[[{'concept': 'theatrical genre'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:theatrical_genre ) ( ontology:musical_composition ) } . ?q rdf:type ?k } GROUP BY ?c } . FILTER ( ?v = 31 ) }
[]