Simple Question (Direct)
Simple Question
Q6943759
P19
Q56061
USER
Which administrative territory is the place of birth of Mutaz Kailouni ?
(Q6943759,P19,c(Q56061))
action filter_type
action find
entity Q6943759
relation P19
type Q56061
['Q6943759', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q6943759 property:P19 ?r }
Mutaz Kailouni
action filter_type
action find
entity Mutaz Kailouni
relation place of birth
type administrative territorial entity
['Mutaz Kailouni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Mutaz_Kailouni property:place_of_birth ?r }
[]
administrative territorial entity
Q200030
SYSTEM
Latakia
Q200030
(Q6943759,P19,c(Q56061))
action filter_type
action find
entity Q6943759
relation P19
type Q56061
[ANSWER] is the place of birth of Mutaz Kailouni
['Q6943759', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q6943759 property:P19 ?r }
Latakia
Latakia is the place of birth of Mutaz Kailouni
Latakia
action filter_type
action find
entity Mutaz Kailouni
relation place of birth
type administrative territorial entity
['Mutaz Kailouni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Mutaz_Kailouni property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200030
P190
Q56061
USER
Which administrative territories are twin towns of that one ?
(Q200030,P190,c(Q56061))
action filter_type
action find
entity Q200030
relation P190
type Q56061
['Q200030', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q200030 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Latakia
action filter_type
action find
entity Latakia
relation sister city
type administrative territorial entity
['Latakia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Latakia property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449 Q13369 Q180717
SYSTEM
Genoa, Rimini, Sousse
Q13369 Q180717 Q193190 Q131694 Q134291 Q1449
(Q200030,P190,c(Q56061))
action filter_type
action find
entity Q200030
relation P190
type Q56061
[ANSWERS] are twin towns of that one
['Q200030', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q200030 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Rimini Sousse Famagusta Aden Mersin Genoa
Genoa, Rimini and Sousse are twin towns of that one
Genoa Rimini Sousse
action filter_type
action find
entity Latakia
relation sister city
type administrative territorial entity
['Latakia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Latakia property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q180717,P190,c(Q56061))
['Q180717', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q180717 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Sousse', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sousse property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q13369
SYSTEM
Did you mean Rimini ?
(Q1449,P190,c(Q56061)) (Q13369,P190,c(Q56061)) (Q180717,P190,c(Q56061))
[ANSWER]
['Q1449', 'P190', {'concept': 'Q56061'}] ['Q13369', 'P190', {'concept': 'Q56061'}] ['Q180717', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q180717 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Rimini ?
Rimini
['Genoa', 'sister city', {'concept': 'administrative territorial entity'}] ['Rimini', 'sister city', {'concept': 'administrative territorial entity'}] ['Sousse', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sousse property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sousse. Could you tell me the answer for that?
(Q180717,P190,c(Q56061))
Q180717
['Q180717', 'P190', {'concept': 'Q56061'}]
['Sousse', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
4
Q437 Q200030 Q187346 Q101625
(Q180717,P190,c(Q56061))
[ANSWER]
['Q180717', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q180717 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Ljubljana Latakia Constantine Marrakesh
4
['Sousse', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sousse property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q180717
P19 P106
Q502895
USER
Which people have location of birth at Sousse and have a job as politician ?
AND((c(Q502895),P19,Q180717), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q180717
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q180717'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q82955 . ?g property:P19 resource:Q180717 . ?g rdf:type ontology:Q502895 }
politician Sousse
action filter_type
action intersection
action find_reverse
entity Sousse
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sousse'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:politician . ?g property:place_of_birth resource:Sousse . ?g rdf:type ontology:common_name }
[]
common name
Q16321385 Q1381809 Q57699 Q2902105 Q2821297 Q3513884 Q3125288 Q2820997 Q3125311 Q14182276
SYSTEM
Some of them are Mounir Jaidane, Hamed Karoui, Hamadi Jebali, Mathilda Guez, Abdessalem Mansour, Tahar Hmila, Habib Ammar, Abdelaziz Mougou, Habib Essid, Touhami Abdouli
Q237960 Q12937 Q3125288 Q16675451 Q3513884 Q3431743 Q16666837 Q2821037 Q14182276 Q2827627 Q2820997 Q1381809 Q3319148 Q57699 Q2821297 Q3125311 Q2902105 Q431515 Q16321385
AND((c(Q502895),P19,Q180717), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q180717
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] have location of birth at Sousse and have a job as politician
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q180717'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q82955 . ?g property:P19 resource:Q180717 . ?g rdf:type ontology:Q502895 }
Clodius Albinus Georges Fenech Habib Ammar Sami Zaoui Tahar Hmila Ridha Grira Nouri Zorgati Abdelhakim Bouraoui Touhami Abdouli Ahmed Noureddine Abdelaziz Mougou Hamed Karoui Mohsen Laroui Hamadi Jebali Abdessalem Mansour Habib Essid Mathilda Guez Mohamed Ghannouchi Mounir Jaidane
Mounir Jaidane, Hamed Karoui, Hamadi Jebali, Mathilda Guez, Abdessalem Mansour, Tahar Hmila, Habib Ammar, Abdelaziz Mougou, Habib Essid and Touhami Abdouli have location of birth at Sousse and have a job as politician
Mounir Jaidane Hamed Karoui Hamadi Jebali Mathilda Guez Abdessalem Mansour Tahar Hmila Habib Ammar Abdelaziz Mougou Habib Essid Touhami Abdouli
action filter_type
action intersection
action find_reverse
entity Sousse
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sousse'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:politician . ?g property:place_of_birth resource:Sousse . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449
P17
Q7275
USER
Which states are Genoa situated in ?
(Q1449,P17,c(Q7275))
action filter_type
action find
entity Q1449
relation P17
type Q7275
['Q1449', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q1449 property:P17 ?m . ?m rdf:type ontology:Q7275 }
Genoa
action filter_type
action find
entity Genoa
relation country
type state
['Genoa', 'country', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Genoa property:country ?m . ?m rdf:type ontology:state }
[]
state
Q659312 Q165154 Q174306
SYSTEM
Ligurian Republic, Kingdom of Sardinia, Republic of Genoa
Q659312 Q165154 Q174306
(Q1449,P17,c(Q7275))
action filter_type
action find
entity Q1449
relation P17
type Q7275
Genoa are situated in [ANSWERS]
['Q1449', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q1449 property:P17 ?m . ?m rdf:type ontology:Q7275 }
Ligurian Republic Kingdom of Sardinia Republic of Genoa
Genoa are situated in Ligurian Republic, Kingdom of Sardinia and Republic of Genoa
Ligurian Republic Kingdom of Sardinia Republic of Genoa
action filter_type
action find
entity Genoa
relation country
type state
['Genoa', 'country', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Genoa property:country ?m . ?m rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449
P931
Q62447
USER
Which city does Genoa serve ?
(c(Q62447),P931,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1449']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q1449 }
Genoa
action filter_type
action find_reverse
entity Genoa
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Genoa']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:Genoa }
[]
aerodrome
Q1431383
SYSTEM
Genoa Cristoforo Colombo Airport
Q1431383
(c(Q62447),P931,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P931
type Q62447
Genoa serves [ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q1449']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q1449 }
Genoa Cristoforo Colombo Airport
Genoa serves Genoa Cristoforo Colombo Airport
Genoa Cristoforo Colombo Airport
action filter_type
action find_reverse
entity Genoa
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Genoa']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:Genoa }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449
P1376
Q1048835
USER
Which political territory has Genoa has its center of administration ?
(Q1449,P1376,c(Q1048835))
action filter_type
action find
entity Q1449
relation P1376
type Q1048835
['Q1449', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1449 property:P1376 ?w . ?w rdf:type ontology:Q1048835 }
Genoa
action filter_type
action find
entity Genoa
relation capital of
type political territorial entity
['Genoa', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Genoa property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q18288152
SYSTEM
Metropolitan City of Genoa
Q18288152
(Q1449,P1376,c(Q1048835))
action filter_type
action find
entity Q1449
relation P1376
type Q1048835
The [ANSWER] has Genoa has its center of administration
['Q1449', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1449 property:P1376 ?w . ?w rdf:type ontology:Q1048835 }
Metropolitan City of Genoa
The Metropolitan City of Genoa has Genoa has its center of administration
Metropolitan City of Genoa
action filter_type
action find
entity Genoa
relation capital of
type political territorial entity
['Genoa', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Genoa property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449
P840
Q838948
USER
Which works of art have their setting located at Genoa ?
(c(Q838948),P840,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1449']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P840 resource:Q1449 }
Genoa
action filter_type
action find_reverse
entity Genoa
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Genoa']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:narrative_location resource:Genoa }
[]
work of art
Q913326 Q651081
SYSTEM
Days and Clouds, Diaz – Don't Clean Up This Blood
Q913326 Q651081
(c(Q838948),P840,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P840
type Q838948
[ANSWERS] have their setting located at Genoa
[{'concept': 'Q838948'}, 'P840', 'Q1449']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P840 resource:Q1449 }
Days and Clouds Diaz – Don't Clean Up This Blood
Days and Clouds and Diaz – Don't Clean Up This Blood have their setting located at Genoa
Days and Clouds Diaz – Don't Clean Up This Blood
action filter_type
action find_reverse
entity Genoa
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Genoa']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:narrative_location resource:Genoa }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q913326 Q651081
P840
Q56061
USER
Which narrative locations are those works of art set in ?
(Q913326,P840,c(Q56061)) (Q651081,P840,c(Q56061))
action filter_type
action find
entity prev_answer
relation P840
type Q56061
['Q913326', 'P840', {'concept': 'Q56061'}] ['Q651081', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?i property:P840 ?s . VALUES ( ?i ) { ( resource:Q913326 ) ( resource:Q651081 ) } . ?s rdf:type ontology:Q56061 }
Days and Clouds Diaz – Don't Clean Up This Blood
action filter_type
action find
entity prev_answer
relation narrative location
type administrative territorial entity
['Days and Clouds', 'narrative location', {'concept': 'administrative territorial entity'}] ["Diaz – Don't Clean Up This Blood", 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?i property:narrative_location ?s . VALUES ( ?i ) { ( resource:Days_and_Clouds ) ( resource:Diaz_–_Don't_Clean_Up_This_Blood ) } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449 Q1449 Q1891
SYSTEM
Genoa for 1st, 2nd, Bologna for 3rd
Q1449 Q1449 Q1891
(Q913326,P840,c(Q56061)) (Q651081,P840,c(Q56061))
action filter_type
action find
entity prev_answer
relation P840
type Q56061
[ANSWERS]
['Q913326', 'P840', {'concept': 'Q56061'}] ['Q651081', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?i property:P840 ?s . VALUES ( ?i ) { ( resource:Q913326 ) ( resource:Q651081 ) } . ?s rdf:type ontology:Q56061 }
Genoa Genoa Bologna
Those works of art are set in Genoa, Genoa and Bologna
Genoa Genoa Bologna
action filter_type
action find
entity prev_answer
relation narrative location
type administrative territorial entity
['Days and Clouds', 'narrative location', {'concept': 'administrative territorial entity'}] ["Diaz – Don't Clean Up This Blood", 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?i property:narrative_location ?s . VALUES ( ?i ) { ( resource:Days_and_Clouds ) ( resource:Diaz_–_Don't_Clean_Up_This_Blood ) } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1891
P27
Q502895
USER
Who is a citizen of Bologna ?
(c(Q502895),P27,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q1891']
SELECT DISTINCT ?h WHERE { ?h property:P27 resource:Q1891 . ?h rdf:type ontology:Q502895 }
Bologna
action filter_type
action find_reverse
entity Bologna
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Bologna']
SELECT DISTINCT ?h WHERE { ?h property:country_of_citizenship resource:Bologna . ?h rdf:type ontology:common_name }
[]
common name
Q740807
SYSTEM
Bartolommeo Ramenghi
Q740807
(c(Q502895),P27,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P27
type Q502895
A citizen of Bologna is the [ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q1891']
SELECT DISTINCT ?h WHERE { ?h property:P27 resource:Q1891 . ?h rdf:type ontology:Q502895 }
Bartolommeo Ramenghi
A citizen of Bologna is the Bartolommeo Ramenghi
Bartolommeo Ramenghi
action filter_type
action find_reverse
entity Bologna
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Bologna']
SELECT DISTINCT ?h WHERE { ?h property:country_of_citizenship resource:Bologna . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1891
P6
Q502895
USER
Which person has Bologna as its head of government ?
(Q1891,P6,c(Q502895))
action filter_type
action find
entity Q1891
relation P6
type Q502895
['Q1891', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1891 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Bologna
action filter_type
action find
entity Bologna
relation head of government
type common name
['Bologna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Bologna property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q4014539
SYSTEM
Virginio Merola
Q4014539
(Q1891,P6,c(Q502895))
action filter_type
action find
entity Q1891
relation P6
type Q502895
[ANSWER] has Bologna as its head of government
['Q1891', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1891 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Virginio Merola
Virginio Merola has Bologna as its head of government
Virginio Merola
action filter_type
action find
entity Bologna
relation head of government
type common name
['Bologna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Bologna property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]