Simple Question (Direct)
Simple Question
Q21869597
P495
Q1048835
USER
What is the country of origin of The Marriage Nest ?
(Q21869597,P495,c(Q1048835))
action filter_type
action find
entity Q21869597
relation P495
type Q1048835
['Q21869597', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q21869597 property:P495 ?q . ?q rdf:type ontology:Q1048835 }
The Marriage Nest
action filter_type
action find
entity The Marriage Nest
relation country of origin
type political territorial entity
['The Marriage Nest', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Marriage_Nest property:country_of_origin ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q21869597,P495,c(Q1048835))
action filter_type
action find
entity Q21869597
relation P495
type Q1048835
The country of origin of The Marriage Nest is in [ANSWER]
['Q21869597', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q21869597 property:P495 ?q . ?q rdf:type ontology:Q1048835 }
Germany
The country of origin of The Marriage Nest is in Germany
Germany
action filter_type
action find
entity The Marriage Nest
relation country of origin
type political territorial entity
['The Marriage Nest', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Marriage_Nest property:country_of_origin ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P108
Q502895
USER
Who works for that political territory ?
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q183 . ?z rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Germany . ?z rdf:type ontology:common_name }
[]
common name
Q2514 Q57855 Q1492424
SYSTEM
Willy Brandt, Georg Friedrich Grotefend, Marieluise Deißmann-Merten
Q2514 Q57855 Q1492424
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[ANSWERS] work for that political territory
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q183 . ?z rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten work for that political territory
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Germany . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2514 Q57855 Q1492424
P27
Q1048835
USER
Which political territories are the native countriesof those people ?
(Q2514,P27,c(Q1048835)) (Q57855,P27,c(Q1048835)) (Q1492424,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
['Q2514', 'P27', {'concept': 'Q1048835'}] ['Q57855', 'P27', {'concept': 'Q1048835'}] ['Q1492424', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . VALUES ( ?h ) { ( resource:Q2514 ) ( resource:Q57855 ) ( resource:Q1492424 ) } . ?h property:P27 ?c }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Willy Brandt', 'country of citizenship', {'concept': 'political territorial entity'}] ['Georg Friedrich Grotefend', 'country of citizenship', {'concept': 'political territorial entity'}] ['Marieluise Deißmann-Merten', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . VALUES ( ?h ) { ( resource:Willy_Brandt ) ( resource:Georg_Friedrich_Grotefend ) ( resource:Marieluise_Deißmann-Merten ) } . ?h property:country_of_citizenship ?c }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q2514,P27,c(Q1048835)) (Q57855,P27,c(Q1048835)) (Q1492424,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are the native countriesof those people
['Q2514', 'P27', {'concept': 'Q1048835'}] ['Q57855', 'P27', {'concept': 'Q1048835'}] ['Q1492424', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . VALUES ( ?h ) { ( resource:Q2514 ) ( resource:Q57855 ) ( resource:Q1492424 ) } . ?h property:P27 ?c }
Germany Germany Germany
Germany, Germany and Germany are the native countriesof those people
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Willy Brandt', 'country of citizenship', {'concept': 'political territorial entity'}] ['Georg Friedrich Grotefend', 'country of citizenship', {'concept': 'political territorial entity'}] ['Marieluise Deißmann-Merten', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . VALUES ( ?h ) { ( resource:Willy_Brandt ) ( resource:Georg_Friedrich_Grotefend ) ( resource:Marieluise_Deißmann-Merten ) } . ?h property:country_of_citizenship ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P35
Q502895
USER
Which people have the highest formal authority in Germany ?
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P35 ?n . ?n rdf:type ontology:Q502895 }
Germany
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2567 Q2571 Q2594
SYSTEM
Richard von Weizsäcker, Walter Scheel, Theodor Heuss
Q2569 Q2594 Q2573 Q2563 Q2571 Q2538 Q2551 Q2567 Q2540 Q2582 Q2542
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
[ANSWERS] have the highest formal authority in Germany
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P35 ?n . ?n rdf:type ontology:Q502895 }
Karl Carstens Theodor Heuss Gustav Heinemann Roman Herzog Walter Scheel Joachim Gauck Johannes Rau Richard von Weizsäcker Christian Wulff Heinrich Lübke Horst Köhler
Richard von Weizsäcker, Walter Scheel and Theodor Heuss have the highest formal authority in Germany
Richard von Weizsäcker Walter Scheel Theodor Heuss
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7784887
Q502895
USER
And also tell me about Third Lee Hsien Loong Cabinet?
(Q7784887,P35,c(Q502895))
action filter_type
action find
entity Q7784887
relation P35
type Q502895
['Q7784887', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7784887 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Third Lee Hsien Loong Cabinet
action filter_type
action find
entity Third Lee Hsien Loong Cabinet
relation head of state
type common name
['Third Lee Hsien Loong Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Third_Lee_Hsien_Loong_Cabinet property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
common name
Q212188
SYSTEM
S. R. Nathan
Q212188
(Q7784887,P35,c(Q502895))
action filter_type
action find
entity Q7784887
relation P35
type Q502895
[ANSWER]
['Q7784887', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7784887 property:P35 ?p . ?p rdf:type ontology:Q502895 }
S. R. Nathan
S. R. Nathan
action filter_type
action find
entity Third Lee Hsien Loong Cabinet
relation head of state
type common name
['Third Lee Hsien Loong Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Third_Lee_Hsien_Loong_Cabinet property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2514
P22
Q502895
USER
How many people have Willy Brandt as dad ?
(c(Q502895),P22,Q2514)
action count
action filter_type
action find_reverse
entity Q2514
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2514']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P22 resource:Q2514 . ?i rdf:type ontology:Q502895 }
Willy Brandt
action count
action filter_type
action find_reverse
entity Willy Brandt
relation father
type common name
[{'concept': 'common name'}, 'father', 'Willy Brandt']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:father resource:Willy_Brandt . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q123309 Q99300 Q100504
(c(Q502895),P22,Q2514)
action count
action filter_type
action find_reverse
entity Q2514
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2514']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P22 resource:Q2514 . ?i rdf:type ontology:Q502895 }
Matthias Brandt Lars Brandt Peter Brandt
3
action count
action filter_type
action find_reverse
entity Willy Brandt
relation father
type common name
[{'concept': 'common name'}, 'father', 'Willy Brandt']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:father resource:Willy_Brandt . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19467970 Q57855
P276 P20
Q56061
USER
Which administrative territories are the places of death of Georg Friedrich Grotefend or are Rietstengel located ?
OR((Q57855,P20,c(Q56061)), (Q19467970,P276,c(Q56061)))
action filter_type
action union
action find
entity Q57855
relation P20
action find
entity Q19467970
relation P276
type Q56061
{'OR': [['Q57855', 'P20', {'concept': 'Q56061'}], ['Q19467970', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q57855 property:P20 ?f } UNION { resource:Q19467970 property:P276 ?f } } . ?f rdf:type ontology:Q56061 }
Rietstengel Georg Friedrich Grotefend
action filter_type
action union
action find
entity Georg Friedrich Grotefend
relation place of death
action find
entity Rietstengel
relation location
type administrative territorial entity
{'OR': [['Georg Friedrich Grotefend', 'place of death', {'concept': 'administrative territorial entity'}], ['Rietstengel', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Georg_Friedrich_Grotefend property:place_of_death ?f } UNION { resource:Rietstengel property:location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3567118 Q1715
SYSTEM
Weiteveen, Hanover
Q3567118 Q1715
OR((Q57855,P20,c(Q56061)), (Q19467970,P276,c(Q56061)))
action filter_type
action union
action find
entity Q57855
relation P20
action find
entity Q19467970
relation P276
type Q56061
[ANSWERS] are the places of death of Georg Friedrich Grotefend or are Rietstengel located
{'OR': [['Q57855', 'P20', {'concept': 'Q56061'}], ['Q19467970', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q57855 property:P20 ?f } UNION { resource:Q19467970 property:P276 ?f } } . ?f rdf:type ontology:Q56061 }
Weiteveen Hanover
Weiteveen and Hanover are the places of death of Georg Friedrich Grotefend or are Rietstengel located
Weiteveen Hanover
action filter_type
action union
action find
entity Georg Friedrich Grotefend
relation place of death
action find
entity Rietstengel
relation location
type administrative territorial entity
{'OR': [['Georg Friedrich Grotefend', 'place of death', {'concept': 'administrative territorial entity'}], ['Rietstengel', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Georg_Friedrich_Grotefend property:place_of_death ?f } UNION { resource:Rietstengel property:location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1277256 Q183
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not Tar-Vabriga present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q1277256,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q1277256
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1277256', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { FILTER NOT EXISTS { resource:Q1277256 property:P17 ?s } . resource:Q183 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Tar-Vabriga Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Tar-Vabriga
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Tar-Vabriga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { FILTER NOT EXISTS { resource:Tar-Vabriga property:country ?s } . resource:Germany property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q945 Q733 Q20 Q79 Q423 Q668 Q948 Q1019 Q800 Q750
SYSTEM
Some of them are Togo, Paraguay, Norway, Egypt, North Korea, India, Tunisia, Madagascar, Costa Rica, Bolivia
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 Q347 Q227 Q225 Q222 Q96 Q229 Q228 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
AND((Q183,P530,c(Q15617994)), NOT((Q1277256,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q1277256
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not Tar-Vabriga present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1277256', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { FILTER NOT EXISTS { resource:Q1277256 property:P17 ?s } . resource:Q183 property:P530 ?s . ?s 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 Liechtenstein Azerbaijan Bosnia and Herzegovina Albania Mexico Cyprus Andorra 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
Togo, Paraguay, Norway, Egypt, North Korea, India, Tunisia, Madagascar, Costa Rica and Bolivia hold diplomatic relationship with Germany and are not Tar-Vabriga present in
Togo Paraguay Norway Egypt North Korea India Tunisia Madagascar Costa Rica Bolivia
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Tar-Vabriga
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Tar-Vabriga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { FILTER NOT EXISTS { resource:Tar-Vabriga property:country ?s } . resource:Germany property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have tactful political relations with those administrative territories ?
(Q183,P530,Q945) (Q183,P530,Q733) (Q183,P530,Q20) (Q183,P530,Q79) (Q183,P530,Q423) (Q183,P530,Q668) (Q183,P530,Q948) (Q183,P530,Q1019) (Q183,P530,Q800) (Q183,P530,Q750)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q733'] ['Q183', 'P530', 'Q20'] ['Q183', 'P530', 'Q79'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q948'] ['Q183', 'P530', 'Q1019'] ['Q183', 'P530', 'Q800'] ['Q183', 'P530', 'Q750']
ASK WHERE { VALUES ( ?d ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?d }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'Paraguay'] ['Germany', 'diplomatic relation', 'Norway'] ['Germany', 'diplomatic relation', 'Egypt'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Tunisia'] ['Germany', 'diplomatic relation', 'Madagascar'] ['Germany', 'diplomatic relation', 'Costa Rica'] ['Germany', 'diplomatic relation', 'Bolivia']
ASK WHERE { VALUES ( ?d ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q945) (Q183,P530,Q733) (Q183,P530,Q20) (Q183,P530,Q79) (Q183,P530,Q423) (Q183,P530,Q668) (Q183,P530,Q948) (Q183,P530,Q1019) (Q183,P530,Q800) (Q183,P530,Q750)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q733'] ['Q183', 'P530', 'Q20'] ['Q183', 'P530', 'Q79'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q948'] ['Q183', 'P530', 'Q1019'] ['Q183', 'P530', 'Q800'] ['Q183', 'P530', 'Q750']
ASK WHERE { VALUES ( ?d ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'Paraguay'] ['Germany', 'diplomatic relation', 'Norway'] ['Germany', 'diplomatic relation', 'Egypt'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Tunisia'] ['Germany', 'diplomatic relation', 'Madagascar'] ['Germany', 'diplomatic relation', 'Costa Rica'] ['Germany', 'diplomatic relation', 'Bolivia']
ASK WHERE { VALUES ( ?d ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q668
P530
Q1048835
USER
How many political territories have a diplomatic relationship with India ?
(Q668,P530,c(Q1048835))
action count
action filter_type
action find
entity Q668
relation P530
type Q1048835
['Q668', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q668 property:P530 ?t }
India
action count
action filter_type
action find
entity India
relation diplomatic relation
type political territorial entity
['India', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:India property:diplomatic_relation ?t }
[]
political territorial entity
SYSTEM
2
Q183 Q408
(Q668,P530,c(Q1048835))
action count
action filter_type
action find
entity Q668
relation P530
type Q1048835
[ANSWER]
['Q668', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q668 property:P530 ?t }
Germany Australia
2
action count
action filter_type
action find
entity India
relation diplomatic relation
type political territorial entity
['India', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:India property:diplomatic_relation ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q750
P530
Q1048835
USER
And what about Bolivia?
(Q750,P530,c(Q1048835))
action count
action filter_type
action find
entity Q750
relation P530
type Q1048835
['Q750', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q750 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Bolivia
action count
action filter_type
action find
entity Bolivia
relation diplomatic relation
type political territorial entity
['Bolivia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Bolivia property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q750,P530,c(Q1048835))
action count
action filter_type
action find
entity Q750
relation P530
type Q1048835
[ANSWER]
['Q750', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q750 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action filter_type
action find
entity Bolivia
relation diplomatic relation
type political territorial entity
['Bolivia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Bolivia property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q884
Q1048835
USER
And what about South Korea?
(Q884,P530,c(Q1048835))
action count
action filter_type
action find
entity Q884
relation P530
type Q1048835
['Q884', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q884 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
South Korea
action count
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:South_Korea property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
(Q884,P530,c(Q1048835))
action count
action filter_type
action find
entity Q884
relation P530
type Q1048835
[ANSWER]
['Q884', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q884 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
3
action count
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:South_Korea property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]