Simple Question (Direct)
Simple Question
Q8973990
P106
Q12737077
USER
What does Jia Wenpeng do for a living ?
(Q8973990,P106,c(Q12737077))
action filter_type
action find
entity Q8973990
relation P106
type Q12737077
['Q8973990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8973990 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Jia Wenpeng
action filter_type
action find
entity Jia Wenpeng
relation occupation
type occupation
['Jia Wenpeng', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jia_Wenpeng property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q8973990,P106,c(Q12737077))
action filter_type
action find
entity Q8973990
relation P106
type Q12737077
Jia Wenpeng does for a living as [ANSWER]
['Q8973990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8973990 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Jia Wenpeng does for a living as association football player
association football player
action filter_type
action find
entity Jia Wenpeng
relation occupation
type occupation
['Jia Wenpeng', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jia_Wenpeng property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8973990
P19
Q1048835
USER
Which political territory is the place of birth of Jia Wenpeng ?
(Q8973990,P19,c(Q1048835))
action filter_type
action find
entity Q8973990
relation P19
type Q1048835
['Q8973990', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q8973990 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Jia Wenpeng
action filter_type
action find
entity Jia Wenpeng
relation place of birth
type political territorial entity
['Jia Wenpeng', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jia_Wenpeng property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q74881
SYSTEM
Dalian
Q74881
(Q8973990,P19,c(Q1048835))
action filter_type
action find
entity Q8973990
relation P19
type Q1048835
[ANSWER] is the place of birth of Jia Wenpeng
['Q8973990', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q8973990 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Dalian
Dalian is the place of birth of Jia Wenpeng
Dalian
action filter_type
action find
entity Jia Wenpeng
relation place of birth
type political territorial entity
['Jia Wenpeng', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jia_Wenpeng property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8973990
P27
Q15617994
USER
Which administrative territory is the native country of Jia Wenpeng ?
(Q8973990,P27,c(Q15617994))
action filter_type
action find
entity Q8973990
relation P27
type Q15617994
['Q8973990', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q8973990 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Jia Wenpeng
action filter_type
action find
entity Jia Wenpeng
relation country of citizenship
type designation for an administrative territorial entity
['Jia Wenpeng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jia_Wenpeng property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q8973990,P27,c(Q15617994))
action filter_type
action find
entity Q8973990
relation P27
type Q15617994
[ANSWER] is the native country of Jia Wenpeng
['Q8973990', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q8973990 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is the native country of Jia Wenpeng
People's Republic of China
action filter_type
action find
entity Jia Wenpeng
relation country of citizenship
type designation for an administrative territorial entity
['Jia Wenpeng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jia_Wenpeng property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16017865
Q15617994
USER
And also tell me about Orlando Nappe?
(Q16017865,P27,c(Q15617994))
action filter_type
action find
entity Q16017865
relation P27
type Q15617994
['Q16017865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16017865 property:P27 ?q }
Orlando Nappe
action filter_type
action find
entity Orlando Nappe
relation country of citizenship
type designation for an administrative territorial entity
['Orlando Nappe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orlando_Nappe property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q16017865,P27,c(Q15617994))
action filter_type
action find
entity Q16017865
relation P27
type Q15617994
[ANSWER]
['Q16017865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16017865 property:P27 ?q }
Argentina
Argentina
action filter_type
action find
entity Orlando Nappe
relation country of citizenship
type designation for an administrative territorial entity
['Orlando Nappe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orlando_Nappe property:country_of_citizenship ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q414 Q674431 Q155
P530
Q15617994
USER
Does that administrative territory have diplomatic associations with Schürdt and Brazil ?
(Q414,P530,Q674431) (Q414,P530,Q155)
action is_in
entity Q414
action intersection
action find_reverse
entity Q674431
relation P530
action find_reverse
entity Q155
relation P530
['Q414', 'P530', 'Q674431'] ['Q414', 'P530', 'Q155']
ASK WHERE { resource:Q414 property:P530 resource:Q674431 . resource:Q414 property:P530 resource:Q155 }
Argentina Schürdt Brazil
action is_in
entity Argentina
action intersection
action find_reverse
entity Schürdt
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Schürdt'] ['Argentina', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:Schürdt . resource:Argentina property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q414,P530,Q674431) (Q414,P530,Q155)
action is_in
entity Q414
action intersection
action find_reverse
entity Q674431
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q414', 'P530', 'Q674431'] ['Q414', 'P530', 'Q155']
ASK WHERE { resource:Q414 property:P530 resource:Q674431 . resource:Q414 property:P530 resource:Q155 }
NO and YES respectively
action is_in
entity Argentina
action intersection
action find_reverse
entity Schürdt
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Schürdt'] ['Argentina', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:Schürdt . resource:Argentina property:diplomatic_relation resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P159
Q43229
USER
Which organizations have their head office location at Argentina ?
action filter_type
action find_reverse
entity Q414
relation P159
type Q43229
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q414 . ?c rdf:type ontology:Q43229 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation headquarters location
type organization
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Argentina . ?c rdf:type ontology:organization }
[]
organization
Q7936349 Q6017124 Q5192258
SYSTEM
Visión Ovni, Minimento, Cubika
Q7936349 Q6017124 Q5192258 Q5068281
action filter_type
action find_reverse
entity Q414
relation P159
type Q43229
[ANSWERS] have their head office location at Argentina
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q414 . ?c rdf:type ontology:Q43229 }
Visión Ovni Minimento Cubika Chakana wines
Visión Ovni, Minimento and Cubika have their head office location at Argentina
Visión Ovni Minimento Cubika
action filter_type
action find_reverse
entity Argentina
relation headquarters location
type organization
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Argentina . ?c rdf:type ontology:organization }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P159
Q15617994
USER
How many administrative territories are the headquarters of that organization located ?
(Q5192258,P159,c(Q15617994))
['Q5192258', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5192258 property:P159 ?z . ?z rdf:type ontology:Q15617994 }
['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cubika property:headquarters_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q7936349
SYSTEM
Did you mean Visión Ovni ?
(Q7936349,P159,c(Q15617994)) (Q6017124,P159,c(Q15617994)) (Q5192258,P159,c(Q15617994))
[ANSWER]
['Q7936349', 'P159', {'concept': 'Q15617994'}] ['Q6017124', 'P159', {'concept': 'Q15617994'}] ['Q5192258', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5192258 property:P159 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Visión Ovni ?
Visión Ovni
['Visión Ovni', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Minimento', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cubika property:headquarters_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Cubika. Could you tell me the answer for that?
(Q5192258,P159,c(Q15617994))
Q5192258
['Q5192258', 'P159', {'concept': 'Q15617994'}]
['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q414
(Q5192258,P159,c(Q15617994))
[ANSWER]
['Q5192258', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5192258 property:P159 ?z . ?z rdf:type ontology:Q15617994 }
Argentina
1
['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cubika property:headquarters_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2995983
P180
Q12737077 Q17638008 Q1792379
USER
Which occupations are depicted in greater number of game equipment and art genres than double-bassist ?
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q17638008
type Q1792379
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:Q17638008 ) ( ontology:Q1792379 ) } . ?h rdf:type ?s } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P180 resource:Q2995983 . { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1792379 ) ( ontology:Q17638008 ) } } } } . FILTER ( ?o > ?g ) }
double-bassist
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type game equipment
type art genre
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:game_equipment ) ( ontology:art_genre ) } . ?h rdf:type ?s } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:depicts resource:double-bassist . { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:art_genre ) ( ontology:game_equipment ) } } } } . FILTER ( ?o > ?g ) }
[]
occupation game equipment art genre
Q4991371 Q2730732 Q2079936
SYSTEM
soldier, equestrian, king of marksmen
Q2079936 Q12097 Q4991371 Q2730732
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q17638008
type Q1792379
[ANSWERS] are depicted in greater number of game equipment and art genres than double-bassist
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:Q17638008 ) ( ontology:Q1792379 ) } . ?h rdf:type ?s } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P180 resource:Q2995983 . { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1792379 ) ( ontology:Q17638008 ) } } } } . FILTER ( ?o > ?g ) }
king of marksmen king soldier equestrian
Soldier, equestrian and king of marksmen are depicted in greater number of game equipment and art genres than double-bassist
soldier equestrian king of marksmen
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type game equipment
type art genre
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:game_equipment ) ( ontology:art_genre ) } . ?h rdf:type ?s } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:depicts resource:double-bassist . { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:art_genre ) ( ontology:game_equipment ) } } } } . FILTER ( ?o > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16533
P180
Q12737077 Q17638008 Q1792379
USER
And also tell me about judge?
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q16533
relation P180
type Q17638008
type Q1792379
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P180 resource:Q16533 . { { ?t rdf:type ontology:Q1792379 } UNION { ?t rdf:type ontology:Q17638008 } } } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q17638008 } UNION { ?o property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1792379 } } GROUP BY ?j } }
judge
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity judge
relation depicts
type game equipment
type art genre
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:depicts resource:judge . { { ?t rdf:type ontology:art_genre } UNION { ?t rdf:type ontology:game_equipment } } } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:depicts ?j . ?j rdf:type ontology:occupation . ?o rdf:type ontology:game_equipment } UNION { ?o property:depicts ?j . ?j rdf:type ontology:occupation . ?o rdf:type ontology:art_genre } } GROUP BY ?j } }
[]
occupation game equipment art genre
Q4991371 Q2730732 Q2079936
SYSTEM
soldier, equestrian, king of marksmen
Q2079936 Q12097 Q4991371 Q2730732
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q16533
relation P180
type Q17638008
type Q1792379
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P180 resource:Q16533 . { { ?t rdf:type ontology:Q1792379 } UNION { ?t rdf:type ontology:Q17638008 } } } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q17638008 } UNION { ?o property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1792379 } } GROUP BY ?j } }
king of marksmen king soldier equestrian
soldier equestrian king of marksmen
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity judge
relation depicts
type game equipment
type art genre
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:depicts resource:judge . { { ?t rdf:type ontology:art_genre } UNION { ?t rdf:type ontology:game_equipment } } } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:depicts ?j . ?j rdf:type ontology:occupation . ?o rdf:type ontology:game_equipment } UNION { ?o property:depicts ?j . ?j rdf:type ontology:occupation . ?o rdf:type ontology:art_genre } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24053940 Q5192258
P27 P159
Q15617994
USER
Which administrative territories are the headquarters of Cubika located or are Ben Azubel a civilian of ?
OR((Q5192258,P159,c(Q15617994)), (Q24053940,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5192258
relation P159
action find
entity Q24053940
relation P27
type Q15617994
{'OR': [['Q5192258', 'P159', {'concept': 'Q15617994'}], ['Q24053940', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24053940 property:P27 ?h } UNION { resource:Q5192258 property:P159 ?h } } . ?h rdf:type ontology:Q15617994 }
Ben Azubel Cubika
action filter_type
action union
action find
entity Cubika
relation headquarters location
action find
entity Ben Azubel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Ben Azubel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ben_Azubel property:country_of_citizenship ?h } UNION { resource:Cubika property:headquarters_location ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q801
SYSTEM
Argentina, Israel
Q414 Q801
OR((Q5192258,P159,c(Q15617994)), (Q24053940,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5192258
relation P159
action find
entity Q24053940
relation P27
type Q15617994
[ANSWERS] are the headquarters of Cubika located or are Ben Azubel a civilian of
{'OR': [['Q5192258', 'P159', {'concept': 'Q15617994'}], ['Q24053940', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24053940 property:P27 ?h } UNION { resource:Q5192258 property:P159 ?h } } . ?h rdf:type ontology:Q15617994 }
Argentina Israel
Argentina and Israel are the headquarters of Cubika located or are Ben Azubel a civilian of
Argentina Israel
action filter_type
action union
action find
entity Cubika
relation headquarters location
action find
entity Ben Azubel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cubika', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Ben Azubel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ben_Azubel property:country_of_citizenship ?h } UNION { resource:Cubika property:headquarters_location ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q792
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately the same number of administrative territories as El Salvador ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q792
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g = ?f ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q792 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } }
El Salvador
action approx
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 El Salvador
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g = ?f ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:El_Salvador property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q792
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with approximately the same number of administrative territories as El Salvador
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g = ?f ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q792 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola 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 Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with approximately the same number of administrative territories as El Salvador
Georgia Netherlands Poland
action approx
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 El Salvador
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g = ?f ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:El_Salvador property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q739
P530
Q15617994 Q15617994
USER
And what about Colombia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q739 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?b ) }
Colombia
action approx
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 Colombia
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Colombia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q739 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?b ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
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 Colombia
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Colombia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?b ) }
[]