Simple Question (Direct)
Simple Question
Q5224657
P551
Q852446
USER
Which US administrative territory was Darrell Johnson a resident of ?
(Q5224657,P551,c(Q852446))
action filter_type
action find
entity Q5224657
relation P551
type Q852446
['Q5224657', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ?o WHERE { resource:Q5224657 property:P551 ?o . ?o rdf:type ontology:Q852446 }
Darrell Johnson
action filter_type
action find
entity Darrell Johnson
relation residence
type administrative territorial entity of the United States
['Darrell Johnson', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?o WHERE { resource:Darrell_Johnson property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1553
SYSTEM
Nebraska
Q1553
(Q5224657,P551,c(Q852446))
action filter_type
action find
entity Q5224657
relation P551
type Q852446
The [ANSWER] was Darrell Johnson a resident of
['Q5224657', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ?o WHERE { resource:Q5224657 property:P551 ?o . ?o rdf:type ontology:Q852446 }
Nebraska
The Nebraska was Darrell Johnson a resident of
Nebraska
action filter_type
action find
entity Darrell Johnson
relation residence
type administrative territorial entity of the United States
['Darrell Johnson', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?o WHERE { resource:Darrell_Johnson property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5224657
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q1553,P54,c(Q12973014))
action filter_type
action find
entity Q5224657
relation P54
type Q12973014
['Q1553', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q5224657 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Darrell Johnson
action filter_type
action find
entity Darrell Johnson
relation member of sports team
type sports team
['Nebraska', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Darrell_Johnson property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
sports team
Q650816 Q504309 Q826751
SYSTEM
Baltimore Orioles, St. Louis Cardinals, Cincinnati Reds
Q650840 Q504309 Q335169 Q826751 Q1966948 Q650816 Q213417
(Q1553,P54,c(Q12973014))
action filter_type
action find
entity Q5224657
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q1553', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q5224657 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Philadelphia Phillies St. Louis Cardinals Chicago White Sox Cincinnati Reds Rochester Red Wings Baltimore Orioles New York Yankees
Baltimore Orioles, St. Louis Cardinals and Cincinnati Reds are that person a member of
Baltimore Orioles St. Louis Cardinals Cincinnati Reds
action filter_type
action find
entity Darrell Johnson
relation member of sports team
type sports team
['Nebraska', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Darrell_Johnson property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q31629 Q12973014
USER
How many types of sport did atmost 15 sports teams participate in ?
(c(Q12973014),P641,c(Q31629))
action count
action atmost
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 15
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { FILTER ( ?w <= 15 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q31629 . ?f property:P641 ?o } GROUP BY ?o } }
action count
action atmost
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 15
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { FILTER ( ?w <= 15 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:sports_team . ?o rdf:type ontology:type_of_sport . ?f property:sport ?o } GROUP BY ?o } }
[]
type of sport sports team
SYSTEM
83
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q542 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014),P641,c(Q31629))
action count
action atmost
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 15
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { FILTER ( ?w <= 15 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q31629 . ?f property:P641 ?o } GROUP BY ?o } }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres athletics Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism diving snooker ski-orienteering college basketball free climbing double trap
83
action count
action atmost
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 15
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { FILTER ( ?w <= 15 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:sports_team . ?o rdf:type ontology:type_of_sport . ?f property:sport ?o } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1646942 Q1553
P17
Q15617994
USER
Which administrative territories are Nebraska or Gimileo situated in ?
OR((Q1553,P17,c(Q15617994)), (Q1646942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1553
relation P17
action find
entity Q1646942
relation P17
type Q15617994
{'OR': [['Q1553', 'P17', {'concept': 'Q15617994'}], ['Q1646942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?x property:P17 ?b . VALUES ( ?x ) { ( resource:Q1553 ) ( resource:Q1646942 ) } } . ?b rdf:type ontology:Q15617994 }
Gimileo Nebraska
action filter_type
action union
action find
entity Nebraska
relation country
action find
entity Gimileo
relation country
type designation for an administrative territorial entity
{'OR': [['Nebraska', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gimileo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?x property:country ?b . VALUES ( ?x ) { ( resource:Nebraska ) ( resource:Gimileo ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q30
SYSTEM
Spain, United States of America
Q29 Q30
OR((Q1553,P17,c(Q15617994)), (Q1646942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1553
relation P17
action find
entity Q1646942
relation P17
type Q15617994
Nebraska or Gimileo are situated in [ANSWERS]
{'OR': [['Q1553', 'P17', {'concept': 'Q15617994'}], ['Q1646942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?x property:P17 ?b . VALUES ( ?x ) { ( resource:Q1553 ) ( resource:Q1646942 ) } } . ?b rdf:type ontology:Q15617994 }
Spain United States of America
Nebraska or Gimileo are situated in Spain and United States of America
Spain United States of America
action filter_type
action union
action find
entity Nebraska
relation country
action find
entity Gimileo
relation country
type designation for an administrative territorial entity
{'OR': [['Nebraska', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gimileo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?x property:country ?b . VALUES ( ?x ) { ( resource:Nebraska ) ( resource:Gimileo ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19984612 Q5224657
P27 P20
Q15617994
USER
Which administrative territories are Darrell Johnson a civilian of or did Francesco Buonanno die ?
OR((Q5224657,P27,c(Q15617994)), (Q19984612,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q5224657
relation P27
action find
entity Q19984612
relation P20
type Q15617994
{'OR': [['Q5224657', 'P27', {'concept': 'Q15617994'}], ['Q19984612', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5224657 property:P27 ?e } UNION { resource:Q19984612 property:P20 ?e } } . ?e rdf:type ontology:Q15617994 }
Francesco Buonanno Darrell Johnson
action filter_type
action union
action find
entity Darrell Johnson
relation country of citizenship
action find
entity Francesco Buonanno
relation place of death
type designation for an administrative territorial entity
{'OR': [['Darrell Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Francesco Buonanno', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Darrell_Johnson property:country_of_citizenship ?e } UNION { resource:Francesco_Buonanno property:place_of_death ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55117
SYSTEM
United States of America, Solofra
Q30 Q55117
OR((Q5224657,P27,c(Q15617994)), (Q19984612,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q5224657
relation P27
action find
entity Q19984612
relation P20
type Q15617994
[ANSWERS] are Darrell Johnson a civilian of or did Francesco Buonanno die
{'OR': [['Q5224657', 'P27', {'concept': 'Q15617994'}], ['Q19984612', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5224657 property:P27 ?e } UNION { resource:Q19984612 property:P20 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America Solofra
United States of America and Solofra are Darrell Johnson a civilian of or did Francesco Buonanno die
United States of America Solofra
action filter_type
action union
action find
entity Darrell Johnson
relation country of citizenship
action find
entity Francesco Buonanno
relation place of death
type designation for an administrative territorial entity
{'OR': [['Darrell Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Francesco Buonanno', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Darrell_Johnson property:country_of_citizenship ?e } UNION { resource:Francesco_Buonanno property:place_of_death ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1379201 Q5224657
P27
Q15617994
USER
Which administrative territories are the native countriesof Darrell Johnson or František Kučera ?
OR((Q5224657,P27,c(Q15617994)), (Q1379201,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5224657
relation P27
action find
entity Q1379201
relation P27
type Q15617994
{'OR': [['Q5224657', 'P27', {'concept': 'Q15617994'}], ['Q1379201', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5224657 property:P27 ?t } UNION { resource:Q1379201 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
František Kučera Darrell Johnson
action filter_type
action union
action find
entity Darrell Johnson
relation country of citizenship
action find
entity František Kučera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Darrell Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['František Kučera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Darrell_Johnson property:country_of_citizenship ?t } UNION { resource:František_Kučera property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q30
SYSTEM
Czech Republic, United States of America
Q213 Q30
OR((Q5224657,P27,c(Q15617994)), (Q1379201,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5224657
relation P27
action find
entity Q1379201
relation P27
type Q15617994
[ANSWERS] are the native countriesof Darrell Johnson or František Kučera
{'OR': [['Q5224657', 'P27', {'concept': 'Q15617994'}], ['Q1379201', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5224657 property:P27 ?t } UNION { resource:Q1379201 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Czech Republic United States of America
Czech Republic and United States of America are the native countriesof Darrell Johnson or František Kučera
Czech Republic United States of America
action filter_type
action union
action find
entity Darrell Johnson
relation country of citizenship
action find
entity František Kučera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Darrell Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['František Kučera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Darrell_Johnson property:country_of_citizenship ?t } UNION { resource:František_Kučera property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q213 Q30
P163
Q14660
USER
Which flags are associated with Czech Republic and United States of America ?
(Q213,P163,c(Q14660)) (Q30,P163,c(Q14660))
action union
action filter_type
action find
entity Q213
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q213', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { { resource:Q213 property:P163 ?i . ?i rdf:type ontology:Q14660 } UNION { ?i rdf:type ontology:Q14660 . resource:Q30 property:P163 ?i } }
Czech Republic United States of America
action union
action filter_type
action find
entity Czech Republic
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { { resource:Czech_Republic property:flag ?i . ?i rdf:type ontology:flag } UNION { ?i rdf:type ontology:flag . resource:United_States_of_America property:flag ?i } }
[]
flag
Q127155 Q42537
SYSTEM
flag of the Czech Republic, flag of the United States of America
Q127155 Q42537
(Q213,P163,c(Q14660)) (Q30,P163,c(Q14660))
action union
action filter_type
action find
entity Q213
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
Republic [ANSWERS] are associated with Czech Republic and United States of America
['Q213', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { { resource:Q213 property:P163 ?i . ?i rdf:type ontology:Q14660 } UNION { ?i rdf:type ontology:Q14660 . resource:Q30 property:P163 ?i } }
flag of the Czech Republic flag of the United States of America
Republic flag of the Czech Republic and flag of the United States of America are associated with Czech Republic and United States of America
flag of the Czech Republic flag of the United States of America
action union
action filter_type
action find
entity Czech Republic
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { { resource:Czech_Republic property:flag ?i . ?i rdf:type ontology:flag } UNION { ?i rdf:type ontology:flag . resource:United_States_of_America property:flag ?i } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42537
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that flag ?
(Q42537,P1001,c(Q15617994))
action filter_type
action find
entity Q42537
relation P1001
type Q15617994
['Q42537', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q42537 property:P1001 ?t }
flag of the United States of America
action filter_type
action find
entity flag of the United States of America
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_the_United_States_of_America property:applies_to_jurisdiction ?t }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q42537
SYSTEM
Did you mean flag of the United States of America ?
Q127155 Q42537
(Q127155,P1001,c(Q15617994)) (Q42537,P1001,c(Q15617994))
[ANSWER]
['Q127155', 'P1001', {'concept': 'Q15617994'}] ['Q42537', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q42537 property:P1001 ?t }
flag of the Czech Republic flag of the United States of America
Did you mean flag of the United States of America ?
flag of the United States of America
['flag of the Czech Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_the_United_States_of_America property:applies_to_jurisdiction ?t }
[]
Simple Question (Coreferenced)
USER
Yes
(Q42537,P1001,c(Q15617994))
['Q42537', 'P1001', {'concept': 'Q15617994'}]
['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q42537,P1001,c(Q15617994))
action filter_type
action find
entity Q42537
relation P1001
type Q15617994
The [ANSWER] applies to jurisdiction of that flag
['Q42537', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q42537 property:P1001 ?t }
United States of America
The United States of America applies to jurisdiction of that flag
United States of America
action filter_type
action find
entity flag of the United States of America
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_the_United_States_of_America property:applies_to_jurisdiction ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q889 Q403
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Afghanistan and Serbia ?
(Q30,P530,Q889) (Q30,P530,Q403)
action is_in
entity Q30
action intersection
action find_reverse
entity Q889
relation P530
action find_reverse
entity Q403
relation P530
['Q30', 'P530', 'Q889'] ['Q30', 'P530', 'Q403']
ASK WHERE { resource:Q30 property:P530 resource:Q889 . resource:Q30 property:P530 resource:Q403 }
United States of America Afghanistan Serbia
action is_in
entity United States of America
action intersection
action find_reverse
entity Afghanistan
relation diplomatic relation
action find_reverse
entity Serbia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Afghanistan'] ['United States of America', 'diplomatic relation', 'Serbia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Afghanistan . resource:United_States_of_America property:diplomatic_relation resource:Serbia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q889) (Q30,P530,Q403)
action is_in
entity Q30
action intersection
action find_reverse
entity Q889
relation P530
action find_reverse
entity Q403
relation P530
[ANSWER]
['Q30', 'P530', 'Q889'] ['Q30', 'P530', 'Q403']
ASK WHERE { resource:Q30 property:P530 resource:Q889 . resource:Q30 property:P530 resource:Q403 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Afghanistan
relation diplomatic relation
action find_reverse
entity Serbia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Afghanistan'] ['United States of America', 'diplomatic relation', 'Serbia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Afghanistan . resource:United_States_of_America property:diplomatic_relation resource:Serbia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P530
Q1048835
USER
How many political territories have diplomatic relations with United States of America ?
(Q30,P530,c(Q1048835))
action count
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q1048835 }
United States of America
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q30,P530,c(Q1048835))
action count
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q1048835 }
Germany Australia Canada
3
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]