Simple Question (Direct)
Simple Question
Q102182
P19
Q515
USER
Which city was August Frank born at ?
(Q102182,P19,c(Q515))
action filter_type
action find
entity Q102182
relation P19
type Q515
['Q102182', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q102182 property:P19 ?w }
August Frank
action filter_type
action find
entity August Frank
relation place of birth
type city
['August Frank', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:August_Frank property:place_of_birth ?w }
[]
city
Q2749
SYSTEM
Augsburg
Q2749
(Q102182,P19,c(Q515))
action filter_type
action find
entity Q102182
relation P19
type Q515
August Frank was born in [ANSWER]
['Q102182', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q102182 property:P19 ?w }
Augsburg
August Frank was born in Augsburg
Augsburg
action filter_type
action find
entity August Frank
relation place of birth
type city
['August Frank', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:August_Frank property:place_of_birth ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102182
P102
Q7210356
USER
Which party is August Frank affiliated with ?
(Q102182,P102,c(Q7210356))
action filter_type
action find
entity Q102182
relation P102
type Q7210356
['Q102182', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q102182 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
August Frank
action filter_type
action find
entity August Frank
relation member of political party
type political organization
['August Frank', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:August_Frank property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q102182,P102,c(Q7210356))
action filter_type
action find
entity Q102182
relation P102
type Q7210356
August Frank is affiliated with [ANSWER]
['Q102182', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q102182 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Nazi Party
August Frank is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity August Frank
relation member of political party
type political organization
['August Frank', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:August_Frank property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6228111
Q7210356
USER
And how about John D. Caemmerer?
(Q6228111,P102,c(Q7210356))
action filter_type
action find
entity Q6228111
relation P102
type Q7210356
['Q6228111', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q6228111 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
John D. Caemmerer
action filter_type
action find
entity John D. Caemmerer
relation member of political party
type political organization
['John D. Caemmerer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:John_D._Caemmerer property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6228111,P102,c(Q7210356))
action filter_type
action find
entity Q6228111
relation P102
type Q7210356
[ANSWER]
['Q6228111', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q6228111 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Republican Party
Republican Party
action filter_type
action find
entity John D. Caemmerer
relation member of political party
type political organization
['John D. Caemmerer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:John_D._Caemmerer property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1753070 Q2749
P47 P17
Q1048835
USER
Which political territories are Augsburg a part of or are bordered by Castell de Castells ?
OR((Q2749,P17,c(Q1048835)), (Q1753070,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q2749
relation P17
action find
entity Q1753070
relation P47
type Q1048835
{'OR': [['Q2749', 'P17', {'concept': 'Q1048835'}], ['Q1753070', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { { resource:Q1753070 property:P47 ?r } UNION { resource:Q2749 property:P17 ?r } } }
Castell de Castells Augsburg
action filter_type
action union
action find
entity Augsburg
relation country
action find
entity Castell de Castells
relation shares border with
type political territorial entity
{'OR': [['Augsburg', 'country', {'concept': 'political territorial entity'}], ['Castell de Castells', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { { resource:Castell_de_Castells property:shares_border_with ?r } UNION { resource:Augsburg property:country ?r } } }
[]
political territorial entity
Q1983231 Q1770182 Q984526 Q183 Q1766232 Q1763714 Q1752443 Q1750925 Q1751994 Q1983371
SYSTEM
Some of them are La Vall de Laguar, Beniardà, El Castell de Guadalest, Germany, Tàrbena, Benigembla, Benimantell, Tollos, Famorca, La Vall d'Ebo
Q1752443 Q984526 Q1751994 Q183 Q1750925 Q1766232 Q1763714 Q891663 Q1983231 Q1983371 Q1770182
OR((Q2749,P17,c(Q1048835)), (Q1753070,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q2749
relation P17
action find
entity Q1753070
relation P47
type Q1048835
[ANSWERS] are Augsburg a part of or are bordered by Castell de Castells
{'OR': [['Q2749', 'P17', {'concept': 'Q1048835'}], ['Q1753070', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { { resource:Q1753070 property:P47 ?r } UNION { resource:Q2749 property:P17 ?r } } }
Benimantell El Castell de Guadalest Famorca Germany Tollos Tàrbena Benigembla Bolulla La Vall de Laguar La Vall d'Ebo Beniardà
La Vall de Laguar, Beniardà, El Castell de Guadalest, Germany, Tàrbena, Benigembla, Benimantell, Tollos, Famorca and La Vall d'Ebo are Augsburg a part of or are bordered by Castell de Castells
La Vall de Laguar Beniardà El Castell de Guadalest Germany Tàrbena Benigembla Benimantell Tollos Famorca La Vall d'Ebo
action filter_type
action union
action find
entity Augsburg
relation country
action find
entity Castell de Castells
relation shares border with
type political territorial entity
{'OR': [['Augsburg', 'country', {'concept': 'political territorial entity'}], ['Castell de Castells', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { { resource:Castell_de_Castells property:shares_border_with ?r } UNION { resource:Augsburg property:country ?r } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q1048835
USER
How many political territories share the border with that political territory ?
(Q984526,P47,c(Q1048835))
['Q984526', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q984526 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
['El Castell de Guadalest', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:El_Castell_de_Guadalest property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q1763714
SYSTEM
Did you mean Benigembla ?
(Q1983231,P47,c(Q1048835)) (Q1770182,P47,c(Q1048835)) (Q984526,P47,c(Q1048835)) (Q183,P47,c(Q1048835)) (Q1766232,P47,c(Q1048835)) (Q1763714,P47,c(Q1048835)) (Q1752443,P47,c(Q1048835)) (Q1750925,P47,c(Q1048835)) (Q1751994,P47,c(Q1048835)) (Q1983371,P47,c(Q1048835))
[ANSWER]
['Q1983231', 'P47', {'concept': 'Q1048835'}] ['Q1770182', 'P47', {'concept': 'Q1048835'}] ['Q984526', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q1766232', 'P47', {'concept': 'Q1048835'}] ['Q1763714', 'P47', {'concept': 'Q1048835'}] ['Q1752443', 'P47', {'concept': 'Q1048835'}] ['Q1750925', 'P47', {'concept': 'Q1048835'}] ['Q1751994', 'P47', {'concept': 'Q1048835'}] ['Q1983371', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q984526 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Benigembla ?
Benigembla
['La Vall de Laguar', 'shares border with', {'concept': 'political territorial entity'}] ['Beniardà', 'shares border with', {'concept': 'political territorial entity'}] ['El Castell de Guadalest', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Tàrbena', 'shares border with', {'concept': 'political territorial entity'}] ['Benigembla', 'shares border with', {'concept': 'political territorial entity'}] ['Benimantell', 'shares border with', {'concept': 'political territorial entity'}] ['Tollos', 'shares border with', {'concept': 'political territorial entity'}] ['Famorca', 'shares border with', {'concept': 'political territorial entity'}] ["La Vall d'Ebo", 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:El_Castell_de_Guadalest property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant El Castell de Guadalest. Could you tell me the answer for that?
(Q984526,P47,c(Q1048835))
Q984526
['Q984526', 'P47', {'concept': 'Q1048835'}]
['El Castell de Guadalest', 'shares border with', {'concept': 'political territorial entity'}]
[]
SYSTEM
5
Q1770160 Q1753070 Q1752443 Q1768847 Q891663
(Q984526,P47,c(Q1048835))
[ANSWER]
['Q984526', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q984526 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
Callosa d'en Sarrià Castell de Castells Benimantell Polop Bolulla
5
['El Castell de Guadalest', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:El_Castell_de_Guadalest property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1000
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relationships with greater number of political territories than Gabon ?
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?m ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q1000 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } }
Gabon
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?m ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Gabon property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with greater number of political territories than Gabon
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?m ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q1000 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have diplomatic relationships with greater number of political territories than Gabon
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?m ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Gabon property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 5 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?x } . FILTER ( ?c >= 5 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?x } . FILTER ( ?c >= 5 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q230
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?x } . FILTER ( ?c >= 5 ) }
Brazil Italy Georgia
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?x } . FILTER ( ?c >= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P85
Q7725634
USER
Which is the national anthem of Germany ?
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
The national anthem of Germany is [ANSWER]
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Das Lied der Deutschen
The national anthem of Germany is Das Lied der Deutschen
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1001
Q12737077
USER
Which occupations have jurisdiction over Germany ?
(c(Q12737077),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q183']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q183 . ?h rdf:type ontology:Q12737077 }
Germany
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Germany . ?h rdf:type ontology:occupation }
[]
occupation
Q22575092 Q22575628 Q4970706
SYSTEM
Federal Minister of Finance, Federal Minister of the Interior, Federal Chancellor of Germany
Q56024 Q2006176 Q1939559 Q363637 Q56022 Q4970706 Q19731005 Q22575092 Q25223 Q23016036 Q1939555 Q504272 Q2325058 Q518564 Q514725 Q1005821 Q248352 Q22575628
(c(Q12737077),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q12737077
Germany [ANSWERS] have jurisdiction over Germany
[{'concept': 'Q12737077'}, 'P1001', 'Q183']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q183 . ?h rdf:type ontology:Q12737077 }
President of the Bundestag Minister for Foreign Affairs Member of Landtag President of the Bundesrat of Germany Chancellor of Germany Federal Chancellor of Germany Parliamentary Secretary in Germany Federal Minister of Finance President of Germany Minister of Defence member of the German Bundestag Vice-Chancellor of Germany German Minister of State Federal Minister for Special Affairs of Germany Landrat Federal Commissioner for Data Protection and Freedom of Information Bundesminister Federal Minister of the Interior
Germany Federal Minister of Finance, Federal Minister of the Interior and Federal Chancellor of Germany have jurisdiction over Germany
Federal Minister of Finance Federal Minister of the Interior Federal Chancellor of Germany
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Germany . ?h rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22575628
P361
Q35798
USER
What is that occupation a part of ?
(Q22575628,P361,c(Q35798))
action filter_type
action find
entity Q22575628
relation P361
type Q35798
['Q22575628', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q35798 . resource:Q22575628 property:P361 ?w }
Federal Minister of the Interior
action filter_type
action find
entity Federal Minister of the Interior
relation part of
type executive branch
['Federal Minister of the Interior', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:executive_branch . resource:Federal_Minister_of_the_Interior property:part_of ?w }
[]
executive branch
Clarification for simple ques.
Q22575628
SYSTEM
Did you mean Federal Minister of the Interior ?
Q22575092 Q22575628 Q4970706
(Q22575092,P361,c(Q35798)) (Q22575628,P361,c(Q35798)) (Q4970706,P361,c(Q35798))
[ANSWER]
['Q22575092', 'P361', {'concept': 'Q35798'}] ['Q22575628', 'P361', {'concept': 'Q35798'}] ['Q4970706', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q35798 . resource:Q22575628 property:P361 ?w }
Federal Minister of Finance Federal Minister of the Interior Federal Chancellor of Germany
Did you mean Federal Minister of the Interior ?
Federal Minister of the Interior
['Federal Minister of Finance', 'part of', {'concept': 'executive branch'}] ['Federal Minister of the Interior', 'part of', {'concept': 'executive branch'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:executive_branch . resource:Federal_Minister_of_the_Interior property:part_of ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22575628,P361,c(Q35798))
['Q22575628', 'P361', {'concept': 'Q35798'}]
['Federal Minister of the Interior', 'part of', {'concept': 'executive branch'}]
[]
Q313827
SYSTEM
Cabinet of Germany
Q313827
(Q22575628,P361,c(Q35798))
action filter_type
action find
entity Q22575628
relation P361
type Q35798
That occupation a part of is the [ANSWER]
['Q22575628', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q35798 . resource:Q22575628 property:P361 ?w }
Cabinet of Germany
That occupation a part of is the Cabinet of Germany
Cabinet of Germany
action filter_type
action find
entity Federal Minister of the Interior
relation part of
type executive branch
['Federal Minister of the Interior', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:executive_branch . resource:Federal_Minister_of_the_Interior property:part_of ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q805
P530
Q15617994
USER
And also tell me about Yemen?
(Q805,P530,c(Q15617994))
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
['Q805', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q805 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Yemen
action count
action filter_type
action find
entity Yemen
relation diplomatic relation
type designation for an administrative territorial entity
['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Yemen property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
16
Q858 Q159 Q43 Q801 Q145 Q843 Q851 Q148 Q398 Q796 Q794 Q30 Q842 Q38 Q1016 Q878
(Q805,P530,c(Q15617994))
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
[ANSWER]
['Q805', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q805 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Syria Russia Turkey Israel United Kingdom Pakistan Saudi Arabia People's Republic of China Bahrain Iraq Iran United States of America Oman Italy Libya United Arab Emirates
16
action count
action filter_type
action find
entity Yemen
relation diplomatic relation
type designation for an administrative territorial entity
['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Yemen property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]