Simple Question (Direct)
Simple Question
Q15967645
P410
Q4189293
USER
Which title was the military rank held by François Parra ?
(Q15967645,P410,c(Q4189293))
action filter_type
action find
entity Q15967645
relation P410
type Q4189293
['Q15967645', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q15967645 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
François Parra
action filter_type
action find
entity François Parra
relation military rank
type title
['François Parra', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:François_Parra property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q15967645,P410,c(Q4189293))
action filter_type
action find
entity Q15967645
relation P410
type Q4189293
The [ANSWER] was the military rank held by François Parra
['Q15967645', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q15967645 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
brigadier general
The brigadier general was the military rank held by François Parra
brigadier general
action filter_type
action find
entity François Parra
relation military rank
type title
['François Parra', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:François_Parra property:military_rank ?k . ?k rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15967645
P21
Q290
USER
Which sex does that person possess ?
(Q152956,P21,c(Q290))
action filter_type
action find
entity Q15967645
relation P21
type Q290
['Q152956', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15967645 property:P21 ?l . ?l rdf:type ontology:Q290 }
François Parra
action filter_type
action find
entity François Parra
relation gender
type sex
['brigadier general', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:François_Parra property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q152956,P21,c(Q290))
action filter_type
action find
entity Q15967645
relation P21
type Q290
That person possesses a [ANSWER]
['Q152956', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15967645 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity François Parra
relation gender
type sex
['brigadier general', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:François_Parra property:gender ?l . ?l rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q152956 Q20006438
P39
Q502895
USER
How many people held the position of brigadier general or fellowship ?
(c(Q502895),P39,Q152956) (c(Q502895),P39,Q20006438)
action count
action union
action filter_type
action find_reverse
entity Q152956
relation P39
type Q502895
action filter_type
action find_reverse
entity Q20006438
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q152956'] [{'concept': 'Q502895'}, 'P39', 'Q20006438']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x property:P39 resource:Q152956 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P39 resource:Q20006438 . ?x rdf:type ontology:Q502895 } }
brigadier general fellowship
action count
action union
action filter_type
action find_reverse
entity brigadier general
relation position held
type common name
action filter_type
action find_reverse
entity fellowship
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'brigadier general'] [{'concept': 'common name'}, 'position held', 'fellowship']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x property:position_held resource:brigadier_general . ?x rdf:type ontology:common_name } UNION { ?x property:position_held resource:fellowship . ?x rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q23636059 Q9623328 Q9145171 Q18530410 Q15039986
(c(Q502895),P39,Q152956) (c(Q502895),P39,Q20006438)
action count
action union
action filter_type
action find_reverse
entity Q152956
relation P39
type Q502895
action filter_type
action find_reverse
entity Q20006438
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q152956'] [{'concept': 'Q502895'}, 'P39', 'Q20006438']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x property:P39 resource:Q152956 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P39 resource:Q20006438 . ?x rdf:type ontology:Q502895 } }
Gerónimo Cardozo Antônio de Sampaio Aleksander Arkuszyński Monica Pidgeon Hansgeorg Model
5
action count
action union
action filter_type
action find_reverse
entity brigadier general
relation position held
type common name
action filter_type
action find_reverse
entity fellowship
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'brigadier general'] [{'concept': 'common name'}, 'position held', 'fellowship']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x property:position_held resource:brigadier_general . ?x rdf:type ontology:common_name } UNION { ?x property:position_held resource:fellowship . ?x rdf:type ontology:common_name } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1444
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than organ ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P1303 resource:Q1444 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?j ) }
organ
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:instrument resource:organ . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?j ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than organ
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P1303 resource:Q1444 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?j ) }
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 trumpet 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 drum kit 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 lesser number of people perform with than organ
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:instrument resource:organ . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q81982
P425
Q12737077
USER
How many occupations have harpsichord as the associated fields of occupation ?
(Q81982,P425,c(Q12737077))
action count
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q81982 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
harpsichord
action count
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:harpsichord property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q5371902
(Q81982,P425,c(Q12737077))
action count
action filter_type
action find
entity Q81982
relation P425
type Q12737077
[ANSWER]
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q81982 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
harpsichordist
1
action count
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:harpsichord property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21505859
P425
Q12737077
USER
And also tell me about ancient Greek potter?
(Q21505859,P425,c(Q12737077))
action count
action filter_type
action find
entity Q21505859
relation P425
type Q12737077
['Q21505859', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q21505859 property:P425 ?r . ?r rdf:type ontology:Q12737077 }
ancient Greek potter
action count
action filter_type
action find
entity ancient Greek potter
relation field of this occupation
type occupation
['ancient Greek potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:ancient_Greek_potter property:field_of_this_occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q11642
(Q21505859,P425,c(Q12737077))
action count
action filter_type
action find
entity Q21505859
relation P425
type Q12737077
[ANSWER]
['Q21505859', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q21505859 property:P425 ?r . ?r rdf:type ontology:Q12737077 }
pottery
1
action count
action filter_type
action find
entity ancient Greek potter
relation field of this occupation
type occupation
['ancient Greek potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:ancient_Greek_potter property:field_of_this_occupation ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15980346
Q12737077
USER
And what about land developer?
(Q15980346,P425,c(Q12737077))
action count
action filter_type
action find
entity Q15980346
relation P425
type Q12737077
['Q15980346', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q12737077 . resource:Q15980346 property:P425 ?n }
land developer
action count
action filter_type
action find
entity land developer
relation field of this occupation
type occupation
['land developer', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:occupation . resource:land_developer property:field_of_this_occupation ?n }
[]
occupation
SYSTEM
1
(Q15980346,P425,c(Q12737077))
action count
action filter_type
action find
entity Q15980346
relation P425
type Q12737077
[ANSWER]
['Q15980346', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q12737077 . resource:Q15980346 property:P425 ?n }
1
action count
action filter_type
action find
entity land developer
relation field of this occupation
type occupation
['land developer', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:occupation . resource:land_developer property:field_of_this_occupation ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q190172
P180
Q34379 Q3305213 Q340169
USER
Which musical instruments are demonstrated in approximately the same number of paintings and medias as cymbal ?
(c(Q3305213)|c(Q340169),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q190172
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P180 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q340169 } UNION { ?a property:P180 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q3305213 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P180 resource:Q190172 . { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } } } . FILTER ( ?e = ?d ) }
cymbal
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type painting
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity cymbal
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:media } UNION { ?a property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:painting } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:depicts resource:cymbal . { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } } } . FILTER ( ?e = ?d ) }
[]
musical instrument painting media
Q5994 Q81982 Q218547
SYSTEM
piano, harpsichord, Sigismund Bell
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1141589 Q426948 Q871633 Q3500690 Q1798603
(c(Q3305213)|c(Q340169),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q190172
relation P180
type Q3305213
type Q340169
[ANSWERS] are demonstrated in approximately the same number of paintings and medias as cymbal
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P180 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q340169 } UNION { ?a property:P180 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q3305213 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P180 resource:Q190172 . { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } } } . FILTER ( ?e = ?d ) }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument Crotales sistrum Handbell Church bell string instrument
Piano, harpsichord and Sigismund Bell are demonstrated in approximately the same number of paintings and medias as cymbal
piano harpsichord Sigismund Bell
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type painting
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity cymbal
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:media } UNION { ?a property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:painting } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:depicts resource:cymbal . { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } } } . FILTER ( ?e = ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218547
P17
Q15617994
USER
Which administrative territory is that musical instrument located in ?
(Q218547,P17,c(Q15617994))
action filter_type
action find
entity Q218547
relation P17
type Q15617994
['Q218547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q218547 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Sigismund Bell
action filter_type
action find
entity Sigismund Bell
relation country
type designation for an administrative territorial entity
['Sigismund Bell', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Sigismund_Bell property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q218547
SYSTEM
Did you mean Sigismund Bell ?
Q5994 Q81982 Q218547
(Q5994,P17,c(Q15617994)) (Q81982,P17,c(Q15617994)) (Q218547,P17,c(Q15617994))
[ANSWER]
['Q5994', 'P17', {'concept': 'Q15617994'}] ['Q81982', 'P17', {'concept': 'Q15617994'}] ['Q218547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q218547 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
piano harpsichord Sigismund Bell
Did you mean Sigismund Bell ?
Sigismund Bell
['piano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sigismund Bell', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Sigismund_Bell property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q218547,P17,c(Q15617994))
['Q218547', 'P17', {'concept': 'Q15617994'}]
['Sigismund Bell', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q36
SYSTEM
Poland
Q36
(Q218547,P17,c(Q15617994))
action filter_type
action find
entity Q218547
relation P17
type Q15617994
That musical instrument is located in [ANSWER]
['Q218547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q218547 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Poland
That musical instrument is located in Poland
Poland
action filter_type
action find
entity Sigismund Bell
relation country
type designation for an administrative territorial entity
['Sigismund Bell', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Sigismund_Bell property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q36 Q2977465 Q517581
P35
Q502895
USER
Did that administrative territory elected Claude Germon and Gary Zebrowski as its head of state ?
(Q36,P35,Q2977465) (Q36,P35,Q517581)
action is_in
entity Q36
action intersection
action find_reverse
entity Q2977465
relation P35
action find_reverse
entity Q517581
relation P35
['Q36', 'P35', 'Q2977465'] ['Q36', 'P35', 'Q517581']
ASK WHERE { resource:Q36 property:P35 resource:Q517581 . resource:Q36 property:P35 resource:Q2977465 }
Poland Claude Germon Gary Zebrowski
action is_in
entity Poland
action intersection
action find_reverse
entity Claude Germon
relation head of state
action find_reverse
entity Gary Zebrowski
relation head of state
['Poland', 'head of state', 'Claude Germon'] ['Poland', 'head of state', 'Gary Zebrowski']
ASK WHERE { resource:Poland property:head_of_state resource:Gary_Zebrowski . resource:Poland property:head_of_state resource:Claude_Germon }
[]
common name
SYSTEM
NO
(Q36,P35,Q2977465) (Q36,P35,Q517581)
action is_in
entity Q36
action intersection
action find_reverse
entity Q2977465
relation P35
action find_reverse
entity Q517581
relation P35
[ANSWER]
['Q36', 'P35', 'Q2977465'] ['Q36', 'P35', 'Q517581']
ASK WHERE { resource:Q36 property:P35 resource:Q517581 . resource:Q36 property:P35 resource:Q2977465 }
No
action is_in
entity Poland
action intersection
action find_reverse
entity Claude Germon
relation head of state
action find_reverse
entity Gary Zebrowski
relation head of state
['Poland', 'head of state', 'Claude Germon'] ['Poland', 'head of state', 'Gary Zebrowski']
ASK WHERE { resource:Poland property:head_of_state resource:Gary_Zebrowski . resource:Poland property:head_of_state resource:Claude_Germon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P291
Q838948
USER
Which work of art was published in that administrative territory ?
action filter_type
action find_reverse
entity Q36
relation P291
type Q838948
SELECT DISTINCT ?t WHERE { ?t property:P291 resource:Q36 . ?t rdf:type ontology:Q838948 }
Poland
action filter_type
action find_reverse
entity Poland
relation place of publication
type work of art
SELECT DISTINCT ?t WHERE { ?t property:place_of_publication resource:Poland . ?t rdf:type ontology:work_of_art }
[]
work of art
Q11828831
SYSTEM
Przemiany
Q11828831
action filter_type
action find_reverse
entity Q36
relation P291
type Q838948
[ANSWER] was published in that administrative territory
SELECT DISTINCT ?t WHERE { ?t property:P291 resource:Q36 . ?t rdf:type ontology:Q838948 }
Przemiany
Przemiany was published in that administrative territory
Przemiany
action filter_type
action find_reverse
entity Poland
relation place of publication
type work of art
SELECT DISTINCT ?t WHERE { ?t property:place_of_publication resource:Poland . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories are the countries of origin of that work of art ?
(Q11828831,P495,c(Q15617994))
action count
action filter_type
action find
entity Q11828831
relation P495
type Q15617994
['Q11828831', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q11828831 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Przemiany
relation country of origin
type designation for an administrative territorial entity
['Przemiany', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Przemiany property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q11828831,P495,c(Q15617994))
action count
action filter_type
action find
entity Q11828831
relation P495
type Q15617994
[ANSWER]
['Q11828831', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q11828831 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
Poland
1
action count
action filter_type
action find
entity Przemiany
relation country of origin
type designation for an administrative territorial entity
['Przemiany', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Przemiany property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]