Simple Question (Direct)
Simple Question
Q3737781
P102
Q7210356
USER
Which political organization is Fabio Melilli a member of ?
(Q3737781,P102,c(Q7210356))
action filter_type
action find
entity Q3737781
relation P102
type Q7210356
['Q3737781', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3737781 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Fabio Melilli
action filter_type
action find
entity Fabio Melilli
relation member of political party
type political organization
['Fabio Melilli', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Fabio_Melilli property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q47729
SYSTEM
Democratic Party
Q47729
(Q3737781,P102,c(Q7210356))
action filter_type
action find
entity Q3737781
relation P102
type Q7210356
Party [ANSWER] is Fabio Melilli a member of
['Q3737781', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3737781 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is Fabio Melilli a member of
Democratic Party
action filter_type
action find
entity Fabio Melilli
relation member of political party
type political organization
['Fabio Melilli', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Fabio_Melilli property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3737781
P6
Q15089
USER
Which province of Italy has that person as its head of government ?
(c(Q15089),P6,Q47729)
action filter_type
action find_reverse
entity Q3737781
relation P6
type Q15089
[{'concept': 'Q15089'}, 'P6', 'Q47729']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15089 . ?a property:P6 resource:Q3737781 }
Fabio Melilli
action filter_type
action find_reverse
entity Fabio Melilli
relation head of government
type province of Italy
[{'concept': 'province of Italy'}, 'head of government', 'Democratic Party']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:province_of_Italy . ?a property:head_of_government resource:Fabio_Melilli }
[]
province of Italy
Q16267
SYSTEM
Province of Rieti
Q16267
(c(Q15089),P6,Q47729)
action filter_type
action find_reverse
entity Q3737781
relation P6
type Q15089
The [ANSWER] has that person as its head of government
[{'concept': 'Q15089'}, 'P6', 'Q47729']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15089 . ?a property:P6 resource:Q3737781 }
Province of Rieti
The Province of Rieti has that person as its head of government
Province of Rieti
action filter_type
action find_reverse
entity Fabio Melilli
relation head of government
type province of Italy
[{'concept': 'province of Italy'}, 'head of government', 'Democratic Party']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:province_of_Italy . ?a property:head_of_government resource:Fabio_Melilli }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47729
P361
Q7210356
USER
Which political organization is a component of Democratic Party ?
(c(Q7210356),P361,Q47729)
action filter_type
action find_reverse
entity Q47729
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q47729']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q47729 . ?r rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Democratic_Party . ?r rdf:type ontology:political_organization }
[]
political organization
Q4905015
SYSTEM
Renziani
Q4905015
(c(Q7210356),P361,Q47729)
action filter_type
action find_reverse
entity Q47729
relation P361
type Q7210356
[ANSWER] is a component of Democratic Party
[{'concept': 'Q7210356'}, 'P361', 'Q47729']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q47729 . ?r rdf:type ontology:Q7210356 }
Renziani
Renziani is a component of Democratic Party
Renziani
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Democratic_Party . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47729
P112
Q502895
USER
Which person was the founder of Democratic Party ?
(Q47729,P112,c(Q502895))
action filter_type
action find
entity Q47729
relation P112
type Q502895
['Q47729', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q47729 property:P112 ?s }
Democratic Party
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Democratic_Party property:founder ?s }
[]
common name
Q319547
SYSTEM
Walter Veltroni
Q319547
(Q47729,P112,c(Q502895))
action filter_type
action find
entity Q47729
relation P112
type Q502895
[ANSWER] was the founder of Democratic Party
['Q47729', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q47729 property:P112 ?s }
Walter Veltroni
Walter Veltroni was the founder of Democratic Party
Walter Veltroni
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Democratic_Party property:founder ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16267
P190
Q15617994
USER
Which administrative territory is twin town of Province of Rieti ?
(c(Q15617994),P190,Q16267)
action filter_type
action find
entity Q16267
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q16267']
SELECT DISTINCT ?h WHERE { resource:Q16267 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Province of Rieti
action filter_type
action find
entity Province of Rieti
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Province of Rieti']
SELECT DISTINCT ?h WHERE { resource:Province_of_Rieti property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q59296
SYSTEM
Santa Vittoria in Matenano
Q59296
(c(Q15617994),P190,Q16267)
action filter_type
action find
entity Q16267
relation P190
type Q15617994
[ANSWER] is twin town of Province of Rieti
[{'concept': 'Q15617994'}, 'P190', 'Q16267']
SELECT DISTINCT ?h WHERE { resource:Q16267 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Santa Vittoria in Matenano
Santa Vittoria in Matenano is twin town of Province of Rieti
Santa Vittoria in Matenano
action filter_type
action find
entity Province of Rieti
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Province of Rieti']
SELECT DISTINCT ?h WHERE { resource:Province_of_Rieti property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q59296
P47
Q15617994
USER
Which administrative territories are next to the border of that one ?
(c(Q15617994),P47,Q59296)
action filter_type
action find
entity Q59296
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q59296']
SELECT DISTINCT ?t WHERE { resource:Q59296 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Santa Vittoria in Matenano
action filter_type
action find
entity Santa Vittoria in Matenano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Santa Vittoria in Matenano']
SELECT DISTINCT ?t WHERE { resource:Santa_Vittoria_in_Matenano property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q59269 Q59300 Q59265
SYSTEM
Montelparo, Servigliano, Montefalcone Appennino
Q83089 Q59300 Q59269 Q59267 Q59265 Q56070
(c(Q15617994),P47,Q59296)
action filter_type
action find
entity Q59296
relation P47
type Q15617994
[ANSWERS] are next to the border of that one
[{'concept': 'Q15617994'}, 'P47', 'Q59296']
SELECT DISTINCT ?t WHERE { resource:Q59296 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Monte San Martino Servigliano Montelparo Monteleone di Fermo Montefalcone Appennino Force, Marche
Montelparo, Servigliano and Montefalcone Appennino are next to the border of that one
Montelparo Servigliano Montefalcone Appennino
action filter_type
action find
entity Santa Vittoria in Matenano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Santa Vittoria in Matenano']
SELECT DISTINCT ?t WHERE { resource:Santa_Vittoria_in_Matenano property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q59265
P47 P17
Q15617994
USER
Which administrative territories share border with Montefalcone Appennino and are present in Italy ?
AND((c(Q15617994),P47,Q59265), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q59265
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q59265'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?y property:P47 resource:Q59265 . ?y property:P17 resource:Q38 }
Italy Montefalcone Appennino
action filter_type
action intersection
action find_reverse
entity Montefalcone Appennino
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Montefalcone Appennino'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:shares_border_with resource:Montefalcone_Appennino . ?y property:country resource:Italy }
[]
designation for an administrative territorial entity
Q83089 Q59302 Q59296 Q59110 Q56050 Q56070
SYSTEM
Monte San Martino, Smerillo, Santa Vittoria in Matenano, Amandola, Comunanza, Force, Marche
Q83089 Q59302 Q59296 Q59110 Q56050 Q56070
AND((c(Q15617994),P47,Q59265), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q59265
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
[ANSWERS]
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q59265'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?y property:P47 resource:Q59265 . ?y property:P17 resource:Q38 }
Monte San Martino Smerillo Santa Vittoria in Matenano Amandola Comunanza Force, Marche
Monte San Martino, Smerillo, Santa Vittoria in Matenano, Amandola, Comunanza and Force, Marche share border with Montefalcone Appennino and are present in Italy
Monte San Martino Smerillo Santa Vittoria in Matenano Amandola Comunanza Force, Marche
action filter_type
action intersection
action find_reverse
entity Montefalcone Appennino
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Montefalcone Appennino'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:shares_border_with resource:Montefalcone_Appennino . ?y property:country resource:Italy }
[]