Simple Question (Direct)
Simple Question
Q18125929
P161
Q502895
USER
Which person is in India Speaks ?
(Q18125929,P161,c(Q502895))
action filter_type
action find
entity Q18125929
relation P161
type Q502895
['Q18125929', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q18125929 property:P161 ?c . ?c rdf:type ontology:Q502895 }
India Speaks
action filter_type
action find
entity India Speaks
relation cast member
type common name
['India Speaks', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:India_Speaks property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
common name
Q653847
SYSTEM
Richard Halliburton
Q653847
(Q18125929,P161,c(Q502895))
action filter_type
action find
entity Q18125929
relation P161
type Q502895
[ANSWER] is in India Speaks
['Q18125929', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q18125929 property:P161 ?c . ?c rdf:type ontology:Q502895 }
Richard Halliburton
Richard Halliburton is in India Speaks
Richard Halliburton
action filter_type
action find
entity India Speaks
relation cast member
type common name
['India Speaks', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:India_Speaks property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18125929
P57
Q502895
USER
Who directed that work of art ?
(Q653847,P57,c(Q502895))
action filter_type
action find
entity Q18125929
relation P57
type Q502895
['Q653847', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q18125929 property:P57 ?o . ?o rdf:type ontology:Q502895 }
India Speaks
action filter_type
action find
entity India Speaks
relation director
type common name
['Richard Halliburton', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:India_Speaks property:director ?o . ?o rdf:type ontology:common_name }
[]
common name
Q653847
SYSTEM
Richard Halliburton
Q653847
(Q653847,P57,c(Q502895))
action filter_type
action find
entity Q18125929
relation P57
type Q502895
[ANSWER] directed that work of art
['Q653847', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q18125929 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Richard Halliburton
Richard Halliburton directed that work of art
Richard Halliburton
action filter_type
action find
entity India Speaks
relation director
type common name
['Richard Halliburton', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:India_Speaks property:director ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18125929
P495
Q15617994
USER
Which administrative territory is the country of origin of India Speaks ?
(Q18125929,P495,c(Q15617994))
action filter_type
action find
entity Q18125929
relation P495
type Q15617994
['Q18125929', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q18125929 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
India Speaks
action filter_type
action find
entity India Speaks
relation country of origin
type designation for an administrative territorial entity
['India Speaks', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:India_Speaks property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18125929,P495,c(Q15617994))
action filter_type
action find
entity Q18125929
relation P495
type Q15617994
[ANSWER] is the country of origin of India Speaks
['Q18125929', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q18125929 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of India Speaks
United States of America
action filter_type
action find
entity India Speaks
relation country of origin
type designation for an administrative territorial entity
['India Speaks', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:India_Speaks property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q653847
P57 P364
Q838948
USER
Which works of art are Richard Halliburton a director of and were done in English language during their inception ?
AND((c(Q838948),P57,Q653847), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q653847
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q653847'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q653847 . ?k property:P364 resource:Q1860 . ?k rdf:type ontology:Q838948 }
English Richard Halliburton
action filter_type
action intersection
action find_reverse
entity Richard Halliburton
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Richard Halliburton'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?k WHERE { ?k property:director resource:Richard_Halliburton . ?k property:original_language_of_work resource:English . ?k rdf:type ontology:work_of_art }
[]
work of art
Q18125929
SYSTEM
India Speaks
Q18125929
AND((c(Q838948),P57,Q653847), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q653847
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] is Richard Halliburton a director of and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q653847'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q653847 . ?k property:P364 resource:Q1860 . ?k rdf:type ontology:Q838948 }
India Speaks
India Speaks is Richard Halliburton a director of and were done in English language during their inception
India Speaks
action filter_type
action intersection
action find_reverse
entity Richard Halliburton
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Richard Halliburton'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?k WHERE { ?k property:director resource:Richard_Halliburton . ?k property:original_language_of_work resource:English . ?k rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18125929 Q668
P840
Q15617994
USER
Is India the narrative location of that work of art ?
(Q18125929,P840,Q668)
action is_in
entity Q668
action find
entity Q18125929
relation P840
['Q18125929', 'P840', 'Q668']
ASK WHERE { resource:Q18125929 property:P840 resource:Q668 }
India Speaks India
action is_in
entity India
action find
entity India Speaks
relation narrative location
['India Speaks', 'narrative location', 'India']
ASK WHERE { resource:India_Speaks property:narrative_location resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18125929,P840,Q668)
action is_in
entity Q668
action find
entity Q18125929
relation P840
[ANSWER]
['Q18125929', 'P840', 'Q668']
ASK WHERE { resource:Q18125929 property:P840 resource:Q668 }
Yes
action is_in
entity India
action find
entity India Speaks
relation narrative location
['India Speaks', 'narrative location', 'India']
ASK WHERE { resource:India_Speaks property:narrative_location resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q653847 Q7439922
P27
Q15617994
USER
Is Richard Halliburton an inhabitant of Sea Isle City School District ?
(Q653847,P27,Q7439922)
action is_in
entity Q7439922
action find
entity Q653847
relation P27
['Q653847', 'P27', 'Q7439922']
ASK WHERE { resource:Q653847 property:P27 resource:Q7439922 }
Richard Halliburton Sea Isle City School District
action is_in
entity Sea Isle City School District
action find
entity Richard Halliburton
relation country of citizenship
['Richard Halliburton', 'country of citizenship', 'Sea Isle City School District']
ASK WHERE { resource:Richard_Halliburton property:country_of_citizenship resource:Sea_Isle_City_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q653847,P27,Q7439922)
action is_in
entity Q7439922
action find
entity Q653847
relation P27
[ANSWER]
['Q653847', 'P27', 'Q7439922']
ASK WHERE { resource:Q653847 property:P27 resource:Q7439922 }
No
action is_in
entity Sea Isle City School District
action find
entity Richard Halliburton
relation country of citizenship
['Richard Halliburton', 'country of citizenship', 'Sea Isle City School District']
ASK WHERE { resource:Richard_Halliburton property:country_of_citizenship resource:Sea_Isle_City_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18125929 Q919460
P344
Q502895
USER
Is John Peverell Marley appointed as the cinematographer of India Speaks ?
(Q18125929,P344,Q919460)
action is_in
entity Q919460
action find
entity Q18125929
relation P344
['Q18125929', 'P344', 'Q919460']
ASK WHERE { resource:Q18125929 property:P344 resource:Q919460 }
India Speaks John Peverell Marley
action is_in
entity John Peverell Marley
action find
entity India Speaks
relation director of photography
['India Speaks', 'director of photography', 'John Peverell Marley']
ASK WHERE { resource:India_Speaks property:director_of_photography resource:John_Peverell_Marley }
[]
common name
SYSTEM
YES
(Q18125929,P344,Q919460)
action is_in
entity Q919460
action find
entity Q18125929
relation P344
[ANSWER]
['Q18125929', 'P344', 'Q919460']
ASK WHERE { resource:Q18125929 property:P344 resource:Q919460 }
Yes
action is_in
entity John Peverell Marley
action find
entity India Speaks
relation director of photography
['India Speaks', 'director of photography', 'John Peverell Marley']
ASK WHERE { resource:India_Speaks property:director_of_photography resource:John_Peverell_Marley }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q653847 Q506233 Q30
P27
Q15617994
USER
Is Richard Halliburton a civilian of Fahrenzhausen and United States of America ?
(Q653847,P27,Q506233) (Q653847,P27,Q30)
action is_in
entity Q653847
action intersection
action find_reverse
entity Q506233
relation P27
action find_reverse
entity Q30
relation P27
['Q653847', 'P27', 'Q506233'] ['Q653847', 'P27', 'Q30']
ASK WHERE { resource:Q653847 property:P27 resource:Q30 . resource:Q653847 property:P27 resource:Q506233 }
Richard Halliburton Fahrenzhausen United States of America
action is_in
entity Richard Halliburton
action intersection
action find_reverse
entity Fahrenzhausen
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Richard Halliburton', 'country of citizenship', 'Fahrenzhausen'] ['Richard Halliburton', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Halliburton property:country_of_citizenship resource:United_States_of_America . resource:Richard_Halliburton property:country_of_citizenship resource:Fahrenzhausen }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q653847,P27,Q506233) (Q653847,P27,Q30)
action is_in
entity Q653847
action intersection
action find_reverse
entity Q506233
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q653847', 'P27', 'Q506233'] ['Q653847', 'P27', 'Q30']
ASK WHERE { resource:Q653847 property:P27 resource:Q30 . resource:Q653847 property:P27 resource:Q506233 }
NO and YES respectively
action is_in
entity Richard Halliburton
action intersection
action find_reverse
entity Fahrenzhausen
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Richard Halliburton', 'country of citizenship', 'Fahrenzhausen'] ['Richard Halliburton', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Halliburton property:country_of_citizenship resource:United_States_of_America . resource:Richard_Halliburton property:country_of_citizenship resource:Fahrenzhausen }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q33964 Q653847
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Richard Halliburton or are Arroio do Tigre a part of ?
OR((Q653847,P27,c(Q15617994)), (Q33964,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q653847
relation P27
action find
entity Q33964
relation P17
type Q15617994
{'OR': [['Q653847', 'P27', {'concept': 'Q15617994'}], ['Q33964', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q653847 property:P27 ?h } UNION { resource:Q33964 property:P17 ?h } } }
Arroio do Tigre Richard Halliburton
action filter_type
action union
action find
entity Richard Halliburton
relation country of citizenship
action find
entity Arroio do Tigre
relation country
type designation for an administrative territorial entity
{'OR': [['Richard Halliburton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arroio do Tigre', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Richard_Halliburton property:country_of_citizenship ?h } UNION { resource:Arroio_do_Tigre property:country ?h } } }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q653847,P27,c(Q15617994)), (Q33964,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q653847
relation P27
action find
entity Q33964
relation P17
type Q15617994
[ANSWERS] are the native countriesof Richard Halliburton or are Arroio do Tigre a part of
{'OR': [['Q653847', 'P27', {'concept': 'Q15617994'}], ['Q33964', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q653847 property:P27 ?h } UNION { resource:Q33964 property:P17 ?h } } }
Brazil United States of America
Brazil and United States of America are the native countriesof Richard Halliburton or are Arroio do Tigre a part of
Brazil United States of America
action filter_type
action union
action find
entity Richard Halliburton
relation country of citizenship
action find
entity Arroio do Tigre
relation country
type designation for an administrative territorial entity
{'OR': [['Richard Halliburton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arroio do Tigre', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Richard_Halliburton property:country_of_citizenship ?h } UNION { resource:Arroio_do_Tigre property:country ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q124572
P530
Q15617994
USER
Do Ostra, Marche have tactful political relations with those ones ?
(Q124572,P530,Q155) (Q124572,P530,Q30)
action is_in
entity prev_answer
action find
entity Q124572
relation P530
['Q124572', 'P530', 'Q155'] ['Q124572', 'P530', 'Q30']
ASK WHERE { resource:Q124572 property:P530 ?o . VALUES ( ?o ) { ( resource:Q155 ) ( resource:Q30 ) } }
Ostra, Marche
action is_in
entity prev_answer
action find
entity Ostra, Marche
relation diplomatic relation
['Ostra, Marche', 'diplomatic relation', 'Brazil'] ['Ostra, Marche', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Ostra,_Marche property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q124572,P530,Q155) (Q124572,P530,Q30)
action is_in
entity prev_answer
action find
entity Q124572
relation P530
[ANSWER]
['Q124572', 'P530', 'Q155'] ['Q124572', 'P530', 'Q30']
ASK WHERE { resource:Q124572 property:P530 ?o . VALUES ( ?o ) { ( resource:Q155 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Ostra, Marche
relation diplomatic relation
['Ostra, Marche', 'diplomatic relation', 'Brazil'] ['Ostra, Marche', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Ostra,_Marche property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q148
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than People's Republic of China ?
(c(Q15617994),P530,c(Q15617994))
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 ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q148 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?u ) WHERE { ?s property:P530 ?z . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?s } }
People's Republic of China
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 ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?u ) WHERE { ?s property:diplomatic_relation ?z . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
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
[ANSWERS] have diplomatic relations with greater number of administrative territories than People's Republic of China
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q148 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?u ) WHERE { ?s property:P530 ?z . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?s } }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than People's Republic of China
Italy Brazil United States of America
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 ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?u ) WHERE { ?s property:diplomatic_relation ?z . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q31
P530
Q15617994 Q15617994
USER
And what about Belgium?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:P530 ?d . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q31 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?t ) }
Belgium
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 Belgium
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:diplomatic_relation ?d . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Belgium property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:P530 ?d . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q31 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?t ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
Italy Brazil United States of America
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 Belgium
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:diplomatic_relation ?d . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Belgium property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?t ) }
[]