Simple Question (Direct)
Simple Question
Q1745423
P106
Q12737077
USER
What is the job of Klaus Matischak ?
(Q1745423,P106,c(Q12737077))
action filter_type
action find
entity Q1745423
relation P106
type Q12737077
['Q1745423', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1745423 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Klaus Matischak
action filter_type
action find
entity Klaus Matischak
relation occupation
type occupation
['Klaus Matischak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Klaus_Matischak property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1745423,P106,c(Q12737077))
action filter_type
action find
entity Q1745423
relation P106
type Q12737077
The job of Klaus Matischak is an [ANSWER]
['Q1745423', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1745423 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The job of Klaus Matischak is an association football player
association football player
action filter_type
action find
entity Klaus Matischak
relation occupation
type occupation
['Klaus Matischak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Klaus_Matischak property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1745423
P21
Q290
USER
Which sex does Klaus Matischak possess ?
(Q1745423,P21,c(Q290))
action filter_type
action find
entity Q1745423
relation P21
type Q290
['Q1745423', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1745423 property:P21 ?s . ?s rdf:type ontology:Q290 }
Klaus Matischak
action filter_type
action find
entity Klaus Matischak
relation gender
type sex
['Klaus Matischak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Klaus_Matischak property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1745423,P21,c(Q290))
action filter_type
action find
entity Q1745423
relation P21
type Q290
Klaus Matischak possesses un [ANSWER]
['Q1745423', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1745423 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Klaus Matischak possesses un male
male
action filter_type
action find
entity Klaus Matischak
relation gender
type sex
['Klaus Matischak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Klaus_Matischak property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1745423
P27
Q1048835
USER
Which political territory does Klaus Matischak belong to ?
(Q1745423,P27,c(Q1048835))
action filter_type
action find
entity Q1745423
relation P27
type Q1048835
['Q1745423', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1745423 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Klaus Matischak
action filter_type
action find
entity Klaus Matischak
relation country of citizenship
type political territorial entity
['Klaus Matischak', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Klaus_Matischak property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1745423,P27,c(Q1048835))
action filter_type
action find
entity Q1745423
relation P27
type Q1048835
Klaus Matischak belongs to [ANSWER]
['Q1745423', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1745423 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Klaus Matischak belongs to Germany
Germany
action filter_type
action find
entity Klaus Matischak
relation country of citizenship
type political territorial entity
['Klaus Matischak', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Klaus_Matischak property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q186142
P36
Q56061
USER
Is Garðabær the capital of that political territory ?
(Q183,P36,Q186142)
action is_in
entity Q186142
action find
entity Q183
relation P36
['Q183', 'P36', 'Q186142']
ASK WHERE { resource:Q183 property:P36 resource:Q186142 }
Germany Garðabær
action is_in
entity Garðabær
action find
entity Germany
relation capital
['Germany', 'capital', 'Garðabær']
ASK WHERE { resource:Germany property:capital resource:Garðabær }
[]
administrative territorial entity
SYSTEM
NO
(Q183,P36,Q186142)
action is_in
entity Q186142
action find
entity Q183
relation P36
[ANSWER]
['Q183', 'P36', 'Q186142']
ASK WHERE { resource:Q183 property:P36 resource:Q186142 }
No
action is_in
entity Garðabær
action find
entity Germany
relation capital
['Germany', 'capital', 'Garðabær']
ASK WHERE { resource:Germany property:capital resource:Garðabær }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q133201
P425
Q349
USER
Does association football player have association football and squash as thier field of occupation ?
(Q937857,P425,Q2736) (Q937857,P425,Q133201)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q133201
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q133201']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q133201 }
association football player association football squash
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity squash
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'squash']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:squash }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q133201)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q133201
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q133201']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q133201 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity squash
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'squash']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:squash }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q233
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with less number of political territories than Malta ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q233
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?v ) WHERE { ?o property:P530 ?c . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q233 property:P530 ?m } } . FILTER ( ?v < ?g ) }
Malta
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?v ) WHERE { ?o property:diplomatic_relation ?c . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Malta property:diplomatic_relation ?m } } . FILTER ( ?v < ?g ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
77
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q233
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?v ) WHERE { ?o property:P530 ?c . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q233 property:P530 ?m } } . FILTER ( ?v < ?g ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
77
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?v ) WHERE { ?o property:diplomatic_relation ?c . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Malta property:diplomatic_relation ?m } } . FILTER ( ?v < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q20
P530
Q1048835 Q15617994
USER
And what about Norway?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q20
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?i ) WHERE { ?o property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q20 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?j ) }
Norway
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?i ) WHERE { ?o property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Norway property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?j ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q20
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?i ) WHERE { ?o property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q20 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?j ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?i ) WHERE { ?o property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Norway property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P463
Q56061
USER
What was Germany a member of ?
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q183 property:P463 ?s }
Germany
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Germany property:member_of ?s }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
Germany was a member of [ANSWER]
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q183 property:P463 ?s }
European Union
Germany was a member of European Union
European Union
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Germany property:member_of ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q458 Q3457909 Q201292
P47
Q15617994
USER
Is that administrative territory bordered by Habaja and Plöwen ?
(Q458,P47,Q3457909) (Q458,P47,Q201292)
action is_in
entity Q458
action intersection
action find_reverse
entity Q3457909
relation P47
action find_reverse
entity Q201292
relation P47
['Q458', 'P47', 'Q3457909'] ['Q458', 'P47', 'Q201292']
ASK WHERE { resource:Q458 property:P47 resource:Q3457909 . resource:Q458 property:P47 resource:Q201292 }
European Union Habaja Plöwen
action is_in
entity European Union
action intersection
action find_reverse
entity Habaja
relation shares border with
action find_reverse
entity Plöwen
relation shares border with
['European Union', 'shares border with', 'Habaja'] ['European Union', 'shares border with', 'Plöwen']
ASK WHERE { resource:European_Union property:shares_border_with resource:Habaja . resource:European_Union property:shares_border_with resource:Plöwen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q458,P47,Q3457909) (Q458,P47,Q201292)
action is_in
entity Q458
action intersection
action find_reverse
entity Q3457909
relation P47
action find_reverse
entity Q201292
relation P47
[ANSWER]
['Q458', 'P47', 'Q3457909'] ['Q458', 'P47', 'Q201292']
ASK WHERE { resource:Q458 property:P47 resource:Q3457909 . resource:Q458 property:P47 resource:Q201292 }
No
action is_in
entity European Union
action intersection
action find_reverse
entity Habaja
relation shares border with
action find_reverse
entity Plöwen
relation shares border with
['European Union', 'shares border with', 'Habaja'] ['European Union', 'shares border with', 'Plöwen']
ASK WHERE { resource:European_Union property:shares_border_with resource:Habaja . resource:European_Union property:shares_border_with resource:Plöwen }
[]