Simple Question (Direct)
Simple Question
Q18705165
P106
Q12737077
USER
What does Danny Fletcher do for a living ?
(Q18705165,P106,c(Q12737077))
action filter_type
action find
entity Q18705165
relation P106
type Q12737077
['Q18705165', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q18705165 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Danny Fletcher
action filter_type
action find
entity Danny Fletcher
relation occupation
type occupation
['Danny Fletcher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Danny_Fletcher property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18705165,P106,c(Q12737077))
action filter_type
action find
entity Q18705165
relation P106
type Q12737077
Danny Fletcher does an [ANSWER] for a living
['Q18705165', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q18705165 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Danny Fletcher does an association football player for a living
association football player
action filter_type
action find
entity Danny Fletcher
relation occupation
type occupation
['Danny Fletcher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Danny_Fletcher property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18705165
P19
Q1496967
USER
Which territory is the place of birth of that person ?
(Q937857,P19,c(Q1496967))
action filter_type
action find
entity Q18705165
relation P19
type Q1496967
['Q937857', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?p WHERE { resource:Q18705165 property:P19 ?p . ?p rdf:type ontology:Q1496967 }
Danny Fletcher
action filter_type
action find
entity Danny Fletcher
relation place of birth
type territorial entity
['association football player', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Danny_Fletcher property:place_of_birth ?p . ?p rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q937857,P19,c(Q1496967))
action filter_type
action find
entity Q18705165
relation P19
type Q1496967
All [ANSWER] is the place of birth of that person
['Q937857', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?p WHERE { resource:Q18705165 property:P19 ?p . ?p rdf:type ontology:Q1496967 }
England
All England is the place of birth of that person
England
action filter_type
action find
entity Danny Fletcher
relation place of birth
type territorial entity
['association football player', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Danny_Fletcher property:place_of_birth ?p . ?p rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18705165
P27
Q15617994
USER
How many administrative territories are Danny Fletcher an inhabitant of ?
(Q18705165,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18705165
relation P27
type Q15617994
['Q18705165', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q18705165 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Danny Fletcher
action count
action filter_type
action find
entity Danny Fletcher
relation country of citizenship
type designation for an administrative territorial entity
['Danny Fletcher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Danny_Fletcher property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q18705165,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18705165
relation P27
type Q15617994
[ANSWER]
['Q18705165', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q18705165 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Danny Fletcher
relation country of citizenship
type designation for an administrative territorial entity
['Danny Fletcher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Danny_Fletcher property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18705165
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
action filter_type
action find
entity Q18705165
relation P27
type Q15617994
SELECT DISTINCT ?h WHERE { resource:Q18705165 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Danny Fletcher
action filter_type
action find
entity Danny Fletcher
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?h WHERE { resource:Danny_Fletcher property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q18705165
relation P27
type Q15617994
[ANSWER] is the native country of that person
SELECT DISTINCT ?h WHERE { resource:Q18705165 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Danny Fletcher
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?h WHERE { resource:Danny_Fletcher property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q12280 Q82799
USER
Which administrative territories are the etymology of atleast 1 bridges and names ?
(c(Q12280)|c(Q82799),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q12280
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
value 1
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q12280 . ?s property:P138 ?h } UNION { ?s rdf:type ontology:Q82799 . ?h rdf:type ontology:Q15617994 . ?s property:P138 ?h } } GROUP BY ?h } . FILTER ( ?w >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
value 1
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:bridge . ?s property:named_after ?h } UNION { ?s rdf:type ontology:name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:named_after ?h } } GROUP BY ?h } . FILTER ( ?w >= 1 ) }
[]
designation for an administrative territorial entity bridge name
Q142 Q39 Q705
SYSTEM
France, Switzerland, Zeeland
Q1273 Q705 Q39 Q2938 Q142
(c(Q12280)|c(Q82799),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q12280
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
value 1
[ANSWERS] are the etymology of atleast 1 bridges and names
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q12280 . ?s property:P138 ?h } UNION { ?s rdf:type ontology:Q82799 . ?h rdf:type ontology:Q15617994 . ?s property:P138 ?h } } GROUP BY ?h } . FILTER ( ?w >= 1 ) }
Tuscany Zeeland Switzerland Leverkusen France
France, Switzerland and Zeeland are the etymology of atleast 1 bridges and names
France Switzerland Zeeland
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
value 1
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:bridge . ?s property:named_after ?h } UNION { ?s rdf:type ontology:name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:named_after ?h } } GROUP BY ?h } . FILTER ( ?w >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q711
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with less number of administrative territories than Mongolia ?
(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
entity Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
Mongolia
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
entity Mongolia
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 ( ?m ) AS ?u ) WHERE { FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(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
entity Q711
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
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
entity Mongolia
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 ( ?m ) AS ?u ) WHERE { FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q215
P530
Q15617994 Q15617994
USER
And also tell me about Slovenia?
(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 Q215
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P530 resource:Q215 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?j } }
Slovenia
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 Slovenia
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 ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:diplomatic_relation resource:Slovenia . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(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 Q215
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P530 resource:Q215 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?j } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
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 Slovenia
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 ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:diplomatic_relation resource:Slovenia . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]