Simple Question (Direct)
Simple Question
Q1317679
P641
Q349
USER
Which sport was Piero Baroncini a part of ?
(Q1317679,P641,c(Q349))
action filter_type
action find
entity Q1317679
relation P641
type Q349
['Q1317679', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q1317679 property:P641 ?r . ?r rdf:type ontology:Q349 }
Piero Baroncini
action filter_type
action find
entity Piero Baroncini
relation sport
type sport
['Piero Baroncini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Piero_Baroncini property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1317679,P641,c(Q349))
action filter_type
action find
entity Q1317679
relation P641
type Q349
Which sport was Piero Baroncini a part of
['Q1317679', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q1317679 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Which sport was Piero Baroncini a part of
association football
action filter_type
action find
entity Piero Baroncini
relation sport
type sport
['Piero Baroncini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Piero_Baroncini property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1317679
P106
Q12737077
USER
What does Piero Baroncini do for a living ?
(Q1317679,P106,c(Q12737077))
action filter_type
action find
entity Q1317679
relation P106
type Q12737077
['Q1317679', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1317679 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Piero Baroncini
action filter_type
action find
entity Piero Baroncini
relation occupation
type occupation
['Piero Baroncini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Piero_Baroncini property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1317679,P106,c(Q12737077))
action filter_type
action find
entity Q1317679
relation P106
type Q12737077
Piero Baroncini does an [ANSWER] for a living
['Q1317679', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1317679 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Piero Baroncini does an association football player for a living
association football player
action filter_type
action find
entity Piero Baroncini
relation occupation
type occupation
['Piero Baroncini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Piero_Baroncini property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1317679
P19
Q56061
USER
Where was that person born ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q1317679
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1317679 property:P19 ?n }
Piero Baroncini
action filter_type
action find
entity Piero Baroncini
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Piero_Baroncini property:place_of_birth ?n }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q1317679
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1317679 property:P19 ?n }
Florence
That person was born in Florence
Florence
action filter_type
action find
entity Piero Baroncini
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Piero_Baroncini property:place_of_birth ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2044 Q214178 Q12159300
P190
Q56061
USER
Is that administrative territory twin city of Nablus and Sicrita ?
(Q2044,P190,Q214178) (Q2044,P190,Q12159300)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q214178
relation P190
action find_reverse
entity Q12159300
relation P190
['Q2044', 'P190', 'Q214178'] ['Q2044', 'P190', 'Q12159300']
ASK WHERE { resource:Q2044 property:P190 resource:Q12159300 . resource:Q2044 property:P190 resource:Q214178 }
Florence Nablus Sicrita
action is_in
entity Florence
action intersection
action find_reverse
entity Nablus
relation sister city
action find_reverse
entity Sicrita
relation sister city
['Florence', 'sister city', 'Nablus'] ['Florence', 'sister city', 'Sicrita']
ASK WHERE { resource:Florence property:sister_city resource:Sicrita . resource:Florence property:sister_city resource:Nablus }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q2044,P190,Q214178) (Q2044,P190,Q12159300)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q214178
relation P190
action find_reverse
entity Q12159300
relation P190
[ANSWER]
['Q2044', 'P190', 'Q214178'] ['Q2044', 'P190', 'Q12159300']
ASK WHERE { resource:Q2044 property:P190 resource:Q12159300 . resource:Q2044 property:P190 resource:Q214178 }
YES and NO respectively
action is_in
entity Florence
action intersection
action find_reverse
entity Nablus
relation sister city
action find_reverse
entity Sicrita
relation sister city
['Florence', 'sister city', 'Nablus'] ['Florence', 'sister city', 'Sicrita']
ASK WHERE { resource:Florence property:sister_city resource:Sicrita . resource:Florence property:sister_city resource:Nablus }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1317679 Q38
P27
Q15617994
USER
Is Piero Baroncini an inhabitant of Italy ?
(Q1317679,P27,Q38)
action is_in
entity Q38
action find
entity Q1317679
relation P27
['Q1317679', 'P27', 'Q38']
ASK WHERE { resource:Q1317679 property:P27 resource:Q38 }
Piero Baroncini Italy
action is_in
entity Italy
action find
entity Piero Baroncini
relation country of citizenship
['Piero Baroncini', 'country of citizenship', 'Italy']
ASK WHERE { resource:Piero_Baroncini property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1317679,P27,Q38)
action is_in
entity Q38
action find
entity Q1317679
relation P27
[ANSWER]
['Q1317679', 'P27', 'Q38']
ASK WHERE { resource:Q1317679 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Piero Baroncini
relation country of citizenship
['Piero Baroncini', 'country of citizenship', 'Italy']
ASK WHERE { resource:Piero_Baroncini property:country_of_citizenship resource:Italy }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6789668 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or were Matteo D'Alessandro a part of ?
OR((Q937857,P425,c(Q349)), (Q6789668,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q6789668
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q6789668', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q937857 property:P425 ?p } UNION { resource:Q6789668 property:P641 ?p } } . ?p rdf:type ontology:Q349 }
Matteo D'Alessandro association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Matteo D'Alessandro
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ["Matteo D'Alessandro", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { { resource:association_football_player property:field_of_this_occupation ?p } UNION { resource:Matteo_D'Alessandro property:sport ?p } } . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q6789668,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q6789668
relation P641
type Q349
Team [ANSWER] is associated with the field of occupation [ANSWER] player or were Matteo D'Alessandro a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q6789668', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q937857 property:P425 ?p } UNION { resource:Q6789668 property:P641 ?p } } . ?p rdf:type ontology:Q349 }
association football
Team association football is associated with the field of occupation association football player or were Matteo D'Alessandro a part of
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Matteo D'Alessandro
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ["Matteo D'Alessandro", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { { resource:association_football_player property:field_of_this_occupation ?p } UNION { resource:Matteo_D'Alessandro property:sport ?p } } . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6789668
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6789668
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6789668 property:P21 ?w }
Matteo D'Alessandro
action filter_type
action find
entity Matteo D'Alessandro
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Matteo_D'Alessandro property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6789668
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6789668 property:P21 ?w }
male
That person has a male
male
action filter_type
action find
entity Matteo D'Alessandro
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Matteo_D'Alessandro property:gender ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1301941
P21
Q502895
USER
Does Mária Széchy have the gender as that sex ?
(Q1301941,P21,Q6581097)
action is_in
entity Q1301941
action find
entity Q6581097
relation P21
['Q1301941', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q1301941 }
male Mária Széchy
action is_in
entity Mária Széchy
action find
entity male
relation gender
['Mária Széchy', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Mária_Széchy }
[]
common name
SYSTEM
NO
(Q1301941,P21,Q6581097)
action is_in
entity Q1301941
action find
entity Q6581097
relation P21
[ANSWER]
['Q1301941', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q1301941 }
No
action is_in
entity Mária Széchy
action find
entity male
relation gender
['Mária Széchy', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Mária_Széchy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q49179
P291
Q56061 Q2342494 Q11032
USER
How many administrative territories are the publication regions of lesser number of collectables and newspapers than Worcester ?
(c(Q2342494)|c(Q11032),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q49179
relation P291
type Q2342494
type Q11032
[[{'concept': 'Q2342494'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 . ?a property:P291 ?w } UNION { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?w } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P291 resource:Q49179 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q11032 ) } . ?m rdf:type ?c } } } }
Worcester
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_multi_types
action find_reverse
entity Worcester
relation place of publication
type collectable
type newspaper
[[{'concept': 'collectable'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper . ?a property:place_of_publication ?w } UNION { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:collectable } } GROUP BY ?w } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:place_of_publication resource:Worcester . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:newspaper ) } . ?m rdf:type ?c } } } }
[]
administrative territorial entity collectable newspaper
SYSTEM
188
Q909146 Q2536016 Q2512312 Q2035368 Q38511 Q130191 Q203619 Q1544563 Q501661 Q982367 Q11974 Q36378 Q10305 Q3404679 Q23051 Q2656 Q4581188 Q8851 Q9920 Q12155 Q323801 Q15682 Q15684 Q170497 Q99151 Q39561 Q48329 Q7880 Q1930 Q949651 Q3846 Q597 Q5831 Q22889 Q5836 Q132572 Q12411 Q1718 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1155 Q3400328 Q14323 Q14325 Q484799 Q576110 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q739452 Q2044 Q887 Q54217 Q15093 Q162279 Q671288 Q17151 Q1191195 Q102217 Q237 Q334 Q16554 Q16557 Q486306 Q1513 Q192517 Q1296 Q936183 Q1563 Q45412 Q1024911 Q193478 Q5112 Q2103 Q178093 Q11959 Q35493 Q78 Q2617448 Q37100 Q38022 Q36405 Q1235510 Q15678 Q1931927 Q3183 Q172157 Q33935 Q582121 Q1861 Q14314 Q15090 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q2941325 Q12258 Q202158 Q1017331 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q10282 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q761 Q9580 Q3584 Q735583 Q11967 Q3519 Q65 Q159232 Q2028 Q3395358 Q5818 Q204382 Q12439 Q27393 Q470445 Q771986 Q79990 Q8385 Q6537 Q72259 Q19785 Q193367 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q580 Q213898 Q8757 Q178277 Q883 Q125080 Q12303 Q156990 Q3834 Q40840 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q216 Q646620 Q720627 Q215277 Q1348 Q14336 Q34647
(c(Q2342494)|c(Q11032),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q49179
relation P291
type Q2342494
type Q11032
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 . ?a property:P291 ?w } UNION { ?a property:P291 ?w . ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?w } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P291 resource:Q49179 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q11032 ) } . ?m rdf:type ?c } } } }
Godalming Crickhowell Eppegem Tremadog Turku Norwich Kemi Hellerup Schleswig Mineola Las Palmas de Gran Canaria Fribourg Zaragoza Crumlin Swansea Palermo Straume Málaga Haarlem Soria Nampula Cádiz Segovia Gloucester Ourense Burbank Mariehamn Toulouse Ottawa Wilmington Minden Lisbon Melilla Bath Toledo Tiraspol Pontevedra Düsseldorf Lugo Granada Elverum Alcones Caernarfon Montevideo Busto Arsizio St Athan Mérida Logroño Marbella Nauvoo Mexico City Torquay Rhyl Algiers Norman Istanbul Garden City Florence Yekaterinburg Norwalk Ciudad Real Kuopio Bend Thessaloniki Mold Vitebsk Vatican City Singapore Denver Dallas Pensacola Nagpur Boulder Ghent Tonbridge Havana Coimbra Welshpool Buda Adelaide Bochum Poughkeepsie Alicante Almaty Basel Edinburgh Auckland St. Louis Aberdeen Dolgellau Cáceres Bracon Ash Perth Winchester Tel Aviv Bradenton Bangkok Santiago de Compostela Lleida Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Corbin Sabadell Hämeenlinna Westport, County Mayo New Haven Olympia Levoča Rockville Murcia Bristol Pamplona Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Białystok Burgos Nový Jičín Ylivieska Huesca Bari Los Angeles Santa Cruz Verona Kidwelly Córdoba Kouvola Detroit Herning Prostějov Chepstow Christchurch Ostrava Vicenza Portsmouth Harpenden Porvoo Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Łódź Preveza A Coruña Montvale Novosibirsk Vaasa Jerez de la Frontera Monmouth Konstanz Tampere Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Vilnius Estella-Lizarra Kanhangad Jaffna Kolkata Teruel Johannesburg
188
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_multi_types
action find_reverse
entity Worcester
relation place of publication
type collectable
type newspaper
[[{'concept': 'collectable'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper . ?a property:place_of_publication ?w } UNION { ?a property:place_of_publication ?w . ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:collectable } } GROUP BY ?w } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:place_of_publication resource:Worcester . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:newspaper ) } . ?m rdf:type ?c } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P840
Q15850590
USER
Which theatrical genres have a setting location of Florence ?
(c(Q15850590),P840,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15850590
[{'concept': 'Q15850590'}, 'P840', 'Q2044']
SELECT DISTINCT ?l WHERE { ?l property:P840 resource:Q2044 . ?l rdf:type ontology:Q15850590 }
Florence
action filter_type
action find_reverse
entity Florence
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Florence']
SELECT DISTINCT ?l WHERE { ?l property:narrative_location resource:Florence . ?l rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q4940396 Q727868
SYSTEM
Bomarzo, Gianni Schicchi
Q4940396 Q727868
(c(Q15850590),P840,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15850590
[ANSWERS] have a setting location of Florence
[{'concept': 'Q15850590'}, 'P840', 'Q2044']
SELECT DISTINCT ?l WHERE { ?l property:P840 resource:Q2044 . ?l rdf:type ontology:Q15850590 }
Bomarzo Gianni Schicchi
Bomarzo and Gianni Schicchi have a setting location of Florence
Bomarzo Gianni Schicchi
action filter_type
action find_reverse
entity Florence
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Florence']
SELECT DISTINCT ?l WHERE { ?l property:narrative_location resource:Florence . ?l rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4940396 Q727868
P86
Q502895
USER
Which people composed those theatrical genres ?
(Q4940396,P86,c(Q502895)) (Q727868,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
['Q4940396', 'P86', {'concept': 'Q502895'}] ['Q727868', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?i property:P86 ?e . VALUES ( ?i ) { ( resource:Q4940396 ) ( resource:Q727868 ) } }
Bomarzo Gianni Schicchi
action filter_type
action find
entity prev_answer
relation composer
type common name
['Bomarzo', 'composer', {'concept': 'common name'}] ['Gianni Schicchi', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?i property:composer ?e . VALUES ( ?i ) { ( resource:Bomarzo ) ( resource:Gianni_Schicchi ) } }
[]
common name
Q311389 Q7311
SYSTEM
Alberto Ginastera, Giacomo Puccini
Q311389 Q7311
(Q4940396,P86,c(Q502895)) (Q727868,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
[ANSWERS] composed those theatrical genres
['Q4940396', 'P86', {'concept': 'Q502895'}] ['Q727868', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?i property:P86 ?e . VALUES ( ?i ) { ( resource:Q4940396 ) ( resource:Q727868 ) } }
Alberto Ginastera Giacomo Puccini
Alberto Ginastera and Giacomo Puccini composed those theatrical genres
Alberto Ginastera Giacomo Puccini
action filter_type
action find
entity prev_answer
relation composer
type common name
['Bomarzo', 'composer', {'concept': 'common name'}] ['Gianni Schicchi', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?i property:composer ?e . VALUES ( ?i ) { ( resource:Bomarzo ) ( resource:Gianni_Schicchi ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q311389 Q7311
P21
Q290
USER
Which sexes do Alberto Ginastera and Giacomo Puccini belong to ?
(Q311389,P21,c(Q290)) (Q7311,P21,c(Q290))
action union
action filter_type
action find
entity Q311389
relation P21
type Q290
action filter_type
action find
entity Q7311
relation P21
type Q290
['Q311389', 'P21', {'concept': 'Q290'}] ['Q7311', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q290 . resource:Q7311 property:P21 ?g } UNION { resource:Q311389 property:P21 ?g . ?g rdf:type ontology:Q290 } }
Alberto Ginastera Giacomo Puccini
action union
action filter_type
action find
entity Alberto Ginastera
relation gender
type sex
action filter_type
action find
entity Giacomo Puccini
relation gender
type sex
['Alberto Ginastera', 'gender', {'concept': 'sex'}] ['Giacomo Puccini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:sex . resource:Giacomo_Puccini property:gender ?g } UNION { resource:Alberto_Ginastera property:gender ?g . ?g rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q311389,P21,c(Q290)) (Q7311,P21,c(Q290))
action union
action filter_type
action find
entity Q311389
relation P21
type Q290
action filter_type
action find
entity Q7311
relation P21
type Q290
Alberto Ginastera and Giacomo Puccini belong to [ANSWER] and [ANSWER]
['Q311389', 'P21', {'concept': 'Q290'}] ['Q7311', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q290 . resource:Q7311 property:P21 ?g } UNION { resource:Q311389 property:P21 ?g . ?g rdf:type ontology:Q290 } }
male male
Alberto Ginastera and Giacomo Puccini belong to male and male
male male
action union
action filter_type
action find
entity Alberto Ginastera
relation gender
type sex
action filter_type
action find
entity Giacomo Puccini
relation gender
type sex
['Alberto Ginastera', 'gender', {'concept': 'sex'}] ['Giacomo Puccini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:sex . resource:Giacomo_Puccini property:gender ?g } UNION { resource:Alberto_Ginastera property:gender ?g . ?g rdf:type ontology:sex } }
[]