Simple Question (Direct)
Simple Question
Q4716353
P641
Q349
USER
Which sport was Alessandro Gambadori a part of ?
(Q4716353,P641,c(Q349))
action filter_type
action find
entity Q4716353
relation P641
type Q349
['Q4716353', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q4716353 property:P641 ?c . ?c rdf:type ontology:Q349 }
Alessandro Gambadori
action filter_type
action find
entity Alessandro Gambadori
relation sport
type sport
['Alessandro Gambadori', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Alessandro_Gambadori property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4716353,P641,c(Q349))
action filter_type
action find
entity Q4716353
relation P641
type Q349
The [ANSWER] was Alessandro Gambadori a part of
['Q4716353', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q4716353 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The association football was Alessandro Gambadori a part of
association football
action filter_type
action find
entity Alessandro Gambadori
relation sport
type sport
['Alessandro Gambadori', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Alessandro_Gambadori property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4716353
P19
Q15617994
USER
Which administrative territory was Alessandro Gambadori born at ?
(Q4716353,P19,c(Q15617994))
action filter_type
action find
entity Q4716353
relation P19
type Q15617994
['Q4716353', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4716353 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Alessandro Gambadori
action filter_type
action find
entity Alessandro Gambadori
relation place of birth
type designation for an administrative territorial entity
['Alessandro Gambadori', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alessandro_Gambadori property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q124925
SYSTEM
Senigallia
Q124925
(Q4716353,P19,c(Q15617994))
action filter_type
action find
entity Q4716353
relation P19
type Q15617994
Alessandro Gambadori was born in [ANSWER]
['Q4716353', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4716353 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Senigallia
Alessandro Gambadori was born in Senigallia
Senigallia
action filter_type
action find
entity Alessandro Gambadori
relation place of birth
type designation for an administrative territorial entity
['Alessandro Gambadori', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alessandro_Gambadori property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q124925
P47
Q15617994
USER
Which administrative territories have an adjacent border with that one ?
(c(Q15617994),P47,Q124925)
action filter_type
action find
entity Q124925
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q124925']
SELECT DISTINCT ?d WHERE { resource:Q124925 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Senigallia
action filter_type
action find
entity Senigallia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Senigallia']
SELECT DISTINCT ?d WHERE { resource:Senigallia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q123607 Q124572 Q207185
SYSTEM
Belvedere Ostrense, Ostra, Marche, Mondolfo
Q124572 Q207185 Q123607 Q124436 Q123763 Q124763
(c(Q15617994),P47,Q124925)
action filter_type
action find
entity Q124925
relation P47
type Q15617994
[ANSWERS] have an adjacent border with that one
[{'concept': 'Q15617994'}, 'P47', 'Q124925']
SELECT DISTINCT ?d WHERE { resource:Q124925 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Ostra, Marche Mondolfo Belvedere Ostrense Morro d'Alba Castel Colonna Ripe, Marche
Belvedere Ostrense, Ostra, Marche and Mondolfo have an adjacent border with that one
Belvedere Ostrense Ostra, Marche Mondolfo
action filter_type
action find
entity Senigallia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Senigallia']
SELECT DISTINCT ?d WHERE { resource:Senigallia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q124925
P47
Q15617994
USER
Do Senigallia have an adjacent border with those ones ?
(Q124925,P47,Q123607) (Q124925,P47,Q124572) (Q124925,P47,Q207185)
action is_in
entity prev_answer
action find
entity Q124925
relation P47
['Q124925', 'P47', 'Q123607'] ['Q124925', 'P47', 'Q124572'] ['Q124925', 'P47', 'Q207185']
ASK WHERE { VALUES ( ?j ) { ( resource:Q124572 ) ( resource:Q207185 ) ( resource:Q123607 ) } . resource:Q124925 property:P47 ?j }
Senigallia
action is_in
entity prev_answer
action find
entity Senigallia
relation shares border with
['Senigallia', 'shares border with', 'Belvedere Ostrense'] ['Senigallia', 'shares border with', 'Ostra, Marche'] ['Senigallia', 'shares border with', 'Mondolfo']
ASK WHERE { VALUES ( ?j ) { ( resource:Ostra,_Marche ) ( resource:Mondolfo ) ( resource:Belvedere_Ostrense ) } . resource:Senigallia property:shares_border_with ?j }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q124925,P47,Q123607) (Q124925,P47,Q124572) (Q124925,P47,Q207185)
action is_in
entity prev_answer
action find
entity Q124925
relation P47
[ANSWER]
['Q124925', 'P47', 'Q123607'] ['Q124925', 'P47', 'Q124572'] ['Q124925', 'P47', 'Q207185']
ASK WHERE { VALUES ( ?j ) { ( resource:Q124572 ) ( resource:Q207185 ) ( resource:Q123607 ) } . resource:Q124925 property:P47 ?j }
Yes
action is_in
entity prev_answer
action find
entity Senigallia
relation shares border with
['Senigallia', 'shares border with', 'Belvedere Ostrense'] ['Senigallia', 'shares border with', 'Ostra, Marche'] ['Senigallia', 'shares border with', 'Mondolfo']
ASK WHERE { VALUES ( ?j ) { ( resource:Ostra,_Marche ) ( resource:Mondolfo ) ( resource:Belvedere_Ostrense ) } . resource:Senigallia property:shares_border_with ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q124572 Q562708
P17
Q15617994
USER
Is Ostra, Marche situated in Mammelzen ?
(Q124572,P17,Q562708)
action is_in
entity Q562708
action find
entity Q124572
relation P17
['Q124572', 'P17', 'Q562708']
ASK WHERE { resource:Q124572 property:P17 resource:Q562708 }
Ostra, Marche Mammelzen
action is_in
entity Mammelzen
action find
entity Ostra, Marche
relation country
['Ostra, Marche', 'country', 'Mammelzen']
ASK WHERE { resource:Ostra,_Marche property:country resource:Mammelzen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q124572,P17,Q562708)
action is_in
entity Q562708
action find
entity Q124572
relation P17
[ANSWER]
['Q124572', 'P17', 'Q562708']
ASK WHERE { resource:Q124572 property:P17 resource:Q562708 }
No
action is_in
entity Mammelzen
action find
entity Ostra, Marche
relation country
['Ostra, Marche', 'country', 'Mammelzen']
ASK WHERE { resource:Ostra,_Marche property:country resource:Mammelzen }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26481007 Q124572
P17
Q15617994
USER
Which administrative territories are Ostra, Marche or Manor Cottage present in ?
OR((Q124572,P17,c(Q15617994)), (Q26481007,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q124572
relation P17
action find
entity Q26481007
relation P17
type Q15617994
{'OR': [['Q124572', 'P17', {'concept': 'Q15617994'}], ['Q26481007', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q124572 property:P17 ?a } UNION { resource:Q26481007 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Manor Cottage Ostra, Marche
action filter_type
action union
action find
entity Ostra, Marche
relation country
action find
entity Manor Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Ostra, Marche', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manor Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ostra,_Marche property:country ?a } UNION { resource:Manor_Cottage property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q124572,P17,c(Q15617994)), (Q26481007,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q124572
relation P17
action find
entity Q26481007
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q124572', 'P17', {'concept': 'Q15617994'}], ['Q26481007', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q124572 property:P17 ?a } UNION { resource:Q26481007 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Italy United Kingdom
Which administrative territories are Ostra, Marche or Manor Cottage present in
Italy United Kingdom
action filter_type
action union
action find
entity Ostra, Marche
relation country
action find
entity Manor Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Ostra, Marche', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manor Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ostra,_Marche property:country ?a } UNION { resource:Manor_Cottage property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4106580
P495
Q838948
USER
Are those administrative territories a country of origin of The Great Citizen ?
(Q4106580,P495,Q38) (Q4106580,P495,Q145)
action is_in
entity prev_answer
action find
entity Q4106580
relation P495
['Q4106580', 'P495', 'Q38'] ['Q4106580', 'P495', 'Q145']
ASK WHERE { resource:Q4106580 property:P495 ?a . VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q145 ) } }
The Great Citizen
action is_in
entity prev_answer
action find
entity The Great Citizen
relation country of origin
['The Great Citizen', 'country of origin', 'Italy'] ['The Great Citizen', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Great_Citizen property:country_of_origin ?a . VALUES ( ?a ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
NO
(Q4106580,P495,Q38) (Q4106580,P495,Q145)
action is_in
entity prev_answer
action find
entity Q4106580
relation P495
[ANSWER]
['Q4106580', 'P495', 'Q38'] ['Q4106580', 'P495', 'Q145']
ASK WHERE { resource:Q4106580 property:P495 ?a . VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity The Great Citizen
relation country of origin
['The Great Citizen', 'country of origin', 'Italy'] ['The Great Citizen', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Great_Citizen property:country_of_origin ?a . VALUES ( ?a ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q286004
Q20667921
USER
And also tell me about Tordesillas?
(Q286004,P190,c(Q20667921))
action filter_type
action find
entity Q286004
relation P190
type Q20667921
['Q286004', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q286004 property:P190 ?s }
Tordesillas
action filter_type
action find
entity Tordesillas
relation sister city
type type of french administrative division
['Tordesillas', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Tordesillas property:sister_city ?s }
[]
type of french administrative division
Q474929
SYSTEM
Hagetmau
Q474929
(Q286004,P190,c(Q20667921))
action filter_type
action find
entity Q286004
relation P190
type Q20667921
[ANSWER]
['Q286004', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q286004 property:P190 ?s }
Hagetmau
Hagetmau
action filter_type
action find
entity Tordesillas
relation sister city
type type of french administrative division
['Tordesillas', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Tordesillas property:sister_city ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q286004
P1313
Q12737077
USER
Which occupation is fulfilled by that human settlement ?
(Q474929,P1313,c(Q12737077))
action filter_type
action find
entity Q286004
relation P1313
type Q12737077
['Q474929', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q286004 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
Tordesillas
action filter_type
action find
entity Tordesillas
relation office held by head of government
type occupation
['Hagetmau', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Tordesillas property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q26697884
SYSTEM
mayor of Tordesillas
Q26697884
(Q474929,P1313,c(Q12737077))
action filter_type
action find
entity Q286004
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that human settlement
['Q474929', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q286004 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
mayor of Tordesillas
The mayor of Tordesillas is fulfilled by that human settlement
mayor of Tordesillas
action filter_type
action find
entity Tordesillas
relation office held by head of government
type occupation
['Hagetmau', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Tordesillas property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q286004
P190
Q1048835
USER
Which political territory is twin town of that human settlement ?
(Q26697884,P190,c(Q1048835))
action filter_type
action find
entity Q286004
relation P190
type Q1048835
['Q26697884', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q286004 property:P190 ?g . ?g rdf:type ontology:Q1048835 }
Tordesillas
action filter_type
action find
entity Tordesillas
relation sister city
type political territorial entity
['mayor of Tordesillas', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Tordesillas property:sister_city ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q188905
SYSTEM
Ouro Preto
Q188905
(Q26697884,P190,c(Q1048835))
action filter_type
action find
entity Q286004
relation P190
type Q1048835
[ANSWER] is twin town of that human settlement
['Q26697884', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q286004 property:P190 ?g . ?g rdf:type ontology:Q1048835 }
Ouro Preto
Ouro Preto is twin town of that human settlement
Ouro Preto
action filter_type
action find
entity Tordesillas
relation sister city
type political territorial entity
['mayor of Tordesillas', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Tordesillas property:sister_city ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q188905 Q155
P17
Q15617994
USER
Is that political territory a part of Brazil ?
(Q188905,P17,Q155)
action is_in
entity Q155
action find
entity Q188905
relation P17
['Q188905', 'P17', 'Q155']
ASK WHERE { resource:Q188905 property:P17 resource:Q155 }
Ouro Preto Brazil
action is_in
entity Brazil
action find
entity Ouro Preto
relation country
['Ouro Preto', 'country', 'Brazil']
ASK WHERE { resource:Ouro_Preto property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q188905,P17,Q155)
action is_in
entity Q155
action find
entity Q188905
relation P17
[ANSWER]
['Q188905', 'P17', 'Q155']
ASK WHERE { resource:Q188905 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Ouro Preto
relation country
['Ouro Preto', 'country', 'Brazil']
ASK WHERE { resource:Ouro_Preto property:country resource:Brazil }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q188905
P19
Q502895
USER
How many people have place of birth as Ouro Preto ?
(c(Q502895),P19,Q188905)
action count
action filter_type
action find_reverse
entity Q188905
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q188905']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P19 resource:Q188905 }
Ouro Preto
action count
action filter_type
action find_reverse
entity Ouro Preto
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Ouro Preto']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_birth resource:Ouro_Preto }
[]
common name
SYSTEM
17
Q1729106 Q6752638 Q12082349 Q823003 Q1486425 Q10312479 Q981463 Q932350 Q2129931 Q3845006 Q10324512 Q15631837 Q1788745 Q1441887 Q1657633 Q10334278 Q379714
(c(Q502895),P19,Q188905)
action count
action filter_type
action find_reverse
entity Q188905
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q188905']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P19 resource:Q188905 }
Marcos Coelho Neto Manuel Inácio da Silva Alvarenga Bernardo Pereira de Vasconcelos Bernardo Guimarães José Carlos de Lima Vaz João de Deus de Castro Lobo Alphonsus de Guimaraens Afonso Celso, Viscount of Ouro Preto Lego Lima Manuel Ignacio de Alvarenga Manuel Teixeira de Sousa Joaquim Inácio de Seixas Brandão Afonso Celso de Assis Figueiredo Júnior Francisco Barroso Filho Ignácio Parreiras Neves Márcia de Windsor Aleijadinho
17
action count
action filter_type
action find_reverse
entity Ouro Preto
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Ouro Preto']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_birth resource:Ouro_Preto }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q662101
P530
Q15617994
USER
Does Jiading District have diplomatic relationships with Italy ?
(Q38,P530,Q662101)
action is_in
entity Q662101
action find
entity Q38
relation P530
['Q38', 'P530', 'Q662101']
ASK WHERE { resource:Q38 property:P530 resource:Q662101 }
Italy Jiading District
action is_in
entity Jiading District
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Jiading District']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Jiading_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38,P530,Q662101)
action is_in
entity Q662101
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q662101']
ASK WHERE { resource:Q38 property:P530 resource:Q662101 }
No
action is_in
entity Jiading District
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Jiading District']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Jiading_District }
[]