Simple Question (Direct)
Simple Question
Q3723084
P106
Q12737077
USER
What are the job of Elio Sparano ?
(Q3723084,P106,c(Q12737077))
action filter_type
action find
entity Q3723084
relation P106
type Q12737077
['Q3723084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3723084 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Elio Sparano
action filter_type
action find
entity Elio Sparano
relation occupation
type occupation
['Elio Sparano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Elio_Sparano property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1930187 Q947873
SYSTEM
journalist, television presenter
Q1930187 Q947873
(Q3723084,P106,c(Q12737077))
action filter_type
action find
entity Q3723084
relation P106
type Q12737077
The job of Elio Sparano are a [ANSWERS]
['Q3723084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3723084 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
journalist television presenter
The job of Elio Sparano are a journalist and television presenter
journalist television presenter
action filter_type
action find
entity Elio Sparano
relation occupation
type occupation
['Elio Sparano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Elio_Sparano property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3723084
P20
Q56061
USER
Which administrative territory is the place of death of Elio Sparano ?
(Q3723084,P20,c(Q56061))
action filter_type
action find
entity Q3723084
relation P20
type Q56061
['Q3723084', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3723084 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Elio Sparano
action filter_type
action find
entity Elio Sparano
relation place of death
type administrative territorial entity
['Elio Sparano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Elio_Sparano property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3723084,P20,c(Q56061))
action filter_type
action find
entity Q3723084
relation P20
type Q56061
[ANSWER] is the place of death of Elio Sparano
['Q3723084', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3723084 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Milan
Milan is the place of death of Elio Sparano
Milan
action filter_type
action find
entity Elio Sparano
relation place of death
type administrative territorial entity
['Elio Sparano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Elio_Sparano property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3723084
P19
Q56061
USER
Where was Elio Sparano born ?
(Q3723084,P19,c(Q56061))
action filter_type
action find
entity Q3723084
relation P19
type Q56061
['Q3723084', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3723084 property:P19 ?p }
Elio Sparano
action filter_type
action find
entity Elio Sparano
relation place of birth
type administrative territorial entity
['Elio Sparano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Elio_Sparano property:place_of_birth ?p }
[]
administrative territorial entity
Q1903
SYSTEM
Catania
Q1903
(Q3723084,P19,c(Q56061))
action filter_type
action find
entity Q3723084
relation P19
type Q56061
Elio Sparano was born in [ANSWER]
['Q3723084', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3723084 property:P19 ?p }
Catania
Elio Sparano was born in Catania
Catania
action filter_type
action find
entity Elio Sparano
relation place of birth
type administrative territorial entity
['Elio Sparano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Elio_Sparano property:place_of_birth ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q490 Q13298
P190
Q56061
USER
How many administrative territories are twin cities of Milan and Graz ?
(Q490,P190,c(Q56061)) (Q13298,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q490
relation P190
type Q56061
action filter_type
action find
entity Q13298
relation P190
type Q56061
['Q490', 'P190', {'concept': 'Q56061'}] ['Q13298', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q490 property:P190 ?w . ?w rdf:type ontology:Q56061 . ?w rdf:type ontology:Q56061 . resource:Q13298 property:P190 ?w }
Milan Graz
action count
action intersection
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
action filter_type
action find
entity Graz
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}] ['Graz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Milan property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity . resource:Graz property:sister_city ?w }
[]
administrative territorial entity
SYSTEM
2
Q546 Q185289
(Q490,P190,c(Q56061)) (Q13298,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q490
relation P190
type Q56061
action filter_type
action find
entity Q13298
relation P190
type Q56061
[ANSWER]
['Q490', 'P190', {'concept': 'Q56061'}] ['Q13298', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q490 property:P190 ?w . ?w rdf:type ontology:Q56061 . ?w rdf:type ontology:Q56061 . resource:Q13298 property:P190 ?w }
Trieste Pernik
2
action count
action intersection
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
action filter_type
action find
entity Graz
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}] ['Graz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Milan property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity . resource:Graz property:sister_city ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q490 Q2322767
P417
Q502895
USER
How many people are the patron saint of Milan or St. Peter and St. Paul's Church, Wissembourg ?
(Q490,P417,c(Q502895)) (Q2322767,P417,c(Q502895))
action count
action union
action filter_type
action find
entity Q490
relation P417
type Q502895
action filter_type
action find
entity Q2322767
relation P417
type Q502895
['Q490', 'P417', {'concept': 'Q502895'}] ['Q2322767', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?p ) { ( resource:Q490 ) ( resource:Q2322767 ) } . ?p property:P417 ?d }
Milan St. Peter and St. Paul's Church, Wissembourg
action count
action union
action filter_type
action find
entity Milan
relation patron saint
type common name
action filter_type
action find
entity St. Peter and St. Paul's Church, Wissembourg
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}] ["St. Peter and St. Paul's Church, Wissembourg", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?p ) { ( resource:Milan ) ( resource:St._Peter_and_St._Paul's_Church,_Wissembourg ) } . ?p property:patron_saint ?d }
[]
common name
SYSTEM
3
Q33923 Q9200 Q43689
(Q490,P417,c(Q502895)) (Q2322767,P417,c(Q502895))
action count
action union
action filter_type
action find
entity Q490
relation P417
type Q502895
action filter_type
action find
entity Q2322767
relation P417
type Q502895
[ANSWER]
['Q490', 'P417', {'concept': 'Q502895'}] ['Q2322767', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?p ) { ( resource:Q490 ) ( resource:Q2322767 ) } . ?p property:P417 ?d }
Peter Paul Ambrose
3
action count
action union
action filter_type
action find
entity Milan
relation patron saint
type common name
action filter_type
action find
entity St. Peter and St. Paul's Church, Wissembourg
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}] ["St. Peter and St. Paul's Church, Wissembourg", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?p ) { ( resource:Milan ) ( resource:St._Peter_and_St._Paul's_Church,_Wissembourg ) } . ?p property:patron_saint ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20392 Q490
P190
Q56061
USER
Which administrative territories are sister towns of Milan or Vaiano ?
OR((Q490,P190,c(Q56061)), (Q20392,P190,c(Q56061)))
action filter_type
action union
action find
entity Q490
relation P190
action find
entity Q20392
relation P190
type Q56061
{'OR': [['Q490', 'P190', {'concept': 'Q56061'}], ['Q20392', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q490 property:P190 ?a } UNION { resource:Q20392 property:P190 ?a } } }
Vaiano Milan
action filter_type
action union
action find
entity Milan
relation sister city
action find
entity Vaiano
relation sister city
type administrative territorial entity
{'OR': [['Milan', 'sister city', {'concept': 'administrative territorial entity'}], ['Vaiano', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Milan property:sister_city ?a } UNION { resource:Vaiano property:sister_city ?a } } }
[]
administrative territorial entity
Q3141 Q5776 Q34820 Q3130 Q33935 Q174 Q172 Q956 Q3805 Q8686
SYSTEM
Some of them are Melbourne, Bethlehem, Santo Domingo, Sydney, Tel Aviv, São Paulo, Toronto, Beijing, Amman, Shanghai
Q546 Q3718 Q174 Q8686 Q172 Q3141 Q340 Q33935 Q34820 Q193289 Q472 Q185289 Q956 Q3130 Q3313109 Q3805 Q121157 Q5776 Q1297 Q2634
OR((Q490,P190,c(Q56061)), (Q20392,P190,c(Q56061)))
action filter_type
action union
action find
entity Q490
relation P190
action find
entity Q20392
relation P190
type Q56061
[ANSWERS] are sister towns of Milan or Vaiano
{'OR': [['Q490', 'P190', {'concept': 'Q56061'}], ['Q20392', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q490 property:P190 ?a } UNION { resource:Q20392 property:P190 ?a } } }
Trieste Dakar São Paulo Shanghai Toronto Melbourne Montreal Tel Aviv Santo Domingo Iquitos Sofia Pernik Beijing Sydney Mijek Amman Mashhad Bethlehem Chicago Naples
Melbourne, Bethlehem, Santo Domingo, Sydney, Tel Aviv, São Paulo, Toronto, Beijing, Amman and Shanghai are sister towns of Milan or Vaiano
Melbourne Bethlehem Santo Domingo Sydney Tel Aviv São Paulo Toronto Beijing Amman Shanghai
action filter_type
action union
action find
entity Milan
relation sister city
action find
entity Vaiano
relation sister city
type administrative territorial entity
{'OR': [['Milan', 'sister city', {'concept': 'administrative territorial entity'}], ['Vaiano', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Milan property:sister_city ?a } UNION { resource:Vaiano property:sister_city ?a } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q490
P190
Q56061
USER
Are Milan partner town of those ones ?
(Q490,P190,Q3141) (Q490,P190,Q5776) (Q490,P190,Q34820) (Q490,P190,Q3130) (Q490,P190,Q33935) (Q490,P190,Q174) (Q490,P190,Q172) (Q490,P190,Q956) (Q490,P190,Q3805) (Q490,P190,Q8686)
action is_in
entity prev_answer
action find
entity Q490
relation P190
['Q490', 'P190', 'Q3141'] ['Q490', 'P190', 'Q5776'] ['Q490', 'P190', 'Q34820'] ['Q490', 'P190', 'Q3130'] ['Q490', 'P190', 'Q33935'] ['Q490', 'P190', 'Q174'] ['Q490', 'P190', 'Q172'] ['Q490', 'P190', 'Q956'] ['Q490', 'P190', 'Q3805'] ['Q490', 'P190', 'Q8686']
ASK WHERE { VALUES ( ?s ) { ( resource:Q546 ) ( resource:Q3718 ) ( resource:Q174 ) } . resource:Q490 property:P190 ?s }
Milan
action is_in
entity prev_answer
action find
entity Milan
relation sister city
['Milan', 'sister city', 'Melbourne'] ['Milan', 'sister city', 'Bethlehem'] ['Milan', 'sister city', 'Santo Domingo'] ['Milan', 'sister city', 'Sydney'] ['Milan', 'sister city', 'Tel Aviv'] ['Milan', 'sister city', 'São Paulo'] ['Milan', 'sister city', 'Toronto'] ['Milan', 'sister city', 'Beijing'] ['Milan', 'sister city', 'Amman'] ['Milan', 'sister city', 'Shanghai']
ASK WHERE { VALUES ( ?s ) { ( resource:Trieste ) ( resource:Dakar ) ( resource:São_Paulo ) } . resource:Milan property:sister_city ?s }
[]
administrative territorial entity
SYSTEM
YES
(Q490,P190,Q3141) (Q490,P190,Q5776) (Q490,P190,Q34820) (Q490,P190,Q3130) (Q490,P190,Q33935) (Q490,P190,Q174) (Q490,P190,Q172) (Q490,P190,Q956) (Q490,P190,Q3805) (Q490,P190,Q8686)
action is_in
entity prev_answer
action find
entity Q490
relation P190
[ANSWER]
['Q490', 'P190', 'Q3141'] ['Q490', 'P190', 'Q5776'] ['Q490', 'P190', 'Q34820'] ['Q490', 'P190', 'Q3130'] ['Q490', 'P190', 'Q33935'] ['Q490', 'P190', 'Q174'] ['Q490', 'P190', 'Q172'] ['Q490', 'P190', 'Q956'] ['Q490', 'P190', 'Q3805'] ['Q490', 'P190', 'Q8686']
ASK WHERE { VALUES ( ?s ) { ( resource:Q546 ) ( resource:Q3718 ) ( resource:Q174 ) } . resource:Q490 property:P190 ?s }
Yes
action is_in
entity prev_answer
action find
entity Milan
relation sister city
['Milan', 'sister city', 'Melbourne'] ['Milan', 'sister city', 'Bethlehem'] ['Milan', 'sister city', 'Santo Domingo'] ['Milan', 'sister city', 'Sydney'] ['Milan', 'sister city', 'Tel Aviv'] ['Milan', 'sister city', 'São Paulo'] ['Milan', 'sister city', 'Toronto'] ['Milan', 'sister city', 'Beijing'] ['Milan', 'sister city', 'Amman'] ['Milan', 'sister city', 'Shanghai']
ASK WHERE { VALUES ( ?s ) { ( resource:Trieste ) ( resource:Dakar ) ( resource:São_Paulo ) } . resource:Milan property:sister_city ?s }
[]