Simple Question (Direct)
Simple Question
Q21620967
P21
Q290
USER
Which sex does Ademir Candido possess ?
(Q21620967,P21,c(Q290))
action filter_type
action find
entity Q21620967
relation P21
type Q290
['Q21620967', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q21620967 property:P21 ?q . ?q rdf:type ontology:Q290 }
Ademir Candido
action filter_type
action find
entity Ademir Candido
relation gender
type sex
['Ademir Candido', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Ademir_Candido property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21620967,P21,c(Q290))
action filter_type
action find
entity Q21620967
relation P21
type Q290
Ademir Candido possesses un [ANSWER]
['Q21620967', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q21620967 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Ademir Candido possesses un male
male
action filter_type
action find
entity Ademir Candido
relation gender
type sex
['Ademir Candido', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Ademir_Candido property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21620967
P106
Q12737077
USER
What is the profession of Ademir Candido ?
(Q21620967,P106,c(Q12737077))
action filter_type
action find
entity Q21620967
relation P106
type Q12737077
['Q21620967', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q21620967 property:P106 ?x }
Ademir Candido
action filter_type
action find
entity Ademir Candido
relation occupation
type occupation
['Ademir Candido', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Ademir_Candido property:occupation ?x }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21620967,P106,c(Q12737077))
action filter_type
action find
entity Q21620967
relation P106
type Q12737077
The profession of Ademir Candido is an [ANSWER]
['Q21620967', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q21620967 property:P106 ?x }
association football player
The profession of Ademir Candido is an association football player
association football player
action filter_type
action find
entity Ademir Candido
relation occupation
type occupation
['Ademir Candido', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Ademir_Candido property:occupation ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q11969927
P106
Q502895
USER
Does Frank Våge Skårdal have career as that occupation ?
(Q11969927,P106,Q937857)
action is_in
entity Q937857
action find
entity Q11969927
relation P106
['Q11969927', 'P106', 'Q937857']
ASK WHERE { resource:Q11969927 property:P106 resource:Q937857 }
association football player Frank Våge Skårdal
action is_in
entity association football player
action find
entity Frank Våge Skårdal
relation occupation
['Frank Våge Skårdal', 'occupation', 'association football player']
ASK WHERE { resource:Frank_Våge_Skårdal property:occupation resource:association_football_player }
[]
common name
SYSTEM
YES
(Q11969927,P106,Q937857)
action is_in
entity Q937857
action find
entity Q11969927
relation P106
[ANSWER]
['Q11969927', 'P106', 'Q937857']
ASK WHERE { resource:Q11969927 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Frank Våge Skårdal
relation occupation
['Frank Våge Skårdal', 'occupation', 'association football player']
ASK WHERE { resource:Frank_Våge_Skårdal property:occupation resource:association_football_player }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17485855 Q619255
P641
Q349
USER
How many sports did Bilal Assoufi or A.S. Apollon Patras participate in ?
(Q17485855,P641,c(Q349)) (Q619255,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q17485855
relation P641
type Q349
action filter_type
action find
entity Q619255
relation P641
type Q349
['Q17485855', 'P641', {'concept': 'Q349'}] ['Q619255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?m ) { ( resource:Q17485855 ) ( resource:Q619255 ) } . ?m property:P641 ?i }
Bilal Assoufi A.S. Apollon Patras
action count
action union
action filter_type
action find
entity Bilal Assoufi
relation sport
type sport
action filter_type
action find
entity A.S. Apollon Patras
relation sport
type sport
['Bilal Assoufi', 'sport', {'concept': 'sport'}] ['A.S. Apollon Patras', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?m ) { ( resource:Bilal_Assoufi ) ( resource:A.S._Apollon_Patras ) } . ?m property:sport ?i }
[]
sport
SYSTEM
4
Q1734 Q5372 Q3930 Q2736
(Q17485855,P641,c(Q349)) (Q619255,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q17485855
relation P641
type Q349
action filter_type
action find
entity Q619255
relation P641
type Q349
[ANSWER]
['Q17485855', 'P641', {'concept': 'Q349'}] ['Q619255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?m ) { ( resource:Q17485855 ) ( resource:Q619255 ) } . ?m property:P641 ?i }
volleyball basketball table tennis association football
4
action count
action union
action filter_type
action find
entity Bilal Assoufi
relation sport
type sport
action filter_type
action find
entity A.S. Apollon Patras
relation sport
type sport
['Bilal Assoufi', 'sport', {'concept': 'sport'}] ['A.S. Apollon Patras', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?m ) { ( resource:Bilal_Assoufi ) ( resource:A.S._Apollon_Patras ) } . ?m property:sport ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17485855
P19
Q56061
USER
Which administrative territory was that person born in ?
action filter_type
action find
entity Q17485855
relation P19
type Q56061
SELECT DISTINCT ?b WHERE { resource:Q17485855 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Bilal Assoufi
action filter_type
action find
entity Bilal Assoufi
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?b WHERE { resource:Bilal_Assoufi property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q126148
SYSTEM
Tangier
Q126148
action filter_type
action find
entity Q17485855
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q17485855 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Tangier
That person was born in Tangier
Tangier
action filter_type
action find
entity Bilal Assoufi
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?b WHERE { resource:Bilal_Assoufi property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17485855
P27
Q15617994
USER
Which administrative territory does Bilal Assoufi belong to ?
(Q17485855,P27,c(Q15617994))
action filter_type
action find
entity Q17485855
relation P27
type Q15617994
['Q17485855', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q17485855 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Bilal Assoufi
action filter_type
action find
entity Bilal Assoufi
relation country of citizenship
type designation for an administrative territorial entity
['Bilal Assoufi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bilal_Assoufi property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
(Q17485855,P27,c(Q15617994))
action filter_type
action find
entity Q17485855
relation P27
type Q15617994
Bilal Assoufi belongs to [ANSWER]
['Q17485855', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q17485855 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Morocco
Bilal Assoufi belongs to Morocco
Morocco
action filter_type
action find
entity Bilal Assoufi
relation country of citizenship
type designation for an administrative territorial entity
['Bilal Assoufi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bilal_Assoufi property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q77
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with less number of administrative territories than Uruguay ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q77 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:P530 ?e . ?v rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?v } }
Uruguay
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Uruguay property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:diplomatic_relation ?e . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
95
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q77 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:P530 ?e . ?v rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
95
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Uruguay property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:diplomatic_relation ?e . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q734
P530
Q15617994 Q15617994
USER
And how about Guyana?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q734
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?o ) WHERE { ?x property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q734 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?r ) }
Guyana
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?o ) WHERE { ?x property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Guyana property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q734
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?o ) WHERE { ?x property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q734 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?r ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?o ) WHERE { ?x property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Guyana property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P35
Q502895
USER
Who is the head of state of Morocco ?
(Q1028,P35,c(Q502895))
action filter_type
action find
entity Q1028
relation P35
type Q502895
['Q1028', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1028 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Morocco
action filter_type
action find
entity Morocco
relation head of state
type common name
['Morocco', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Morocco property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
common name
Q57553
SYSTEM
Mohammed VI of Morocco
Q57553
(Q1028,P35,c(Q502895))
action filter_type
action find
entity Q1028
relation P35
type Q502895
The head of state of Morocco is King [ANSWER]
['Q1028', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1028 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Mohammed VI of Morocco
The head of state of Morocco is King Mohammed VI of Morocco
Mohammed VI of Morocco
action filter_type
action find
entity Morocco
relation head of state
type common name
['Morocco', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Morocco property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P6
Q502895
USER
Which person is Morocco the head of goverment of ?
(Q1028,P6,c(Q502895))
action filter_type
action find
entity Q1028
relation P6
type Q502895
['Q1028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1028 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Morocco
action filter_type
action find
entity Morocco
relation head of government
type common name
['Morocco', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Morocco property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q307921
SYSTEM
Abdelilah Benkirane
Q307921
(Q1028,P6,c(Q502895))
action filter_type
action find
entity Q1028
relation P6
type Q502895
[ANSWER] is Morocco the head of goverment of
['Q1028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1028 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Abdelilah Benkirane
Abdelilah Benkirane is Morocco the head of goverment of
Abdelilah Benkirane
action filter_type
action find
entity Morocco
relation head of government
type common name
['Morocco', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Morocco property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1766477
Q502895
USER
And how about Villalube?
(Q1766477,P6,c(Q502895))
action filter_type
action find
entity Q1766477
relation P6
type Q502895
['Q1766477', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1766477 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Villalube
action filter_type
action find
entity Villalube
relation head of government
type common name
['Villalube', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Villalube property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Q14144882
SYSTEM
Victoriano Martín García
Q14144882
(Q1766477,P6,c(Q502895))
action filter_type
action find
entity Q1766477
relation P6
type Q502895
[ANSWER]
['Q1766477', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1766477 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Victoriano Martín García
Victoriano Martín García
action filter_type
action find
entity Villalube
relation head of government
type common name
['Villalube', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Villalube property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14144882 Q29
P27
Q15617994
USER
Is Victoriano Martín García an inhabitant of Spain ?
(Q14144882,P27,Q29)
action is_in
entity Q29
action find
entity Q14144882
relation P27
['Q14144882', 'P27', 'Q29']
ASK WHERE { resource:Q14144882 property:P27 resource:Q29 }
Victoriano Martín García Spain
action is_in
entity Spain
action find
entity Victoriano Martín García
relation country of citizenship
['Victoriano Martín García', 'country of citizenship', 'Spain']
ASK WHERE { resource:Victoriano_Martín_García property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14144882,P27,Q29)
action is_in
entity Q29
action find
entity Q14144882
relation P27
[ANSWER]
['Q14144882', 'P27', 'Q29']
ASK WHERE { resource:Q14144882 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Victoriano Martín García
relation country of citizenship
['Victoriano Martín García', 'country of citizenship', 'Spain']
ASK WHERE { resource:Victoriano_Martín_García property:country_of_citizenship resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1028
P47
Q56061
USER
How many administrative territories are adjacent to Morocco ?
(Q1028,P47,c(Q56061))
action count
action filter_type
action find
entity Q1028
relation P47
type Q56061
['Q1028', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q1028 property:P47 ?d . ?d rdf:type ontology:Q56061 }
Morocco
action count
action filter_type
action find
entity Morocco
relation shares border with
type administrative territorial entity
['Morocco', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Morocco property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q458
(Q1028,P47,c(Q56061))
action count
action filter_type
action find
entity Q1028
relation P47
type Q56061
[ANSWER]
['Q1028', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q1028 property:P47 ?d . ?d rdf:type ontology:Q56061 }
European Union
1
action count
action filter_type
action find
entity Morocco
relation shares border with
type administrative territorial entity
['Morocco', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Morocco property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8598
P47
Q56061
USER
Which administrative territory is adjacent to Sassuolo ?
(Q8598,P47,c(Q56061))
action filter_type
action find
entity Q8598
relation P47
type Q56061
['Q8598', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8598 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Sassuolo
action filter_type
action find
entity Sassuolo
relation shares border with
type administrative territorial entity
['Sassuolo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sassuolo property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100051
SYSTEM
Fiorano Modenese
Q100051
(Q8598,P47,c(Q56061))
action filter_type
action find
entity Q8598
relation P47
type Q56061
[ANSWER] is adjacent to Sassuolo
['Q8598', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8598 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Fiorano Modenese
Fiorano Modenese is adjacent to Sassuolo
Fiorano Modenese
action filter_type
action find
entity Sassuolo
relation shares border with
type administrative territorial entity
['Sassuolo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sassuolo property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8598
P159
Q43229
USER
Which organization has its HQ location at that administrative territory ?
(c(Q43229),P159,Q100051)
action filter_type
action find_reverse
entity Q8598
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q100051']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q8598 . ?a rdf:type ontology:Q43229 }
Sassuolo
action filter_type
action find_reverse
entity Sassuolo
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Fiorano Modenese']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Sassuolo . ?a rdf:type ontology:organization }
[]
organization
Q3845396
SYSTEM
Marca Corona
Q3845396
(c(Q43229),P159,Q100051)
action filter_type
action find_reverse
entity Q8598
relation P159
type Q43229
[ANSWER] has its HQ location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q100051']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q8598 . ?a rdf:type ontology:Q43229 }
Marca Corona
Marca Corona has its HQ location at that administrative territory
Marca Corona
action filter_type
action find_reverse
entity Sassuolo
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Fiorano Modenese']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Sassuolo . ?a rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2659455 Q17485855
P641
Q349
USER
Which sports were Bilal Assoufi and Franky Dekenne a part of ?
AND((Q17485855,P641,c(Q349)), (Q2659455,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q17485855
relation P641
action find
entity Q2659455
relation P641
type Q349
{'AND': [['Q17485855', 'P641', {'concept': 'Q349'}], ['Q2659455', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q17485855 property:P641 ?v . resource:Q2659455 property:P641 ?v . ?v rdf:type ontology:Q349 }
Franky Dekenne Bilal Assoufi
action filter_type
action intersection
action find
entity Bilal Assoufi
relation sport
action find
entity Franky Dekenne
relation sport
type sport
{'AND': [['Bilal Assoufi', 'sport', {'concept': 'sport'}], ['Franky Dekenne', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:Bilal_Assoufi property:sport ?v . resource:Franky_Dekenne property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q17485855,P641,c(Q349)), (Q2659455,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q17485855
relation P641
action find
entity Q2659455
relation P641
type Q349
The [ANSWER] was Bilal Assoufi and Franky Dekenne a part of
{'AND': [['Q17485855', 'P641', {'concept': 'Q349'}], ['Q2659455', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q17485855 property:P641 ?v . resource:Q2659455 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
The association football was Bilal Assoufi and Franky Dekenne a part of
association football
action filter_type
action intersection
action find
entity Bilal Assoufi
relation sport
action find
entity Franky Dekenne
relation sport
type sport
{'AND': [['Bilal Assoufi', 'sport', {'concept': 'sport'}], ['Franky Dekenne', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:Bilal_Assoufi property:sport ?v . resource:Franky_Dekenne property:sport ?v . ?v rdf:type ontology:sport }
[]