Simple Question (Direct)
Simple Question
Q12181772
P641
Q349
USER
Which sport was Ibrahim Zaid a part of ?
(Q12181772,P641,c(Q349))
action filter_type
action find
entity Q12181772
relation P641
type Q349
['Q12181772', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q12181772 property:P641 ?b }
Ibrahim Zaid
action filter_type
action find
entity Ibrahim Zaid
relation sport
type sport
['Ibrahim Zaid', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Ibrahim_Zaid property:sport ?b }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q12181772,P641,c(Q349))
action filter_type
action find
entity Q12181772
relation P641
type Q349
Ibrahim Zaid was in [ANSWER]
['Q12181772', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q12181772 property:P641 ?b }
association football
Ibrahim Zaid was in association football
association football
action filter_type
action find
entity Ibrahim Zaid
relation sport
type sport
['Ibrahim Zaid', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Ibrahim_Zaid property:sport ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12181772
P21
Q290
USER
Which sex does Ibrahim Zaid belong to ?
(Q12181772,P21,c(Q290))
action filter_type
action find
entity Q12181772
relation P21
type Q290
['Q12181772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q12181772 property:P21 ?e . ?e rdf:type ontology:Q290 }
Ibrahim Zaid
action filter_type
action find
entity Ibrahim Zaid
relation gender
type sex
['Ibrahim Zaid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Ibrahim_Zaid property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12181772,P21,c(Q290))
action filter_type
action find
entity Q12181772
relation P21
type Q290
Ibrahim Zaid belongs to [ANSWER]
['Q12181772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q12181772 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Ibrahim Zaid belongs to male
male
action filter_type
action find
entity Ibrahim Zaid
relation gender
type sex
['Ibrahim Zaid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Ibrahim_Zaid property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17747985
Q290
USER
And also tell me about Julius Adolf Friedrich Treusch von Buttlar?
(Q17747985,P21,c(Q290))
action filter_type
action find
entity Q17747985
relation P21
type Q290
['Q17747985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q17747985 property:P21 ?n . ?n rdf:type ontology:Q290 }
Julius Adolf Friedrich Treusch von Buttlar
action filter_type
action find
entity Julius Adolf Friedrich Treusch von Buttlar
relation gender
type sex
['Julius Adolf Friedrich Treusch von Buttlar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Julius_Adolf_Friedrich_Treusch_von_Buttlar property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17747985,P21,c(Q290))
action filter_type
action find
entity Q17747985
relation P21
type Q290
[ANSWER]
['Q17747985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q17747985 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Julius Adolf Friedrich Treusch von Buttlar
relation gender
type sex
['Julius Adolf Friedrich Treusch von Buttlar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Julius_Adolf_Friedrich_Treusch_von_Buttlar property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12181772
P19
Q15617994
USER
Which administrative territory is the place of birth of Ibrahim Zaid ?
(Q12181772,P19,c(Q15617994))
action filter_type
action find
entity Q12181772
relation P19
type Q15617994
['Q12181772', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q12181772 property:P19 ?b }
Ibrahim Zaid
action filter_type
action find
entity Ibrahim Zaid
relation place of birth
type designation for an administrative territorial entity
['Ibrahim Zaid', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ibrahim_Zaid property:place_of_birth ?b }
[]
designation for an administrative territorial entity
Q851
SYSTEM
Saudi Arabia
Q851
(Q12181772,P19,c(Q15617994))
action filter_type
action find
entity Q12181772
relation P19
type Q15617994
[ANSWER] is the place of birth of Ibrahim Zaid
['Q12181772', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q12181772 property:P19 ?b }
Saudi Arabia
Saudi Arabia is the place of birth of Ibrahim Zaid
Saudi Arabia
action filter_type
action find
entity Ibrahim Zaid
relation place of birth
type designation for an administrative territorial entity
['Ibrahim Zaid', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ibrahim_Zaid property:place_of_birth ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1133319
Q15617994
USER
And what about Cornelia Faltermaier?
(Q1133319,P19,c(Q15617994))
action filter_type
action find
entity Q1133319
relation P19
type Q15617994
['Q1133319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1133319 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Cornelia Faltermaier
action filter_type
action find
entity Cornelia Faltermaier
relation place of birth
type designation for an administrative territorial entity
['Cornelia Faltermaier', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Cornelia_Faltermaier property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15980
SYSTEM
Erding
Q15980
(Q1133319,P19,c(Q15617994))
action filter_type
action find
entity Q1133319
relation P19
type Q15617994
[ANSWER]
['Q1133319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1133319 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Erding
Erding
action filter_type
action find
entity Cornelia Faltermaier
relation place of birth
type designation for an administrative territorial entity
['Cornelia Faltermaier', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Cornelia_Faltermaier property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q15980 Q3824916 Q183
P17
Q1048835
USER
Is that administrative territory present in Grocio Prado District and Germany ?
(Q15980,P17,Q3824916) (Q15980,P17,Q183)
action is_in
entity Q15980
action intersection
action find_reverse
entity Q3824916
relation P17
action find_reverse
entity Q183
relation P17
['Q15980', 'P17', 'Q3824916'] ['Q15980', 'P17', 'Q183']
ASK WHERE { resource:Q15980 property:P17 resource:Q3824916 . resource:Q15980 property:P17 resource:Q183 }
Erding Grocio Prado District Germany
action is_in
entity Erding
action intersection
action find_reverse
entity Grocio Prado District
relation country
action find_reverse
entity Germany
relation country
['Erding', 'country', 'Grocio Prado District'] ['Erding', 'country', 'Germany']
ASK WHERE { resource:Erding property:country resource:Grocio_Prado_District . resource:Erding property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q15980,P17,Q3824916) (Q15980,P17,Q183)
action is_in
entity Q15980
action intersection
action find_reverse
entity Q3824916
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q15980', 'P17', 'Q3824916'] ['Q15980', 'P17', 'Q183']
ASK WHERE { resource:Q15980 property:P17 resource:Q3824916 . resource:Q15980 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Erding
action intersection
action find_reverse
entity Grocio Prado District
relation country
action find_reverse
entity Germany
relation country
['Erding', 'country', 'Grocio Prado District'] ['Erding', 'country', 'Germany']
ASK WHERE { resource:Erding property:country resource:Grocio_Prado_District . resource:Erding property:country resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q851
P159
Q874405 Q43229
USER
How many social groups or organizations have their head office location at Saudi Arabia ?
(c(Q874405),P159,Q851) (c(Q43229),P159,Q851)
action count
action union
action filter_type
action find_reverse
entity Q851
relation P159
type Q874405
action filter_type
action find_reverse
entity Q851
relation P159
type Q43229
[{'concept': 'Q874405'}, 'P159', 'Q851'] [{'concept': 'Q43229'}, 'P159', 'Q851']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } }
Saudi Arabia
action count
action union
action filter_type
action find_reverse
entity Saudi Arabia
relation headquarters location
type social group
action filter_type
action find_reverse
entity Saudi Arabia
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Saudi Arabia'] [{'concept': 'organization'}, 'headquarters location', 'Saudi Arabia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:social_group ) ( ontology:organization ) } }
[]
social group organization
SYSTEM
13
Q6411202 Q7427124 Q6978524 Q4874290 Q18518626 Q16965386 Q7244252 Q1525141 Q4738358 Q6887331 Q17070128 Q6437052 Q6852056
(c(Q874405),P159,Q851) (c(Q43229),P159,Q851)
action count
action union
action filter_type
action find_reverse
entity Q851
relation P159
type Q874405
action filter_type
action find_reverse
entity Q851
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q851'] [{'concept': 'Q43229'}, 'P159', 'Q851']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } }
King Abdulaziz Center For National Dialogue Saudi Aviation Club National Society for Human Rights Bayanat Elm information security Integrated Telecom Company Prince Sultan Research Center for Environment, Water and Desert Muslim World League Alwaleed Philanthropies Mobily Saudia Aerospace Engineering Industries Krimmley Contracting Company Military Industries Corporation
13
action count
action union
action filter_type
action find_reverse
entity Saudi Arabia
relation headquarters location
type social group
action filter_type
action find_reverse
entity Saudi Arabia
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Saudi Arabia'] [{'concept': 'organization'}, 'headquarters location', 'Saudi Arabia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:social_group ) ( ontology:organization ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15980
P17
Q1048835
USER
How many political territories do Erding belong to ?
(Q15980,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15980
relation P17
type Q1048835
['Q15980', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q15980 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Erding
action count
action filter_type
action find
entity Erding
relation country
type political territorial entity
['Erding', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Erding property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q15980,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15980
relation P17
type Q1048835
[ANSWER]
['Q15980', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q15980 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Erding
relation country
type political territorial entity
['Erding', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Erding property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q851
P172
Q502895
USER
Which person has Saudi Arabia as his/her race ?
(c(Q502895),P172,Q851)
action filter_type
action find_reverse
entity Q851
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q851']
SELECT DISTINCT ?q WHERE { ?q property:P172 resource:Q851 . ?q rdf:type ontology:Q502895 }
Saudi Arabia
action filter_type
action find_reverse
entity Saudi Arabia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Saudi Arabia']
SELECT DISTINCT ?q WHERE { ?q property:ethnic_group resource:Saudi_Arabia . ?q rdf:type ontology:common_name }
[]
common name
Q4665629
SYSTEM
Abdul Rahman Al-Ghamdi
Q4665629
(c(Q502895),P172,Q851)
action filter_type
action find_reverse
entity Q851
relation P172
type Q502895
[ANSWER] has Saudi Arabia as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q851']
SELECT DISTINCT ?q WHERE { ?q property:P172 resource:Q851 . ?q rdf:type ontology:Q502895 }
Abdul Rahman Al-Ghamdi
Abdul Rahman Al-Ghamdi has Saudi Arabia as his/her race
Abdul Rahman Al-Ghamdi
action filter_type
action find_reverse
entity Saudi Arabia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Saudi Arabia']
SELECT DISTINCT ?q WHERE { ?q property:ethnic_group resource:Saudi_Arabia . ?q rdf:type ontology:common_name }
[]