Simple Question (Direct)
Simple Question
Q52098
P190
Q5119
USER
Which capital is twin town of Sansepolcro ?
(Q52098,P190,c(Q5119))
action filter_type
action find
entity Q52098
relation P190
type Q5119
['Q52098', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?p WHERE { resource:Q52098 property:P190 ?p . ?p rdf:type ontology:Q5119 }
Sansepolcro
action filter_type
action find
entity Sansepolcro
relation sister city
type capital
['Sansepolcro', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?p WHERE { resource:Sansepolcro property:sister_city ?p . ?p rdf:type ontology:capital }
[]
capital
Q69345
SYSTEM
Neuchâtel
Q69345
(Q52098,P190,c(Q5119))
action filter_type
action find
entity Q52098
relation P190
type Q5119
[ANSWER] is twin town of Sansepolcro
['Q52098', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?p WHERE { resource:Q52098 property:P190 ?p . ?p rdf:type ontology:Q5119 }
Neuchâtel
Neuchâtel is twin town of Sansepolcro
Neuchâtel
action filter_type
action find
entity Sansepolcro
relation sister city
type capital
['Sansepolcro', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?p WHERE { resource:Sansepolcro property:sister_city ?p . ?p rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q69345
P17
Q15617994
USER
Which administrative territory is that capital situated in ?
(Q69345,P17,c(Q15617994))
action filter_type
action find
entity Q69345
relation P17
type Q15617994
['Q69345', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q69345 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Neuchâtel
action filter_type
action find
entity Neuchâtel
relation country
type designation for an administrative territorial entity
['Neuchâtel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Neuchâtel property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q69345,P17,c(Q15617994))
action filter_type
action find
entity Q69345
relation P17
type Q15617994
That capital is situated in [ANSWER]
['Q69345', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q69345 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Switzerland
That capital is situated in Switzerland
Switzerland
action filter_type
action find
entity Neuchâtel
relation country
type designation for an administrative territorial entity
['Neuchâtel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Neuchâtel property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q39 Q207257 Q40
P47
Q1048835
USER
Is Switzerland bordered by East Lothian and Austria ?
(Q39,P47,Q207257) (Q39,P47,Q40)
action is_in
entity Q39
action intersection
action find_reverse
entity Q207257
relation P47
action find_reverse
entity Q40
relation P47
['Q39', 'P47', 'Q207257'] ['Q39', 'P47', 'Q40']
ASK WHERE { resource:Q39 property:P47 resource:Q207257 . resource:Q39 property:P47 resource:Q40 }
Switzerland East Lothian Austria
action is_in
entity Switzerland
action intersection
action find_reverse
entity East Lothian
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Switzerland', 'shares border with', 'East Lothian'] ['Switzerland', 'shares border with', 'Austria']
ASK WHERE { resource:Switzerland property:shares_border_with resource:East_Lothian . resource:Switzerland property:shares_border_with resource:Austria }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q39,P47,Q207257) (Q39,P47,Q40)
action is_in
entity Q39
action intersection
action find_reverse
entity Q207257
relation P47
action find_reverse
entity Q40
relation P47
[ANSWER]
['Q39', 'P47', 'Q207257'] ['Q39', 'P47', 'Q40']
ASK WHERE { resource:Q39 property:P47 resource:Q207257 . resource:Q39 property:P47 resource:Q40 }
NO and YES respectively
action is_in
entity Switzerland
action intersection
action find_reverse
entity East Lothian
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Switzerland', 'shares border with', 'East Lothian'] ['Switzerland', 'shares border with', 'Austria']
ASK WHERE { resource:Switzerland property:shares_border_with resource:East_Lothian . resource:Switzerland property:shares_border_with resource:Austria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16 Q39
P85
Q484692
USER
Which hymns are the national anthems of Switzerland or Canada ?
OR((Q39,P85,c(Q484692)), (Q16,P85,c(Q484692)))
action filter_type
action union
action find
entity Q39
relation P85
action find
entity Q16
relation P85
type Q484692
{'OR': [['Q39', 'P85', {'concept': 'Q484692'}], ['Q16', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?r ) { ( resource:Q16 ) ( resource:Q39 ) } . ?r property:P85 ?e } . ?e rdf:type ontology:Q484692 }
Canada Switzerland
action filter_type
action union
action find
entity Switzerland
relation anthem
action find
entity Canada
relation anthem
type hymn
{'OR': [['Switzerland', 'anthem', {'concept': 'hymn'}], ['Canada', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?r ) { ( resource:Canada ) ( resource:Switzerland ) } . ?r property:anthem ?e } . ?e rdf:type ontology:hymn }
[]
hymn
Q93359 Q182536
SYSTEM
O Canada, Swiss Psalm
Q93359 Q182536
OR((Q39,P85,c(Q484692)), (Q16,P85,c(Q484692)))
action filter_type
action union
action find
entity Q39
relation P85
action find
entity Q16
relation P85
type Q484692
[ANSWERS] are the national anthems of Switzerland or Canada
{'OR': [['Q39', 'P85', {'concept': 'Q484692'}], ['Q16', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?r ) { ( resource:Q16 ) ( resource:Q39 ) } . ?r property:P85 ?e } . ?e rdf:type ontology:Q484692 }
O Canada Swiss Psalm
O Canada and Swiss Psalm are the national anthems of Switzerland or Canada
O Canada Swiss Psalm
action filter_type
action union
action find
entity Switzerland
relation anthem
action find
entity Canada
relation anthem
type hymn
{'OR': [['Switzerland', 'anthem', {'concept': 'hymn'}], ['Canada', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?r ) { ( resource:Canada ) ( resource:Switzerland ) } . ?r property:anthem ?e } . ?e rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q93359 Q182536
P800
Q502895
USER
Which people have those hymns as a notable work ?
(c(Q502895),P800,Q93359) (c(Q502895),P800,Q182536)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q93359'] [{'concept': 'Q502895'}, 'P800', 'Q182536']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 ?k . VALUES ( ?k ) { ( resource:Q93359 ) ( resource:Q182536 ) } }
O Canada Swiss Psalm
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'O Canada'] [{'concept': 'common name'}, 'notable work', 'Swiss Psalm']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work ?k . VALUES ( ?k ) { ( resource:O_Canada ) ( resource:Swiss_Psalm ) } }
[]
common name
Q1027051 Q667651
SYSTEM
Calixa Lavallée, Alberich Zwyssig
Q1027051 Q667651
(c(Q502895),P800,Q93359) (c(Q502895),P800,Q182536)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[ANSWERS] have those hymns as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q93359'] [{'concept': 'Q502895'}, 'P800', 'Q182536']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 ?k . VALUES ( ?k ) { ( resource:Q93359 ) ( resource:Q182536 ) } }
Calixa Lavallée Alberich Zwyssig
Calixa Lavallée and Alberich Zwyssig have those hymns as a notable work
Calixa Lavallée Alberich Zwyssig
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'O Canada'] [{'concept': 'common name'}, 'notable work', 'Swiss Psalm']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work ?k . VALUES ( ?k ) { ( resource:O_Canada ) ( resource:Swiss_Psalm ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1027051
P86
Q484692
USER
Which hymn is composed by Calixa Lavallée ?
(c(Q484692),P86,Q1027051)
action filter_type
action find_reverse
entity Q1027051
relation P86
type Q484692
[{'concept': 'Q484692'}, 'P86', 'Q1027051']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484692 . ?x property:P86 resource:Q1027051 }
Calixa Lavallée
action filter_type
action find_reverse
entity Calixa Lavallée
relation composer
type hymn
[{'concept': 'hymn'}, 'composer', 'Calixa Lavallée']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:hymn . ?x property:composer resource:Calixa_Lavallée }
[]
hymn
Q93359
SYSTEM
O Canada
Q93359
(c(Q484692),P86,Q1027051)
action filter_type
action find_reverse
entity Q1027051
relation P86
type Q484692
[ANSWER] is composed by Calixa Lavallée
[{'concept': 'Q484692'}, 'P86', 'Q1027051']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484692 . ?x property:P86 resource:Q1027051 }
O Canada
O Canada is composed by Calixa Lavallée
O Canada
action filter_type
action find_reverse
entity Calixa Lavallée
relation composer
type hymn
[{'concept': 'hymn'}, 'composer', 'Calixa Lavallée']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:hymn . ?x property:composer resource:Calixa_Lavallée }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1027051
P1303
Q34379
USER
Which musical instrument is played by Calixa Lavallée ?
(Q1027051,P1303,c(Q34379))
action filter_type
action find
entity Q1027051
relation P1303
type Q34379
['Q1027051', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { resource:Q1027051 property:P1303 ?y . ?y rdf:type ontology:Q34379 }
Calixa Lavallée
action filter_type
action find
entity Calixa Lavallée
relation instrument
type musical instrument
['Calixa Lavallée', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { resource:Calixa_Lavallée property:instrument ?y . ?y rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q1027051,P1303,c(Q34379))
action filter_type
action find
entity Q1027051
relation P1303
type Q34379
[ANSWER] is played by Calixa Lavallée
['Q1027051', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { resource:Q1027051 property:P1303 ?y . ?y rdf:type ontology:Q34379 }
piano
Piano is played by Calixa Lavallée
piano
action filter_type
action find
entity Calixa Lavallée
relation instrument
type musical instrument
['Calixa Lavallée', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { resource:Calixa_Lavallée property:instrument ?y . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q790468
P1303
Q34379 Q502895
USER
Which musical instruments do approximately the same number of people know to play as baritone horn ?
(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 Q790468
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q790468 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?h = ?r ) }
baritone horn
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity baritone horn
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:baritone_horn property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?r ) }
[]
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 Q790468
relation P1303
type Q34379
[ANSWERS] approximately the same number of people know to play as baritone horn
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q790468 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?h = ?r ) }
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 approximately the same number of people know to play as baritone horn
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 baritone horn
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:baritone_horn property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q863058 Q52098
P19
Q502895
USER
Which people have birthplace at Sansepolcro or Summerside ?
OR((c(Q502895),P19,Q52098), (c(Q502895),P19,Q863058))
action filter_type
action union
action find_reverse
entity Q52098
relation P19
action find_reverse
entity Q863058
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q52098'], [{'concept': 'Q502895'}, 'P19', 'Q863058']]}
SELECT DISTINCT ?j WHERE { { ?j property:P19 ?x . VALUES ( ?x ) { ( resource:Q52098 ) ( resource:Q863058 ) } } . ?j rdf:type ontology:Q502895 }
Summerside Sansepolcro
action filter_type
action union
action find_reverse
entity Sansepolcro
relation place of birth
action find_reverse
entity Summerside
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Sansepolcro'], [{'concept': 'common name'}, 'place of birth', 'Summerside']]}
SELECT DISTINCT ?j WHERE { { ?j property:place_of_birth ?x . VALUES ( ?x ) { ( resource:Sansepolcro ) ( resource:Summerside ) } } . ?j rdf:type ontology:common_name }
[]
common name
Q632055 Q3886001 Q5702741 Q1251804 Q16525107 Q15835632 Q1089033 Q21095494 Q2958661 Q3565829
SYSTEM
Some of them are Steve Ott, Orlando Pucci, Helen MacDonald, Doug MacLean, Alessandro Franceschini, Morgan Warren, Remigio Cantagallina, Sinclair Cutcliffe, Charles Cahill, Walter Moyse
Q2928710 Q16106715 Q3453818 Q3716137 Q3766335 Q24293 Q3336760 Q1529507 Q6831834 Q3751526 Q3836914 Q3617222 Q3938799 Q3703581 Q3726589 Q19662235 Q16525107 Q301240 Q3750861 Q1373474 Q3826770 Q18224210 Q1089033 Q17279895 Q3723900 Q3856475 Q1165466 Q371327 Q289780 Q928775 Q2553402 Q3338349 Q2831732 Q656467 Q3930100 Q3764616 Q3770515 Q3886001 Q87620 Q15613984 Q5052799 Q16162874 Q18654721 Q3628082 Q1966605 Q4007881 Q3229410 Q15835632 Q2958661 Q5702741 Q3939197 Q632055 Q2846327 Q3762406 Q2835269 Q3565829 Q3622629 Q3057484 Q1699580 Q3757577 Q21095494 Q2849603 Q1323835 Q3002426 Q206697 Q3343831 Q16533938 Q3835598 Q4002442 Q1660326 Q3515367 Q3875822 Q3195293 Q6680650 Q3519558 Q5592946 Q5822 Q6196747 Q45491 Q2831038 Q1251804 Q2832907 Q3839376 Q3505913 Q19560988
OR((c(Q502895),P19,Q52098), (c(Q502895),P19,Q863058))
action filter_type
action union
action find_reverse
entity Q52098
relation P19
action find_reverse
entity Q863058
relation P19
type Q502895
[ANSWERS] have birthplace at Sansepolcro or Summerside
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q52098'], [{'concept': 'Q502895'}, 'P19', 'Q863058']]}
SELECT DISTINCT ?j WHERE { { ?j property:P19 ?x . VALUES ( ?x ) { ( resource:Q52098 ) ( resource:Q863058 ) } } . ?j rdf:type ontology:Q502895 }
Bush Dumville Wes MacAleer Ryan Lehr Duilio Gigli Giovanni Abbarbagliati M. F. Schurman Nathan Wiley Giovanni de' Vecchi Michael Kennedy Franco Polcri Lorenzo Coleschi Angelo Scarpetti Roberto Finzi Davide Mezzanotti Enzo Mattesini Harry O. Haslam Alessandro Franceschini Andrea Piccini Francesco del Borgo Matteo di Giovanni Lando Landucci Francesca Olivoni Remigio Cantagallina Giulio Boninsegni Emanuele Calchetti Michele Alberti Durante Alberti Gerard Gallant Heather Moyse Mark Strand Cherubino Alberti Nero Alberti of Sansepolcro Alberto di Giovanni Alberti Janice Sherry Ranieri dal Borgo Gino Franceschini Giuseppe Fanfani Orlando Pucci Luca Pacioli Secondo Giorni Catherine MacLellan Beatrice Agrifoglio Stefano Mucciarelli Athos Fiordelli Nathan McIver Valerio Gildoni Len Compton Morgan Warren Charles Cahill Helen MacDonald Roberto Tofi Steve Ott Andrea Dotti Giambattista Collacchioni Alfred Lefurgey Walter Moyse Arioldo Arioldi Errol Thompson John Chabot Galeotto Graziani Sinclair Cutcliffe Angiolo Tricca Raffaellino dal Colle Creelman MacArthur Santi di Tito Norman Webster Bruno Nespoli Livio Boncompagni Ubaldo Adimari Cristofano Gherardi Tanya Davis Niccolò Aggiunti Kent Paynter Lorenzo Burzigotti Thane Campbell Graham James Piero della Francesca Jim McCombe Al Tuck Albert Charles Saunders Doug MacLean Alex Campbell Luigi Bosi Suzanne Birt George Key
Steve Ott, Orlando Pucci, Helen MacDonald, Doug MacLean, Alessandro Franceschini, Morgan Warren, Remigio Cantagallina, Sinclair Cutcliffe, Charles Cahill and Walter Moyse have birthplace at Sansepolcro or Summerside
Steve Ott Orlando Pucci Helen MacDonald Doug MacLean Alessandro Franceschini Morgan Warren Remigio Cantagallina Sinclair Cutcliffe Charles Cahill Walter Moyse
action filter_type
action union
action find_reverse
entity Sansepolcro
relation place of birth
action find_reverse
entity Summerside
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Sansepolcro'], [{'concept': 'common name'}, 'place of birth', 'Summerside']]}
SELECT DISTINCT ?j WHERE { { ?j property:place_of_birth ?x . VALUES ( ?x ) { ( resource:Sansepolcro ) ( resource:Summerside ) } } . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1089033
P21
Q290
USER
Which sex does that person belong to ?
(Q1089033,P21,c(Q290))
action filter_type
action find
entity Q1089033
relation P21
type Q290
['Q1089033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1089033 property:P21 ?m . ?m rdf:type ontology:Q290 }
Remigio Cantagallina
action filter_type
action find
entity Remigio Cantagallina
relation gender
type sex
['Remigio Cantagallina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Remigio_Cantagallina property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q1089033
SYSTEM
Did you mean Remigio Cantagallina ?
Q632055 Q3886001 Q5702741 Q1251804 Q16525107 Q15835632 Q1089033 Q21095494 Q2958661 Q3565829
(Q632055,P21,c(Q290)) (Q3886001,P21,c(Q290)) (Q5702741,P21,c(Q290)) (Q1251804,P21,c(Q290)) (Q16525107,P21,c(Q290)) (Q15835632,P21,c(Q290)) (Q1089033,P21,c(Q290)) (Q21095494,P21,c(Q290)) (Q2958661,P21,c(Q290)) (Q3565829,P21,c(Q290))
[ANSWER]
['Q632055', 'P21', {'concept': 'Q290'}] ['Q3886001', 'P21', {'concept': 'Q290'}] ['Q5702741', 'P21', {'concept': 'Q290'}] ['Q1251804', 'P21', {'concept': 'Q290'}] ['Q16525107', 'P21', {'concept': 'Q290'}] ['Q15835632', 'P21', {'concept': 'Q290'}] ['Q1089033', 'P21', {'concept': 'Q290'}] ['Q21095494', 'P21', {'concept': 'Q290'}] ['Q2958661', 'P21', {'concept': 'Q290'}] ['Q3565829', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1089033 property:P21 ?m . ?m rdf:type ontology:Q290 }
Steve Ott Orlando Pucci Helen MacDonald Doug MacLean Alessandro Franceschini Morgan Warren Remigio Cantagallina Sinclair Cutcliffe Charles Cahill Walter Moyse
Did you mean Remigio Cantagallina ?
Remigio Cantagallina
['Steve Ott', 'gender', {'concept': 'sex'}] ['Orlando Pucci', 'gender', {'concept': 'sex'}] ['Helen MacDonald', 'gender', {'concept': 'sex'}] ['Doug MacLean', 'gender', {'concept': 'sex'}] ['Alessandro Franceschini', 'gender', {'concept': 'sex'}] ['Morgan Warren', 'gender', {'concept': 'sex'}] ['Remigio Cantagallina', 'gender', {'concept': 'sex'}] ['Sinclair Cutcliffe', 'gender', {'concept': 'sex'}] ['Charles Cahill', 'gender', {'concept': 'sex'}] ['Walter Moyse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Remigio_Cantagallina property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1089033,P21,c(Q290))
['Q1089033', 'P21', {'concept': 'Q290'}]
['Remigio Cantagallina', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q1089033,P21,c(Q290))
action filter_type
action find
entity Q1089033
relation P21
type Q290
That person belongs to [ANSWER]
['Q1089033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1089033 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Remigio Cantagallina
relation gender
type sex
['Remigio Cantagallina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Remigio_Cantagallina property:gender ?m . ?m rdf:type ontology:sex }
[]