Simple Question (Direct)
Simple Question
Q1086464
P47
Q20667921
USER
Who share the border with Fenouillet-du-Razès ?
(Q1086464,P47,c(Q20667921))
action filter_type
action find
entity Q1086464
relation P47
type Q20667921
['Q1086464', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1086464 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Fenouillet-du-Razès
action filter_type
action find
entity Fenouillet-du-Razès
relation shares border with
type type of french administrative division
['Fenouillet-du-Razès', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Fenouillet-du-Razès property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q198573 Q633787 Q192092
SYSTEM
Fanjeaux, Ferran, Mazerolles-du-Razès
Q201037 Q633787 Q1086584 Q1016624 Q204158 Q192092 Q198573
(Q1086464,P47,c(Q20667921))
action filter_type
action find
entity Q1086464
relation P47
type Q20667921
[ANSWERS] share the border with Fenouillet-du-Razès
['Q1086464', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1086464 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
La Courtète Ferran Hounoux Brézilhac Orsans Mazerolles-du-Razès Fanjeaux
Fanjeaux, Ferran and Mazerolles-du-Razès share the border with Fenouillet-du-Razès
Fanjeaux Ferran Mazerolles-du-Razès
action filter_type
action find
entity Fenouillet-du-Razès
relation shares border with
type type of french administrative division
['Fenouillet-du-Razès', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Fenouillet-du-Razès property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1086464
P17
Q15617994
USER
Which administrative territory is Fenouillet-du-Razès located in ?
(Q1086464,P17,c(Q15617994))
action filter_type
action find
entity Q1086464
relation P17
type Q15617994
['Q1086464', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1086464 property:P17 ?x }
Fenouillet-du-Razès
action filter_type
action find
entity Fenouillet-du-Razès
relation country
type designation for an administrative territorial entity
['Fenouillet-du-Razès', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fenouillet-du-Razès property:country ?x }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1086464,P17,c(Q15617994))
action filter_type
action find
entity Q1086464
relation P17
type Q15617994
Which administrative territory is Fenouillet-du-Razès located in
['Q1086464', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1086464 property:P17 ?x }
France
Which administrative territory is Fenouillet-du-Razès located in
France
action filter_type
action find
entity Fenouillet-du-Razès
relation country
type designation for an administrative territorial entity
['Fenouillet-du-Razès', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fenouillet-du-Razès property:country ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27799543
Q15617994
USER
And how about 1999 Malaysia International Badminton Championships – Women's doubles?
(Q27799543,P17,c(Q15617994))
action filter_type
action find
entity Q27799543
relation P17
type Q15617994
['Q27799543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q27799543 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
1999 Malaysia International Badminton Championships – Women's doubles
action filter_type
action find
entity 1999 Malaysia International Badminton Championships – Women's doubles
relation country
type designation for an administrative territorial entity
["1999 Malaysia International Badminton Championships – Women's doubles", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:1999_Malaysia_International_Badminton_Championships_–_Women's_doubles property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833
SYSTEM
Malaysia
Q833
(Q27799543,P17,c(Q15617994))
action filter_type
action find
entity Q27799543
relation P17
type Q15617994
[ANSWER]
['Q27799543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q27799543 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Malaysia
Malaysia
action filter_type
action find
entity 1999 Malaysia International Badminton Championships – Women's doubles
relation country
type designation for an administrative territorial entity
["1999 Malaysia International Badminton Championships – Women's doubles", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:1999_Malaysia_International_Badminton_Championships_–_Women's_doubles property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27799543
P710
Q502895
USER
How many people participated in 1999 Malaysia International Badminton Championships – Women's doubles ?
(Q27799543,P710,c(Q502895))
action count
action filter_type
action find
entity Q27799543
relation P710
type Q502895
['Q27799543', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q27799543 property:P710 ?y . ?y rdf:type ontology:Q502895 }
1999 Malaysia International Badminton Championships – Women's doubles
action count
action filter_type
action find
entity 1999 Malaysia International Badminton Championships – Women's doubles
relation participant
type common name
["1999 Malaysia International Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:1999_Malaysia_International_Badminton_Championships_–_Women's_doubles property:participant ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q27817244 Q448038
(Q27799543,P710,c(Q502895))
action count
action filter_type
action find
entity Q27799543
relation P710
type Q502895
[ANSWER]
['Q27799543', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q27799543 property:P710 ?y . ?y rdf:type ontology:Q502895 }
Thitikan Duangsiri Sathinee Chankrachangwong
2
action count
action filter_type
action find
entity 1999 Malaysia International Badminton Championships – Women's doubles
relation participant
type common name
["1999 Malaysia International Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:1999_Malaysia_International_Badminton_Championships_–_Women's_doubles property:participant ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P112
Q484652
USER
Which international organization was started by Malaysia ?
(c(Q484652),P112,Q833)
action filter_type
action find_reverse
entity Q833
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q833']
SELECT DISTINCT ?y WHERE { ?y property:P112 resource:Q833 . ?y rdf:type ontology:Q484652 }
Malaysia
action filter_type
action find_reverse
entity Malaysia
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Malaysia']
SELECT DISTINCT ?y WHERE { ?y property:founder resource:Malaysia . ?y rdf:type ontology:international_organization }
[]
international organization
Q7768
SYSTEM
ASEAN
Q7768
(c(Q484652),P112,Q833)
action filter_type
action find_reverse
entity Q833
relation P112
type Q484652
The [ANSWER] was started by Malaysia
[{'concept': 'Q484652'}, 'P112', 'Q833']
SELECT DISTINCT ?y WHERE { ?y property:P112 resource:Q833 . ?y rdf:type ontology:Q484652 }
ASEAN
The ASEAN was started by Malaysia
ASEAN
action filter_type
action find_reverse
entity Malaysia
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Malaysia']
SELECT DISTINCT ?y WHERE { ?y property:founder resource:Malaysia . ?y rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P127
Q811979
USER
Which architectural structure belongs to Malaysia ?
(c(Q811979),P127,Q833)
action filter_type
action find_reverse
entity Q833
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q833']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q833 . ?a rdf:type ontology:Q811979 }
Malaysia
action filter_type
action find_reverse
entity Malaysia
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Malaysia']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Malaysia . ?a rdf:type ontology:architectural_structure }
[]
architectural structure
Q2014912
SYSTEM
National Sports Complex
Q2014912
(c(Q811979),P127,Q833)
action filter_type
action find_reverse
entity Q833
relation P127
type Q811979
[ANSWER] belongs to Malaysia
[{'concept': 'Q811979'}, 'P127', 'Q833']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q833 . ?a rdf:type ontology:Q811979 }
National Sports Complex
National Sports Complex belongs to Malaysia
National Sports Complex
action filter_type
action find_reverse
entity Malaysia
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Malaysia']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Malaysia . ?a rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2014912
P137
Q483110
USER
Which stadium was managed by that architectural structure ?
(c(Q483110),P137,Q2014912)
action filter_type
action find_reverse
entity Q2014912
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q2014912']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q2014912 . ?p rdf:type ontology:Q483110 }
National Sports Complex
action filter_type
action find_reverse
entity National Sports Complex
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'National Sports Complex']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:National_Sports_Complex . ?p rdf:type ontology:stadium }
[]
stadium
Q635363
SYSTEM
National Stadium, Bukit Jalil
Q635363
(c(Q483110),P137,Q2014912)
action filter_type
action find_reverse
entity Q2014912
relation P137
type Q483110
[ANSWER] was managed by that architectural structure
[{'concept': 'Q483110'}, 'P137', 'Q2014912']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q2014912 . ?p rdf:type ontology:Q483110 }
National Stadium, Bukit Jalil
National Stadium, Bukit Jalil was managed by that architectural structure
National Stadium, Bukit Jalil
action filter_type
action find_reverse
entity National Sports Complex
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'National Sports Complex']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:National_Sports_Complex . ?p rdf:type ontology:stadium }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q833
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories have an adjacent border with Malaysia ?
(c(Q15617994),P47,Q833) (c(Q56061),P47,Q833)
action count
action union
action filter_type
action find_reverse
entity Q833
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q833
relation P47
type Q56061
[{'concept': 'Q15617994'}, 'P47', 'Q833'] [{'concept': 'Q56061'}, 'P47', 'Q833']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?g rdf:type ?i }
Malaysia
action count
action union
action filter_type
action find_reverse
entity Malaysia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Malaysia
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Malaysia'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Malaysia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?i }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
4
Q869 Q921 Q252 Q334
(c(Q15617994),P47,Q833) (c(Q56061),P47,Q833)
action count
action union
action filter_type
action find_reverse
entity Q833
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q833
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q833'] [{'concept': 'Q56061'}, 'P47', 'Q833']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?g rdf:type ?i }
Thailand Brunei Indonesia Singapore
4
action count
action union
action filter_type
action find_reverse
entity Malaysia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Malaysia
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Malaysia'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Malaysia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q635363
P466
Q1194951
USER
Who is an occupant of National Stadium, Bukit Jalil ?
(Q635363,P466,c(Q1194951))
action filter_type
action find
entity Q635363
relation P466
type Q1194951
['Q635363', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q635363 property:P466 ?p . ?p rdf:type ontology:Q1194951 }
National Stadium, Bukit Jalil
action filter_type
action find
entity National Stadium, Bukit Jalil
relation occupant
type national sports team
['National Stadium, Bukit Jalil', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:National_Stadium,_Bukit_Jalil property:occupant ?p . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q318922
SYSTEM
Malaysia national football team
Q318922
(Q635363,P466,c(Q1194951))
action filter_type
action find
entity Q635363
relation P466
type Q1194951
An occupant of National Stadium , Bukit Jalil is of [ANSWER]
['Q635363', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q635363 property:P466 ?p . ?p rdf:type ontology:Q1194951 }
Malaysia national football team
An occupant of National Stadium , Bukit Jalil is of Malaysia national football team
Malaysia national football team
action filter_type
action find
entity National Stadium, Bukit Jalil
relation occupant
type national sports team
['National Stadium, Bukit Jalil', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:National_Stadium,_Bukit_Jalil property:occupant ?p . ?p rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3702687 Q635363
P54 P466
Q1194951
USER
What are a tenants of National Stadium, Bukit Jalil or are the team that Luka Milivojević are a member of ?
OR((Q635363,P466,c(Q1194951)), (Q3702687,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q635363
relation P466
action find
entity Q3702687
relation P54
type Q1194951
{'OR': [['Q635363', 'P466', {'concept': 'Q1194951'}], ['Q3702687', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q635363 property:P466 ?h } UNION { resource:Q3702687 property:P54 ?h } } . ?h rdf:type ontology:Q1194951 }
Luka Milivojević National Stadium, Bukit Jalil
action filter_type
action union
action find
entity National Stadium, Bukit Jalil
relation occupant
action find
entity Luka Milivojević
relation member of sports team
type national sports team
{'OR': [['National Stadium, Bukit Jalil', 'occupant', {'concept': 'national sports team'}], ['Luka Milivojević', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?h WHERE { { { resource:National_Stadium,_Bukit_Jalil property:occupant ?h } UNION { resource:Luka_Milivojević property:member_of_sports_team ?h } } . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q318922 Q182740
SYSTEM
Malaysia national football team, Serbia national football team
Q318922 Q182740
OR((Q635363,P466,c(Q1194951)), (Q3702687,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q635363
relation P466
action find
entity Q3702687
relation P54
type Q1194951
A tenants of National Stadium , Bukit Jalil or are the team that Luka Milivojević are a member of are the [ANSWERS]
{'OR': [['Q635363', 'P466', {'concept': 'Q1194951'}], ['Q3702687', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q635363 property:P466 ?h } UNION { resource:Q3702687 property:P54 ?h } } . ?h rdf:type ontology:Q1194951 }
Malaysia national football team Serbia national football team
A tenants of National Stadium , Bukit Jalil or are the team that Luka Milivojević are a member of are the Malaysia national football team and Serbia national football team
Malaysia national football team Serbia national football team
action filter_type
action union
action find
entity National Stadium, Bukit Jalil
relation occupant
action find
entity Luka Milivojević
relation member of sports team
type national sports team
{'OR': [['National Stadium, Bukit Jalil', 'occupant', {'concept': 'national sports team'}], ['Luka Milivojević', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?h WHERE { { { resource:National_Stadium,_Bukit_Jalil property:occupant ?h } UNION { resource:Luka_Milivojević property:member_of_sports_team ?h } } . ?h rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q192092
P47 P17
Q20667921
USER
Which french administrative divisions have an adjacent border with Mazerolles-du-Razès and are present in France ?
AND((c(Q20667921),P47,Q192092), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q192092
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q192092'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?t WHERE { ?t property:P17 resource:Q142 . ?t property:P47 resource:Q192092 . ?t rdf:type ontology:Q20667921 }
France Mazerolles-du-Razès
action filter_type
action intersection
action find_reverse
entity Mazerolles-du-Razès
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Mazerolles-du-Razès'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?t WHERE { ?t property:country resource:France . ?t property:shares_border_with resource:Mazerolles-du-Razès . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q633787 Q201037 Q1016636 Q1086464 Q173427 Q188483 Q608348
SYSTEM
Ferran, La Courtète, Belvèze-du-Razès, Fenouillet-du-Razès, Gramazie, Bellegarde-du-Razès, Montgradail
Q633787 Q201037 Q1016636 Q1086464 Q173427 Q188483 Q608348
AND((c(Q20667921),P47,Q192092), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q192092
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] have an adjacent border with Mazerolles-du-Razès and are present in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q192092'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?t WHERE { ?t property:P17 resource:Q142 . ?t property:P47 resource:Q192092 . ?t rdf:type ontology:Q20667921 }
Ferran La Courtète Belvèze-du-Razès Fenouillet-du-Razès Gramazie Bellegarde-du-Razès Montgradail
Ferran, La Courtète, Belvèze-du-Razès, Fenouillet-du-Razès, Gramazie, Bellegarde-du-Razès and Montgradail have an adjacent border with Mazerolles-du-Razès and are present in France
Ferran La Courtète Belvèze-du-Razès Fenouillet-du-Razès Gramazie Bellegarde-du-Razès Montgradail
action filter_type
action intersection
action find_reverse
entity Mazerolles-du-Razès
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Mazerolles-du-Razès'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?t WHERE { ?t property:country resource:France . ?t property:shares_border_with resource:Mazerolles-du-Razès . ?t rdf:type ontology:type_of_french_administrative_division }
[]