Simple Question (Direct)
Simple Question
Q7490910
P641
Q349
USER
Which sport did Shaun McGrory participate in ?
(Q7490910,P641,c(Q349))
action filter_type
action find
entity Q7490910
relation P641
type Q349
['Q7490910', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q7490910 property:P641 ?a }
Shaun McGrory
action filter_type
action find
entity Shaun McGrory
relation sport
type sport
['Shaun McGrory', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Shaun_McGrory property:sport ?a }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7490910,P641,c(Q349))
action filter_type
action find
entity Q7490910
relation P641
type Q349
Shaun McGrory participated in [ANSWER]
['Q7490910', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q7490910 property:P641 ?a }
association football
Shaun McGrory participated in association football
association football
action filter_type
action find
entity Shaun McGrory
relation sport
type sport
['Shaun McGrory', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Shaun_McGrory property:sport ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7490910
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7490910
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7490910 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Shaun McGrory
action filter_type
action find
entity Shaun McGrory
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Shaun_McGrory property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7490910
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7490910 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Shaun McGrory
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Shaun_McGrory property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q34020
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with greater number of administrative territories than Niue ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?j property:P530 ?t . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q34020 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?o ) }
Niue
action count
action greater
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 Niue
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 ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?j property:diplomatic_relation ?t . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Niue property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?j property:P530 ?t . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q34020 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?o ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
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 Niue
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 ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?j property:diplomatic_relation ?t . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Niue property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q148
P530
Q15617994 Q15617994
USER
And what about People's Republic of China?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?s } } . FILTER ( ?z > ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?z ) WHERE { ?c property:P530 ?w . ?c rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?c } }
People's Republic of China
action count
action greater
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 People's Republic of China
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 ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?s } } . FILTER ( ?z > ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?z ) WHERE { ?c property:diplomatic_relation ?w . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
14
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?s } } . FILTER ( ?z > ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?z ) WHERE { ?c property:P530 ?w . ?c rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?c } }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
14
action count
action greater
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 People's Republic of China
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 ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?s } } . FILTER ( ?z > ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?z ) WHERE { ?c property:diplomatic_relation ?w . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7490910
P106
Q12737077
USER
What is the profession of Shaun McGrory ?
(Q7490910,P106,c(Q12737077))
action filter_type
action find
entity Q7490910
relation P106
type Q12737077
['Q7490910', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7490910 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Shaun McGrory
action filter_type
action find
entity Shaun McGrory
relation occupation
type occupation
['Shaun McGrory', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Shaun_McGrory property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7490910,P106,c(Q12737077))
action filter_type
action find
entity Q7490910
relation P106
type Q12737077
The profession of Shaun McGrory is an [ANSWER]
['Q7490910', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7490910 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
The profession of Shaun McGrory is an association football player
association football player
action filter_type
action find
entity Shaun McGrory
relation occupation
type occupation
['Shaun McGrory', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Shaun_McGrory property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7490910
P21
Q290
USER
Which sex does that person possess ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q7490910
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7490910 property:P21 ?z . ?z rdf:type ontology:Q290 }
Shaun McGrory
action filter_type
action find
entity Shaun McGrory
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Shaun_McGrory property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q7490910
relation P21
type Q290
That person possesses a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7490910 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Shaun McGrory
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Shaun_McGrory property:gender ?z . ?z rdf:type ontology:sex }
[]