Simple Question (Direct)
Simple Question
Q784145
P641
Q349
USER
Which sport was Łukasz Krzycki a part of ?
(Q784145,P641,c(Q349))
action filter_type
action find
entity Q784145
relation P641
type Q349
['Q784145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q784145 property:P641 ?o . ?o rdf:type ontology:Q349 }
Łukasz Krzycki
action filter_type
action find
entity Łukasz Krzycki
relation sport
type sport
['Łukasz Krzycki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Łukasz_Krzycki property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q784145,P641,c(Q349))
action filter_type
action find
entity Q784145
relation P641
type Q349
Łukasz Krzycki was the [ANSWER] of
['Q784145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q784145 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Łukasz Krzycki was the association football of
association football
action filter_type
action find
entity Łukasz Krzycki
relation sport
type sport
['Łukasz Krzycki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Łukasz_Krzycki property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q784145
P106
Q12737077
USER
Which occupation is the profession of Łukasz Krzycki ?
(Q784145,P106,c(Q12737077))
action filter_type
action find
entity Q784145
relation P106
type Q12737077
['Q784145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q784145 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Łukasz Krzycki
action filter_type
action find
entity Łukasz Krzycki
relation occupation
type occupation
['Łukasz Krzycki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Łukasz_Krzycki property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q784145,P106,c(Q12737077))
action filter_type
action find
entity Q784145
relation P106
type Q12737077
Player [ANSWER] is the profession of Łukasz Krzycki
['Q784145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q784145 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Łukasz Krzycki
association football player
action filter_type
action find
entity Łukasz Krzycki
relation occupation
type occupation
['Łukasz Krzycki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Łukasz_Krzycki property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q784145
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q784145
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q784145 property:P27 ?f }
Łukasz Krzycki
action filter_type
action find
entity Łukasz Krzycki
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Łukasz_Krzycki property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q784145
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q784145 property:P27 ?f }
Poland
The Poland is that person an inhabitant of
Poland
action filter_type
action find
entity Łukasz Krzycki
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Łukasz_Krzycki property:country_of_citizenship ?f }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q117
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with lesser number of administrative territories than Ghana ?
(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 Q117
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?n ) WHERE { ?e property:P530 ?v . ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q117 property:P530 ?p } } . FILTER ( ?n < ?u ) }
Ghana
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 Ghana
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?n ) WHERE { ?e property:diplomatic_relation ?v . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ghana property:diplomatic_relation ?p } } . FILTER ( ?n < ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 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 Q117
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?n ) WHERE { ?e property:P530 ?v . ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q117 property:P530 ?p } } . FILTER ( ?n < ?u ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
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 Ghana
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?n ) WHERE { ?e property:diplomatic_relation ?v . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ghana property:diplomatic_relation ?p } } . FILTER ( ?n < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q217
P530
Q15617994 Q15617994
USER
And also tell me about Republic of Moldova?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q217
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P530 resource:Q217 . ?k rdf:type ontology:Q15617994 } } }
Republic of Moldova
action count
action less
action find_reverse_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_reverse
entity Republic of Moldova
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 ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:diplomatic_relation resource:Republic_of_Moldova . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q217
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P530 resource:Q217 . ?k rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_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_reverse
entity Republic of Moldova
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 ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:diplomatic_relation resource:Republic_of_Moldova . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q784145
P21
Q290
USER
What is the sex of Łukasz Krzycki ?
(Q784145,P21,c(Q290))
action filter_type
action find
entity Q784145
relation P21
type Q290
['Q784145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q784145 property:P21 ?x . ?x rdf:type ontology:Q290 }
Łukasz Krzycki
action filter_type
action find
entity Łukasz Krzycki
relation gender
type sex
['Łukasz Krzycki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Łukasz_Krzycki property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q784145,P21,c(Q290))
action filter_type
action find
entity Q784145
relation P21
type Q290
The sex of Łukasz Krzycki is the [ANSWER]
['Q784145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q784145 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Łukasz Krzycki is the male
male
action filter_type
action find
entity Łukasz Krzycki
relation gender
type sex
['Łukasz Krzycki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Łukasz_Krzycki property:gender ?x . ?x rdf:type ontology:sex }
[]