Simple Question (Direct)
Simple Question
Q1494316
P39
Q12737077
USER
What were the positions for which Robert Straub were appointed ?
(Q1494316,P39,c(Q12737077))
action filter_type
action find
entity Q1494316
relation P39
type Q12737077
['Q1494316', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1494316 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Robert Straub
action filter_type
action find
entity Robert Straub
relation position held
type occupation
['Robert Straub', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Straub property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18510612 Q18510613
SYSTEM
Member of the Swiss National Council, Member of the Swiss Council of States
Q18510612 Q18510613
(Q1494316,P39,c(Q12737077))
action filter_type
action find
entity Q1494316
relation P39
type Q12737077
And [ANSWERS]
['Q1494316', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1494316 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of the Swiss National Council Member of the Swiss Council of States
And Member of the Swiss National Council and Member of the Swiss Council of States
Member of the Swiss National Council Member of the Swiss Council of States
action filter_type
action find
entity Robert Straub
relation position held
type occupation
['Robert Straub', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Straub property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1494316
P19
Q13220204
USER
Which administrative country subdivision is the place of birth of Robert Straub ?
(Q1494316,P19,c(Q13220204))
action filter_type
action find
entity Q1494316
relation P19
type Q13220204
['Q1494316', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q1494316 property:P19 ?d . ?d rdf:type ontology:Q13220204 }
Robert Straub
action filter_type
action find
entity Robert Straub
relation place of birth
type second-level administrative country subdivision
['Robert Straub', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Straub property:place_of_birth ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q63939
SYSTEM
Baden
Q63939
(Q1494316,P19,c(Q13220204))
action filter_type
action find
entity Q1494316
relation P19
type Q13220204
[ANSWER] is the place of birth of Robert Straub
['Q1494316', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q1494316 property:P19 ?d . ?d rdf:type ontology:Q13220204 }
Baden
Baden is the place of birth of Robert Straub
Baden
action filter_type
action find
entity Robert Straub
relation place of birth
type second-level administrative country subdivision
['Robert Straub', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Straub property:place_of_birth ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q945971
Q13220204
USER
And also tell me about Erik Akkersdijk?
(Q945971,P19,c(Q13220204))
action filter_type
action find
entity Q945971
relation P19
type Q13220204
['Q945971', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q945971 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Erik Akkersdijk
action filter_type
action find
entity Erik Akkersdijk
relation place of birth
type second-level administrative country subdivision
['Erik Akkersdijk', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Erik_Akkersdijk property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q10002
SYSTEM
Enschede
Q10002
(Q945971,P19,c(Q13220204))
action filter_type
action find
entity Q945971
relation P19
type Q13220204
[ANSWER]
['Q945971', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q945971 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Enschede
Enschede
action filter_type
action find
entity Erik Akkersdijk
relation place of birth
type second-level administrative country subdivision
['Erik Akkersdijk', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Erik_Akkersdijk property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q10002
P190
Q56061 Q1048835
USER
How many administrative territories and political territories are twin town of Enschede ?
(c(Q56061),P190,Q10002) (c(Q1048835),P190,Q10002)
action count
action union
action filter_type
action find_reverse
entity Q10002
relation P190
type Q56061
action filter_type
action find_reverse
entity Q10002
relation P190
type Q1048835
[{'concept': 'Q56061'}, 'P190', 'Q10002'] [{'concept': 'Q1048835'}, 'P190', 'Q10002']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P190 resource:Q10002 . ?d rdf:type ontology:Q1048835 } UNION { ?d property:P190 resource:Q10002 . ?d rdf:type ontology:Q56061 } }
Enschede
action count
action union
action filter_type
action find_reverse
entity Enschede
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Enschede
relation sister city
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Enschede'] [{'concept': 'political territorial entity'}, 'sister city', 'Enschede']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:sister_city resource:Enschede . ?d rdf:type ontology:political_territorial_entity } UNION { ?d property:sister_city resource:Enschede . ?d rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 1 political territories
Q47265 Q74881
(c(Q56061),P190,Q10002) (c(Q1048835),P190,Q10002)
action count
action union
action filter_type
action find_reverse
entity Q10002
relation P190
type Q56061
action filter_type
action find_reverse
entity Q10002
relation P190
type Q1048835
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q10002'] [{'concept': 'Q1048835'}, 'P190', 'Q10002']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P190 resource:Q10002 . ?d rdf:type ontology:Q1048835 } UNION { ?d property:P190 resource:Q10002 . ?d rdf:type ontology:Q56061 } }
Palo Alto Dalian
1 administrative territories and 1 political territories
action count
action union
action filter_type
action find_reverse
entity Enschede
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Enschede
relation sister city
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Enschede'] [{'concept': 'political territorial entity'}, 'sister city', 'Enschede']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:sister_city resource:Enschede . ?d rdf:type ontology:political_territorial_entity } UNION { ?d property:sister_city resource:Enschede . ?d rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q13220204 Q486972
USER
How many human settlements are the county seat of atleast 1 administrative country subdivision ?
(c(Q486972),P1376,c(Q13220204))
action count
action atleast
action find_tuple_counts
relation P1376
type Q486972
type Q13220204
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?g ) WHERE { ?v property:P1376 ?h . ?v rdf:type ontology:Q486972 . ?h rdf:type ontology:Q13220204 } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
action count
action atleast
action find_tuple_counts
relation capital of
type human settlement
type second-level administrative country subdivision
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?g ) WHERE { ?v property:capital_of ?h . ?v rdf:type ontology:human_settlement . ?h rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
[]
second-level administrative country subdivision human settlement
SYSTEM
31
Q456784 Q3344109 Q10013 Q102317 Q2303485 Q192508 Q106281 Q3344024 Q19799162 Q2918849 Q158004 Q11002429 Q275592 Q110732 Q465833 Q3344081 Q3348305 Q3299324 Q3777 Q52892 Q1799 Q52845 Q14389109 Q31487 Q11034041 Q9879 Q2734 Q106274 Q3344864 Q81220 Q147934
(c(Q486972),P1376,c(Q13220204))
action count
action atleast
action find_tuple_counts
relation P1376
type Q486972
type Q13220204
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?g ) WHERE { ?v property:P1376 ?h . ?v rdf:type ontology:Q486972 . ?h rdf:type ontology:Q13220204 } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
Ampelokipoi, Thessaloniki Huacaybamba Hardenberg Kielce Woudrichem Bergen op Zoom Tarnów Panao San Antonio del Estrecho Querobamba Piotrków Trybunalski San Miguel de Pallaques Pińczów Wałbrzych Schagen Chavinillo Puerto Inca Oisterwijk Ouagadougou Leszno Wrocław Konin Steenbergen Kraków San José de Sisa Waalwijk Skierniewice Legnica Llata Goes Jelenia Góra
31
action count
action atleast
action find_tuple_counts
relation capital of
type human settlement
type second-level administrative country subdivision
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?g ) WHERE { ?v property:capital_of ?h . ?v rdf:type ontology:human_settlement . ?h rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10002
P609
Q34442
USER
Which roads have Enschede as their departure point ?
(c(Q34442),P609,Q10002)
action filter_type
action find_reverse
entity Q10002
relation P609
type Q34442
[{'concept': 'Q34442'}, 'P609', 'Q10002']
SELECT DISTINCT ?k WHERE { ?k property:P609 resource:Q10002 . ?k rdf:type ontology:Q34442 }
Enschede
action filter_type
action find_reverse
entity Enschede
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', 'Enschede']
SELECT DISTINCT ?k WHERE { ?k property:terminus_location resource:Enschede . ?k rdf:type ontology:road }
[]
road
Q589064 Q1820208
SYSTEM
A15 motorway, A18 motorway
Q589064 Q1820208
(c(Q34442),P609,Q10002)
action filter_type
action find_reverse
entity Q10002
relation P609
type Q34442
[ANSWERS] have Enschede as their departure point
[{'concept': 'Q34442'}, 'P609', 'Q10002']
SELECT DISTINCT ?k WHERE { ?k property:P609 resource:Q10002 . ?k rdf:type ontology:Q34442 }
A15 motorway A18 motorway
A15 motorway and A18 motorway have Enschede as their departure point
A15 motorway A18 motorway
action filter_type
action find_reverse
entity Enschede
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', 'Enschede']
SELECT DISTINCT ?k WHERE { ?k property:terminus_location resource:Enschede . ?k rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63939
P17
Q15617994
USER
Which administrative territory is Baden located in ?
(Q63939,P17,c(Q15617994))
action filter_type
action find
entity Q63939
relation P17
type Q15617994
['Q63939', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q63939 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Baden
action filter_type
action find
entity Baden
relation country
type designation for an administrative territorial entity
['Baden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Baden property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q63939,P17,c(Q15617994))
action filter_type
action find
entity Q63939
relation P17
type Q15617994
Baden is located in [ANSWER]
['Q63939', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q63939 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Switzerland
Baden is located in Switzerland
Switzerland
action filter_type
action find
entity Baden
relation country
type designation for an administrative territorial entity
['Baden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Baden property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7692058
Q15617994
USER
And how about Tebhapadar?
(Q7692058,P17,c(Q15617994))
action filter_type
action find
entity Q7692058
relation P17
type Q15617994
['Q7692058', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7692058 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Tebhapadar
action filter_type
action find
entity Tebhapadar
relation country
type designation for an administrative territorial entity
['Tebhapadar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Tebhapadar property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q7692058,P17,c(Q15617994))
action filter_type
action find
entity Q7692058
relation P17
type Q15617994
[ANSWER]
['Q7692058', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7692058 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
India
India
action filter_type
action find
entity Tebhapadar
relation country
type designation for an administrative territorial entity
['Tebhapadar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Tebhapadar property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q20630481
P19
Q502895
USER
Does Meer Ali have birthplace at that administrative territory ?
(Q20630481,P19,Q668)
action is_in
entity Q668
action find
entity Q20630481
relation P19
['Q20630481', 'P19', 'Q668']
ASK WHERE { resource:Q20630481 property:P19 resource:Q668 }
India Meer Ali
action is_in
entity India
action find
entity Meer Ali
relation place of birth
['Meer Ali', 'place of birth', 'India']
ASK WHERE { resource:Meer_Ali property:place_of_birth resource:India }
[]
common name
SYSTEM
YES
(Q20630481,P19,Q668)
action is_in
entity Q668
action find
entity Q20630481
relation P19
[ANSWER]
['Q20630481', 'P19', 'Q668']
ASK WHERE { resource:Q20630481 property:P19 resource:Q668 }
Yes
action is_in
entity India
action find
entity Meer Ali
relation place of birth
['Meer Ali', 'place of birth', 'India']
ASK WHERE { resource:Meer_Ali property:place_of_birth resource:India }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1909954 Q20630481
P19
Q15617994
USER
Which administrative territories were Meer Ali or Matthias Heckenberger born in ?
OR((Q20630481,P19,c(Q15617994)), (Q1909954,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20630481
relation P19
action find
entity Q1909954
relation P19
type Q15617994
{'OR': [['Q20630481', 'P19', {'concept': 'Q15617994'}], ['Q1909954', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q20630481 property:P19 ?c } UNION { resource:Q1909954 property:P19 ?c } } . ?c rdf:type ontology:Q15617994 }
Matthias Heckenberger Meer Ali
action filter_type
action union
action find
entity Meer Ali
relation place of birth
action find
entity Matthias Heckenberger
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Meer Ali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Matthias Heckenberger', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Meer_Ali property:place_of_birth ?c } UNION { resource:Matthias_Heckenberger property:place_of_birth ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15980 Q668
SYSTEM
Erding, India
Q15980 Q668
OR((Q20630481,P19,c(Q15617994)), (Q1909954,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20630481
relation P19
action find
entity Q1909954
relation P19
type Q15617994
[ANSWERS] were Meer Ali or Matthias Heckenberger born in
{'OR': [['Q20630481', 'P19', {'concept': 'Q15617994'}], ['Q1909954', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q20630481 property:P19 ?c } UNION { resource:Q1909954 property:P19 ?c } } . ?c rdf:type ontology:Q15617994 }
Erding India
Erding and India were Meer Ali or Matthias Heckenberger born in
Erding India
action filter_type
action union
action find
entity Meer Ali
relation place of birth
action find
entity Matthias Heckenberger
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Meer Ali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Matthias Heckenberger', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Meer_Ali property:place_of_birth ?c } UNION { resource:Matthias_Heckenberger property:place_of_birth ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q954
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Zimbabwe ?
(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 Q954
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?m ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q954 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?h ) }
Zimbabwe
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 Zimbabwe
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 ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?m ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Zimbabwe property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
43
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 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 Q954
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?m ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q954 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?h ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
43
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 Zimbabwe
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 ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?m ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Zimbabwe property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q242
P530
Q15617994 Q15617994
USER
And how about Belize?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q242 property:P530 ?l } } . FILTER ( ?w > ?b ) }
Belize
action count
action greater
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 Belize
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 ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belize property:diplomatic_relation ?l } } . FILTER ( ?w > ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q242 property:P530 ?l } } . FILTER ( ?w > ?b ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
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 Belize
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 ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belize property:diplomatic_relation ?l } } . FILTER ( ?w > ?b ) }
[]