Simple Question (Direct)
Simple Question
Q1662924
P512
Q3412758
USER
Which qualification does Ingeborg Scheibler hold ?
(Q1662924,P512,c(Q3412758))
action filter_type
action find
entity Q1662924
relation P512
type Q3412758
['Q1662924', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?y WHERE { resource:Q1662924 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
Ingeborg Scheibler
action filter_type
action find
entity Ingeborg Scheibler
relation academic degree
type qualification
['Ingeborg Scheibler', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?y WHERE { resource:Ingeborg_Scheibler property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1662924,P512,c(Q3412758))
action filter_type
action find
entity Q1662924
relation P512
type Q3412758
Ingeborg Scheibler holds a [ANSWER]
['Q1662924', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?y WHERE { resource:Q1662924 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
doctoral degree
Ingeborg Scheibler holds a doctoral degree
doctoral degree
action filter_type
action find
entity Ingeborg Scheibler
relation academic degree
type qualification
['Ingeborg Scheibler', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?y WHERE { resource:Ingeborg_Scheibler property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P166
Q502895
USER
Which people received the award titled that qualification ?
(c(Q502895),P166,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q849697']
SELECT DISTINCT ?w WHERE { ?w property:P166 resource:Q849697 . ?w rdf:type ontology:Q502895 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'doctoral degree']
SELECT DISTINCT ?w WHERE { ?w property:award_received resource:doctoral_degree . ?w rdf:type ontology:common_name }
[]
common name
Q3086860 Q1430261 Q96597
SYSTEM
Fred Hollows, Peter Blake, Elisabeth Rotten
Q3086860 Q1430261 Q96597
(c(Q502895),P166,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P166
type Q502895
[ANSWERS] received the award titled that qualification
[{'concept': 'Q502895'}, 'P166', 'Q849697']
SELECT DISTINCT ?w WHERE { ?w property:P166 resource:Q849697 . ?w rdf:type ontology:Q502895 }
Fred Hollows Peter Blake Elisabeth Rotten
Fred Hollows, Peter Blake and Elisabeth Rotten received the award titled that qualification
Fred Hollows Peter Blake Elisabeth Rotten
action filter_type
action find_reverse
entity doctoral degree
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'doctoral degree']
SELECT DISTINCT ?w WHERE { ?w property:award_received resource:doctoral_degree . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q849697
P69
Q502895
USER
Who studied at doctoral degree ?
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?r WHERE { ?r property:P69 resource:Q849697 . ?r rdf:type ontology:Q502895 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?r WHERE { ?r property:educated_at resource:doctoral_degree . ?r rdf:type ontology:common_name }
[]
common name
Q2369193 Q120389 Q3419113
SYSTEM
Auguste Sabatier, Stéphane Udry, Raoul Allier
Q2369193 Q120389 Q3419113
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[ANSWERS] studied at doctoral degree
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?r WHERE { ?r property:P69 resource:Q849697 . ?r rdf:type ontology:Q502895 }
Auguste Sabatier Stéphane Udry Raoul Allier
Auguste Sabatier, Stéphane Udry and Raoul Allier studied at doctoral degree
Auguste Sabatier Stéphane Udry Raoul Allier
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?r WHERE { ?r property:educated_at resource:doctoral_degree . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q849697
P1542
Q8434
USER
Which education is the cause of doctoral degree ?
(c(Q8434),P1542,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P1542
type Q8434
[{'concept': 'Q8434'}, 'P1542', 'Q849697']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8434 . ?s property:P1542 resource:Q849697 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation cause of
type education
[{'concept': 'education'}, 'cause of', 'doctoral degree']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:education . ?s property:cause_of resource:doctoral_degree }
[]
education
Q2095243
SYSTEM
doctorate
Q2095243
(c(Q8434),P1542,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P1542
type Q8434
[ANSWER] is the cause of doctoral degree
[{'concept': 'Q8434'}, 'P1542', 'Q849697']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8434 . ?s property:P1542 resource:Q849697 }
doctorate
Doctorate is the cause of doctoral degree
doctorate
action filter_type
action find_reverse
entity doctoral degree
relation cause of
type education
[{'concept': 'education'}, 'cause of', 'doctoral degree']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:education . ?s property:cause_of resource:doctoral_degree }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P828
Q8434
USER
What leads to that qualification ?
(Q2095243,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
['Q2095243', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q8434 . resource:Q849697 property:P828 ?y }
doctoral degree
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctorate', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:education . resource:doctoral_degree property:has_cause ?y }
[]
education
Q2095243
SYSTEM
doctorate
Q2095243
(Q2095243,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
[ANSWER] leads to that qualification
['Q2095243', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q8434 . resource:Q849697 property:P828 ?y }
doctorate
Doctorate leads to that qualification
doctorate
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctorate', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:education . resource:doctoral_degree property:has_cause ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P793
Q502895
USER
Which people had that qualification as their key event ?
(c(Q502895),P793,Q2095243)
action filter_type
action find_reverse
entity Q849697
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q2095243']
SELECT DISTINCT ?b WHERE { ?b property:P793 resource:Q849697 . ?b rdf:type ontology:Q502895 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'doctorate']
SELECT DISTINCT ?b WHERE { ?b property:significant_event resource:doctoral_degree . ?b rdf:type ontology:common_name }
[]
common name
Q21694402 Q2149374 Q100307
SYSTEM
Hans Hoffmann, Richard Duffin, Prince Oskar of Prussia
Q21694402 Q2149374 Q100307
(c(Q502895),P793,Q2095243)
action filter_type
action find_reverse
entity Q849697
relation P793
type Q502895
[ANSWERS] had that qualification as their key event
[{'concept': 'Q502895'}, 'P793', 'Q2095243']
SELECT DISTINCT ?b WHERE { ?b property:P793 resource:Q849697 . ?b rdf:type ontology:Q502895 }
Hans Hoffmann Richard Duffin Prince Oskar of Prussia
Hans Hoffmann, Richard Duffin and Prince Oskar of Prussia had that qualification as their key event
Hans Hoffmann Richard Duffin Prince Oskar of Prussia
action filter_type
action find_reverse
entity doctoral degree
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'doctorate']
SELECT DISTINCT ?b WHERE { ?b property:significant_event resource:doctoral_degree . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21694402 Q2149374 Q100307
P21
Q290
USER
What are the sex of Hans Hoffmann, Richard Duffin and Prince Oskar of Prussia ?
(Q21694402,P21,c(Q290)) (Q2149374,P21,c(Q290)) (Q100307,P21,c(Q290))
action union
action filter_type
action find
entity Q21694402
relation P21
type Q290
action filter_type
action find
entity Q2149374
relation P21
type Q290
action filter_type
action find
entity Q100307
relation P21
type Q290
['Q21694402', 'P21', {'concept': 'Q290'}] ['Q2149374', 'P21', {'concept': 'Q290'}] ['Q100307', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q21694402 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { resource:Q2149374 property:P21 ?z . ?z rdf:type ontology:Q290 } }
Hans Hoffmann Richard Duffin Prince Oskar of Prussia
action union
action filter_type
action find
entity Hans Hoffmann
relation gender
type sex
action filter_type
action find
entity Richard Duffin
relation gender
type sex
action filter_type
action find
entity Prince Oskar of Prussia
relation gender
type sex
['Hans Hoffmann', 'gender', {'concept': 'sex'}] ['Richard Duffin', 'gender', {'concept': 'sex'}] ['Prince Oskar of Prussia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Hans_Hoffmann property:gender ?z . ?z rdf:type ontology:sex } UNION { resource:Richard_Duffin property:gender ?z . ?z rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q21694402,P21,c(Q290)) (Q2149374,P21,c(Q290)) (Q100307,P21,c(Q290))
action union
action filter_type
action find
entity Q21694402
relation P21
type Q290
action filter_type
action find
entity Q2149374
relation P21
type Q290
action filter_type
action find
entity Q100307
relation P21
type Q290
The sex of Hans Hoffmann , Richard Duffin and Prince Oskar of Prussia are the [ANSWER], [ANSWER] and [ANSWER]
['Q21694402', 'P21', {'concept': 'Q290'}] ['Q2149374', 'P21', {'concept': 'Q290'}] ['Q100307', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q21694402 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { resource:Q2149374 property:P21 ?z . ?z rdf:type ontology:Q290 } }
male male male
The sex of Hans Hoffmann , Richard Duffin and Prince Oskar of Prussia are the male, male and male
male male male
action union
action filter_type
action find
entity Hans Hoffmann
relation gender
type sex
action filter_type
action find
entity Richard Duffin
relation gender
type sex
action filter_type
action find
entity Prince Oskar of Prussia
relation gender
type sex
['Hans Hoffmann', 'gender', {'concept': 'sex'}] ['Richard Duffin', 'gender', {'concept': 'sex'}] ['Prince Oskar of Prussia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Hans_Hoffmann property:gender ?z . ?z rdf:type ontology:sex } UNION { resource:Richard_Duffin property:gender ?z . ?z rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3086860
P138
Q17444909
USER
Which astronomical object type is the eponym of Fred Hollows ?
(c(Q17444909),P138,Q3086860)
action filter_type
action find_reverse
entity Q3086860
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q3086860']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q3086860 . ?n rdf:type ontology:Q17444909 }
Fred Hollows
action filter_type
action find_reverse
entity Fred Hollows
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Fred Hollows']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Fred_Hollows . ?n rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2625761
SYSTEM
12113 Hollows
Q2625761
(c(Q17444909),P138,Q3086860)
action filter_type
action find_reverse
entity Q3086860
relation P138
type Q17444909
[ANSWER] is the eponym of Fred Hollows
[{'concept': 'Q17444909'}, 'P138', 'Q3086860']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q3086860 . ?n rdf:type ontology:Q17444909 }
12113 Hollows
12113 Hollows is the eponym of Fred Hollows
12113 Hollows
action filter_type
action find_reverse
entity Fred Hollows
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Fred Hollows']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Fred_Hollows . ?n rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2625761
P196
Q6999
USER
Which astronomical object is considered to be the minor planet group of that astronomical object type ?
(Q2625761,P196,c(Q6999))
action filter_type
action find
entity Q2625761
relation P196
type Q6999
['Q2625761', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?e WHERE { resource:Q2625761 property:P196 ?e . ?e rdf:type ontology:Q6999 }
12113 Hollows
action filter_type
action find
entity 12113 Hollows
relation minor planet group
type astronomical object
['12113 Hollows', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?e WHERE { resource:12113_Hollows property:minor_planet_group ?e . ?e rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q2625761,P196,c(Q6999))
action filter_type
action find
entity Q2625761
relation P196
type Q6999
[ANSWER] is considered to be the minor planet group of that astronomical object type
['Q2625761', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?e WHERE { resource:Q2625761 property:P196 ?e . ?e rdf:type ontology:Q6999 }
asteroid belt
Asteroid belt is considered to be the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 12113 Hollows
relation minor planet group
type astronomical object
['12113 Hollows', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?e WHERE { resource:12113_Hollows property:minor_planet_group ?e . ?e rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2149374
P184
Q502895
USER
How many people have Richard Duffin as doctoral supervisor ?
(c(Q502895),P184,Q2149374)
action count
action filter_type
action find_reverse
entity Q2149374
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q2149374']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P184 resource:Q2149374 . ?q rdf:type ontology:Q502895 }
Richard Duffin
action count
action filter_type
action find_reverse
entity Richard Duffin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Richard Duffin']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:doctoral_advisor resource:Richard_Duffin . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q441185
(c(Q502895),P184,Q2149374)
action count
action filter_type
action find_reverse
entity Q2149374
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q2149374']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P184 resource:Q2149374 . ?q rdf:type ontology:Q502895 }
Raoul Bott
1
action count
action filter_type
action find_reverse
entity Richard Duffin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Richard Duffin']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:doctoral_advisor resource:Richard_Duffin . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q576311 Q120389
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Stéphane Udry or are Logone-et-Chari a part of ?
OR((Q120389,P27,c(Q15617994)), (Q576311,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q120389
relation P27
action find
entity Q576311
relation P17
type Q15617994
{'OR': [['Q120389', 'P27', {'concept': 'Q15617994'}], ['Q576311', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q120389 property:P27 ?a } UNION { resource:Q576311 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Logone-et-Chari Stéphane Udry
action filter_type
action union
action find
entity Stéphane Udry
relation country of citizenship
action find
entity Logone-et-Chari
relation country
type designation for an administrative territorial entity
{'OR': [['Stéphane Udry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Logone-et-Chari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Stéphane_Udry property:country_of_citizenship ?a } UNION { resource:Logone-et-Chari property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q1009
SYSTEM
Switzerland, Cameroon
Q39 Q1009
OR((Q120389,P27,c(Q15617994)), (Q576311,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q120389
relation P27
action find
entity Q576311
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Stéphane Udry or are Logone-et-Chari a part of
{'OR': [['Q120389', 'P27', {'concept': 'Q15617994'}], ['Q576311', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q120389 property:P27 ?a } UNION { resource:Q576311 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Switzerland Cameroon
Switzerland and Cameroon are the countries of citizenship of Stéphane Udry or are Logone-et-Chari a part of
Switzerland Cameroon
action filter_type
action union
action find
entity Stéphane Udry
relation country of citizenship
action find
entity Logone-et-Chari
relation country
type designation for an administrative territorial entity
{'OR': [['Stéphane Udry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Logone-et-Chari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Stéphane_Udry property:country_of_citizenship ?a } UNION { resource:Logone-et-Chari property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q458330
P530
Q1048835
USER
Do Schönberger Land have tactful political relations with those administrative territories ?
(Q458330,P530,Q39) (Q458330,P530,Q1009)
action is_in
entity prev_answer
action find
entity Q458330
relation P530
['Q458330', 'P530', 'Q39'] ['Q458330', 'P530', 'Q1009']
ASK WHERE { VALUES ( ?f ) { ( resource:Q39 ) ( resource:Q1009 ) } . resource:Q458330 property:P530 ?f }
Schönberger Land
action is_in
entity prev_answer
action find
entity Schönberger Land
relation diplomatic relation
['Schönberger Land', 'diplomatic relation', 'Switzerland'] ['Schönberger Land', 'diplomatic relation', 'Cameroon']
ASK WHERE { VALUES ( ?f ) { ( resource:Switzerland ) ( resource:Cameroon ) } . resource:Schönberger_Land property:diplomatic_relation ?f }
[]
political territorial entity
SYSTEM
NO
(Q458330,P530,Q39) (Q458330,P530,Q1009)
action is_in
entity prev_answer
action find
entity Q458330
relation P530
[ANSWER]
['Q458330', 'P530', 'Q39'] ['Q458330', 'P530', 'Q1009']
ASK WHERE { VALUES ( ?f ) { ( resource:Q39 ) ( resource:Q1009 ) } . resource:Q458330 property:P530 ?f }
No
action is_in
entity prev_answer
action find
entity Schönberger Land
relation diplomatic relation
['Schönberger Land', 'diplomatic relation', 'Switzerland'] ['Schönberger Land', 'diplomatic relation', 'Cameroon']
ASK WHERE { VALUES ( ?f ) { ( resource:Switzerland ) ( resource:Cameroon ) } . resource:Schönberger_Land property:diplomatic_relation ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with approximately the same number of administrative territories as The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q778 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?v ) WHERE { ?y property:P530 ?o . ?y rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?y } }
The Bahamas
action approx
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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?v ) WHERE { ?y property:diplomatic_relation ?o . ?y rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with approximately the same number of administrative territories as The Bahamas
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q778 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?v ) WHERE { ?y property:P530 ?o . ?y rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?y } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria are known to have diplomatic connections with approximately the same number of administrative territories as The Bahamas
Denmark Canada Austria
action approx
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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?v ) WHERE { ?y property:diplomatic_relation ?o . ?y rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q664
P530
Q15617994 Q1048835
USER
And what about New Zealand?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?m ) WHERE { ?t property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?o } } . FILTER ( ?m = ?l ) }
New Zealand
action approx
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?m ) WHERE { ?t property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?o } } . FILTER ( ?m = ?l ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?m ) WHERE { ?t property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?o } } . FILTER ( ?m = ?l ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?m ) WHERE { ?t property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?o } } . FILTER ( ?m = ?l ) }
[]