Simple Question (Direct)
Simple Question
Q1424934
P19
Q515
USER
Which city was André Génovès born at ?
(Q1424934,P19,c(Q515))
action filter_type
action find
entity Q1424934
relation P19
type Q515
['Q1424934', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1424934 property:P19 ?z . ?z rdf:type ontology:Q515 }
André Génovès
action filter_type
action find
entity André Génovès
relation place of birth
type city
['André Génovès', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:André_Génovès property:place_of_birth ?z . ?z rdf:type ontology:city }
[]
city
Q3572
SYSTEM
Tunis
Q3572
(Q1424934,P19,c(Q515))
action filter_type
action find
entity Q1424934
relation P19
type Q515
André Génovès was born in [ANSWER]
['Q1424934', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1424934 property:P19 ?z . ?z rdf:type ontology:Q515 }
Tunis
André Génovès was born in Tunis
Tunis
action filter_type
action find
entity André Génovès
relation place of birth
type city
['André Génovès', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:André_Génovès property:place_of_birth ?z . ?z rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1424934
P106
Q28640
USER
Which professions are the professions of that person ?
(Q3572,P106,c(Q28640))
action filter_type
action find
entity Q1424934
relation P106
type Q28640
['Q3572', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q28640 . resource:Q1424934 property:P106 ?z }
André Génovès
action filter_type
action find
entity André Génovès
relation occupation
type profession
['Tunis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:profession . resource:André_Génovès property:occupation ?z }
[]
profession
Q2526255 Q3282637 Q28389
SYSTEM
film director, film producer, screenwriter
Q2526255 Q3282637 Q28389
(Q3572,P106,c(Q28640))
action filter_type
action find
entity Q1424934
relation P106
type Q28640
The professions of that person are [ANSWERS]
['Q3572', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q28640 . resource:Q1424934 property:P106 ?z }
film director film producer screenwriter
The professions of that person are film director, film producer and screenwriter
film director film producer screenwriter
action filter_type
action find
entity André Génovès
relation occupation
type profession
['Tunis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:profession . resource:André_Génovès property:occupation ?z }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q455040
P106
Q502895
USER
Do Jacques Barrot have career as those professions ?
(Q455040,P106,Q2526255) (Q455040,P106,Q3282637) (Q455040,P106,Q28389)
action is_in
entity prev_answer
action find
entity Q455040
relation P106
['Q455040', 'P106', 'Q2526255'] ['Q455040', 'P106', 'Q3282637'] ['Q455040', 'P106', 'Q28389']
ASK WHERE { VALUES ( ?x ) { ( resource:Q2526255 ) ( resource:Q3282637 ) ( resource:Q28389 ) } . resource:Q455040 property:P106 ?x }
Jacques Barrot
action is_in
entity prev_answer
action find
entity Jacques Barrot
relation occupation
['Jacques Barrot', 'occupation', 'film director'] ['Jacques Barrot', 'occupation', 'film producer'] ['Jacques Barrot', 'occupation', 'screenwriter']
ASK WHERE { VALUES ( ?x ) { ( resource:film_director ) ( resource:film_producer ) ( resource:screenwriter ) } . resource:Jacques_Barrot property:occupation ?x }
[]
common name
SYSTEM
NO
(Q455040,P106,Q2526255) (Q455040,P106,Q3282637) (Q455040,P106,Q28389)
action is_in
entity prev_answer
action find
entity Q455040
relation P106
[ANSWER]
['Q455040', 'P106', 'Q2526255'] ['Q455040', 'P106', 'Q3282637'] ['Q455040', 'P106', 'Q28389']
ASK WHERE { VALUES ( ?x ) { ( resource:Q2526255 ) ( resource:Q3282637 ) ( resource:Q28389 ) } . resource:Q455040 property:P106 ?x }
No
action is_in
entity prev_answer
action find
entity Jacques Barrot
relation occupation
['Jacques Barrot', 'occupation', 'film director'] ['Jacques Barrot', 'occupation', 'film producer'] ['Jacques Barrot', 'occupation', 'screenwriter']
ASK WHERE { VALUES ( ?x ) { ( resource:film_director ) ( resource:film_producer ) ( resource:screenwriter ) } . resource:Jacques_Barrot property:occupation ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33231
P417
Q502895
USER
What is the name of the patron saint of photographer ?
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q33231 property:P417 ?c . ?c rdf:type ontology:Q502895 }
photographer
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:photographer property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
common name
Q196653
SYSTEM
Saint Veronica
Q196653
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
The name of the patron saint of photographer is [ANSWER]
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q33231 property:P417 ?c . ?c rdf:type ontology:Q502895 }
Saint Veronica
The name of the patron saint of photographer is Saint Veronica
Saint Veronica
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:photographer property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33231
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q196653)
action filter_type
action find_reverse
entity Q33231
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q196653']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q33231 . ?w rdf:type ontology:Q502895 }
photographer
action filter_type
action find_reverse
entity photographer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Saint Veronica']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:photographer . ?w rdf:type ontology:common_name }
[]
common name
Q3193754
SYSTEM
Kassian Cephas
Q3193754
(c(Q502895),P101,Q196653)
action filter_type
action find_reverse
entity Q33231
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q196653']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q33231 . ?w rdf:type ontology:Q502895 }
Kassian Cephas
Kassian Cephas works in the domain of that occupation
Kassian Cephas
action filter_type
action find_reverse
entity photographer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Saint Veronica']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:photographer . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3193754
P21
Q290
USER
What is the sex of that person ?
(Q3193754,P21,c(Q290))
action filter_type
action find
entity Q3193754
relation P21
type Q290
['Q3193754', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q3193754 property:P21 ?r }
Kassian Cephas
action filter_type
action find
entity Kassian Cephas
relation gender
type sex
['Kassian Cephas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Kassian_Cephas property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3193754,P21,c(Q290))
action filter_type
action find
entity Q3193754
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q3193754', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q3193754 property:P21 ?r }
male
The sex of that person is a male
male
action filter_type
action find
entity Kassian Cephas
relation gender
type sex
['Kassian Cephas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Kassian_Cephas property:gender ?r }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 453 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 453
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?g <= 453 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 453
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?g <= 453 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 453
[ANSWERS] can atmost 453 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?g <= 453 ) }
viola lyre acoustic bass guitar Body percussion 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 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 atmost 453 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 453
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?g <= 453 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
Which musical instruments are used as instrumentation in approximately the same number of concertoes as that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|More/Less|Single entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean harpsichord ?
harpsichord
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
Q521151 Q81982 Q80284
SYSTEM
baryton, harpsichord, viola
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q9748),P870,c(Q34379))
[ANSWERS] are used as instrumentation in approximately the same number of concertoes as that musical instrument
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
Baryton, harpsichord and viola are used as instrumentation in approximately the same number of concertoes as that musical instrument
baryton harpsichord viola
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]