Simple Question (Direct)
Simple Question
Q16231316
P19
Q486972
USER
Which human settlement is the place of birth of Gonzalo Neila ?
(Q16231316,P19,c(Q486972))
action filter_type
action find
entity Q16231316
relation P19
type Q486972
['Q16231316', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q16231316 property:P19 ?a . ?a rdf:type ontology:Q486972 }
Gonzalo Neila
action filter_type
action find
entity Gonzalo Neila
relation place of birth
type human settlement
['Gonzalo Neila', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Gonzalo_Neila property:place_of_birth ?a . ?a rdf:type ontology:human_settlement }
[]
human settlement
Q695375
SYSTEM
Béjar
Q695375
(Q16231316,P19,c(Q486972))
action filter_type
action find
entity Q16231316
relation P19
type Q486972
[ANSWER] is the place of birth of Gonzalo Neila
['Q16231316', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q16231316 property:P19 ?a . ?a rdf:type ontology:Q486972 }
Béjar
Béjar is the place of birth of Gonzalo Neila
Béjar
action filter_type
action find
entity Gonzalo Neila
relation place of birth
type human settlement
['Gonzalo Neila', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Gonzalo_Neila property:place_of_birth ?a . ?a rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q695375
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that human settlement ?
(c(Q12737077),P1001,Q695375)
action filter_type
action find_reverse
entity Q695375
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q695375']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q695375 . ?v rdf:type ontology:Q12737077 }
Béjar
action filter_type
action find_reverse
entity Béjar
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Béjar']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Béjar . ?v rdf:type ontology:occupation }
[]
occupation
Q26699682
SYSTEM
mayor of Béjar
Q26699682
(c(Q12737077),P1001,Q695375)
action filter_type
action find_reverse
entity Q695375
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that human settlement
[{'concept': 'Q12737077'}, 'P1001', 'Q695375']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q695375 . ?v rdf:type ontology:Q12737077 }
mayor of Béjar
The mayor of Béjar applies to jurisdiction over that human settlement
mayor of Béjar
action filter_type
action find_reverse
entity Béjar
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Béjar']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Béjar . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q594892 Q695375
P1001
Q12737077
USER
Or La Oliva?
OR((c(Q12737077),P1001,Q695375), (c(Q12737077),P1001,Q594892))
action filter_type
action union
action find_reverse
entity Q695375
relation P1001
action find_reverse
entity Q594892
relation P1001
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q695375'], [{'concept': 'Q12737077'}, 'P1001', 'Q594892']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . { { ?n property:P1001 resource:Q695375 } UNION { ?n property:P1001 resource:Q594892 } } }
La Oliva Béjar
action filter_type
action union
action find_reverse
entity Béjar
relation applies to jurisdiction
action find_reverse
entity La Oliva
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Béjar'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'La Oliva']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . { { ?n property:applies_to_jurisdiction resource:Béjar } UNION { ?n property:applies_to_jurisdiction resource:La_Oliva } } }
[]
occupation
Q26699682 Q26698920
SYSTEM
mayor of Béjar, mayor of La Oliva
Q26699682 Q26698920
OR((c(Q12737077),P1001,Q695375), (c(Q12737077),P1001,Q594892))
action filter_type
action union
action find_reverse
entity Q695375
relation P1001
action find_reverse
entity Q594892
relation P1001
type Q12737077
[ANSWERS]
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q695375'], [{'concept': 'Q12737077'}, 'P1001', 'Q594892']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . { { ?n property:P1001 resource:Q695375 } UNION { ?n property:P1001 resource:Q594892 } } }
mayor of Béjar mayor of La Oliva
mayor of Béjar mayor of La Oliva
action filter_type
action union
action find_reverse
entity Béjar
relation applies to jurisdiction
action find_reverse
entity La Oliva
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Béjar'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'La Oliva']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . { { ?n property:applies_to_jurisdiction resource:Béjar } UNION { ?n property:applies_to_jurisdiction resource:La_Oliva } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26699682
P17
Q15617994
USER
Which administrative territory is that occupation a part of ?
(Q26699682,P17,c(Q15617994))
action filter_type
action find
entity Q26699682
relation P17
type Q15617994
['Q26699682', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q26699682 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
mayor of Béjar
action filter_type
action find
entity mayor of Béjar
relation country
type designation for an administrative territorial entity
['mayor of Béjar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:mayor_of_Béjar property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q26699682
SYSTEM
Did you mean mayor of Béjar ?
Q26699682 Q26698920
(Q26699682,P17,c(Q15617994)) (Q26698920,P17,c(Q15617994))
[ANSWER]
['Q26699682', 'P17', {'concept': 'Q15617994'}] ['Q26698920', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q26699682 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
mayor of Béjar mayor of La Oliva
Did you mean mayor of Béjar ?
mayor of Béjar
['mayor of Béjar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mayor of La Oliva', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:mayor_of_Béjar property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q26699682,P17,c(Q15617994))
['Q26699682', 'P17', {'concept': 'Q15617994'}]
['mayor of Béjar', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q29
SYSTEM
Spain
Q29
(Q26699682,P17,c(Q15617994))
action filter_type
action find
entity Q26699682
relation P17
type Q15617994
The [ANSWER] is that occupation a part of
['Q26699682', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q26699682 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Spain
The Spain is that occupation a part of
Spain
action filter_type
action find
entity mayor of Béjar
relation country
type designation for an administrative territorial entity
['mayor of Béjar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:mayor_of_Béjar property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with lesser number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?e ) WHERE { ?m property:P530 ?t . ?m rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q778 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
The Bahamas
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?e ) WHERE { ?m property:diplomatic_relation ?t . ?m rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:The_Bahamas property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?e ) WHERE { ?m property:P530 ?t . ?m rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q778 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
Solomon Islands Papua New Guinea
2
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?e ) WHERE { ?m property:diplomatic_relation ?t . ?m rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:The_Bahamas property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q4018
P37
Q34770
USER
How many languages are the official languages of Spain and Navarre ?
(Q29,P37,c(Q34770)) (Q4018,P37,c(Q34770))
action count
action intersection
action filter_type
action find
entity Q29
relation P37
type Q34770
action filter_type
action find
entity Q4018
relation P37
type Q34770
['Q29', 'P37', {'concept': 'Q34770'}] ['Q4018', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q29 property:P37 ?e . ?e rdf:type ontology:Q34770 . ?e rdf:type ontology:Q34770 . resource:Q4018 property:P37 ?e }
Spain Navarre
action count
action intersection
action filter_type
action find
entity Spain
relation official language
type language
action filter_type
action find
entity Navarre
relation official language
type language
['Spain', 'official language', {'concept': 'language'}] ['Navarre', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Spain property:official_language ?e . ?e rdf:type ontology:language . ?e rdf:type ontology:language . resource:Navarre property:official_language ?e }
[]
language
SYSTEM
2
Q8752 Q1321
(Q29,P37,c(Q34770)) (Q4018,P37,c(Q34770))
action count
action intersection
action filter_type
action find
entity Q29
relation P37
type Q34770
action filter_type
action find
entity Q4018
relation P37
type Q34770
[ANSWER]
['Q29', 'P37', {'concept': 'Q34770'}] ['Q4018', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q29 property:P37 ?e . ?e rdf:type ontology:Q34770 . ?e rdf:type ontology:Q34770 . resource:Q4018 property:P37 ?e }
Basque Spanish
2
action count
action intersection
action filter_type
action find
entity Spain
relation official language
type language
action filter_type
action find
entity Navarre
relation official language
type language
['Spain', 'official language', {'concept': 'language'}] ['Navarre', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Spain property:official_language ?e . ?e rdf:type ontology:language . ?e rdf:type ontology:language . resource:Navarre property:official_language ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q408
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with lesser number of administrative territories than Australia ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?k ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q408 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?i ) }
Australia
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?k ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Australia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?i ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?k ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q408 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?i ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?k ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Australia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q15617994 Q1048835
USER
And also tell me about Jamaica?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q766 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?g ) }
Jamaica
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Jamaica property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?g ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q766 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?g ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
6
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Jamaica property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with atleast 41 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?f >= 41 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?f >= 41 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38 Q230
SYSTEM
Brazil, Italy, Georgia
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[ANSWERS] are known to have diplomatic connections with atleast 41 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?f >= 41 ) }
Brazil Italy Georgia
Brazil, Italy and Georgia are known to have diplomatic connections with atleast 41 administrative territories
Brazil Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?f ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?f >= 41 ) }
[]