Simple Question (Direct)
Simple Question
Q190731
P140
Q874405
USER
Which social group is the religion of Shamil Basayev ?
(Q190731,P140,c(Q874405))
action filter_type
action find
entity Q190731
relation P140
type Q874405
['Q190731', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q190731 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Shamil Basayev
action filter_type
action find
entity Shamil Basayev
relation religion
type social group
['Shamil Basayev', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Shamil_Basayev property:religion ?r . ?r rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q190731,P140,c(Q874405))
action filter_type
action find
entity Q190731
relation P140
type Q874405
The [ANSWER] is the religion of Shamil Basayev
['Q190731', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q190731 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Islam
The Islam is the religion of Shamil Basayev
Islam
action filter_type
action find
entity Shamil Basayev
relation religion
type social group
['Shamil Basayev', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Shamil_Basayev property:religion ?r . ?r rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190731
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q432,P19,c(Q56061))
action filter_type
action find
entity Q190731
relation P19
type Q56061
['Q432', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q190731 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Shamil Basayev
action filter_type
action find
entity Shamil Basayev
relation place of birth
type administrative territorial entity
['Islam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Shamil_Basayev property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2312752
SYSTEM
Vedeno
Q2312752
(Q432,P19,c(Q56061))
action filter_type
action find
entity Q190731
relation P19
type Q56061
That person was born in [ANSWER]
['Q432', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q190731 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Vedeno
That person was born in Vedeno
Vedeno
action filter_type
action find
entity Shamil Basayev
relation place of birth
type administrative territorial entity
['Islam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Shamil_Basayev property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2312752
P20
Q502895
USER
Who died in that administrative territory ?
(c(Q502895),P20,Q2312752)
action filter_type
action find_reverse
entity Q2312752
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q2312752']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P20 resource:Q2312752 }
Vedeno
action filter_type
action find_reverse
entity Vedeno
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Vedeno']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:place_of_death resource:Vedeno }
[]
common name
Q4063962 Q4132111
SYSTEM
Yassir al-Sudani, Khuseyn Gakayev
Q4063962 Q4132111
(c(Q502895),P20,Q2312752)
action filter_type
action find_reverse
entity Q2312752
relation P20
type Q502895
[ANSWERS] died in that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q2312752']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P20 resource:Q2312752 }
Yassir al-Sudani Khuseyn Gakayev
Yassir al-Sudani and Khuseyn Gakayev died in that administrative territory
Yassir al-Sudani Khuseyn Gakayev
action filter_type
action find_reverse
entity Vedeno
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Vedeno']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:place_of_death resource:Vedeno }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4063962
P607
Q350604
USER
Which armed conflict did that person take part in ?
(Q4063962,P607,c(Q350604))
action filter_type
action find
entity Q4063962
relation P607
type Q350604
['Q4063962', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q4063962 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Yassir al-Sudani
action filter_type
action find
entity Yassir al-Sudani
relation conflict
type armed conflict
['Yassir al-Sudani', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:Yassir_al-Sudani property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q4063962
SYSTEM
Did you mean Yassir al-Sudani ?
Q4063962 Q4132111
(Q4063962,P607,c(Q350604)) (Q4132111,P607,c(Q350604))
[ANSWER]
['Q4063962', 'P607', {'concept': 'Q350604'}] ['Q4132111', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q4063962 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Yassir al-Sudani Khuseyn Gakayev
Did you mean Yassir al-Sudani ?
Yassir al-Sudani
['Yassir al-Sudani', 'conflict', {'concept': 'armed conflict'}] ['Khuseyn Gakayev', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:Yassir_al-Sudani property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4063962,P607,c(Q350604))
['Q4063962', 'P607', {'concept': 'Q350604'}]
['Yassir al-Sudani', 'conflict', {'concept': 'armed conflict'}]
[]
Q120843
SYSTEM
Second Chechen War
Q120843
(Q4063962,P607,c(Q350604))
action filter_type
action find
entity Q4063962
relation P607
type Q350604
That person took in part the [ANSWER]
['Q4063962', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q4063962 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Second Chechen War
That person took in part the Second Chechen War
Second Chechen War
action filter_type
action find
entity Yassir al-Sudani
relation conflict
type armed conflict
['Yassir al-Sudani', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:Yassir_al-Sudani property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4063962
P20
Q56061
USER
How many administrative territories are the places of death of Yassir al-Sudani ?
(Q4063962,P20,c(Q56061))
action count
action filter_type
action find
entity Q4063962
relation P20
type Q56061
['Q4063962', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q4063962 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Yassir al-Sudani
action count
action filter_type
action find
entity Yassir al-Sudani
relation place of death
type administrative territorial entity
['Yassir al-Sudani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Yassir_al-Sudani property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q2312752
(Q4063962,P20,c(Q56061))
action count
action filter_type
action find
entity Q4063962
relation P20
type Q56061
[ANSWER]
['Q4063962', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q4063962 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Vedeno
1
action count
action filter_type
action find
entity Yassir al-Sudani
relation place of death
type administrative territorial entity
['Yassir al-Sudani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Yassir_al-Sudani property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q322552
Q56061
USER
And also tell me about Leo Wright?
(Q322552,P20,c(Q56061))
action count
action filter_type
action find
entity Q322552
relation P20
type Q56061
['Q322552', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q322552 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Leo Wright
action count
action filter_type
action find
entity Leo Wright
relation place of death
type administrative territorial entity
['Leo Wright', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Leo_Wright property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q322552,P20,c(Q56061))
action count
action filter_type
action find
entity Q322552
relation P20
type Q56061
[ANSWER]
['Q322552', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q322552 property:P20 ?e . ?e rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Leo Wright
relation place of death
type administrative territorial entity
['Leo Wright', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Leo_Wright property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q432
P136
Q2342494
USER
Which collectable has Islam as genre ?
(c(Q2342494),P136,Q432)
action filter_type
action find_reverse
entity Q432
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q432']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q432 . ?v rdf:type ontology:Q2342494 }
Islam
action filter_type
action find_reverse
entity Islam
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Islam']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:Islam . ?v rdf:type ontology:collectable }
[]
collectable
Q6572807
SYSTEM
The Geological Concept of Mountains in the Qur'an
Q6572807
(c(Q2342494),P136,Q432)
action filter_type
action find_reverse
entity Q432
relation P136
type Q2342494
[ANSWER] has Islam as genre
[{'concept': 'Q2342494'}, 'P136', 'Q432']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q432 . ?v rdf:type ontology:Q2342494 }
The Geological Concept of Mountains in the Qur'an
The Geological Concept of Mountains in the Qur'an has Islam as genre
The Geological Concept of Mountains in the Qur'an
action filter_type
action find_reverse
entity Islam
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Islam']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:Islam . ?v rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432
P361
Q1445650
USER
Which holiday is a portion of that social group ?
(c(Q1445650),P361,Q6572807)
action filter_type
action find_reverse
entity Q432
relation P361
type Q1445650
[{'concept': 'Q1445650'}, 'P361', 'Q6572807']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1445650 . ?h property:P361 resource:Q432 }
Islam
action filter_type
action find_reverse
entity Islam
relation part of
type holiday
[{'concept': 'holiday'}, 'part of', "The Geological Concept of Mountains in the Qur'an"]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:holiday . ?h property:part_of resource:Islam }
[]
holiday
Q6484291
SYSTEM
Muslim occasions
Q6484291
(c(Q1445650),P361,Q6572807)
action filter_type
action find_reverse
entity Q432
relation P361
type Q1445650
[ANSWER] is a portion of that social group
[{'concept': 'Q1445650'}, 'P361', 'Q6572807']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1445650 . ?h property:P361 resource:Q432 }
Muslim occasions
Muslim occasions is a portion of that social group
Muslim occasions
action filter_type
action find_reverse
entity Islam
relation part of
type holiday
[{'concept': 'holiday'}, 'part of', "The Geological Concept of Mountains in the Qur'an"]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:holiday . ?h property:part_of resource:Islam }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4698479
P355
Q874405 Q43229 Q4830453
USER
Which social groups are an auxiliary of less number of organizations and business enterprises than Airbus ProSky ?
(c(Q43229)|c(Q4830453),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q4698479
relation P355
type Q43229
type Q4830453
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?x WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P355 resource:Q4698479 . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?s < ?a ) }
Airbus ProSky
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Airbus ProSky
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?x WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:subsidiary resource:Airbus_ProSky . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:business_enterprise ) } } } } . FILTER ( ?s < ?a ) }
[]
social group organization business enterprise
Q7660181 Q740308 Q1411739
SYSTEM
Sydney Trains, UNICEF, Time Inc.
Q2522363 Q7437933 Q751152 Q928183 Q7988225 Q13359824 Q7660181 Q6670591 Q5330408 Q781027 Q13218607 Q3274087 Q13416804 Q7570387 Q161718 Q477386 Q5975415 Q5153705 Q7055281 Q1204921 Q3954348 Q376150 Q1411739 Q740308 Q549157
(c(Q43229)|c(Q4830453),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q4698479
relation P355
type Q43229
type Q4830453
[ANSWERS] are an auxiliary of less number of organizations and business enterprises than Airbus ProSky
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?x WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P355 resource:Q4698479 . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?s < ?a ) }
Victor Gollancz Ltd Scottish Region of British Railways Astrium Services SABCA Western Region of British Railways Immobilière Dassault Sydney Trains London Midland Region of British Railways Eastern Region of British Railways Audi Hungaria Motor Kft. RBS Securities United Front Work Department Warner Bros. Animation Southern Region of British Railways United Nations Development Programme EADS Astrium Space Transportation IUPAC/IUPAP Joint Working Party Commonwealth Business Council North Eastern Region of British Railways International Rice Research Institute Commonwealth Secretariat International Telecommunication Union Time Inc. UNICEF Airlines Tonga
Sydney Trains, UNICEF and Time Inc. are an auxiliary of less number of organizations and business enterprises than Airbus ProSky
Sydney Trains UNICEF Time Inc.
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Airbus ProSky
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?x WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:subsidiary resource:Airbus_ProSky . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:business_enterprise ) } } } } . FILTER ( ?s < ?a ) }
[]