Simple Question (Direct)
Simple Question
Q3737687
P937
Q56061
USER
What is the work location of Fabio Dosi ?
(Q3737687,P937,c(Q56061))
action filter_type
action find
entity Q3737687
relation P937
type Q56061
['Q3737687', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3737687 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Fabio Dosi
action filter_type
action find
entity Fabio Dosi
relation work location
type administrative territorial entity
['Fabio Dosi', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fabio_Dosi property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3737687,P937,c(Q56061))
action filter_type
action find
entity Q3737687
relation P937
type Q56061
The work location of Fabio Dosi is in [ANSWER]
['Q3737687', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3737687 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Rome
The work location of Fabio Dosi is in Rome
Rome
action filter_type
action find
entity Fabio Dosi
relation work location
type administrative territorial entity
['Fabio Dosi', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fabio_Dosi property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3737687
P19
Q15617994
USER
Where was Fabio Dosi born ?
(Q3737687,P19,c(Q15617994))
action filter_type
action find
entity Q3737687
relation P19
type Q15617994
['Q3737687', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3737687 property:P19 ?u }
Fabio Dosi
action filter_type
action find
entity Fabio Dosi
relation place of birth
type designation for an administrative territorial entity
['Fabio Dosi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fabio_Dosi property:place_of_birth ?u }
[]
designation for an administrative territorial entity
Q111222
SYSTEM
Poviglio
Q111222
(Q3737687,P19,c(Q15617994))
action filter_type
action find
entity Q3737687
relation P19
type Q15617994
Fabio Dosi was born in [ANSWER]
['Q3737687', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3737687 property:P19 ?u }
Poviglio
Fabio Dosi was born in Poviglio
Poviglio
action filter_type
action find
entity Fabio Dosi
relation place of birth
type designation for an administrative territorial entity
['Fabio Dosi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fabio_Dosi property:place_of_birth ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3737687
P21
Q290
USER
What is the sex of that person ?
(Q111222,P21,c(Q290))
action filter_type
action find
entity Q3737687
relation P21
type Q290
['Q111222', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3737687 property:P21 ?a . ?a rdf:type ontology:Q290 }
Fabio Dosi
action filter_type
action find
entity Fabio Dosi
relation gender
type sex
['Poviglio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Fabio_Dosi property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q111222,P21,c(Q290))
action filter_type
action find
entity Q3737687
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q111222', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3737687 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Fabio Dosi
relation gender
type sex
['Poviglio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Fabio_Dosi property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q17229424 Q3737687
P21
Q290
USER
Or Takuya Nakazato?
OR((Q3737687,P21,c(Q290)), (Q17229424,P21,c(Q290)))
action filter_type
action union
action find
entity Q3737687
relation P21
action find
entity Q17229424
relation P21
type Q290
{'OR': [['Q3737687', 'P21', {'concept': 'Q290'}], ['Q17229424', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?c ) { ( resource:Q3737687 ) ( resource:Q17229424 ) } . ?c property:P21 ?e } . ?e rdf:type ontology:Q290 }
Takuya Nakazato Fabio Dosi
action filter_type
action union
action find
entity Fabio Dosi
relation gender
action find
entity Takuya Nakazato
relation gender
type sex
{'OR': [['Fabio Dosi', 'gender', {'concept': 'sex'}], ['Takuya Nakazato', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?c ) { ( resource:Fabio_Dosi ) ( resource:Takuya_Nakazato ) } . ?c property:gender ?e } . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q3737687,P21,c(Q290)), (Q17229424,P21,c(Q290)))
action filter_type
action union
action find
entity Q3737687
relation P21
action find
entity Q17229424
relation P21
type Q290
[ANSWER]
{'OR': [['Q3737687', 'P21', {'concept': 'Q290'}], ['Q17229424', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?c ) { ( resource:Q3737687 ) ( resource:Q17229424 ) } . ?c property:P21 ?e } . ?e rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Fabio Dosi
relation gender
action find
entity Takuya Nakazato
relation gender
type sex
{'OR': [['Fabio Dosi', 'gender', {'concept': 'sex'}], ['Takuya Nakazato', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?c ) { ( resource:Fabio_Dosi ) ( resource:Takuya_Nakazato ) } . ?c property:gender ?e } . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111222
P17
Q15617994
USER
Which administrative territory is Poviglio located in ?
(Q111222,P17,c(Q15617994))
action filter_type
action find
entity Q111222
relation P17
type Q15617994
['Q111222', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q111222 property:P17 ?c }
Poviglio
action filter_type
action find
entity Poviglio
relation country
type designation for an administrative territorial entity
['Poviglio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poviglio property:country ?c }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q111222,P17,c(Q15617994))
action filter_type
action find
entity Q111222
relation P17
type Q15617994
Poviglio is located in [ANSWER]
['Q111222', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q111222 property:P17 ?c }
Italy
Poviglio is located in Italy
Italy
action filter_type
action find
entity Poviglio
relation country
type designation for an administrative territorial entity
['Poviglio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poviglio property:country ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P609
Q83620
USER
Which thoroughfare is Rome a destination for ?
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q83620 . ?q property:P609 resource:Q220 }
Rome
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:thoroughfare . ?q property:terminus_location resource:Rome }
[]
thoroughfare
Q313416
SYSTEM
European route E35
Q313416
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
Which thoroughfare is Rome a destination for
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q83620 . ?q property:P609 resource:Q220 }
European route E35
Which thoroughfare is Rome a destination for
European route E35
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:thoroughfare . ?q property:terminus_location resource:Rome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313416
P1382
Q34442
USER
Which roads are concurrent with that thoroughfare ?
(c(Q34442),P1382,Q313416)
action filter_type
action find_reverse
entity Q313416
relation P1382
type Q34442
[{'concept': 'Q34442'}, 'P1382', 'Q313416']
SELECT DISTINCT ?s WHERE { ?s property:P1382 resource:Q313416 . ?s rdf:type ontology:Q34442 }
European route E35
action filter_type
action find_reverse
entity European route E35
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'European route E35']
SELECT DISTINCT ?s WHERE { ?s property:coincident_with resource:European_route_E35 . ?s rdf:type ontology:road }
[]
road
Q1422024 Q1852074 Q2093936
SYSTEM
A2 motorway, A10 motorway, A12 motorway
Q1422024 Q1852074 Q2093936
(c(Q34442),P1382,Q313416)
action filter_type
action find_reverse
entity Q313416
relation P1382
type Q34442
[ANSWERS] are concurrent with that thoroughfare
[{'concept': 'Q34442'}, 'P1382', 'Q313416']
SELECT DISTINCT ?s WHERE { ?s property:P1382 resource:Q313416 . ?s rdf:type ontology:Q34442 }
A2 motorway A10 motorway A12 motorway
A2 motorway, A10 motorway and A12 motorway are concurrent with that thoroughfare
A2 motorway A10 motorway A12 motorway
action filter_type
action find_reverse
entity European route E35
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'European route E35']
SELECT DISTINCT ?s WHERE { ?s property:coincident_with resource:European_route_E35 . ?s rdf:type ontology:road }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17629 Q220
P47
Q15617994
USER
Which administrative territories share border with Rome or Ovada ?
OR((Q220,P47,c(Q15617994)), (Q17629,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P47
action find
entity Q17629
relation P47
type Q15617994
{'OR': [['Q220', 'P47', {'concept': 'Q15617994'}], ['Q17629', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q220 property:P47 ?i } UNION { resource:Q17629 property:P47 ?i } } . ?i rdf:type ontology:Q15617994 }
Ovada Rome
action filter_type
action union
action find
entity Rome
relation shares border with
action find
entity Ovada
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ovada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Rome property:shares_border_with ?i } UNION { resource:Ovada property:shares_border_with ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17384 Q242661 Q242926 Q17681 Q242942 Q17350 Q242558 Q242120 Q243188 Q242513
SYSTEM
Some of them are Molare, Gallicano nel Lazio, Marino, Lazio, Tagliolo Monferrato, Mentana, Cremolino, Colonna, Lazio, Castel San Pietro Romano, Riano, Lazio, Ciampino
Q241693 Q242710 Q17268 Q242637 Q242558 Q243172 Q242513 Q191115 Q243188 Q243168 Q242926 Q243364 Q140255 Q242965 Q242645 Q242105 Q19326 Q242661 Q17654 Q242120 Q242942 Q241733 Q242703 Q17350 Q243133 Q241911 Q265325 Q243311 Q17308 Q242998 Q243497 Q159605 Q190963 Q17681 Q17384 Q17688 Q17671
OR((Q220,P47,c(Q15617994)), (Q17629,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P47
action find
entity Q17629
relation P47
type Q15617994
[ANSWERS] share border with Rome or Ovada
{'OR': [['Q220', 'P47', {'concept': 'Q15617994'}], ['Q17629', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q220 property:P47 ?i } UNION { resource:Q17629 property:P47 ?i } } . ?i rdf:type ontology:Q15617994 }
Anguillara Sabazia Guidonia Montecelio Belforte Monferrato Fonte Nuova Colonna, Lazio Pomezia Ciampino Albano Laziale Riano, Lazio Poli, Lazio Marino, Lazio San Gregorio da Sassola Zagarolo Monte Porzio Catone Formello Castel Gandolfo Fiumicino Gallicano nel Lazio Rocca Grimalda Castel San Pietro Romano Mentana Ardea Grottaferrata Cremolino Palestrina Campagnano di Roma Rossiglione Sacrofano Carpeneto Monterotondo Trevignano Romano Tivoli Frascati Tagliolo Monferrato Molare Trisobbio Silvano d'Orba
Molare, Gallicano nel Lazio, Marino, Lazio, Tagliolo Monferrato, Mentana, Cremolino, Colonna, Lazio, Castel San Pietro Romano, Riano, Lazio and Ciampino share border with Rome or Ovada
Molare Gallicano nel Lazio Marino, Lazio Tagliolo Monferrato Mentana Cremolino Colonna, Lazio Castel San Pietro Romano Riano, Lazio Ciampino
action filter_type
action union
action find
entity Rome
relation shares border with
action find
entity Ovada
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ovada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Rome property:shares_border_with ?i } UNION { resource:Ovada property:shares_border_with ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]