Simple Question (Direct)
Simple Question
Q2582568
P20
Q56061
USER
Where did Wilson Allen Wallis die ?
(Q2582568,P20,c(Q56061))
action filter_type
action find
entity Q2582568
relation P20
type Q56061
['Q2582568', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2582568 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Wilson Allen Wallis
action filter_type
action find
entity Wilson Allen Wallis
relation place of death
type administrative territorial entity
['Wilson Allen Wallis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Wilson_Allen_Wallis property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49218
SYSTEM
Rochester
Q49218
(Q2582568,P20,c(Q56061))
action filter_type
action find
entity Q2582568
relation P20
type Q56061
Wilson Allen Wallis died in [ANSWER]
['Q2582568', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2582568 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Rochester
Wilson Allen Wallis died in Rochester
Rochester
action filter_type
action find
entity Wilson Allen Wallis
relation place of death
type administrative territorial entity
['Wilson Allen Wallis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Wilson_Allen_Wallis property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2582568
P106
Q12737077
USER
What are the professions of that person ?
(Q49218,P106,c(Q12737077))
action filter_type
action find
entity Q2582568
relation P106
type Q12737077
['Q49218', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2582568 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Wilson Allen Wallis
action filter_type
action find
entity Wilson Allen Wallis
relation occupation
type occupation
['Rochester', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Wilson_Allen_Wallis property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q188094 Q2732142 Q1622272
SYSTEM
economist, statistician, university teacher
Q188094 Q2732142 Q1622272
(Q49218,P106,c(Q12737077))
action filter_type
action find
entity Q2582568
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q49218', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2582568 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
economist statistician university teacher
The professions of that person are economist, statistician and university teacher
economist statistician university teacher
action filter_type
action find
entity Wilson Allen Wallis
relation occupation
type occupation
['Rochester', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Wilson_Allen_Wallis property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15822044 Q2582568
P106
Q12737077
USER
And also Julius von Raatz-Brockmann
AND((Q2582568,P106,c(Q12737077)), (Q15822044,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2582568
relation P106
action find
entity Q15822044
relation P106
type Q12737077
{'AND': [['Q2582568', 'P106', {'concept': 'Q12737077'}], ['Q15822044', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { resource:Q2582568 property:P106 ?p . resource:Q15822044 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Julius von Raatz-Brockmann Wilson Allen Wallis
action filter_type
action intersection
action find
entity Wilson Allen Wallis
relation occupation
action find
entity Julius von Raatz-Brockmann
relation occupation
type occupation
{'AND': [['Wilson Allen Wallis', 'occupation', {'concept': 'occupation'}], ['Julius von Raatz-Brockmann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { resource:Wilson_Allen_Wallis property:occupation ?p . resource:Julius_von_Raatz-Brockmann property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q2582568,P106,c(Q12737077)), (Q15822044,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2582568
relation P106
action find
entity Q15822044
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q2582568', 'P106', {'concept': 'Q12737077'}], ['Q15822044', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { resource:Q2582568 property:P106 ?p . resource:Q15822044 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
university teacher
university teacher
action filter_type
action intersection
action find
entity Wilson Allen Wallis
relation occupation
action find
entity Julius von Raatz-Brockmann
relation occupation
type occupation
{'AND': [['Wilson Allen Wallis', 'occupation', {'concept': 'occupation'}], ['Julius von Raatz-Brockmann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { resource:Wilson_Allen_Wallis property:occupation ?p . resource:Julius_von_Raatz-Brockmann property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15822044
P21
Q290
USER
Which sex does Julius von Raatz-Brockmann belong to ?
(Q1622272,P21,c(Q290))
action filter_type
action find
entity Q15822044
relation P21
type Q290
['Q1622272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q15822044 property:P21 ?n }
Julius von Raatz-Brockmann
action filter_type
action find
entity Julius von Raatz-Brockmann
relation gender
type sex
['university teacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Julius_von_Raatz-Brockmann property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1622272,P21,c(Q290))
action filter_type
action find
entity Q15822044
relation P21
type Q290
Julius von Raatz-Brockmann belongs to [ANSWER]
['Q1622272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q15822044 property:P21 ?n }
male
Julius von Raatz-Brockmann belongs to male
male
action filter_type
action find
entity Julius von Raatz-Brockmann
relation gender
type sex
['university teacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Julius_von_Raatz-Brockmann property:gender ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15822044
P937
Q56061
USER
What is the location where that person worked ?
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q15822044
relation P937
type Q56061
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15822044 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Julius von Raatz-Brockmann
action filter_type
action find
entity Julius von Raatz-Brockmann
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julius_von_Raatz-Brockmann property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q15822044
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15822044 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Berlin
The location that person worked is in Berlin
Berlin
action filter_type
action find
entity Julius von Raatz-Brockmann
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julius_von_Raatz-Brockmann property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3507316 Q2582568
P27
Q15617994
USER
Which administrative territories do Wilson Allen Wallis or Sylvie Fennec belong to ?
OR((Q2582568,P27,c(Q15617994)), (Q3507316,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2582568
relation P27
action find
entity Q3507316
relation P27
type Q15617994
{'OR': [['Q2582568', 'P27', {'concept': 'Q15617994'}], ['Q3507316', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2582568 property:P27 ?q } UNION { resource:Q3507316 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Sylvie Fennec Wilson Allen Wallis
action filter_type
action union
action find
entity Wilson Allen Wallis
relation country of citizenship
action find
entity Sylvie Fennec
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wilson Allen Wallis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sylvie Fennec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Wilson_Allen_Wallis property:country_of_citizenship ?q } UNION { resource:Sylvie_Fennec property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q2582568,P27,c(Q15617994)), (Q3507316,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2582568
relation P27
action find
entity Q3507316
relation P27
type Q15617994
Wilson Allen Wallis or Sylvie Fennec belong to the [ANSWERS]
{'OR': [['Q2582568', 'P27', {'concept': 'Q15617994'}], ['Q3507316', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2582568 property:P27 ?q } UNION { resource:Q3507316 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
France United States of America
Wilson Allen Wallis or Sylvie Fennec belong to the France and United States of America
France United States of America
action filter_type
action union
action find
entity Wilson Allen Wallis
relation country of citizenship
action find
entity Sylvie Fennec
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wilson Allen Wallis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sylvie Fennec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Wilson_Allen_Wallis property:country_of_citizenship ?q } UNION { resource:Sylvie_Fennec property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3067102
P495
Q838948
USER
Did Fast Food Fast Women originate in those administrative territories ?
(Q3067102,P495,Q142) (Q3067102,P495,Q30)
action is_in
entity prev_answer
action find
entity Q3067102
relation P495
['Q3067102', 'P495', 'Q142'] ['Q3067102', 'P495', 'Q30']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q3067102 property:P495 ?c }
Fast Food Fast Women
action is_in
entity prev_answer
action find
entity Fast Food Fast Women
relation country of origin
['Fast Food Fast Women', 'country of origin', 'France'] ['Fast Food Fast Women', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Fast_Food_Fast_Women property:country_of_origin ?c }
[]
work of art
SYSTEM
YES
(Q3067102,P495,Q142) (Q3067102,P495,Q30)
action is_in
entity prev_answer
action find
entity Q3067102
relation P495
[ANSWER]
['Q3067102', 'P495', 'Q142'] ['Q3067102', 'P495', 'Q30']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q3067102 property:P495 ?c }
Yes
action is_in
entity prev_answer
action find
entity Fast Food Fast Women
relation country of origin
['Fast Food Fast Women', 'country of origin', 'France'] ['Fast Food Fast Women', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Fast_Food_Fast_Women property:country_of_origin ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q188094
P106
Q35127 Q95074
USER
How many websites or fictional characters have the profession of economist ?
(c(Q35127),P106,Q188094) (c(Q95074),P106,Q188094)
action count
action union
action filter_type
action find_reverse
entity Q188094
relation P106
type Q35127
action filter_type
action find_reverse
entity Q188094
relation P106
type Q95074
[{'concept': 'Q35127'}, 'P106', 'Q188094'] [{'concept': 'Q95074'}, 'P106', 'Q188094']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P106 resource:Q188094 . ?r rdf:type ontology:Q35127 } UNION { ?r rdf:type ontology:Q95074 . ?r property:P106 resource:Q188094 } }
economist
action count
action union
action filter_type
action find_reverse
entity economist
relation occupation
type website
action filter_type
action find_reverse
entity economist
relation occupation
type fictional character
[{'concept': 'website'}, 'occupation', 'economist'] [{'concept': 'fictional character'}, 'occupation', 'economist']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:occupation resource:economist . ?r rdf:type ontology:website } UNION { ?r rdf:type ontology:fictional_character . ?r property:occupation resource:economist } }
[]
website fictional character
SYSTEM
2
Q2715593 Q20155628
(c(Q35127),P106,Q188094) (c(Q95074),P106,Q188094)
action count
action union
action filter_type
action find_reverse
entity Q188094
relation P106
type Q35127
action filter_type
action find_reverse
entity Q188094
relation P106
type Q95074
[ANSWER]
[{'concept': 'Q35127'}, 'P106', 'Q188094'] [{'concept': 'Q95074'}, 'P106', 'Q188094']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P106 resource:Q188094 . ?r rdf:type ontology:Q35127 } UNION { ?r rdf:type ontology:Q95074 . ?r property:P106 resource:Q188094 } }
Josiah Bartlet DolarToday
2
action count
action union
action filter_type
action find_reverse
entity economist
relation occupation
type website
action filter_type
action find_reverse
entity economist
relation occupation
type fictional character
[{'concept': 'website'}, 'occupation', 'economist'] [{'concept': 'fictional character'}, 'occupation', 'economist']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:occupation resource:economist . ?r rdf:type ontology:website } UNION { ?r rdf:type ontology:fictional_character . ?r property:occupation resource:economist } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q958
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with more number of administrative territories than South Sudan ?
(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 Q958
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q958 property:P530 ?s } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?m ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?y } }
South Sudan
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 South Sudan
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 ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_Sudan property:diplomatic_relation ?s } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?m ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
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 Q958
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q958 property:P530 ?s } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?m ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?y } }
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 South Sudan
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 ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_Sudan property:diplomatic_relation ?s } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?m ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1033
P530
Q15617994 Q15617994
USER
And what about Nigeria?
(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 Q1033
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q1033 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?s ) }
Nigeria
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 Nigeria
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 ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Nigeria property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?s ) }
[]
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 Q1033
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q1033 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?s ) }
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 Nigeria
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 ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Nigeria property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?s ) }
[]