Simple Question (Direct)
Simple Question
Q3814826
P641
Q349
USER
Which sport was Kevin Lynch a part of ?
(Q3814826,P641,c(Q349))
action filter_type
action find
entity Q3814826
relation P641
type Q349
['Q3814826', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3814826 property:P641 ?g . ?g rdf:type ontology:Q349 }
Kevin Lynch
action filter_type
action find
entity Kevin Lynch
relation sport
type sport
['Kevin Lynch', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Kevin_Lynch property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3814826,P641,c(Q349))
action filter_type
action find
entity Q3814826
relation P641
type Q349
Kevin Lynch was of the [ANSWER]
['Q3814826', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3814826 property:P641 ?g . ?g rdf:type ontology:Q349 }
basketball
Kevin Lynch was of the basketball
basketball
action filter_type
action find
entity Kevin Lynch
relation sport
type sport
['Kevin Lynch', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Kevin_Lynch property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3814826
P27
Q15617994
USER
Which administrative territory is Kevin Lynch a civilian of ?
(Q3814826,P27,c(Q15617994))
action filter_type
action find
entity Q3814826
relation P27
type Q15617994
['Q3814826', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3814826 property:P27 ?o }
Kevin Lynch
action filter_type
action find
entity Kevin Lynch
relation country of citizenship
type designation for an administrative territorial entity
['Kevin Lynch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kevin_Lynch property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3814826,P27,c(Q15617994))
action filter_type
action find
entity Q3814826
relation P27
type Q15617994
The [ANSWER] is Kevin Lynch a civilian of
['Q3814826', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3814826 property:P27 ?o }
United States of America
The United States of America is Kevin Lynch a civilian of
United States of America
action filter_type
action find
entity Kevin Lynch
relation country of citizenship
type designation for an administrative territorial entity
['Kevin Lynch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kevin_Lynch property:country_of_citizenship ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19084025 Q30
P6 P50
Q502895
USER
Which people do United States of America serve as the head of government for or authored Young, William (1751-1821) (DNB00) ?
OR((Q30,P6,c(Q502895)), (Q19084025,P50,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q19084025
relation P50
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q19084025', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P6 ?g } UNION { resource:Q19084025 property:P50 ?g } } . ?g rdf:type ontology:Q502895 }
Young, William (1751-1821) (DNB00) United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Young, William (1751-1821) (DNB00)
relation author
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Young, William (1751-1821) (DNB00)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:head_of_government ?g } UNION { resource:Young,_William_(1751-1821)_(DNB00) property:author ?g } } . ?g rdf:type ontology:common_name }
[]
common name
Q76 Q35041 Q9588 Q207 Q11881 Q12312 Q1124 Q11820 Q11896 Q11813
SYSTEM
Some of them are Barack Obama, William McKinley, Richard Nixon, George W. Bush, John Tyler, Franklin Pierce, Bill Clinton, Martin Van Buren, Zachary Taylor, James Madison
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q11896 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q3181882 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q19084025,P50,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q19084025
relation P50
type Q502895
[ANSWERS] United States of America serve as the head of government for
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q19084025', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P6 ?g } UNION { resource:Q19084025 property:P50 ?g } } . ?g rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Zachary Taylor Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman John Knox Laughton Franklin Delano Roosevelt Ronald Reagan James K. Polk
Barack Obama, William McKinley, Richard Nixon, George W. Bush, John Tyler, Franklin Pierce, Bill Clinton, Martin Van Buren, Zachary Taylor and James Madison United States of America serve as the head of government for
Barack Obama William McKinley Richard Nixon George W. Bush John Tyler Franklin Pierce Bill Clinton Martin Van Buren Zachary Taylor James Madison
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Young, William (1751-1821) (DNB00)
relation author
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Young, William (1751-1821) (DNB00)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:head_of_government ?g } UNION { resource:Young,_William_(1751-1821)_(DNB00) property:author ?g } } . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q76
P551
Q56061
USER
How many administrative territories were the places of residence of Barack Obama ?
(Q76,P551,c(Q56061))
action count
action filter_type
action find
entity Q76
relation P551
type Q56061
['Q76', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q76 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Barack Obama
action count
action filter_type
action find
entity Barack Obama
relation residence
type administrative territorial entity
['Barack Obama', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Barack_Obama property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q3630 Q65 Q60 Q1297
(Q76,P551,c(Q56061))
action count
action filter_type
action find
entity Q76
relation P551
type Q56061
[ANSWER]
['Q76', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q76 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Jakarta Los Angeles New York City Chicago
4
action count
action filter_type
action find
entity Barack Obama
relation residence
type administrative territorial entity
['Barack Obama', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Barack_Obama property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20827784
P551
Q56061
USER
And what about Nicholas Clark?
(Q20827784,P551,c(Q56061))
action count
action filter_type
action find
entity Q20827784
relation P551
type Q56061
['Q20827784', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q20827784 property:P551 ?u . ?u rdf:type ontology:Q56061 }
Nicholas Clark
action count
action filter_type
action find
entity Nicholas Clark
relation residence
type administrative territorial entity
['Nicholas Clark', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Nicholas_Clark property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q490732
(Q20827784,P551,c(Q56061))
action count
action filter_type
action find
entity Q20827784
relation P551
type Q56061
[ANSWER]
['Q20827784', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q20827784 property:P551 ?u . ?u rdf:type ontology:Q56061 }
Fort Collins
1
action count
action filter_type
action find
entity Nicholas Clark
relation residence
type administrative territorial entity
['Nicholas Clark', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Nicholas_Clark property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q454970
Q56061
USER
And what about Samantha Power?
(Q454970,P551,c(Q56061))
action count
action filter_type
action find
entity Q454970
relation P551
type Q56061
['Q454970', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q454970 property:P551 ?b . ?b rdf:type ontology:Q56061 }
Samantha Power
action count
action filter_type
action find
entity Samantha Power
relation residence
type administrative territorial entity
['Samantha Power', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Samantha_Power property:residence ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
(Q454970,P551,c(Q56061))
action count
action filter_type
action find
entity Q454970
relation P551
type Q56061
[ANSWER]
['Q454970', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q454970 property:P551 ?b . ?b rdf:type ontology:Q56061 }
2
action count
action filter_type
action find
entity Samantha Power
relation residence
type administrative territorial entity
['Samantha Power', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Samantha_Power property:residence ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?v ) { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?n = ?v ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?v ) { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?n = ?v ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?v ) { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?n = ?v ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?v ) { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?n = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q340169
USER
Which medias demonstrate exactly 1 musical instrument ?
(c(Q340169),P180,c(Q34379))
action equal
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?h ) WHERE { ?v property:P180 ?j . ?v rdf:type ontology:Q340169 . ?j rdf:type ontology:Q34379 } GROUP BY ?v } . FILTER ( ?h = 1 ) }
action equal
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?h ) WHERE { ?v property:depicts ?j . ?v rdf:type ontology:media . ?j rdf:type ontology:musical_instrument } GROUP BY ?v } . FILTER ( ?h = 1 ) }
[]
musical instrument media
Q19868516 Q17519439
SYSTEM
Violin Hanging on a Wall, Achille Henri Victor Gouffé
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action equal
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
Violin hanging on a Wall and Achille Henri Victor Gouffé demonstrate exactly 1 musical instrument
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?h ) WHERE { ?v property:P180 ?j . ?v rdf:type ontology:Q340169 . ?j rdf:type ontology:Q34379 } GROUP BY ?v } . FILTER ( ?h = 1 ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
Violin hanging on a Wall and Achille Henri Victor Gouffé demonstrate exactly 1 musical instrument
Violin Hanging on a Wall Achille Henri Victor Gouffé
action equal
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?h ) WHERE { ?v property:depicts ?j . ?v rdf:type ontology:media . ?j rdf:type ontology:musical_instrument } GROUP BY ?v } . FILTER ( ?h = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P195
Q33506
USER
How many museums include that media in it ?
(Q19868516,P195,c(Q33506))
['Q19868516', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19868516 property:Q5146077 ?z . ?z rdf:type ontology:Q33506 }
['Violin Hanging on a Wall', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Violin_Hanging_on_a_Wall property:collection ?z . ?z rdf:type ontology:museum }
[]
museum
Quantitative|Count|Single entity type|Clarification
Q17519439
SYSTEM
Did you mean Achille Henri Victor Gouffé ?
(Q19868516,P195,c(Q33506)) (Q17519439,P195,c(Q33506))
[ANSWER]
['Q19868516', 'P195', {'concept': 'Q33506'}] ['Q17519439', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19868516 property:Q5146077 ?z . ?z rdf:type ontology:Q33506 }
Did you mean Achille Henri Victor Gouffé ?
Achille Henri Victor Gouffé
['Violin Hanging on a Wall', 'collection', {'concept': 'museum'}] ['Achille Henri Victor Gouffé', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Violin_Hanging_on_a_Wall property:collection ?z . ?z rdf:type ontology:museum }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Violin Hanging on a Wall. Could you tell me the answer for that?
(Q19868516,P195,c(Q33506))
Q19868516
['Q19868516', 'P195', {'concept': 'Q33506'}]
['Violin Hanging on a Wall', 'collection', {'concept': 'museum'}]
[]
SYSTEM
1
Q201469
(Q19868516,P195,c(Q33506))
[ANSWER]
['Q19868516', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19868516 property:Q5146077 ?z . ?z rdf:type ontology:Q33506 }
Solomon R. Guggenheim Museum
1
['Violin Hanging on a Wall', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Violin_Hanging_on_a_Wall property:collection ?z . ?z rdf:type ontology:museum }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q43023 Q9588
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Richard Nixon or share the border with Acquanegra sul Chiese ?
OR((Q9588,P27,c(Q15617994)), (Q43023,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9588
relation P27
action find
entity Q43023
relation P47
type Q15617994
{'OR': [['Q9588', 'P27', {'concept': 'Q15617994'}], ['Q43023', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q9588 property:P27 ?t } UNION { resource:Q43023 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Acquanegra sul Chiese Richard Nixon
action filter_type
action union
action find
entity Richard Nixon
relation country of citizenship
action find
entity Acquanegra sul Chiese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Richard Nixon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Acquanegra sul Chiese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Richard_Nixon property:country_of_citizenship ?t } UNION { resource:Acquanegra_sul_Chiese property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42352 Q42358 Q42638 Q42301 Q30 Q42304 Q42288
SYSTEM
Redondesco, Marcaria, Mariana Mantovana, Canneto sull'Oglio, United States of America, Calvatone, Asola
Q42352 Q42358 Q42638 Q42301 Q30 Q42304 Q42288
OR((Q9588,P27,c(Q15617994)), (Q43023,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9588
relation P27
action find
entity Q43023
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Richard Nixon or share the border with Acquanegra sul Chiese
{'OR': [['Q9588', 'P27', {'concept': 'Q15617994'}], ['Q43023', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q9588 property:P27 ?t } UNION { resource:Q43023 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Redondesco Marcaria Mariana Mantovana Canneto sull'Oglio United States of America Calvatone Asola
Redondesco, Marcaria, Mariana Mantovana, Canneto sull'Oglio, United States of America, Calvatone and Asola are the countries of citizenship of Richard Nixon or share the border with Acquanegra sul Chiese
Redondesco Marcaria Mariana Mantovana Canneto sull'Oglio United States of America Calvatone Asola
action filter_type
action union
action find
entity Richard Nixon
relation country of citizenship
action find
entity Acquanegra sul Chiese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Richard Nixon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Acquanegra sul Chiese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Richard_Nixon property:country_of_citizenship ?t } UNION { resource:Acquanegra_sul_Chiese property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q7725634 Q811979
USER
Which people are atmost 3 literary works and architectural structures dedicated to ?
(c(Q7725634)|c(Q811979),P825,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 3
[[{'concept': 'Q7725634'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i <= 3 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } . ?a rdf:type ?h } GROUP BY ?j } }
action atmost
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 3
[[{'concept': 'literary work'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i <= 3 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } . ?a rdf:type ?h } GROUP BY ?j } }
[]
common name literary work architectural structure
Q8016 Q937 Q8023
SYSTEM
Winston Churchill, Albert Einstein, Nelson Mandela
Q101698 Q152457 Q7402197 Q282498 Q4304989 Q4452364 Q7859824 Q181707 Q360420 Q1357149 Q318636 Q4218975 Q249719 Q18684004 Q534049 Q16846308 Q983142 Q314700 Q676555 Q392 Q11403872 Q85210 Q312747 Q12688 Q336692 Q770633 Q611078 Q207113 Q20748855 Q44344 Q16202312 Q184935 Q65318 Q658756 Q1774929 Q183126 Q382053 Q88927 Q572684 Q17812378 Q3190301 Q93373 Q457863 Q457903 Q43675 Q150767 Q2575112 Q989 Q3109901 Q157176 Q2288858 Q44047 Q352978 Q1442 Q2959487 Q972905 Q448890 Q161775 Q937 Q935 Q48438 Q849 Q283447 Q179718 Q313737 Q2974965 Q7593283 Q1948037 Q747 Q5858974 Q173061 Q607495 Q9200 Q235863 Q8605 Q19629510 Q5147053 Q43999 Q295090 Q18412922 Q351670 Q683792 Q3348840 Q2639031 Q685156 Q888326 Q62068 Q297 Q2959955 Q171411 Q558261 Q87621 Q44269 Q94316 Q1236699 Q458014 Q11074321 Q7683954 Q7401372 Q93341 Q4218947 Q442516 Q313548 Q935496 Q461258 Q151967 Q132684 Q45380 Q192236 Q4130411 Q4127503 Q14345 Q38337 Q7446899 Q1398314 Q732526 Q200895 Q65290 Q1889720 Q55398 Q1394 Q33923 Q22985873 Q43945 Q1064 Q4275175 Q1284971 Q5561411 Q612390 Q44039 Q44032 Q20643690 Q9025343 Q37693 Q704817 Q1666 Q120180 Q41117 Q174231 Q23900430 Q200188 Q170547 Q43399 Q417686 Q276404 Q541634 Q244383 Q244380 Q460876 Q181715 Q212850 Q5249703 Q8023 Q155540 Q381815 Q878671 Q6699463 Q443559 Q535 Q2381536 Q115550 Q9439 Q539 Q42887 Q272899 Q170726 Q187550 Q2594000 Q313942 Q464192 Q379753 Q461104 Q298185 Q966298 Q1196817 Q433995 Q43600 Q271651 Q244852 Q5593 Q183085 Q57240 Q737198 Q466428 Q1246313 Q2376505 Q85760 Q160257 Q284560 Q314846 Q41568 Q20173462 Q1429 Q697765 Q25089 Q20683560 Q724153 Q1425 Q1427 Q160614 Q369691 Q313093 Q43982 Q44248 Q1078192 Q32613 Q269867 Q66005 Q191039 Q454840 Q20644286 Q236326 Q42511 Q3719466 Q44258 Q18363 Q3401960 Q163900 Q4340905 Q7179512 Q11633375 Q499022 Q719428 Q237149 Q17590 Q311080 Q6695484 Q37064 Q160445 Q5623897 Q7732 Q1288566 Q541694 Q152727 Q29179 Q313970 Q6918007 Q3262373 Q426814 Q7327 Q35548 Q570845 Q231690 Q6527 Q8195163 Q18535501 Q378656 Q174044 Q502943 Q2361972 Q44024 Q44020 Q77187 Q6955878 Q5837054 Q9455 Q2573616 Q313196 Q691402 Q369668 Q1714244 Q297483 Q1380238 Q1496 Q1036864 Q102527 Q51056 Q3392202 Q15432686 Q3398098 Q539427 Q462255 Q1088014 Q20757530 Q314802 Q2454699 Q8016 Q8018 Q645141 Q215333 Q272280 Q165479 Q2853967 Q165274 Q700317 Q171977 Q316599 Q1398704 Q11403852 Q5318618 Q13132095 Q311791 Q4161262 Q167477 Q501 Q297742 Q2093405 Q183332 Q12872638 Q19595674 Q269520 Q2722964 Q204503 Q78657 Q234908 Q71231 Q7402252 Q4893207 Q27036912 Q346 Q727717 Q17308940 Q1132756 Q35149 Q23892327 Q636533 Q11619989 Q154353 Q2360522 Q13131020 Q119957 Q2025679 Q160149 Q382005 Q3401592 Q3770666 Q154232 Q551735 Q3618054 Q354519 Q349287 Q537553 Q154045 Q3399340 Q457433 Q1430 Q767 Q552220 Q215572 Q44015 Q318974 Q3099236 Q128267 Q157100 Q160435 Q3398315 Q472635 Q92467 Q316658 Q23894387 Q23991012 Q711836 Q3069570 Q6258837 Q1016482 Q709118 Q328341 Q1293541 Q581537 Q133704 Q93362 Q538335 Q179971 Q11368835 Q773580 Q164294 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q7401328 Q130777 Q130805 Q328804 Q1268 Q504529 Q603655 Q352748 Q163366 Q6108547 Q20643663 Q6804706 Q1153323 Q17509259 Q11107790 Q43669 Q18126070 Q558148 Q289215 Q351715 Q33477 Q149727 Q7349 Q31966 Q468122 Q16859956 Q1834624 Q503886 Q444380 Q1183310 Q360798 Q3372785 Q1769 Q1446 Q310462 Q10881970 Q170842 Q12718 Q132232 Q47120 Q63070 Q87567 Q216873 Q232803 Q238090 Q374467 Q965463 Q3781346 Q174367 Q6203829 Q680538 Q179858 Q894757 Q5992912 Q3395811 Q7110271 Q45682 Q472851 Q982696 Q317997 Q284323 Q221263 Q51885 Q123062 Q40662 Q181689 Q964608 Q218690 Q80513 Q469572 Q5984068 Q151803 Q16766274 Q1293017 Q743830 Q3405091 Q16636868 Q82122 Q299179 Q1407 Q1405 Q836214 Q331697 Q51673 Q1337419 Q234689 Q13132105 Q3305109 Q5623522 Q41309 Q354786
(c(Q7725634)|c(Q811979),P825,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 3
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i <= 3 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } . ?a rdf:type ?h } GROUP BY ?j } }
Gaetano Donizetti Saint Roch Saint Sulien Gaspar Melchor de Jovellanos Mawgan Tathan Tyfrydog Charles Fourier Serge Lifar Giacomo Bassi Neville Marriner Saint Keyne Yui Caroline Weber Saint Petroc Saint Rhian Julian the Hospitaller Joachim Francis of Assisi Bob Dylan Kitabatake Akiyoshi Karl Ritter von Stremayr Leopoldo Alas Jean Jaurès Rodolphe Kreutzer Padarn António José de Ávila, 1st Duke of Ávila and Bolama Hippolytus Llawddog Hilary of Poitiers Nidan Mihai Eminescu Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Ramakrishna Antonio Sant'Elia Louis de Montfort Thomas-Alexandre Dumas Francisco Pintado Fe Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Saint Bavo Philip the Apostle Benjamin Britten Winefride John Paul II Gohard Władysław Szpilman Moriyoshi-shinnō James, son of Alphaeus Antoine Wiertz Septimius Severus Charles Joseph Lenoir Léon Goossens Charlotte Saunders Cushman Stephen Albert Einstein Isaac Newton Saint George François Villon Lambert of Maastricht Catherine of Alexandria Drusus Julius Caesar Clair of Nantes St Govan Moritz Reichsgraf von Fries Pierre Corneille Fermín Canella Secades Syd Barrett Giuseppe De Nittis Paul Genevieve Simón Bolívar Saint Goustan Collet Barker James Léon Gambetta Johann Georg von Browne-Camus Komitas Vardapet Kitabatake Chikafusa Octave Gréard Illtud Karl Alois, Prince Lichnowsky Bob Wills Princess Augusta of Hesse-Kassel Diego Velázquez Charles Panzéra Oda Nobunaga Saint Servatius Antonie Brentano Saint Nicholas Kikuchi Taketoki Giuseppe Sinigaglia Ottaviano Petrucci Kaneyoshi-shinnō Tanwg Iestyn Miles Davis Ceidio ap Einion Germanus of Auxerre Absalon Abundius Yamato Takeru Saint Blaise Saint-John Perse John Lewis Thomas Becket Anastasia Vyaltseva Ferrutio Roh Moo-hyun Alexandre Dumas Seiriol Paul Ladmirault José Guadalupe Posada Agatha of Sicily Constantine, Prince of Hohenzollern-Hechingen Cadoc Bernadette Soubirous Vladimir Lenin Peter Elizabeth Jean Scott Jude the Apostle Alessandro Manzoni Maethlu Victor Maurus José Tartiere y Lenegre Beuno Ludwig II of Bavaria Egon Schiele Claude-Emma Debussy Luis Riera Posada Paul Gauguin Gorgonius Jacques Brel Alexander III of Russia Kim Il-sung Meiji Gwenog Jimmu Anthony the Great Andrew Nazarius Takeda Shingen Bobby Bland Rose of Lima Saint Denis Lenny Bruce Thérèse of Lisieux Vitus Decuman Nelson Mandela Hans von Bülow Edmund the Martyr Untash-Napirisha Ludwika Jędrzejewicz Elizabeth Sprague Coolidge Victor Hugo Brynach Nicholas of Flüe Queen Victoria Giuseppe Diego Garibaldi Pacheco Clement I Sebastian of Portugal Enrico Caruso Toyotomi Hideyoshi Diego Brosset Go-Daigo Vladimir Stasov Benito Jerónimo Feijóo y Montenegro Jaroslav Vrchlický Samuel Sánchez Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Michel Eugène Chevreul Gediminas Pablo Picasso Isabella II of Spain Ernst Bloch Kevin of Glendalough Philomena Dorothea von Ertmann Edith Cowan Giulietta Guicciardi Wanda Landowska Manuel Puig Emperor Kammu Michel de Montaigne Natalia Vladimirovna Trouhanowa Antoninus Pius Rudolf Maister Woody Allen Saeran Jesse Lauriston Livermore Trajan Hadrian Skanderbeg Saint Ursula Herman Boerhaave Bartholomew the Apostle Jerome Dubricius Minamoto no Yoshiie Odile of Alsace Margrave Christian Ludwig of Brandenburg-Schwedt Germanicus William Cullen Bryant Mathilde Zemlinsky Columba H. G. Wells Edmund Clarence Stedman Basil of Caesarea Alfonso XIII of Spain Fagan Saint Francis Xavier Bridget O'Connor Peulan Prince Toyokiirihiko Emmanuel Fremiet William Michael Rossetti Ida Rubinstein Lawrence of Rome Uesugi Kenshin Trillo Alexander Fleming Saint Boniface Gwynno Louis XVI of France Len Lye Joseph Merk Frederick William, Elector of Brandenburg Francisco Franco Anton Arensky Motoharu Sano Louis Jou Emmanuel de Rohan-Polduc Yuri Gagarin Paul Cézanne Joseph Franz von Lobkowitz B. R. Ambedkar Jean-Jacques Rousseau Alfonso Iglesias Celynnin Saint Pantaleon Alexander Nevsky Andrey Razumovsky Winwaloe Athanasius of Alexandria Saint Matthias Ferdinand von Hompesch zu Bolheim Defendens Ernesto Winter Blanco Vallabhbhai Patel Eric Fletcher Waters Louis Desaix Philip IV of Spain William Osler Justin the Confessor Ferdinando I de' Medici, Grand Duke of Tuscany Hugh d'Avranches, 1st Earl of Chester Ferdinand Magellan Kitabatake Akiie Robert Falcon Scott Franz Joseph I of Austria Plechelm Georges Vallet Sadwrn Johann Jacob Bach Marino Lejarreta Tewdrig Madame Autard de Bragard Tenji Cadwaladr Winston Churchill Augustine of Hippo Armando Palacio Valdés Carl Czerny Æthelwold Saint Patrick Antoine Gailleton Jacques Prévert Yasuhito Chichibu Tokugawa Ieyasu Saint Maurice Alexander Wilhelm Gottschalg Kitabatake Morichika Dyfodwg Tybïe Nikolai Rubinstein Dyfnan Anthony of Padua Charles Baudelaire Margaret the Virgin Digain Saint Sebastian David of Euboea Tyfei Shōken Albinus of Angers Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Twrog Sabino Fernández Campo, 1st Count of Latores Cwyfan Louis IX of France Ramón Pérez de Ayala James William Davison Sakai Tadatsugu Wilhelm Röntgen Morhaiarn Pedro Rodríguez, Conde de Campomanes Prince Uji no Wakiiratsuko François Arago Anna Petrovna Kern Rhidian Alexis Roland-Manuel Albert Thomas Mark Rothko Sugawara no Michizane Cynllo Giuseppe Ghislanzoni Alexander Suvorov Edgar Quinet Annibale Cressoni Charley Patton Sutoku Ludwig Schuncke Alexei Nikolaevich Cybi Sara Dylan Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum John the Apostle Vincent of Saragossa Minamoto no Tsunemoto Joseph Margaret of Austria, Duchess of Savoy Gerrit Rietveld Tudno Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Rhwydrus Senwyr Philippe Pot Fernando de Valdés y Salas John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Tim Birkin Robert Smithson Saint Quentin Saint Cadfan Martin of Tours Archduke Maximilian Francis of Austria Marianne Kirchgessner Chūai Shizuko Nogi Gianni Brera Saint Anna Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Gredifael Kazimir Malevich George I of Great Britain John the Evangelist Frédéric Chopin Theodore of Tarsus Fidelis of Como John Spencer Ezra Pound Ricardo Vázquez-Prada Blanco Hélène Bardac Mechell Danguolė Rasalaitė Saint Elli Kristjan Cavazza Thomas the Apostle Isan Leonard of Noblac Alejandro Boliviano Fruela I of Asturias Eugène Delacroix Saint Giles Joseph Haydn Mark the Evangelist Nogi Maresuke Cawrdaf Gummarus Sterling Morrison Imogen Holst Deiniol Saint Eligius Paulino Vicente (padre) Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Sergei Koroliov Auguste Comte Clara Schumann David Oistrakh Mary Magdalene Anton Rubinstein Pierre Puvis de Chavannes Empress Jingu Sholem Aleichem Gabriel of Our Lady of Sorrows Rumbold of Mechelen Aida Lafuente Penaos Djoser Jiří Tancibudek Saint Teilo Urho Kekkonen Botwulf of Thorney Manuel Fernández Avello Dolores Medio Oudoceus Jean Sibelius Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Eulalia of Mérida Philibert II, Duke of Savoy Thecla Jacques Necker John the Baptist Blind Willie McTell Lucien Pissarro Raymond Queneau Saint Cecilia John Nicholson Luis Noval Ferrao Piet Mondrian Michelle Vian Tysilio Wulfram of Sens Dyfan Crallo Jean-Baptiste de Lamarck Kōmei Tiberius Augustus Princess Tōchi Saint David Mark Antony Emilio Alarcos Llorach Monica of Hippo Tysul Donatus of Evorea Gwenllwyfo Franz Liszt Jean-Louis-Ernest Meissonier
Which people are atmost 3 literary works and architectural structures dedicated to
Winston Churchill Albert Einstein Nelson Mandela
action atmost
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 3
[[{'concept': 'literary work'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i <= 3 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } . ?a rdf:type ?h } GROUP BY ?j } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 7258 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7258
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?c <= 7258 ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7258
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?c <= 7258 ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?s } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7258
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?c <= 7258 ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Which musical instruments can atmost 7258 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7258
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?c <= 7258 ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with United States of America ?
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
17
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q23057402
P530
Q15617994
USER
And how about Qumar?
(Q23057402,P530,c(Q15617994))
action count
action filter_type
action find
entity Q23057402
relation P530
type Q15617994
['Q23057402', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q23057402 property:P530 ?l }
Qumar
action count
action filter_type
action find
entity Qumar
relation diplomatic relation
type designation for an administrative territorial entity
['Qumar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Qumar property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q23057402,P530,c(Q15617994))
action count
action filter_type
action find
entity Q23057402
relation P530
type Q15617994
[ANSWER]
['Q23057402', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q23057402 property:P530 ?l }
United States of America
1
action count
action filter_type
action find
entity Qumar
relation diplomatic relation
type designation for an administrative territorial entity
['Qumar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Qumar property:diplomatic_relation ?l }
[]