Simple Question (Direct)
Simple Question
Q3131031
P20
Q56061
USER
Where did Henri Duret expire ?
(Q3131031,P20,c(Q56061))
action filter_type
action find
entity Q3131031
relation P20
type Q56061
['Q3131031', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3131031 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Henri Duret
action filter_type
action find
entity Henri Duret
relation place of death
type administrative territorial entity
['Henri Duret', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Henri_Duret property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q648
SYSTEM
Lille
Q648
(Q3131031,P20,c(Q56061))
action filter_type
action find
entity Q3131031
relation P20
type Q56061
Henri Duret expired [ANSWER]
['Q3131031', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3131031 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Lille
Henri Duret expired Lille
Lille
action filter_type
action find
entity Henri Duret
relation place of death
type administrative territorial entity
['Henri Duret', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Henri_Duret property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3131031
P734
Q82799
USER
Who has the surname that person ?
(Q648,P734,c(Q82799))
action filter_type
action find
entity Q3131031
relation P734
type Q82799
['Q648', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q3131031 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Henri Duret
action filter_type
action find
entity Henri Duret
relation family name
type name
['Lille', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Henri_Duret property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q21491523
SYSTEM
Duret
Q21491523
(Q648,P734,c(Q82799))
action filter_type
action find
entity Q3131031
relation P734
type Q82799
[ANSWER] has the surname that person
['Q648', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q3131031 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Duret
Duret has the surname that person
Duret
action filter_type
action find
entity Henri Duret
relation family name
type name
['Lille', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Henri_Duret property:family_name ?n . ?n rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q932648
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have around the same number of holidays and people as their patron saint as Didymoteicho ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q932648
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q932648 property:P417 ?r . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?k } } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?h } }
Didymoteicho
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Didymoteicho
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Didymoteicho property:patron_saint ?r . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?k } } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?h } }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q932648
relation P417
type Q1445650
type Q502895
[ANSWERS] have around the same number of holidays and people as their patron saint as Didymoteicho
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q932648 property:P417 ?r . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?k } } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?h } }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan have around the same number of holidays and people as their patron saint as Didymoteicho
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Didymoteicho
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Didymoteicho property:patron_saint ?r . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?k } } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q53825
P417
Q1445650 Q502895 Q56061
USER
And also tell me about Altilia?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q53825
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o property:P417 ?v . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q502895 } UNION { ?o property:P417 ?v . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q53825 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?a = ?h ) }
Altilia
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Altilia
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o property:patron_saint ?v . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:common_name } UNION { ?o property:patron_saint ?v . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Altilia property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?a = ?h ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q53825
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o property:P417 ?v . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q502895 } UNION { ?o property:P417 ?v . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q53825 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?a = ?h ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Altilia
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o property:patron_saint ?v . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:common_name } UNION { ?o property:patron_saint ?v . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Altilia property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?a = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q379914
P841
Q186081 Q573 Q502895
USER
Which people have lesser number of time intervals and days as their principal feast day than Saint Cajetan ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q379914
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?i WHERE { { ?i property:P841 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q186081 } UNION { ?i property:P841 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q573 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:Q573 } UNION { ?p rdf:type ontology:Q186081 } } . resource:Q379914 property:P841 ?p } } . FILTER ( ?a < ?e ) }
Saint Cajetan
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Saint Cajetan
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?i WHERE { { ?i property:feast_day ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:time_interval } UNION { ?i property:feast_day ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:day } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:day } UNION { ?p rdf:type ontology:time_interval } } . resource:Saint_Cajetan property:feast_day ?p } } . FILTER ( ?a < ?e ) }
[]
time interval day common name
Q679784 Q3047912 Q167477
SYSTEM
Pier Giorgio Frassati, Seraphina Sforza, Anthony of Padua
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q379914
relation P841
type Q186081
type Q573
[ANSWERS] have lesser number of time intervals and days as their principal feast day than Saint Cajetan
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?i WHERE { { ?i property:P841 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q186081 } UNION { ?i property:P841 ?v . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q573 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:Q573 } UNION { ?p rdf:type ontology:Q186081 } } . resource:Q379914 property:P841 ?p } } . FILTER ( ?a < ?e ) }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
Pier Giorgio Frassati, Seraphina Sforza and Anthony of Padua have lesser number of time intervals and days as their principal feast day than Saint Cajetan
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Saint Cajetan
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?i WHERE { { ?i property:feast_day ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:time_interval } UNION { ?i property:feast_day ?v . ?i rdf:type ontology:common_name . ?v rdf:type ontology:day } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:day } UNION { ?p rdf:type ontology:time_interval } } . resource:Saint_Cajetan property:feast_day ?p } } . FILTER ( ?a < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q559356
P841
Q186081 Q573 Q502895
USER
And how about Benedict the Moor?
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q559356
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?z ) WHERE { { ?r property:P841 ?c . ?c rdf:type ontology:Q186081 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P841 ?c . ?r rdf:type ontology:Q502895 . ?c rdf:type ontology:Q573 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q559356 property:P841 ?o . { { ?o rdf:type ontology:Q186081 } UNION { ?o rdf:type ontology:Q573 } } } } . FILTER ( ?z < ?v ) }
Benedict the Moor
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Benedict the Moor
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?z ) WHERE { { ?r property:feast_day ?c . ?c rdf:type ontology:time_interval . ?r rdf:type ontology:common_name } UNION { ?r property:feast_day ?c . ?r rdf:type ontology:common_name . ?c rdf:type ontology:day } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Benedict_the_Moor property:feast_day ?o . { { ?o rdf:type ontology:time_interval } UNION { ?o rdf:type ontology:day } } } } . FILTER ( ?z < ?v ) }
[]
time interval day common name
Q679784 Q3047912 Q167477
SYSTEM
Pier Giorgio Frassati, Seraphina Sforza, Anthony of Padua
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q559356
relation P841
type Q186081
type Q573
[ANSWERS]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?z ) WHERE { { ?r property:P841 ?c . ?c rdf:type ontology:Q186081 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P841 ?c . ?r rdf:type ontology:Q502895 . ?c rdf:type ontology:Q573 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q559356 property:P841 ?o . { { ?o rdf:type ontology:Q186081 } UNION { ?o rdf:type ontology:Q573 } } } } . FILTER ( ?z < ?v ) }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Benedict the Moor
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?z ) WHERE { { ?r property:feast_day ?c . ?c rdf:type ontology:time_interval . ?r rdf:type ontology:common_name } UNION { ?r property:feast_day ?c . ?r rdf:type ontology:common_name . ?c rdf:type ontology:day } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Benedict_the_Moor property:feast_day ?o . { { ?o rdf:type ontology:time_interval } UNION { ?o rdf:type ontology:day } } } } . FILTER ( ?z < ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q167477
P180
Q3305213
USER
Which painting expressess that person ?
(c(Q3305213),P180,Q167477)
action filter_type
action find_reverse
entity Q167477
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q167477']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q167477 . ?w rdf:type ontology:Q3305213 }
Anthony of Padua
action filter_type
action find_reverse
entity Anthony of Padua
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Anthony of Padua']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Anthony_of_Padua . ?w rdf:type ontology:painting }
[]
painting
Clarification for simple ques.
Q3047912
SYSTEM
Did you mean Seraphina Sforza ?
Q679784 Q3047912 Q167477
(c(Q3305213),P180,Q679784) (c(Q3305213),P180,Q3047912) (c(Q3305213),P180,Q167477)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q679784'] [{'concept': 'Q3305213'}, 'P180', 'Q3047912'] [{'concept': 'Q3305213'}, 'P180', 'Q167477']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q167477 . ?w rdf:type ontology:Q3305213 }
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
Did you mean Seraphina Sforza ?
Seraphina Sforza
[{'concept': 'painting'}, 'depicts', 'Pier Giorgio Frassati'] [{'concept': 'painting'}, 'depicts', 'Seraphina Sforza'] [{'concept': 'painting'}, 'depicts', 'Anthony of Padua']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Anthony_of_Padua . ?w rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
USER
No, I meant Anthony of Padua. Could you tell me the answer for that?
(c(Q3305213),P180,Q167477)
Q167477
[{'concept': 'Q3305213'}, 'P180', 'Q167477']
[{'concept': 'painting'}, 'depicts', 'Anthony of Padua']
[]
Q21079910
SYSTEM
Anthony of Padua
Q21079910
(c(Q3305213),P180,Q167477)
action filter_type
action find_reverse
entity Q167477
relation P180
type Q3305213
The [ANSWER] expressess that person
[{'concept': 'Q3305213'}, 'P180', 'Q167477']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q167477 . ?w rdf:type ontology:Q3305213 }
Anthony of Padua
The Anthony of Padua expressess that person
Anthony of Padua
action filter_type
action find_reverse
entity Anthony of Padua
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Anthony of Padua']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Anthony_of_Padua . ?w rdf:type ontology:painting }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7684209 Q53825
P17
Q15617994
USER
Which administrative territories are Altilia or Tanéné, Dubréka located in ?
OR((Q53825,P17,c(Q15617994)), (Q7684209,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q53825
relation P17
action find
entity Q7684209
relation P17
type Q15617994
{'OR': [['Q53825', 'P17', {'concept': 'Q15617994'}], ['Q7684209', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q7684209 property:P17 ?v } UNION { resource:Q53825 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Tanéné, Dubréka Altilia
action filter_type
action union
action find
entity Altilia
relation country
action find
entity Tanéné, Dubréka
relation country
type designation for an administrative territorial entity
{'OR': [['Altilia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tanéné, Dubréka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Tanéné,_Dubréka property:country ?v } UNION { resource:Altilia property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q1006
SYSTEM
Italy, Guinea
Q38 Q1006
OR((Q53825,P17,c(Q15617994)), (Q7684209,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q53825
relation P17
action find
entity Q7684209
relation P17
type Q15617994
[ANSWERS] are Altilia or Tanéné, Dubréka located in
{'OR': [['Q53825', 'P17', {'concept': 'Q15617994'}], ['Q7684209', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q7684209 property:P17 ?v } UNION { resource:Q53825 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Italy Guinea
Italy and Guinea are Altilia or Tanéné, Dubréka located in
Italy Guinea
action filter_type
action union
action find
entity Altilia
relation country
action find
entity Tanéné, Dubréka
relation country
type designation for an administrative territorial entity
{'OR': [['Altilia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tanéné, Dubréka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Tanéné,_Dubréka property:country ?v } UNION { resource:Altilia property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories did greater number of musical ensembles or works of art originate than that administrative territory ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity musical ensemble work of art
Comparative|More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean Italy ?
Italy
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
No, I meant Guinea. Could you tell me the answer for that?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
Q1006
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q29999 Q854 Q819 Q424 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q833 Q1009 Q1008 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1016 Q1011 Q945 Q29 Q863 Q869 Q953
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWERS] greater number of musical ensembles or works of art originated than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Yemen Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Brunei Sudan Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Malaysia Cameroon Côte d'Ivoire Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Libya Cape Verde Togo Spain Tajikistan Thailand Zambia
Italy, Brazil and United States of America greater number of musical ensembles or works of art originated than that administrative territory
Italy Brazil United States of America
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P17
Q15617994
USER
Which administrative territories do Italy, Brazil and United States of America belong to ?
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q155 ) } . ?a property:P17 ?w }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?a ) { ( resource:Italy ) ( resource:Brazil ) } . ?a property:country ?w }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q38 Q155 Q30
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
[ANSWERS] [ANSWERS] belong to
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q155 ) } . ?a property:P17 ?w }
Italy Brazil United States of America
Italy, Brazil and United States of America Italy, Brazil and United States of America belong to
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?a ) { ( resource:Italy ) ( resource:Brazil ) } . ?a property:country ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P172
Q502895
USER
Which people have those administrative territories as his/her race ?
(c(Q502895),P172,Q38) (c(Q502895),P172,Q155) (c(Q502895),P172,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q38'] [{'concept': 'Q502895'}, 'P172', 'Q155'] [{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q38 ) ( resource:Q155 ) ( resource:Q30 ) } . ?m property:P172 ?j . ?m rdf:type ontology:Q502895 }
Italy Brazil United States of America
action filter_type
action find_reverse
entity prev_answer
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Italy'] [{'concept': 'common name'}, 'ethnic group', 'Brazil'] [{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Italy ) ( resource:Brazil ) ( resource:United_States_of_America ) } . ?m property:ethnic_group ?j . ?m rdf:type ontology:common_name }
[]
common name
Q312614 Q1617040 Q1339445
SYSTEM
Alessandro Petacchi, Heywood Broun, Rolf Saxon
Q1387658 Q312614 Q5096249 Q30865 Q6794903 Q6789001 Q4648425 Q2352411 Q6248626 Q6498788 Q1752858 Q7827487 Q702510 Q6532530 Q4881771 Q7166358 Q7928107 Q4515626 Q5371265 Q7558698 Q6286945 Q1309248 Q1617040 Q5550870 Q6451062 Q460312 Q1121923 Q5497389 Q6229442 Q881282 Q1120176 Q1282481 Q4411969 Q1339445 Q467925
(c(Q502895),P172,Q38) (c(Q502895),P172,Q155) (c(Q502895),P172,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P172
type Q502895
[ANSWERS] have those administrative territories as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q38'] [{'concept': 'Q502895'}, 'P172', 'Q155'] [{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q38 ) ( resource:Q155 ) ( resource:Q30 ) } . ?m property:P172 ?j . ?m rdf:type ontology:Q502895 }
Francesco D'Macho Alessandro Petacchi Chicken John Eike Batista Max Jones Matt Majors A. T. Mann Jason Ridge John Michael Ferrari Laura Chang Eric Ries Tory Mason Jennifer 8. Lee Jenny Lawson Bela Hubbard Pepper Jay Vidkid Timo C. J. Chivers Emil Guillermo Solomon Lee Van Meter, Jr. Joseph Sexton Ray Dragon Heywood Broun Gerit Quealy Kyle Bradford Matthew Rush Don Yenko Frederick Blantford Bate John Dillard Blake Riley Ricky Sinz Jake Deckard Bruce Seven Rolf Saxon Desireé Cousteau
Alessandro Petacchi, Heywood Broun and Rolf Saxon have those administrative territories as his/her race
Alessandro Petacchi Heywood Broun Rolf Saxon
action filter_type
action find_reverse
entity prev_answer
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Italy'] [{'concept': 'common name'}, 'ethnic group', 'Brazil'] [{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Italy ) ( resource:Brazil ) ( resource:United_States_of_America ) } . ?m property:ethnic_group ?j . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q312614 Q1617040 Q1339445
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Alessandro Petacchi, Heywood Broun and Rolf Saxon ?
(Q312614,P27,c(Q15617994)) (Q1617040,P27,c(Q15617994)) (Q1339445,P27,c(Q15617994))
action union
action filter_type
action find
entity Q312614
relation P27
type Q15617994
action filter_type
action find
entity Q1617040
relation P27
type Q15617994
action filter_type
action find
entity Q1339445
relation P27
type Q15617994
['Q312614', 'P27', {'concept': 'Q15617994'}] ['Q1617040', 'P27', {'concept': 'Q15617994'}] ['Q1339445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q312614 property:P27 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q1617040 property:P27 ?o . ?o rdf:type ontology:Q15617994 } }
Alessandro Petacchi Heywood Broun Rolf Saxon
action union
action filter_type
action find
entity Alessandro Petacchi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Heywood Broun
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Rolf Saxon
relation country of citizenship
type designation for an administrative territorial entity
['Alessandro Petacchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Heywood Broun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rolf Saxon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Alessandro_Petacchi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Heywood_Broun property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q30 Q30
SYSTEM
Italy for 1st, United States of America for 2nd, 3rd
Q38 Q30 Q30
(Q312614,P27,c(Q15617994)) (Q1617040,P27,c(Q15617994)) (Q1339445,P27,c(Q15617994))
action union
action filter_type
action find
entity Q312614
relation P27
type Q15617994
action filter_type
action find
entity Q1617040
relation P27
type Q15617994
action filter_type
action find
entity Q1339445
relation P27
type Q15617994
[ANSWERS]
['Q312614', 'P27', {'concept': 'Q15617994'}] ['Q1617040', 'P27', {'concept': 'Q15617994'}] ['Q1339445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q312614 property:P27 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q1617040 property:P27 ?o . ?o rdf:type ontology:Q15617994 } }
Italy United States of America United States of America
Italy, United States of America and United States of America are the countries of citizenship of Alessandro Petacchi, Heywood Broun and Rolf Saxon
Italy United States of America United States of America
action union
action filter_type
action find
entity Alessandro Petacchi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Heywood Broun
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Rolf Saxon
relation country of citizenship
type designation for an administrative territorial entity
['Alessandro Petacchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Heywood Broun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rolf Saxon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Alessandro_Petacchi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Heywood_Broun property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P530
Q15617994
USER
Who have diplomatic relationships with United States of America ?
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
Italy, Brazil and Russia have diplomatic relationships with United States of America
Italy Brazil Russia
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]