Simple Question (Direct)
Simple Question
Q3438798
P102
Q7210356
USER
Which political organization is Roger Cerclier a member of ?
(Q3438798,P102,c(Q7210356))
action filter_type
action find
entity Q3438798
relation P102
type Q7210356
['Q3438798', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q3438798 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Roger Cerclier
action filter_type
action find
entity Roger Cerclier
relation member of political party
type political organization
['Roger Cerclier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Cerclier property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q1332068
SYSTEM
French Section of the Workers' International
Q1332068
(Q3438798,P102,c(Q7210356))
action filter_type
action find
entity Q3438798
relation P102
type Q7210356
[ANSWER] is Roger Cerclier a member of
['Q3438798', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q3438798 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
French Section of the Workers' International
French Section of the Workers' International is Roger Cerclier a member of
French Section of the Workers' International
action filter_type
action find
entity Roger Cerclier
relation member of political party
type political organization
['Roger Cerclier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Cerclier property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3438798
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q1332068,P39,c(Q12737077))
action filter_type
action find
entity Q3438798
relation P39
type Q12737077
['Q1332068', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q3438798 property:P39 ?n }
Roger Cerclier
action filter_type
action find
entity Roger Cerclier
relation position held
type occupation
["French Section of the Workers' International", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Roger_Cerclier property:position_held ?n }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q1332068,P39,c(Q12737077))
action filter_type
action find
entity Q3438798
relation P39
type Q12737077
A member of the French National Assembly was a position held by that person
['Q1332068', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q3438798 property:P39 ?n }
member of the French National Assembly
A member of the French National Assembly was a position held by that person
member of the French National Assembly
action filter_type
action find
entity Roger Cerclier
relation position held
type occupation
["French Section of the Workers' International", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Roger_Cerclier property:position_held ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3438798
P21
Q290
USER
Which sex does that person belong to ?
(Q3044918,P21,c(Q290))
action filter_type
action find
entity Q3438798
relation P21
type Q290
['Q3044918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3438798 property:P21 ?c . ?c rdf:type ontology:Q290 }
Roger Cerclier
action filter_type
action find
entity Roger Cerclier
relation gender
type sex
['member of the French\xa0National Assembly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Cerclier property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3044918,P21,c(Q290))
action filter_type
action find
entity Q3438798
relation P21
type Q290
That person belongs to [ANSWER]
['Q3044918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3438798 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Roger Cerclier
relation gender
type sex
['member of the French\xa0National Assembly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Cerclier property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3438798
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q6581097,P19,c(Q20667921))
action filter_type
action find
entity Q3438798
relation P19
type Q20667921
['Q6581097', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3438798 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Roger Cerclier
action filter_type
action find
entity Roger Cerclier
relation place of birth
type type of french administrative division
['male', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Roger_Cerclier property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q201098
SYSTEM
Boussac
Q201098
(Q6581097,P19,c(Q20667921))
action filter_type
action find
entity Q3438798
relation P19
type Q20667921
That person was born at [ANSWER]
['Q6581097', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3438798 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Boussac
That person was born at Boussac
Boussac
action filter_type
action find
entity Roger Cerclier
relation place of birth
type type of french administrative division
['male', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Roger_Cerclier property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q201098 Q142
P17
Q15617994
USER
Is Boussac present in France ?
(Q201098,P17,Q142)
action is_in
entity Q142
action find
entity Q201098
relation P17
['Q201098', 'P17', 'Q142']
ASK WHERE { resource:Q201098 property:P17 resource:Q142 }
Boussac France
action is_in
entity France
action find
entity Boussac
relation country
['Boussac', 'country', 'France']
ASK WHERE { resource:Boussac property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q201098,P17,Q142)
action is_in
entity Q142
action find
entity Q201098
relation P17
[ANSWER]
['Q201098', 'P17', 'Q142']
ASK WHERE { resource:Q201098 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Boussac
relation country
['Boussac', 'country', 'France']
ASK WHERE { resource:Boussac property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201098
P1376
Q20667921
USER
Which french administrative division has Boussac has its center of administration ?
(Q201098,P1376,c(Q20667921))
action filter_type
action find
entity Q201098
relation P1376
type Q20667921
['Q201098', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q201098 property:P1376 ?q . ?q rdf:type ontology:Q20667921 }
Boussac
action filter_type
action find
entity Boussac
relation capital of
type type of french administrative division
['Boussac', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Boussac property:capital_of ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q933651
SYSTEM
canton of Boussac
Q933651
(Q201098,P1376,c(Q20667921))
action filter_type
action find
entity Q201098
relation P1376
type Q20667921
[ANSWER] has Boussac has its center of administration
['Q201098', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q201098 property:P1376 ?q . ?q rdf:type ontology:Q20667921 }
canton of Boussac
Canton of Boussac has Boussac has its center of administration
canton of Boussac
action filter_type
action find
entity Boussac
relation capital of
type type of french administrative division
['Boussac', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Boussac property:capital_of ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q933651
P36
Q20667921
USER
Which french administrative division is called the capital of that one ?
(Q933651,P36,c(Q20667921))
action filter_type
action find
entity Q933651
relation P36
type Q20667921
['Q933651', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q933651 property:P36 ?l . ?l rdf:type ontology:Q20667921 }
canton of Boussac
action filter_type
action find
entity canton of Boussac
relation capital
type type of french administrative division
['canton of Boussac', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:canton_of_Boussac property:capital ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q201098
SYSTEM
Boussac
Q201098
(Q933651,P36,c(Q20667921))
action filter_type
action find
entity Q933651
relation P36
type Q20667921
[ANSWER] is called the capital of that one
['Q933651', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q933651 property:P36 ?l . ?l rdf:type ontology:Q20667921 }
Boussac
Boussac is called the capital of that one
Boussac
action filter_type
action find
entity canton of Boussac
relation capital
type type of french administrative division
['canton of Boussac', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:canton_of_Boussac property:capital ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q933651 Q18071292
P17
Q15617994
USER
How many administrative territories are canton of Boussac or Galerie Rob Koudijs situated in ?
(Q933651,P17,c(Q15617994)) (Q18071292,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q933651
relation P17
type Q15617994
action filter_type
action find
entity Q18071292
relation P17
type Q15617994
['Q933651', 'P17', {'concept': 'Q15617994'}] ['Q18071292', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Q933651 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . resource:Q18071292 property:P17 ?e } }
canton of Boussac Galerie Rob Koudijs
action count
action union
action filter_type
action find
entity canton of Boussac
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Galerie Rob Koudijs
relation country
type designation for an administrative territorial entity
['canton of Boussac', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Galerie Rob Koudijs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:canton_of_Boussac property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galerie_Rob_Koudijs property:country ?e } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q55
(Q933651,P17,c(Q15617994)) (Q18071292,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q933651
relation P17
type Q15617994
action filter_type
action find
entity Q18071292
relation P17
type Q15617994
[ANSWER]
['Q933651', 'P17', {'concept': 'Q15617994'}] ['Q18071292', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Q933651 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . resource:Q18071292 property:P17 ?e } }
France Netherlands
2
action count
action union
action filter_type
action find
entity canton of Boussac
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Galerie Rob Koudijs
relation country
type designation for an administrative territorial entity
['canton of Boussac', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Galerie Rob Koudijs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:canton_of_Boussac property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galerie_Rob_Koudijs property:country ?e } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3039158 Q201098
P17
Q15617994
USER
Which administrative territories do Boussac or Dračevo belong to ?
OR((Q201098,P17,c(Q15617994)), (Q3039158,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q201098
relation P17
action find
entity Q3039158
relation P17
type Q15617994
{'OR': [['Q201098', 'P17', {'concept': 'Q15617994'}], ['Q3039158', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q201098 property:P17 ?n } UNION { resource:Q3039158 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Dračevo Boussac
action filter_type
action union
action find
entity Boussac
relation country
action find
entity Dračevo
relation country
type designation for an administrative territorial entity
{'OR': [['Boussac', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dračevo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Boussac property:country ?n } UNION { resource:Dračevo property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q221
SYSTEM
France, Republic of Macedonia
Q142 Q221
OR((Q201098,P17,c(Q15617994)), (Q3039158,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q201098
relation P17
action find
entity Q3039158
relation P17
type Q15617994
Boussac or Dračevo belong to the [ANSWERS]
{'OR': [['Q201098', 'P17', {'concept': 'Q15617994'}], ['Q3039158', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q201098 property:P17 ?n } UNION { resource:Q3039158 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
France Republic of Macedonia
Boussac or Dračevo belong to the France and Republic of Macedonia
France Republic of Macedonia
action filter_type
action union
action find
entity Boussac
relation country
action find
entity Dračevo
relation country
type designation for an administrative territorial entity
{'OR': [['Boussac', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dračevo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Boussac property:country ?n } UNION { resource:Dračevo property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with atleast 4 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?c ) WHERE { ?n rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?n property:P530 ?i } GROUP BY ?n } . FILTER ( ?c >= 4 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?c ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?i } GROUP BY ?n } . FILTER ( ?c >= 4 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
5
Q40 Q183 Q408 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?c ) WHERE { ?n rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?n property:P530 ?i } GROUP BY ?n } . FILTER ( ?c >= 4 ) }
Austria Germany Australia Denmark Canada
5
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?c ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?i } GROUP BY ?n } . FILTER ( ?c >= 4 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q986
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Eritrea ?
(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 Q986
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q986 property:P530 ?x } } }
Eritrea
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 Eritrea
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 ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eritrea property:diplomatic_relation ?x } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 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 Q986
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q986 property:P530 ?x } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
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 Eritrea
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 ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eritrea property:diplomatic_relation ?x } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q258
P530
Q15617994 Q15617994
USER
And how about South Africa?
(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_reverse
entity Q258
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?a property:P530 ?f } GROUP BY ?a } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P530 resource:Q258 . ?g rdf:type ontology:Q15617994 } } }
South Africa
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_reverse
entity South Africa
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 ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?f } GROUP BY ?a } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:diplomatic_relation resource:South_Africa . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
21
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q796 Q794 Q30 Q38 Q347 Q17 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_reverse
entity Q258
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?a property:P530 ?f } GROUP BY ?a } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P530 resource:Q258 . ?g rdf:type ontology:Q15617994 } } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Russia Turkey Brazil Iraq Iran United States of America Italy Liechtenstein Japan Egypt Libya Cape Verde Zambia
21
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_reverse
entity South Africa
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 ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?f } GROUP BY ?a } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:diplomatic_relation resource:South_Africa . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]