Simple Question (Direct)
Simple Question
Q2467631
P641
Q349
USER
Which sport did Francisco Silva participate in ?
(Q2467631,P641,c(Q349))
action filter_type
action find
entity Q2467631
relation P641
type Q349
['Q2467631', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q2467631 property:P641 ?r }
Francisco Silva
action filter_type
action find
entity Francisco Silva
relation sport
type sport
['Francisco Silva', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Francisco_Silva property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2467631,P641,c(Q349))
action filter_type
action find
entity Q2467631
relation P641
type Q349
Francisco Silva participated in [ANSWER]
['Q2467631', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q2467631 property:P641 ?r }
association football
Francisco Silva participated in association football
association football
action filter_type
action find
entity Francisco Silva
relation sport
type sport
['Francisco Silva', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Francisco_Silva property:sport ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2467631
P54
Q1194951
USER
Which national sports team is Francisco Silva a member of ?
(Q2467631,P54,c(Q1194951))
action filter_type
action find
entity Q2467631
relation P54
type Q1194951
['Q2467631', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q2467631 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
Francisco Silva
action filter_type
action find
entity Francisco Silva
relation member of sports team
type national sports team
['Francisco Silva', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:Francisco_Silva property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q172025
SYSTEM
Chile national football team
Q172025
(Q2467631,P54,c(Q1194951))
action filter_type
action find
entity Q2467631
relation P54
type Q1194951
The [ANSWER] is Francisco Silva a member of
['Q2467631', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q2467631 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
Chile national football team
The Chile national football team is Francisco Silva a member of
Chile national football team
action filter_type
action find
entity Francisco Silva
relation member of sports team
type national sports team
['Francisco Silva', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:Francisco_Silva property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172025
P466
Q483110
USER
Which stadium is inhabited by that national sports team ?
(c(Q483110),P466,Q172025)
action filter_type
action find_reverse
entity Q172025
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q172025']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q172025 . ?b rdf:type ontology:Q483110 }
Chile national football team
action filter_type
action find_reverse
entity Chile national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Chile national football team']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Chile_national_football_team . ?b rdf:type ontology:stadium }
[]
stadium
Q594994
SYSTEM
Estadio Nacional Julio Martínez Prádanos
Q594994
(c(Q483110),P466,Q172025)
action filter_type
action find_reverse
entity Q172025
relation P466
type Q483110
[ANSWER] is inhabited by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q172025']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q172025 . ?b rdf:type ontology:Q483110 }
Estadio Nacional Julio Martínez Prádanos
Estadio Nacional Julio Martínez Prádanos is inhabited by that national sports team
Estadio Nacional Julio Martínez Prádanos
action filter_type
action find_reverse
entity Chile national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Chile national football team']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Chile_national_football_team . ?b rdf:type ontology:stadium }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q219926 Q172025
P466
Q483110
USER
Or Aris Thessaloniki F.C.?
OR((c(Q483110),P466,Q172025), (c(Q483110),P466,Q219926))
action filter_type
action union
action find_reverse
entity Q172025
relation P466
action find_reverse
entity Q219926
relation P466
type Q483110
{'OR': [[{'concept': 'Q483110'}, 'P466', 'Q172025'], [{'concept': 'Q483110'}, 'P466', 'Q219926']]}
SELECT DISTINCT ?e WHERE { { ?e property:P466 ?x . VALUES ( ?x ) { ( resource:Q172025 ) ( resource:Q219926 ) } } . ?e rdf:type ontology:Q483110 }
Aris Thessaloniki F.C. Chile national football team
action filter_type
action union
action find_reverse
entity Chile national football team
relation occupant
action find_reverse
entity Aris Thessaloniki F.C.
relation occupant
type stadium
{'OR': [[{'concept': 'stadium'}, 'occupant', 'Chile national football team'], [{'concept': 'stadium'}, 'occupant', 'Aris Thessaloniki F.C.']]}
SELECT DISTINCT ?e WHERE { { ?e property:occupant ?x . VALUES ( ?x ) { ( resource:Chile_national_football_team ) ( resource:Aris_Thessaloniki_F.C. ) } } . ?e rdf:type ontology:stadium }
[]
stadium
Q594994 Q1254010
SYSTEM
Estadio Nacional Julio Martínez Prádanos, Kleanthis Vikelidis Stadium
Q594994 Q1254010
OR((c(Q483110),P466,Q172025), (c(Q483110),P466,Q219926))
action filter_type
action union
action find_reverse
entity Q172025
relation P466
action find_reverse
entity Q219926
relation P466
type Q483110
[ANSWERS]
{'OR': [[{'concept': 'Q483110'}, 'P466', 'Q172025'], [{'concept': 'Q483110'}, 'P466', 'Q219926']]}
SELECT DISTINCT ?e WHERE { { ?e property:P466 ?x . VALUES ( ?x ) { ( resource:Q172025 ) ( resource:Q219926 ) } } . ?e rdf:type ontology:Q483110 }
Estadio Nacional Julio Martínez Prádanos Kleanthis Vikelidis Stadium
Estadio Nacional Julio Martínez Prádanos Kleanthis Vikelidis Stadium
action filter_type
action union
action find_reverse
entity Chile national football team
relation occupant
action find_reverse
entity Aris Thessaloniki F.C.
relation occupant
type stadium
{'OR': [[{'concept': 'stadium'}, 'occupant', 'Chile national football team'], [{'concept': 'stadium'}, 'occupant', 'Aris Thessaloniki F.C.']]}
SELECT DISTINCT ?e WHERE { { ?e property:occupant ?x . VALUES ( ?x ) { ( resource:Chile_national_football_team ) ( resource:Aris_Thessaloniki_F.C. ) } } . ?e rdf:type ontology:stadium }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P800
Q483110 Q502895
USER
How many stadia were done by more number of people than that stadium ?
(c(Q502895),P800,c(Q483110))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q483110'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q483110 }
[{'concept': 'common name'}, 'notable work', {'concept': 'stadium'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:stadium }
[]
stadium common name
Comparative|Count over More/Less|Single entity type|Clarification
Q594994
SYSTEM
Did you mean Estadio Nacional Julio Martínez Prádanos ?
(c(Q502895),P800,c(Q483110))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q483110'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q483110 }
Did you mean Estadio Nacional Julio Martínez Prádanos ?
Estadio Nacional Julio Martínez Prádanos
[{'concept': 'common name'}, 'notable work', {'concept': 'stadium'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:stadium }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P800,c(Q483110))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q483110'}]
[{'concept': 'common name'}, 'notable work', {'concept': 'stadium'}]
[]
SYSTEM
1
Q62149
(c(Q502895),P800,c(Q483110))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q483110'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q483110 }
Juventus Stadium
1
[{'concept': 'common name'}, 'notable work', {'concept': 'stadium'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594994
P17
Q15617994
USER
Which administrative territory is Estadio Nacional Julio Martínez Prádanos a part of ?
(Q594994,P17,c(Q15617994))
action filter_type
action find
entity Q594994
relation P17
type Q15617994
['Q594994', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q594994 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Estadio Nacional Julio Martínez Prádanos
action filter_type
action find
entity Estadio Nacional Julio Martínez Prádanos
relation country
type designation for an administrative territorial entity
['Estadio Nacional Julio Martínez Prádanos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Estadio_Nacional_Julio_Martínez_Prádanos property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q594994,P17,c(Q15617994))
action filter_type
action find
entity Q594994
relation P17
type Q15617994
[ANSWER] is Estadio Nacional Julio Martínez Prádanos a part of
['Q594994', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q594994 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Chile
Chile is Estadio Nacional Julio Martínez Prádanos a part of
Chile
action filter_type
action find
entity Estadio Nacional Julio Martínez Prádanos
relation country
type designation for an administrative territorial entity
['Estadio Nacional Julio Martínez Prádanos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Estadio_Nacional_Julio_Martínez_Prádanos property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3889557
Q15617994
USER
And what about Palazzo Ardinghelli?
(Q3889557,P17,c(Q15617994))
action filter_type
action find
entity Q3889557
relation P17
type Q15617994
['Q3889557', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3889557 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Palazzo Ardinghelli
action filter_type
action find
entity Palazzo Ardinghelli
relation country
type designation for an administrative territorial entity
['Palazzo Ardinghelli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Palazzo_Ardinghelli property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3889557,P17,c(Q15617994))
action filter_type
action find
entity Q3889557
relation P17
type Q15617994
[ANSWER]
['Q3889557', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3889557 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Palazzo Ardinghelli
relation country
type designation for an administrative territorial entity
['Palazzo Ardinghelli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Palazzo_Ardinghelli property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q7275
USER
How many administrative territories or states share border with that administrative territory ?
(Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q56061)) (Q38,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q56061
action filter_type
action find
entity Q38
relation P47
type Q7275
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?a rdf:type ?f }
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?a rdf:type ?f }
[]
administrative territorial entity state
SYSTEM
2
Q237 Q36704
(Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q56061)) (Q38,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q56061
action filter_type
action find
entity Q38
relation P47
type Q7275
[ANSWER]
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?a rdf:type ?f }
Vatican City Yugoslavia
2
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?a rdf:type ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P1001
Q192350
USER
Which ministries have jurisdiction over Chile ?
(c(Q192350),P1001,Q298)
action filter_type
action find_reverse
entity Q298
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q298']
SELECT DISTINCT ?m WHERE { ?m property:P1001 resource:Q298 . ?m rdf:type ontology:Q192350 }
Chile
action filter_type
action find_reverse
entity Chile
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Chile']
SELECT DISTINCT ?m WHERE { ?m property:applies_to_jurisdiction resource:Chile . ?m rdf:type ontology:ministry }
[]
ministry
Q4294926 Q4294370 Q3079732
SYSTEM
Ministry of Foreign Affairs of Chile, Ministry of Health, Ministry of Education of Chile
Q4294370 Q3079732 Q4294544 Q4294482 Q4294926
(c(Q192350),P1001,Q298)
action filter_type
action find_reverse
entity Q298
relation P1001
type Q192350
[ANSWERS] have jurisdiction over Chile
[{'concept': 'Q192350'}, 'P1001', 'Q298']
SELECT DISTINCT ?m WHERE { ?m property:P1001 resource:Q298 . ?m rdf:type ontology:Q192350 }
Ministry of Health Ministry of Education of Chile Ministry of Public Works Ministry of National Defense Ministry of Foreign Affairs of Chile
Ministry of Foreign Affairs of Chile, Ministry of Health and Ministry of Education of Chile have jurisdiction over Chile
Ministry of Foreign Affairs of Chile Ministry of Health Ministry of Education of Chile
action filter_type
action find_reverse
entity Chile
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Chile']
SELECT DISTINCT ?m WHERE { ?m property:applies_to_jurisdiction resource:Chile . ?m rdf:type ontology:ministry }
[]