Simple Question (Direct)
Simple Question
Q52987
P47
Q15617994
USER
Which administrative territories are adjacent to Riolo Terme ?
(Q52987,P47,c(Q15617994))
action filter_type
action find
entity Q52987
relation P47
type Q15617994
['Q52987', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q52987 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Riolo Terme
action filter_type
action find
entity Riolo Terme
relation shares border with
type designation for an administrative territorial entity
['Riolo Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Riolo_Terme property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q50195 Q52981 Q52962
SYSTEM
Imola, Faenza, Brisighella
Q52970 Q52962 Q52966 Q50195 Q52981 Q94588
(Q52987,P47,c(Q15617994))
action filter_type
action find
entity Q52987
relation P47
type Q15617994
[ANSWERS] are adjacent to Riolo Terme
['Q52987', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q52987 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Castel Bolognese Brisighella Casola Valsenio Imola Faenza Borgo Tossignano
Imola, Faenza and Brisighella are adjacent to Riolo Terme
Imola Faenza Brisighella
action filter_type
action find
entity Riolo Terme
relation shares border with
type designation for an administrative territorial entity
['Riolo Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Riolo_Terme property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q50195 Q52981 Q52962
P20
Q502895
USER
Which people have Imola, Faenza and Brisighella as the location of death ?
(c(Q502895),P20,Q50195) (c(Q502895),P20,Q52981) (c(Q502895),P20,Q52962)
action union
action filter_type
action find_reverse
entity Q50195
relation P20
type Q502895
action filter_type
action find_reverse
entity Q52981
relation P20
type Q502895
action filter_type
action find_reverse
entity Q52962
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q50195'] [{'concept': 'Q502895'}, 'P20', 'Q52981'] [{'concept': 'Q502895'}, 'P20', 'Q52962']
SELECT DISTINCT ?m WHERE { VALUES ( ?s ) { ( resource:Q50195 ) ( resource:Q52981 ) } . ?m property:P20 ?s }
Imola Faenza Brisighella
action union
action filter_type
action find_reverse
entity Imola
relation place of death
type common name
action filter_type
action find_reverse
entity Faenza
relation place of death
type common name
action filter_type
action find_reverse
entity Brisighella
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Imola'] [{'concept': 'common name'}, 'place of death', 'Faenza'] [{'concept': 'common name'}, 'place of death', 'Brisighella']
SELECT DISTINCT ?m WHERE { VALUES ( ?s ) { ( resource:Imola ) ( resource:Faenza ) } . ?m property:place_of_death ?s }
[]
common name
Q679494 Q10490 Q258369
SYSTEM
Giacomo Neri, Ayrton Senna, Peter Damian
Q3779126 Q3840201 Q3614874 Q1374136 Q19683095 Q965034 Q3839267 Q10490 Q3762063 Q3932597 Q3620031 Q3992738 Q3295548 Q3629661 Q3769496 Q1338535 Q3902902 Q3839552 Q3725808 Q3771041 Q3779315 Q3856663 Q18758667 Q3930038 Q493716 Q3784664 Q2648286 Q3426818 Q3848387 Q3932825 Q3886002 Q3847135 Q4895910 Q16268548 Q3736420 Q20953868 Q1024153 Q3779410 Q19405075 Q2290309 Q1898670 Q3725181 Q328742 Q3840106 Q3749791 Q3843159 Q2286464 Q1173048 Q2256557 Q16268845 Q18562240 Q12109 Q16268496 Q3666972 Q3771421 Q3702387 Q3436829 Q4013317 Q22342151 Q456908 Q3762673 Q3718949 Q4013899 Q5563697 Q116046 Q3940893 Q17341330 Q3762401 Q26726280 Q6223659 Q671057 Q1714518 Q464307 Q3836370 Q3662292 Q671716 Q973367 Q2939249 Q15615638 Q1346104 Q1889862 Q2276735 Q19614799 Q1215443 Q3743155 Q26973294 Q947450 Q3680121 Q679494 Q21914797 Q21282241 Q461664 Q22069418 Q3750653 Q26703426 Q17490328 Q3972394 Q3613150 Q3909565 Q2413843 Q3762720 Q16268223 Q3056733 Q22069515 Q3766051 Q3629295 Q3756895 Q3944251 Q3724315 Q16268561 Q17329006 Q447560 Q258369 Q17630961 Q3901800 Q3712893 Q3771541 Q17548752 Q3950915 Q872468
(c(Q502895),P20,Q50195) (c(Q502895),P20,Q52981) (c(Q502895),P20,Q52962)
action union
action filter_type
action find_reverse
entity Q50195
relation P20
type Q502895
action filter_type
action find_reverse
entity Q52981
relation P20
type Q502895
action filter_type
action find_reverse
entity Q52962
relation P20
type Q502895
[ANSWERS] have Imola, Faenza and Brisighella as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q50195'] [{'concept': 'Q502895'}, 'P20', 'Q52981'] [{'concept': 'Q502895'}, 'P20', 'Q52962']
SELECT DISTINCT ?m WHERE { VALUES ( ?s ) { ( resource:Q50195 ) ( resource:Q52981 ) } . ?m property:P20 ?s }
Guidarello Guidarelli Luigi Tinti Anacleto Margotti Giovanni Carlo Bandi Andrea Marabini Clemente Faccani Luigi Angeli Ayrton Senna Giacomo Dal Monte Casoni Renato Bacchini Antonio Piatesi Tomaso Casoni Manuel Lacunza Augusto Masetti Giulio Belli Gaetano Baluffi Pier Luigi Ighina Luigi Dardani Enrico Gualandi Giuseppe Montuschi Guido Gualandi Michele Leskovic Luigi Orsini Randy Cleek Andrea Costa Ray Amm Cosimo Morelli René Ribière Mario Calderoni Renato Zangheri Orlando Rampolli Maria Antonietta Zanelli Bertrando Alidosi Giorgio Mirri Ezio Serantoni Veraldo Vespignani Dino Ballacci Guido Paci Angelo Gottarelli Diego Ronchini Mario Camorani Enea Dal Fiume Peter Chrysologus Luigi Rossi Morelli Francesco Chiusuri Maghinardo Pagani Silvano Montevecchi Ulisse Giuseppe Gozzadini Antonio Lamberto Rusconi Paolino Tribbioli Cesare Capezzuoli Roberto Raviola Anselmo Marabini Checco Costa Giuseppe Scarabelli Dante Rivola Roberto Alidosi Vincenzo Guarna Giuseppina Cattani Ebe Stignani Gian Gualberto Archi Eddie Ponti Virgilio Calamelli Giovanni Battista Armenini Giovanni Battista Lacchini Romolo Liverani Gaetano Bertolani Pietro Canneti Achille Farina John Brunt Pier Francesco Tosi Paolo Spada Porcius Festus Ludovico Caldesi Castellina Karl Stürmer Raffaele Bendandi Carlo Rossetti Pietro Tomba Enzo Melandri Aldo Ronconi Francesco I Manfredi Renzo Santini Gaius Avidius Nigrinus Ferraù Fenzoni Władysław Drelicharz Giulio Piazza Claudio Marabini Giacomo Neri Clemente Caldesi Carlo Zauli Gian Vittorio Baldi Tommaso Gessi Francesco Serantini Anna Rosa Gentilini Guerrino Tramonti Stefano Bonsignori Alteo Dolcini Potito Randi Astorre I Manfredi Gian Nicola Babini Lamberto Caffarelli Erminio Valenti Giuseppe Pasolini Zanelli Giovanni Battista Ballanti Attilio Santarelli Gaetano Ballardini Sabba da Castiglione Emiliano d'Irlanda Antonio Morri Ino Savini Juan de Velasco Peter Damian Francesco Lanzoni Pia Tassinari Domenico Baccarini Giuseppe Torquato Gargani Giuseppe Ugonia Sauro Babini Mattia Moreni
Giacomo Neri, Ayrton Senna and Peter Damian have Imola, Faenza and Brisighella as the location of death
Giacomo Neri Ayrton Senna Peter Damian
action union
action filter_type
action find_reverse
entity Imola
relation place of death
type common name
action filter_type
action find_reverse
entity Faenza
relation place of death
type common name
action filter_type
action find_reverse
entity Brisighella
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Imola'] [{'concept': 'common name'}, 'place of death', 'Faenza'] [{'concept': 'common name'}, 'place of death', 'Brisighella']
SELECT DISTINCT ?m WHERE { VALUES ( ?s ) { ( resource:Imola ) ( resource:Faenza ) } . ?m property:place_of_death ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q50195
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q50195,P17,c(Q15617994))
action filter_type
action find
entity Q50195
relation P17
type Q15617994
['Q50195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q50195 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Imola
action filter_type
action find
entity Imola
relation country
type designation for an administrative territorial entity
['Imola', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Imola property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q50195
SYSTEM
Did you mean Imola ?
Q679494 Q10490 Q258369
(Q679494,P17,c(Q15617994)) (Q10490,P17,c(Q15617994)) (Q258369,P17,c(Q15617994))
[ANSWER]
['Q679494', 'P17', {'concept': 'Q15617994'}] ['Q10490', 'P17', {'concept': 'Q15617994'}] ['Q258369', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q50195 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Giacomo Neri Ayrton Senna Peter Damian
Did you mean Imola ?
Imola
['Giacomo Neri', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ayrton Senna', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Peter Damian', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Imola property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q50195,P17,c(Q15617994))
['Q50195', 'P17', {'concept': 'Q15617994'}]
['Imola', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q50195,P17,c(Q15617994))
action filter_type
action find
entity Q50195
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q50195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q50195 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Italy
That one belongs to the Italy
Italy
action filter_type
action find
entity Imola
relation country
type designation for an administrative territorial entity
['Imola', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Imola property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q50195
P190
Q20667921 Q56061
USER
How many french administrative divisions and administrative territories are twin cities of Imola ?
(Q50195,P190,c(Q20667921)) (Q50195,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q50195
relation P190
type Q20667921
action filter_type
action find
entity Q50195
relation P190
type Q56061
['Q50195', 'P190', {'concept': 'Q20667921'}] ['Q50195', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } }
Imola
action count
action union
action filter_type
action find
entity Imola
relation sister city
type type of french administrative division
action filter_type
action find
entity Imola
relation sister city
type administrative territorial entity
['Imola', 'sister city', {'concept': 'type of french administrative division'}] ['Imola', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } }
[]
type of french administrative division administrative territorial entity
SYSTEM
1 french administrative divisions and 3 administrative territories
Q184163 Q7050 Q221968 Q4656
(Q50195,P190,c(Q20667921)) (Q50195,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q50195
relation P190
type Q20667921
action filter_type
action find
entity Q50195
relation P190
type Q56061
[ANSWER]
['Q50195', 'P190', {'concept': 'Q20667921'}] ['Q50195', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } }
Colchester Weinheim Gennevilliers Pula
1 french administrative divisions and 3 administrative territories
action count
action union
action filter_type
action find
entity Imola
relation sister city
type type of french administrative division
action filter_type
action find
entity Imola
relation sister city
type administrative territorial entity
['Imola', 'sister city', {'concept': 'type of french administrative division'}] ['Imola', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23603 Q52962
P47
Q15617994
USER
Which administrative territories share border with Brisighella or Loreglia ?
OR((Q52962,P47,c(Q15617994)), (Q23603,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q52962
relation P47
action find
entity Q23603
relation P47
type Q15617994
{'OR': [['Q52962', 'P47', {'concept': 'Q15617994'}], ['Q23603', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q52962 property:P47 ?l } UNION { resource:Q23603 property:P47 ?l } } . ?l rdf:type ontology:Q15617994 }
Loreglia Brisighella
action filter_type
action union
action find
entity Brisighella
relation shares border with
action find
entity Loreglia
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Brisighella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Loreglia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Brisighella property:shares_border_with ?l } UNION { resource:Loreglia property:shares_border_with ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q23574 Q52981 Q82785 Q99936 Q23686 Q23709 Q52987 Q82759 Q52966 Q23665
SYSTEM
Some of them are Germagno, Faenza, Palazzuolo sul Senio, Castrocaro Terme e Terra del Sole, Quarna Sopra, Valstrona, Riolo Terme, Marradi, Casola Valsenio, Ornavasso
Q99947 Q82759 Q82785 Q52966 Q52987 Q23296 Q52981 Q23709 Q23686 Q23574 Q23665 Q99936
OR((Q52962,P47,c(Q15617994)), (Q23603,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q52962
relation P47
action find
entity Q23603
relation P47
type Q15617994
[ANSWERS] share border with Brisighella or Loreglia
{'OR': [['Q52962', 'P47', {'concept': 'Q15617994'}], ['Q23603', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q52962 property:P47 ?l } UNION { resource:Q23603 property:P47 ?l } } . ?l rdf:type ontology:Q15617994 }
Modigliana Marradi Palazzuolo sul Senio Casola Valsenio Riolo Terme Casale Corte Cerro Faenza Valstrona Quarna Sopra Germagno Ornavasso Castrocaro Terme e Terra del Sole
Germagno, Faenza, Palazzuolo sul Senio, Castrocaro Terme e Terra del Sole, Quarna Sopra, Valstrona, Riolo Terme, Marradi, Casola Valsenio and Ornavasso share border with Brisighella or Loreglia
Germagno Faenza Palazzuolo sul Senio Castrocaro Terme e Terra del Sole Quarna Sopra Valstrona Riolo Terme Marradi Casola Valsenio Ornavasso
action filter_type
action union
action find
entity Brisighella
relation shares border with
action find
entity Loreglia
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Brisighella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Loreglia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Brisighella property:shares_border_with ?l } UNION { resource:Loreglia property:shares_border_with ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q55858 Q50195
P47
Q15617994
USER
Which administrative territories share the border with Imola or Buonalbergo ?
OR((Q50195,P47,c(Q15617994)), (Q55858,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q50195
relation P47
action find
entity Q55858
relation P47
type Q15617994
{'OR': [['Q50195', 'P47', {'concept': 'Q15617994'}], ['Q55858', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q50195 property:P47 ?d } UNION { resource:Q55858 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
Buonalbergo Imola
action filter_type
action union
action find
entity Imola
relation shares border with
action find
entity Buonalbergo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Imola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Buonalbergo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Imola property:shares_border_with ?d } UNION { resource:Buonalbergo property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52978 Q94588 Q55056 Q94754 Q94973 Q94856 Q52970 Q55017 Q94944 Q52991
SYSTEM
Some of them are Conselice, Borgo Tossignano, Montecalvo Irpino, Castel Guelfo di Bologna, Mordano, Dozza, Castel Bolognese, Casalbore, Medicina, Solarolo
Q52991 Q52970 Q55956 Q52959 Q55848 Q95090 Q52978 Q52984 Q55017 Q52987 Q94944 Q94973 Q94588 Q94644 Q94754 Q55935 Q55978 Q55056 Q94856
OR((Q50195,P47,c(Q15617994)), (Q55858,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q50195
relation P47
action find
entity Q55858
relation P47
type Q15617994
[ANSWERS] share the border with Imola or Buonalbergo
{'OR': [['Q50195', 'P47', {'concept': 'Q15617994'}], ['Q55858', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q50195 property:P47 ?d } UNION { resource:Q55858 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
Solarolo Castel Bolognese San Giorgio La Molara Bagnara di Romagna Apice Argenta, Emilia–Romagna Conselice Massa Lombarda Casalbore Riolo Terme Medicina Mordano Borgo Tossignano Casalfiumanese Castel Guelfo di Bologna Paduli Sant'Arcangelo Trimonte Montecalvo Irpino Dozza
Conselice, Borgo Tossignano, Montecalvo Irpino, Castel Guelfo di Bologna, Mordano, Dozza, Castel Bolognese, Casalbore, Medicina and Solarolo share the border with Imola or Buonalbergo
Conselice Borgo Tossignano Montecalvo Irpino Castel Guelfo di Bologna Mordano Dozza Castel Bolognese Casalbore Medicina Solarolo
action filter_type
action union
action find
entity Imola
relation shares border with
action find
entity Buonalbergo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Imola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Buonalbergo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Imola property:shares_border_with ?d } UNION { resource:Buonalbergo property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6350324 Q94754
P17
Q15617994
USER
Which administrative territories are Castel Guelfo di Bologna or Kalamaki, Zakynthos present in ?
OR((Q94754,P17,c(Q15617994)), (Q6350324,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q94754
relation P17
action find
entity Q6350324
relation P17
type Q15617994
{'OR': [['Q94754', 'P17', {'concept': 'Q15617994'}], ['Q6350324', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q94754 property:P17 ?y } UNION { resource:Q6350324 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Kalamaki, Zakynthos Castel Guelfo di Bologna
action filter_type
action union
action find
entity Castel Guelfo di Bologna
relation country
action find
entity Kalamaki, Zakynthos
relation country
type designation for an administrative territorial entity
{'OR': [['Castel Guelfo di Bologna', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kalamaki, Zakynthos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Castel_Guelfo_di_Bologna property:country ?y } UNION { resource:Kalamaki,_Zakynthos property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q41
SYSTEM
Italy, Greece
Q38 Q41
OR((Q94754,P17,c(Q15617994)), (Q6350324,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q94754
relation P17
action find
entity Q6350324
relation P17
type Q15617994
[ANSWERS] are Castel Guelfo di Bologna or Kalamaki, Zakynthos present in
{'OR': [['Q94754', 'P17', {'concept': 'Q15617994'}], ['Q6350324', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q94754 property:P17 ?y } UNION { resource:Q6350324 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Italy Greece
Italy and Greece are Castel Guelfo di Bologna or Kalamaki, Zakynthos present in
Italy Greece
action filter_type
action union
action find
entity Castel Guelfo di Bologna
relation country
action find
entity Kalamaki, Zakynthos
relation country
type designation for an administrative territorial entity
{'OR': [['Castel Guelfo di Bologna', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kalamaki, Zakynthos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Castel_Guelfo_di_Bologna property:country ?y } UNION { resource:Kalamaki,_Zakynthos property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q41
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q38,P463,c(Q43229)) (Q41,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}] ['Q41', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?g property:P463 ?l . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q41 ) } . ?l rdf:type ontology:Q43229 }
Italy Greece
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['Greece', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?g property:member_of ?l . VALUES ( ?g ) { ( resource:Italy ) ( resource:Greece ) } . ?l rdf:type ontology:organization }
[]
organization
Q7809 Q42944 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research, European Southern Observatory
Q340195 Q125761 Q191384 Q1153087 Q309195 Q689859 Q899770 Q189946 Q7809 Q132551 Q1666759 Q699036 Q42944 Q61923 Q177773 Q41550 Q3772571 Q386120 Q656801 Q151991 Q161549 Q7825 Q488981 Q82151 Q7178 Q827525 Q191384 Q899770 Q41550 Q656801 Q380340 Q7825 Q827525
(Q38,P463,c(Q43229)) (Q41,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS] were those administrative territories a member of
['Q38', 'P463', {'concept': 'Q43229'}] ['Q41', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?g property:P463 ?l . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q41 ) } . ?l rdf:type ontology:Q43229 }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements International Fund for Agricultural Development International Centre for Settlement of Investment Disputes Western European Union United Nations Educational, Scientific and Cultural Organization United Nations High Commissioner for Refugees International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization Organisation for Economic Co-operation and Development Caribbean Development Bank United Nations Industrial Development Organization International Finance Corporation European Southern Observatory European Coal and Steel Community World Trade Organization European Bank for Reconstruction and Development Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization International Development Association
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory were those administrative territories a member of
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['Greece', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?g property:member_of ?l . VALUES ( ?g ) { ( resource:Italy ) ( resource:Greece ) } . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7809 Q42944 Q151991
P108
Q502895
USER
Who works for those organizations ?
(c(Q502895),P108,Q7809) (c(Q502895),P108,Q42944) (c(Q502895),P108,Q151991)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7809'] [{'concept': 'Q502895'}, 'P108', 'Q42944'] [{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?c WHERE { ?c property:P108 ?i . ?c rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q340195 ) ( resource:Q125761 ) ( resource:Q191384 ) } }
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization'] [{'concept': 'common name'}, 'employer', 'European Organization for Nuclear Research'] [{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?c WHERE { ?c property:employer ?i . ?c rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:African_Development_Bank ) ( resource:International_Civil_Aviation_Organization ) ( resource:International_Bank_for_Reconstruction_and_Development ) } }
[]
common name
Q80 Q80 Q22667895
SYSTEM
Tim Berners-Lee for 1st, 2nd, David Wasawo for 3rd
Q20986340 Q22667895 Q3085768 Q716552 Q3103148 Q25872869 Q3541430 Q230850 Q26179875 Q23840678 Q2824517 Q26936556 Q153178 Q26936205 Q709562 Q5396133 Q21820002 Q514831 Q370077 Q21708036 Q80 Q80 Q1515185 Q20829709 Q375147
(c(Q502895),P108,Q7809) (c(Q502895),P108,Q42944) (c(Q502895),P108,Q151991)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q7809'] [{'concept': 'Q502895'}, 'P108', 'Q42944'] [{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?c WHERE { ?c property:P108 ?i . ?c rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q340195 ) ( resource:Q125761 ) ( resource:Q191384 ) } }
Lê Thành Khôi David Wasawo François Russo Norman McLaren Georges Malempré János Bogárdi Trần Văn Khê Irina Bokova Genevieve Fiore Harry Cliff Adlène Hicheur Werner Kienzle Georges Charpak Siegmund Brandt Rolf Widerøe Erwin Gabathuler Juan Antonio Rubio Rodríguez Lyn Evans John Stewart Bell Richard Pankhurst Tim Berners-Lee Tim Berners-Lee Werner Nahm Olivier Hainaut Richard Martin West
Tim Berners-Lee, Tim Berners-Lee and David Wasawo work for those organizations
Tim Berners-Lee Tim Berners-Lee David Wasawo
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization'] [{'concept': 'common name'}, 'employer', 'European Organization for Nuclear Research'] [{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?c WHERE { ?c property:employer ?i . ?c rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:African_Development_Bank ) ( resource:International_Civil_Aviation_Organization ) ( resource:International_Bank_for_Reconstruction_and_Development ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52978
P190
Q13220204
USER
Which administrative country subdivision is twin city of Conselice ?
(Q52978,P190,c(Q13220204))
action filter_type
action find
entity Q52978
relation P190
type Q13220204
['Q52978', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q52978 property:P190 ?w . ?w rdf:type ontology:Q13220204 }
Conselice
action filter_type
action find
entity Conselice
relation sister city
type second-level administrative country subdivision
['Conselice', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Conselice property:sister_city ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q995055
SYSTEM
Velika Plana
Q995055
(Q52978,P190,c(Q13220204))
action filter_type
action find
entity Q52978
relation P190
type Q13220204
[ANSWER] is twin city of Conselice
['Q52978', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q52978 property:P190 ?w . ?w rdf:type ontology:Q13220204 }
Velika Plana
Velika Plana is twin city of Conselice
Velika Plana
action filter_type
action find
entity Conselice
relation sister city
type second-level administrative country subdivision
['Conselice', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Conselice property:sister_city ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52978
P19
Q502895
USER
Who have location of birth at Conselice ?
(c(Q502895),P19,Q52978)
action filter_type
action find_reverse
entity Q52978
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q52978']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P19 resource:Q52978 }
Conselice
action filter_type
action find_reverse
entity Conselice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Conselice']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:place_of_birth resource:Conselice }
[]
common name
Q3767169 Q3903053 Q17453057
SYSTEM
Giovanni Emiliani, Pierino Fuzzi, Anselmo Martoni
Q16268769 Q3767169 Q23857372 Q3767918 Q3734346 Q18223322 Q17453057 Q3798438 Q3894016 Q3903053
(c(Q502895),P19,Q52978)
action filter_type
action find_reverse
entity Q52978
relation P19
type Q502895
[ANSWERS] have location of birth at Conselice
[{'concept': 'Q502895'}, 'P19', 'Q52978']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P19 resource:Q52978 }
Edgardo Siroli Giovanni Emiliani Maurizio Totti Giovanni Perissinotto Eugenio Facchini Luigi Fabbri Anselmo Martoni Ines Bedeschi Paolo Fabbri Pierino Fuzzi
Giovanni Emiliani, Pierino Fuzzi and Anselmo Martoni have location of birth at Conselice
Giovanni Emiliani Pierino Fuzzi Anselmo Martoni
action filter_type
action find_reverse
entity Conselice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Conselice']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:place_of_birth resource:Conselice }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3767169 Q3903053 Q17453057
P27
Q15617994
USER
Which administrative territories are the native countriesof those people ?
(Q3767169,P27,c(Q15617994)) (Q3903053,P27,c(Q15617994)) (Q17453057,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q3767169', 'P27', {'concept': 'Q15617994'}] ['Q3903053', 'P27', {'concept': 'Q15617994'}] ['Q17453057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . ?q property:P27 ?n . VALUES ( ?q ) { ( resource:Q16268769 ) ( resource:Q3767169 ) ( resource:Q23857372 ) } }
Giovanni Emiliani Pierino Fuzzi Anselmo Martoni
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Giovanni Emiliani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Pierino Fuzzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Anselmo Martoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country_of_citizenship ?n . VALUES ( ?q ) { ( resource:Edgardo_Siroli ) ( resource:Giovanni_Emiliani ) ( resource:Maurizio_Totti ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38
(Q3767169,P27,c(Q15617994)) (Q3903053,P27,c(Q15617994)) (Q17453057,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the native countriesof those people
['Q3767169', 'P27', {'concept': 'Q15617994'}] ['Q3903053', 'P27', {'concept': 'Q15617994'}] ['Q17453057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . ?q property:P27 ?n . VALUES ( ?q ) { ( resource:Q16268769 ) ( resource:Q3767169 ) ( resource:Q23857372 ) } }
Italy Italy Italy
Italy, Italy and Italy are the native countriesof those people
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Giovanni Emiliani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Pierino Fuzzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Anselmo Martoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country_of_citizenship ?n . VALUES ( ?q ) { ( resource:Edgardo_Siroli ) ( resource:Giovanni_Emiliani ) ( resource:Maurizio_Totti ) } }
[]