Simple Question (Direct)
Simple Question
Q17465542
P641
Q349
USER
What did Ahmad Abdollahzadeh participate in ?
(Q17465542,P641,c(Q349))
action filter_type
action find
entity Q17465542
relation P641
type Q349
['Q17465542', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q17465542 property:P641 ?q }
Ahmad Abdollahzadeh
action filter_type
action find
entity Ahmad Abdollahzadeh
relation sport
type sport
['Ahmad Abdollahzadeh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Ahmad_Abdollahzadeh property:sport ?q }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17465542,P641,c(Q349))
action filter_type
action find
entity Q17465542
relation P641
type Q349
Ahmad Abdollahzadeh participated in [ANSWER]
['Q17465542', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q17465542 property:P641 ?q }
association football
Ahmad Abdollahzadeh participated in association football
association football
action filter_type
action find
entity Ahmad Abdollahzadeh
relation sport
type sport
['Ahmad Abdollahzadeh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Ahmad_Abdollahzadeh property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17465542
P27
Q15617994
USER
Which administrative territory is Ahmad Abdollahzadeh an inhabitant of ?
(Q17465542,P27,c(Q15617994))
action filter_type
action find
entity Q17465542
relation P27
type Q15617994
['Q17465542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q17465542 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Ahmad Abdollahzadeh
action filter_type
action find
entity Ahmad Abdollahzadeh
relation country of citizenship
type designation for an administrative territorial entity
['Ahmad Abdollahzadeh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ahmad_Abdollahzadeh property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q17465542,P27,c(Q15617994))
action filter_type
action find
entity Q17465542
relation P27
type Q15617994
The [ANSWER] is Ahmad Abdollahzadeh an inhabitant of
['Q17465542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q17465542 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Iran
The Iran is Ahmad Abdollahzadeh an inhabitant of
Iran
action filter_type
action find
entity Ahmad Abdollahzadeh
relation country of citizenship
type designation for an administrative territorial entity
['Ahmad Abdollahzadeh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ahmad_Abdollahzadeh property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P20
Q4164871 Q502895
USER
How many positions or people have that administrative territory as the area of death ?
(c(Q4164871),P20,Q794) (c(Q502895),P20,Q794) (c(Q4164871),P20,Q794) (c(Q502895),P20,Q794)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P20
type Q4164871
action filter_type
action find_reverse
entity Q794
relation P20
type Q502895
[{'concept': 'Q4164871'}, 'P20', 'Q794'] [{'concept': 'Q502895'}, 'P20', 'Q794'] [{'concept': 'Q4164871'}, 'P20', 'Q794'] [{'concept': 'Q502895'}, 'P20', 'Q794']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:Q4164871 ) ( ontology:Q502895 ) } }
action count
action union
action filter_type
action find_reverse
entity Iran
relation place of death
type position
action filter_type
action find_reverse
entity Iran
relation place of death
type common name
[{'concept': 'position'}, 'place of death', 'Iran'] [{'concept': 'common name'}, 'place of death', 'Iran'] [{'concept': 'position'}, 'place of death', 'Iran'] [{'concept': 'common name'}, 'place of death', 'Iran']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:position ) ( ontology:common_name ) } }
[]
position common name
SYSTEM
19
Q5721686 Q470523 Q1528137 Q24038400 Q312032 Q1351043 Q12842097 Q16600668 Q1840195 Q3109705 Q282258 Q7634618 Q3461219 Q4330727 Q351508 Q340029 Q2040896 Q1991767 Q4027383
(c(Q4164871),P20,Q794) (c(Q502895),P20,Q794) (c(Q4164871),P20,Q794) (c(Q502895),P20,Q794)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P20
type Q4164871
action filter_type
action find_reverse
entity Q794
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q4164871'}, 'P20', 'Q794'] [{'concept': 'Q502895'}, 'P20', 'Q794'] [{'concept': 'Q4164871'}, 'P20', 'Q794'] [{'concept': 'Q502895'}, 'P20', 'Q794']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:Q4164871 ) ( ontology:Q502895 ) } }
Henry G. Bennett Surena Özdemiroğlu Osman Pasha Pinhas Pierre Delougaz Achaemenes William George Browne Rabi-ollah Kabiri Saul Greco Hossein Khan Sardar Vushmgir Ali-Qoli Khan Bakhtiari Sufi Amba Prasad Saeed Malekpour Hakob Hovnatanyan Pierre Martin Rémi Aucher-Éloy Howard Baskerville Otto Wartmann-Kägi Nicholas I Zaya Sevkaretsi Sako
19
action count
action union
action filter_type
action find_reverse
entity Iran
relation place of death
type position
action filter_type
action find_reverse
entity Iran
relation place of death
type common name
[{'concept': 'position'}, 'place of death', 'Iran'] [{'concept': 'common name'}, 'place of death', 'Iran'] [{'concept': 'position'}, 'place of death', 'Iran'] [{'concept': 'common name'}, 'place of death', 'Iran']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:position ) ( ontology:common_name ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with around 114 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 114
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?t property:P530 ?j . ?t rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?d = 114 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 114
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?t property:diplomatic_relation ?j . ?t rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?d = 114 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 114
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?t property:P530 ?j . ?t rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?d = 114 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 114
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?t property:diplomatic_relation ?j . ?t rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?d = 114 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with around the same number of administrative territories as Solomon Islands ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?i ) WHERE { ?l property:P530 ?s . ?l rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?p } } . FILTER ( ?i = ?o ) }
Solomon Islands
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?i ) WHERE { ?l property:diplomatic_relation ?s . ?l rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?p } } . FILTER ( ?i = ?o ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?i ) WHERE { ?l property:P530 ?s . ?l rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?p } } . FILTER ( ?i = ?o ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?i ) WHERE { ?l property:diplomatic_relation ?s . ?l rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?p } } . FILTER ( ?i = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And also tell me about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?e rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?e property:P530 ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q766 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?n = ?b ) }
Jamaica
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Jamaica property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?n = ?b ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?e rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?e property:P530 ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q766 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?n = ?b ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Jamaica property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?n = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q794 Q83311
P27
Q502895
USER
How many people are a citizen of Iran and Persian Empire ?
(c(Q502895),P27,Q794) (c(Q502895),P27,Q83311)
action count
action intersection
action filter_type
action find_reverse
entity Q794
relation P27
type Q502895
action filter_type
action find_reverse
entity Q83311
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q794'] [{'concept': 'Q502895'}, 'P27', 'Q83311']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P27 resource:Q794 . ?d property:P27 resource:Q83311 . ?d rdf:type ontology:Q502895 }
Iran Persian Empire
action count
action intersection
action filter_type
action find_reverse
entity Iran
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Persian Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Iran'] [{'concept': 'common name'}, 'country of citizenship', 'Persian Empire']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:common_name . ?d property:country_of_citizenship resource:Iran . ?d property:country_of_citizenship resource:Persian_Empire . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3841824 Q380726
(c(Q502895),P27,Q794) (c(Q502895),P27,Q83311)
action count
action intersection
action filter_type
action find_reverse
entity Q794
relation P27
type Q502895
action filter_type
action find_reverse
entity Q83311
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q794'] [{'concept': 'Q502895'}, 'P27', 'Q83311']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P27 resource:Q794 . ?d property:P27 resource:Q83311 . ?d rdf:type ontology:Q502895 }
Maruf Karkhi Reza Abbasi
2
action count
action intersection
action filter_type
action find_reverse
entity Iran
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Persian Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Iran'] [{'concept': 'common name'}, 'country of citizenship', 'Persian Empire']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:common_name . ?d property:country_of_citizenship resource:Iran . ?d property:country_of_citizenship resource:Persian_Empire . ?d rdf:type ontology:common_name }
[]