Simple Question (Direct)
Simple Question
Q1342016
P1412
Q34770
USER
Which language does Raffaele Garofalo speak in ?
(Q1342016,P1412,c(Q34770))
action filter_type
action find
entity Q1342016
relation P1412
type Q34770
['Q1342016', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1342016 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Raffaele Garofalo
action filter_type
action find
entity Raffaele Garofalo
relation languages spoken, written or signed
type language
['Raffaele Garofalo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Raffaele_Garofalo property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1342016,P1412,c(Q34770))
action filter_type
action find
entity Q1342016
relation P1412
type Q34770
Raffaele Garofalo speaks the [ANSWER]
['Q1342016', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1342016 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Italian
Raffaele Garofalo speaks the Italian
Italian
action filter_type
action find
entity Raffaele Garofalo
relation languages spoken, written or signed
type language
['Raffaele Garofalo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Raffaele_Garofalo property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1342016
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q652,P19,c(Q56061))
action filter_type
action find
entity Q1342016
relation P19
type Q56061
['Q652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1342016 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Raffaele Garofalo
action filter_type
action find
entity Raffaele Garofalo
relation place of birth
type administrative territorial entity
['Italian', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Raffaele_Garofalo property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q652,P19,c(Q56061))
action filter_type
action find
entity Q1342016
relation P19
type Q56061
That person was born in [ANSWER]
['Q652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1342016 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Naples
That person was born in Naples
Naples
action filter_type
action find
entity Raffaele Garofalo
relation place of birth
type administrative territorial entity
['Italian', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Raffaele_Garofalo property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2634
P417
Q502895
USER
Which person is the patron saint of that administrative territory ?
(Q2634,P417,c(Q502895))
action filter_type
action find
entity Q2634
relation P417
type Q502895
['Q2634', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2634 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Naples
action filter_type
action find
entity Naples
relation patron saint
type common name
['Naples', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Naples property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
common name
Q315312
SYSTEM
Januarius
Q315312
(Q2634,P417,c(Q502895))
action filter_type
action find
entity Q2634
relation P417
type Q502895
[ANSWER] is the patron saint of that administrative territory
['Q2634', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2634 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Januarius
Januarius is the patron saint of that administrative territory
Januarius
action filter_type
action find
entity Naples
relation patron saint
type common name
['Naples', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Naples property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1860600
Q502895
USER
And how about Saint John's Church?
(Q1860600,P417,c(Q502895))
action filter_type
action find
entity Q1860600
relation P417
type Q502895
['Q1860600', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1860600 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Saint John's Church
action filter_type
action find
entity Saint John's Church
relation patron saint
type common name
["Saint John's Church", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Saint_John's_Church property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
common name
Q328804 Q40662
SYSTEM
John the Evangelist, John the Baptist
Q328804 Q40662
(Q1860600,P417,c(Q502895))
action filter_type
action find
entity Q1860600
relation P417
type Q502895
[ANSWERS]
['Q1860600', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1860600 property:P417 ?n . ?n rdf:type ontology:Q502895 }
John the Evangelist John the Baptist
John the Evangelist John the Baptist
action filter_type
action find
entity Saint John's Church
relation patron saint
type common name
["Saint John's Church", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Saint_John's_Church property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1568975
P180
Q838948
USER
Does Hai-Tang demonstrate those people ?
(Q1568975,P180,Q328804) (Q1568975,P180,Q40662)
action is_in
entity prev_answer
action find
entity Q1568975
relation P180
['Q1568975', 'P180', 'Q328804'] ['Q1568975', 'P180', 'Q40662']
ASK WHERE { resource:Q1568975 property:P180 ?z . VALUES ( ?z ) { ( resource:Q328804 ) ( resource:Q40662 ) } }
Hai-Tang
action is_in
entity prev_answer
action find
entity Hai-Tang
relation depicts
['Hai-Tang', 'depicts', 'John the Evangelist'] ['Hai-Tang', 'depicts', 'John the Baptist']
ASK WHERE { resource:Hai-Tang property:depicts ?z . VALUES ( ?z ) { ( resource:John_the_Evangelist ) ( resource:John_the_Baptist ) } }
[]
work of art
SYSTEM
NO
(Q1568975,P180,Q328804) (Q1568975,P180,Q40662)
action is_in
entity prev_answer
action find
entity Q1568975
relation P180
[ANSWER]
['Q1568975', 'P180', 'Q328804'] ['Q1568975', 'P180', 'Q40662']
ASK WHERE { resource:Q1568975 property:P180 ?z . VALUES ( ?z ) { ( resource:Q328804 ) ( resource:Q40662 ) } }
No
action is_in
entity prev_answer
action find
entity Hai-Tang
relation depicts
['Hai-Tang', 'depicts', 'John the Evangelist'] ['Hai-Tang', 'depicts', 'John the Baptist']
ASK WHERE { resource:Hai-Tang property:depicts ?z . VALUES ( ?z ) { ( resource:John_the_Evangelist ) ( resource:John_the_Baptist ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40662
P674
Q223393
USER
What is the literary genre that has John the Baptist as a character ?
(c(Q223393),P674,Q40662)
action filter_type
action find_reverse
entity Q40662
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q40662']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q223393 . ?y property:P674 resource:Q40662 }
John the Baptist
action filter_type
action find_reverse
entity John the Baptist
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'John the Baptist']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:literary_genre . ?y property:characters resource:John_the_Baptist }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q40662)
action filter_type
action find_reverse
entity Q40662
relation P674
type Q223393
The literary genre that has John the Baptist as a character is called [ANSWER]
[{'concept': 'Q223393'}, 'P674', 'Q40662']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q223393 . ?y property:P674 resource:Q40662 }
The Divine Comedy
The literary genre that has John the Baptist as a character is called The Divine Comedy
The Divine Comedy
action filter_type
action find_reverse
entity John the Baptist
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'John the Baptist']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:literary_genre . ?y property:characters resource:John_the_Baptist }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40662
P825
Q16970
USER
Which churches have dedication towards John the Baptist ?
(c(Q16970),P825,Q40662)
action filter_type
action find_reverse
entity Q40662
relation P825
type Q16970
[{'concept': 'Q16970'}, 'P825', 'Q40662']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q40662 . ?i rdf:type ontology:Q16970 }
John the Baptist
action filter_type
action find_reverse
entity John the Baptist
relation dedicated to
type church
[{'concept': 'church'}, 'dedicated to', 'John the Baptist']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:John_the_Baptist . ?i rdf:type ontology:church }
[]
church
Q1521 Q1048587 Q15115745
SYSTEM
Lyon Cathedral, St. John the Baptist Cathedral, St. John the Baptist Church
Q24041801 Q1048587 Q1521 Q15115745
(c(Q16970),P825,Q40662)
action filter_type
action find_reverse
entity Q40662
relation P825
type Q16970
[ANSWERS] have dedication towards John the Baptist
[{'concept': 'Q16970'}, 'P825', 'Q40662']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q40662 . ?i rdf:type ontology:Q16970 }
Church of San Giovanni St. John the Baptist Cathedral Lyon Cathedral St. John the Baptist Church
Lyon Cathedral, St. John the Baptist Cathedral and St. John the Baptist Church have dedication towards John the Baptist
Lyon Cathedral St. John the Baptist Cathedral St. John the Baptist Church
action filter_type
action find_reverse
entity John the Baptist
relation dedicated to
type church
[{'concept': 'church'}, 'dedicated to', 'John the Baptist']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:John_the_Baptist . ?i rdf:type ontology:church }
[]