Simple Question (Direct)
Simple Question
Q3851497
P27
Q15617994
USER
Which administrative territory is the native country of Massimo Valentini ?
(Q3851497,P27,c(Q15617994))
action filter_type
action find
entity Q3851497
relation P27
type Q15617994
['Q3851497', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3851497 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Massimo Valentini
action filter_type
action find
entity Massimo Valentini
relation country of citizenship
type designation for an administrative territorial entity
['Massimo Valentini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Massimo_Valentini property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3851497,P27,c(Q15617994))
action filter_type
action find
entity Q3851497
relation P27
type Q15617994
[ANSWER] is the native country of Massimo Valentini
['Q3851497', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3851497 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Italy is the native country of Massimo Valentini
Italy
action filter_type
action find
entity Massimo Valentini
relation country of citizenship
type designation for an administrative territorial entity
['Massimo Valentini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Massimo_Valentini property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3851497
P1196
Q1931388
USER
What situation did Massimo Valentini die in ?
(Q3851497,P1196,c(Q1931388))
action filter_type
action find
entity Q3851497
relation P1196
type Q1931388
['Q3851497', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3851497 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Massimo Valentini
action filter_type
action find
entity Massimo Valentini
relation manner of death
type cause of death
['Massimo Valentini', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Massimo_Valentini property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3851497,P1196,c(Q1931388))
action filter_type
action find
entity Q3851497
relation P1196
type Q1931388
Massimo Valentini died of [ANSWER]
['Q3851497', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3851497 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
Massimo Valentini died of natural causes
natural causes
action filter_type
action find
entity Massimo Valentini
relation manner of death
type cause of death
['Massimo Valentini', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Massimo_Valentini property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5946329
Q1931388
USER
And how about Huracán Ramírez?
(Q5946329,P1196,c(Q1931388))
action filter_type
action find
entity Q5946329
relation P1196
type Q1931388
['Q5946329', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?d WHERE { resource:Q5946329 property:P1196 ?d . ?d rdf:type ontology:Q1931388 }
Huracán Ramírez
action filter_type
action find
entity Huracán Ramírez
relation manner of death
type cause of death
['Huracán Ramírez', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?d WHERE { resource:Huracán_Ramírez property:manner_of_death ?d . ?d rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5946329,P1196,c(Q1931388))
action filter_type
action find
entity Q5946329
relation P1196
type Q1931388
[ANSWER]
['Q5946329', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?d WHERE { resource:Q5946329 property:P1196 ?d . ?d rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Huracán Ramírez
relation manner of death
type cause of death
['Huracán Ramírez', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?d WHERE { resource:Huracán_Ramírez property:manner_of_death ?d . ?d rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q583326 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Italy and are the native countriesof Donal MacIntyre ?
AND((Q38,P530,c(Q15617994)), (Q583326,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q583326
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q583326', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?j . resource:Q583326 property:P27 ?j }
Donal MacIntyre Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Donal MacIntyre
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Donal MacIntyre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?j . resource:Donal_MacIntyre property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
AND((Q38,P530,c(Q15617994)), (Q583326,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q583326
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Italy and are the native countriesof Donal MacIntyre
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q583326', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?j . resource:Q583326 property:P27 ?j }
Ireland
Ireland have diplomatic relations with Italy and are the native countriesof Donal MacIntyre
Ireland
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Donal MacIntyre
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Donal MacIntyre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?j . resource:Donal_MacIntyre property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3851497
P509
Q2057971
USER
What was the cause of death of Massimo Valentini ?
(Q3851497,P509,c(Q2057971))
action filter_type
action find
entity Q3851497
relation P509
type Q2057971
['Q3851497', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q3851497 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
Massimo Valentini
action filter_type
action find
entity Massimo Valentini
relation cause of death
type health problem
['Massimo Valentini', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Massimo_Valentini property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q3851497,P509,c(Q2057971))
action filter_type
action find
entity Q3851497
relation P509
type Q2057971
The cause of death of Massimo Valentini was a [ANSWER]
['Q3851497', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q3851497 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
myocardial infarction
The cause of death of Massimo Valentini was a myocardial infarction
myocardial infarction
action filter_type
action find
entity Massimo Valentini
relation cause of death
type health problem
['Massimo Valentini', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Massimo_Valentini property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P6
Q502895
USER
Which person is Ireland the head of goverment of ?
(Q27,P6,c(Q502895))
action filter_type
action find
entity Q27
relation P6
type Q502895
['Q27', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Ireland
action filter_type
action find
entity Ireland
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Ireland property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q57815
SYSTEM
Enda Kenny
Q57815
(Q27,P6,c(Q502895))
action filter_type
action find
entity Q27
relation P6
type Q502895
[ANSWER] is Ireland the head of goverment of
['Q27', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Enda Kenny
Enda Kenny is Ireland the head of goverment of
Enda Kenny
action filter_type
action find
entity Ireland
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Ireland property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P610
Q14524493
USER
Which is the highest peak of Italy ?
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Italy
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
The highest peak of Italy is the [ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Mont Blanc
The highest peak of Italy is the Mont Blanc
Mont Blanc
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583
P20
Q502895
USER
Who died in that terrain ?
(c(Q502895),P20,Q583)
action filter_type
action find_reverse
entity Q583
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q583']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q583 . ?e rdf:type ontology:Q502895 }
Mont Blanc
action filter_type
action find_reverse
entity Mont Blanc
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Mont Blanc']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Mont_Blanc . ?e rdf:type ontology:common_name }
[]
common name
Q253542 Q1348857 Q481655
SYSTEM
Karine Ruby, Francis Maitland Balfour, Johannes Theodor Baargeld
Q2846388 Q3166522 Q15627372 Q23900793 Q253542 Q481655 Q3763478 Q2713080 Q2998242 Q3852949 Q258817 Q3619390 Q1348857
(c(Q502895),P20,Q583)
action filter_type
action find_reverse
entity Q583
relation P20
type Q502895
[ANSWERS] died in that terrain
[{'concept': 'Q502895'}, 'P20', 'Q583']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q583 . ?e rdf:type ontology:Q502895 }
Andrea Oggioni Jean-Joseph Maquignaz Robert Guillaume Marco Anghileri Karine Ruby Johannes Theodor Baargeld Gianni Comino Wawrzyniec Żuławski Cosimo Zappelli Mauro Vittorio Zanotta Alexei Pavlovich Fedchenko Antonio Castagneri Francis Maitland Balfour
Karine Ruby, Francis Maitland Balfour and Johannes Theodor Baargeld died in that terrain
Karine Ruby Francis Maitland Balfour Johannes Theodor Baargeld
action filter_type
action find_reverse
entity Mont Blanc
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Mont Blanc']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Mont_Blanc . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1348857
P69
Q41176
USER
Which building is that person an alumni of ?
(Q1348857,P69,c(Q41176))
action filter_type
action find
entity Q1348857
relation P69
type Q41176
['Q1348857', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q1348857 property:P69 ?f }
Francis Maitland Balfour
action filter_type
action find
entity Francis Maitland Balfour
relation educated at
type building
['Francis Maitland Balfour', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:Francis_Maitland_Balfour property:educated_at ?f }
[]
building
Clarification for simple ques.
Q481655
SYSTEM
Did you mean Johannes Theodor Baargeld ?
Q253542 Q1348857 Q481655
(Q253542,P69,c(Q41176)) (Q1348857,P69,c(Q41176)) (Q481655,P69,c(Q41176))
[ANSWER]
['Q253542', 'P69', {'concept': 'Q41176'}] ['Q1348857', 'P69', {'concept': 'Q41176'}] ['Q481655', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q1348857 property:P69 ?f }
Karine Ruby Francis Maitland Balfour Johannes Theodor Baargeld
Did you mean Johannes Theodor Baargeld ?
Johannes Theodor Baargeld
['Karine Ruby', 'educated at', {'concept': 'building'}] ['Francis Maitland Balfour', 'educated at', {'concept': 'building'}] ['Johannes Theodor Baargeld', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:Francis_Maitland_Balfour property:educated_at ?f }
[]
Simple Question (Coreferenced)
USER
No, I meant Francis Maitland Balfour. Could you tell me the answer for that?
(Q1348857,P69,c(Q41176))
Q1348857
['Q1348857', 'P69', {'concept': 'Q41176'}]
['Francis Maitland Balfour', 'educated at', {'concept': 'building'}]
[]
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q1348857,P69,c(Q41176))
action filter_type
action find
entity Q1348857
relation P69
type Q41176
[ANSWER] is that person an alumni of
['Q1348857', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q1348857 property:P69 ?f }
Trinity College, Cambridge
Trinity College, Cambridge is that person an alumni of
Trinity College, Cambridge
action filter_type
action find
entity Francis Maitland Balfour
relation educated at
type building
['Francis Maitland Balfour', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:Francis_Maitland_Balfour property:educated_at ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q332342 Q5410186
P69
Q502895
USER
Was Eric Handley educated at that building ?
(Q5410186,P69,Q332342)
action is_in
entity Q332342
action find
entity Q5410186
relation P69
['Q5410186', 'P69', 'Q332342']
ASK WHERE { resource:Q5410186 property:P69 resource:Q332342 }
Trinity College, Cambridge Eric Handley
action is_in
entity Trinity College, Cambridge
action find
entity Eric Handley
relation educated at
['Eric Handley', 'educated at', 'Trinity College, Cambridge']
ASK WHERE { resource:Eric_Handley property:educated_at resource:Trinity_College,_Cambridge }
[]
common name
SYSTEM
YES
(Q5410186,P69,Q332342)
action is_in
entity Q332342
action find
entity Q5410186
relation P69
[ANSWER]
['Q5410186', 'P69', 'Q332342']
ASK WHERE { resource:Q5410186 property:P69 resource:Q332342 }
Yes
action is_in
entity Trinity College, Cambridge
action find
entity Eric Handley
relation educated at
['Eric Handley', 'educated at', 'Trinity College, Cambridge']
ASK WHERE { resource:Eric_Handley property:educated_at resource:Trinity_College,_Cambridge }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q253542 Q7363378 Q142
P27
Q15617994
USER
Is Karine Ruby a civilian of Romulus Community School District and France ?
(Q253542,P27,Q7363378) (Q253542,P27,Q142)
action is_in
entity Q253542
action intersection
action find_reverse
entity Q7363378
relation P27
action find_reverse
entity Q142
relation P27
['Q253542', 'P27', 'Q7363378'] ['Q253542', 'P27', 'Q142']
ASK WHERE { resource:Q253542 property:P27 resource:Q7363378 . resource:Q253542 property:P27 resource:Q142 }
Karine Ruby Romulus Community School District France
action is_in
entity Karine Ruby
action intersection
action find_reverse
entity Romulus Community School District
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Karine Ruby', 'country of citizenship', 'Romulus Community School District'] ['Karine Ruby', 'country of citizenship', 'France']
ASK WHERE { resource:Karine_Ruby property:country_of_citizenship resource:Romulus_Community_School_District . resource:Karine_Ruby property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q253542,P27,Q7363378) (Q253542,P27,Q142)
action is_in
entity Q253542
action intersection
action find_reverse
entity Q7363378
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q253542', 'P27', 'Q7363378'] ['Q253542', 'P27', 'Q142']
ASK WHERE { resource:Q253542 property:P27 resource:Q7363378 . resource:Q253542 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Karine Ruby
action intersection
action find_reverse
entity Romulus Community School District
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Karine Ruby', 'country of citizenship', 'Romulus Community School District'] ['Karine Ruby', 'country of citizenship', 'France']
ASK WHERE { resource:Karine_Ruby property:country_of_citizenship resource:Romulus_Community_School_District . resource:Karine_Ruby property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q20089833 Q583
P27 P17
Q15617994
USER
Which administrative territories do Mont Blanc belong to and are the native countriesof Georges Vivent ?
AND((Q583,P17,c(Q15617994)), (Q20089833,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q583
relation P17
action find
entity Q20089833
relation P27
type Q15617994
{'AND': [['Q583', 'P17', {'concept': 'Q15617994'}], ['Q20089833', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q583 property:P17 ?u . resource:Q20089833 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Georges Vivent Mont Blanc
action filter_type
action intersection
action find
entity Mont Blanc
relation country
action find
entity Georges Vivent
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mont Blanc', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Vivent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Mont_Blanc property:country ?u . resource:Georges_Vivent property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q583,P17,c(Q15617994)), (Q20089833,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q583
relation P17
action find
entity Q20089833
relation P27
type Q15617994
Mont Blanc belong to [ANSWER] and are the native countriesof Georges Vivent
{'AND': [['Q583', 'P17', {'concept': 'Q15617994'}], ['Q20089833', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q583 property:P17 ?u . resource:Q20089833 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
Mont Blanc belong to France and are the native countriesof Georges Vivent
France
action filter_type
action intersection
action find
entity Mont Blanc
relation country
action find
entity Georges Vivent
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mont Blanc', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Vivent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Mont_Blanc property:country ?u . resource:Georges_Vivent property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with around 6 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 6
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?s = 6 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 . ?d property:P530 ?u } GROUP BY ?d } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?s = 6 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?u } GROUP BY ?d } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 6
[ANSWERS] have a diplomatic relationship with around 6 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?s = 6 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 . ?d property:P530 ?u } GROUP BY ?d } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with around 6 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?s = 6 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?u } GROUP BY ?d } }
[]