Simple Question (Direct)
Simple Question
Q602255
P106
Q12737077
USER
What is the profession of Alejandro Spajic ?
(Q602255,P106,c(Q12737077))
action filter_type
action find
entity Q602255
relation P106
type Q12737077
['Q602255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q602255 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Alejandro Spajic
action filter_type
action find
entity Alejandro Spajic
relation occupation
type occupation
['Alejandro Spajic', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Alejandro_Spajic property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q15117302
SYSTEM
volleyball player
Q15117302
(Q602255,P106,c(Q12737077))
action filter_type
action find
entity Q602255
relation P106
type Q12737077
The profession of Alejandro Spajic is a [ANSWER]
['Q602255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q602255 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
volleyball player
The profession of Alejandro Spajic is a volleyball player
volleyball player
action filter_type
action find
entity Alejandro Spajic
relation occupation
type occupation
['Alejandro Spajic', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Alejandro_Spajic property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q602255
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q15117302,P27,c(Q15617994))
action filter_type
action find
entity Q602255
relation P27
type Q15617994
['Q15117302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q602255 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Alejandro Spajic
action filter_type
action find
entity Alejandro Spajic
relation country of citizenship
type designation for an administrative territorial entity
['volleyball player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Alejandro_Spajic property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q15117302,P27,c(Q15617994))
action filter_type
action find
entity Q602255
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q15117302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q602255 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Argentina
That person belongs to the Argentina
Argentina
action filter_type
action find
entity Alejandro Spajic
relation country of citizenship
type designation for an administrative territorial entity
['volleyball player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Alejandro_Spajic property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q423
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with less number of administrative territories than North Korea ?
(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 Q423
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?u ) WHERE { ?g property:P530 ?y . ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q423 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?r ) }
North Korea
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 North Korea
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 ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?u ) WHERE { ?g property:diplomatic_relation ?y . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:North_Korea property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?r ) }
[]
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 Q423
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?u ) WHERE { ?g property:P530 ?y . ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q423 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?r ) }
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 North Korea
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 ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?u ) WHERE { ?g property:diplomatic_relation ?y . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:North_Korea property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q244
P530
Q15617994 Q15617994
USER
And how about Barbados?
(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 Q244
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?l ) WHERE { ?o property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q244 property:P530 ?a } } . FILTER ( ?l < ?k ) }
Barbados
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 Barbados
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 ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?l ) WHERE { ?o property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barbados property:diplomatic_relation ?a } } . FILTER ( ?l < ?k ) }
[]
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 Q244
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?l ) WHERE { ?o property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q244 property:P530 ?a } } . FILTER ( ?l < ?k ) }
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 Barbados
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 ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?l ) WHERE { ?o property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barbados property:diplomatic_relation ?a } } . FILTER ( ?l < ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15117302
P101
Q502895
USER
Which person works in the domain of volleyball player ?
(c(Q502895),P101,Q15117302)
action filter_type
action find_reverse
entity Q15117302
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15117302']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q15117302 . ?p rdf:type ontology:Q502895 }
volleyball player
action filter_type
action find_reverse
entity volleyball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'volleyball player']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:volleyball_player . ?p rdf:type ontology:common_name }
[]
common name
Q4967919
SYSTEM
Brigitte Soucy
Q4967919
(c(Q502895),P101,Q15117302)
action filter_type
action find_reverse
entity Q15117302
relation P101
type Q502895
[ANSWER] works in the domain of volleyball player
[{'concept': 'Q502895'}, 'P101', 'Q15117302']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q15117302 . ?p rdf:type ontology:Q502895 }
Brigitte Soucy
Brigitte Soucy works in the domain of volleyball player
Brigitte Soucy
action filter_type
action find_reverse
entity volleyball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'volleyball player']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:volleyball_player . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4967919
P21
Q290
USER
What is the sex of that person ?
(Q4967919,P21,c(Q290))
action filter_type
action find
entity Q4967919
relation P21
type Q290
['Q4967919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4967919 property:P21 ?t . ?t rdf:type ontology:Q290 }
Brigitte Soucy
action filter_type
action find
entity Brigitte Soucy
relation gender
type sex
['Brigitte Soucy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Brigitte_Soucy property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4967919,P21,c(Q290))
action filter_type
action find
entity Q4967919
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q4967919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4967919 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Brigitte Soucy
relation gender
type sex
['Brigitte Soucy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Brigitte_Soucy property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4967919
P19
Q56061
USER
Which administrative territory was Brigitte Soucy born in ?
(Q4967919,P19,c(Q56061))
action filter_type
action find
entity Q4967919
relation P19
type Q56061
['Q4967919', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4967919 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Brigitte Soucy
action filter_type
action find
entity Brigitte Soucy
relation place of birth
type administrative territorial entity
['Brigitte Soucy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Brigitte_Soucy property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q457334
SYSTEM
Moncton
Q457334
(Q4967919,P19,c(Q56061))
action filter_type
action find
entity Q4967919
relation P19
type Q56061
Brigitte Soucy was born in [ANSWER]
['Q4967919', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4967919 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Moncton
Brigitte Soucy was born in Moncton
Moncton
action filter_type
action find
entity Brigitte Soucy
relation place of birth
type administrative territorial entity
['Brigitte Soucy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Brigitte_Soucy property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q457334
P740
Q43229
USER
What were formed at that administrative territory ?
(c(Q43229),P740,Q457334)
action filter_type
action find_reverse
entity Q457334
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q457334']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . ?f property:P740 resource:Q457334 }
Moncton
action filter_type
action find_reverse
entity Moncton
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Moncton']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . ?f property:location_of_formation resource:Moncton }
[]
organization
Q7250207 Q6764023 Q6805157
SYSTEM
PropertyGuys.com, Marine Atlantic, Medavie Blue Cross
Q7250207 Q6764023 Q6805157
(c(Q43229),P740,Q457334)
action filter_type
action find_reverse
entity Q457334
relation P740
type Q43229
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q457334']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . ?f property:P740 resource:Q457334 }
PropertyGuys.com Marine Atlantic Medavie Blue Cross
PropertyGuys.com, Marine Atlantic and Medavie Blue Cross were formed at that administrative territory
PropertyGuys.com Marine Atlantic Medavie Blue Cross
action filter_type
action find_reverse
entity Moncton
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Moncton']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . ?f property:location_of_formation resource:Moncton }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8963298 Q4967919
P27
Q1048835
USER
Which political territories are Brigitte Soucy or Gabriel Turell a civilian of ?
OR((Q4967919,P27,c(Q1048835)), (Q8963298,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4967919
relation P27
action find
entity Q8963298
relation P27
type Q1048835
{'OR': [['Q4967919', 'P27', {'concept': 'Q1048835'}], ['Q8963298', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4967919 property:P27 ?s } UNION { resource:Q8963298 property:P27 ?s } } . ?s rdf:type ontology:Q1048835 }
Gabriel Turell Brigitte Soucy
action filter_type
action union
action find
entity Brigitte Soucy
relation country of citizenship
action find
entity Gabriel Turell
relation country of citizenship
type political territorial entity
{'OR': [['Brigitte Soucy', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gabriel Turell', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Brigitte_Soucy property:country_of_citizenship ?s } UNION { resource:Gabriel_Turell property:country_of_citizenship ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q5705
SYSTEM
Canada, Catalonia
Q16 Q5705
OR((Q4967919,P27,c(Q1048835)), (Q8963298,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4967919
relation P27
action find
entity Q8963298
relation P27
type Q1048835
[ANSWERS] are Brigitte Soucy or Gabriel Turell a civilian of
{'OR': [['Q4967919', 'P27', {'concept': 'Q1048835'}], ['Q8963298', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4967919 property:P27 ?s } UNION { resource:Q8963298 property:P27 ?s } } . ?s rdf:type ontology:Q1048835 }
Canada Catalonia
Canada and Catalonia are Brigitte Soucy or Gabriel Turell a civilian of
Canada Catalonia
action filter_type
action union
action find
entity Brigitte Soucy
relation country of citizenship
action find
entity Gabriel Turell
relation country of citizenship
type political territorial entity
{'OR': [['Brigitte Soucy', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gabriel Turell', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Brigitte_Soucy property:country_of_citizenship ?s } UNION { resource:Gabriel_Turell property:country_of_citizenship ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]