Simple Question (Direct)
Simple Question
Q23493303
P703
Q631147
USER
What is the taxon to which lipoprotein signal peptidase    SAG1366 belongs to ?
(Q23493303,P703,c(Q631147))
action filter_type
action find
entity Q23493303
relation P703
type Q631147
['Q23493303', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23493303 property:P703 ?c . ?c rdf:type ontology:Q631147 }
lipoprotein signal peptidase    SAG1366
action filter_type
action find
entity lipoprotein signal peptidase    SAG1366
relation found in taxon
type infraspecific name
['lipoprotein signal peptidase    SAG1366', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:lipoprotein_signal_peptidase____SAG1366 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102962
SYSTEM
Streptococcus agalactiae 2603V/R
Q21102962
(Q23493303,P703,c(Q631147))
action filter_type
action find
entity Q23493303
relation P703
type Q631147
[ANSWER]
['Q23493303', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23493303 property:P703 ?c . ?c rdf:type ontology:Q631147 }
Streptococcus agalactiae 2603V/R
Streptococcus agalactiae 2603V/R
Streptococcus agalactiae 2603V/R
action filter_type
action find
entity lipoprotein signal peptidase    SAG1366
relation found in taxon
type infraspecific name
['lipoprotein signal peptidase    SAG1366', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:lipoprotein_signal_peptidase____SAG1366 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q1190554 Q181394
USER
Which events are atleast 65 nutrients involved in ?
(c(Q181394),P682,c(Q1190554))
action atleast
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
value 65
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P682 ?m . ?m rdf:type ontology:Q1190554 . ?g rdf:type ontology:Q181394 } GROUP BY ?m } . FILTER ( ?k >= 65 ) }
action atleast
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
value 65
[{'concept': 'nutrient'}, 'biological process', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:biological_process ?m . ?m rdf:type ontology:event . ?g rdf:type ontology:nutrient } GROUP BY ?m } . FILTER ( ?k >= 65 ) }
[]
event nutrient
Q719426 Q2996394
SYSTEM
lactation, biological process
Q719426 Q2996394
(c(Q181394),P682,c(Q1190554))
action atleast
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
value 65
The [ANSWERS] are atleast 65 nutrients involved in
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P682 ?m . ?m rdf:type ontology:Q1190554 . ?g rdf:type ontology:Q181394 } GROUP BY ?m } . FILTER ( ?k >= 65 ) }
lactation biological process
The lactation and biological process are atleast 65 nutrients involved in
lactation biological process
action atleast
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
value 65
[{'concept': 'nutrient'}, 'biological process', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:biological_process ?m . ?m rdf:type ontology:event . ?g rdf:type ontology:nutrient } GROUP BY ?m } . FILTER ( ?k >= 65 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P793
Q1190554 Q502895 Q201658
USER
Which events are min number of people or film genres associated with ?
(c(Q502895)|c(Q201658),P793,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q502895
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q201658
[[{'concept': 'Q502895'}, {'concept': 'Q201658'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?x ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q201658 ) } } GROUP BY ?i } } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?l ) WHERE { { ?y property:P793 ?o . ?o rdf:type ontology:Q1190554 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q201658 . ?o rdf:type ontology:Q1190554 . ?y property:P793 ?o } } GROUP BY ?o } }
action argmin
action union
action find_reverse_tuple_counts
relation significant event
type event
type common name
action find_reverse_tuple_counts
relation significant event
type event
type film genre
[[{'concept': 'common name'}, {'concept': 'film genre'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?x ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:film_genre ) } } GROUP BY ?i } } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?l ) WHERE { { ?y property:significant_event ?o . ?o rdf:type ontology:event . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:film_genre . ?o rdf:type ontology:event . ?y property:significant_event ?o } } GROUP BY ?o } }
[]
event common name film genre
Q1638488 Q5916 Q15921519
SYSTEM
Battle of Monmouth, spaceflight, Trans-Atlantic flight of America
Q201692 Q7114127 Q15829638 Q635882 Q234132 Q188925 Q15980725 Q21014657 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1294303 Q1669285 Q1363768 Q2237633 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q173077 Q2889160 Q5916 Q1274566 Q280868 Q385378 Q1497011 Q18603729 Q25517452 Q5051574 Q600016 Q2238935 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q258873 Q1150070 Q1362364 Q700569 Q533034 Q327035 Q4159143 Q1650581 Q849653 Q688308 Q28545 Q4872697 Q1370468 Q1818072 Q1157021 Q126306 Q112016 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q617922 Q1972070 Q610000 Q2305019 Q1644792 Q19868482 Q16686346 Q6200334 Q2511359 Q16717192 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q464980 Q18511800 Q115105 Q4870896 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q663405
(c(Q502895)|c(Q201658),P793,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q502895
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q201658
Min number of people or film genres are associated with [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q201658'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?x ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q201658 ) } } GROUP BY ?i } } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?l ) WHERE { { ?y property:P793 ?o . ?o rdf:type ontology:Q1190554 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q201658 . ?o rdf:type ontology:Q1190554 . ?y property:P793 ?o } } GROUP BY ?o } }
Battle of Poitiers Battle of Kuuterselkä first run Battle of Black Jack Hillsborough disaster Battles of Khalkhin Gol Skirmish of Todos Santos assignment Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive Edwards v Canada (Attorney General) Sack of Amorium fusion Battle of Musgrove Mill Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Battle of Tours Battle of Loon Lake spaceflight Battle of the Arar Battle of Gergovia construction communal reorganisation dissolution of an administrative territorial entity battle of the Tollense River catastrophic failure Battle of Jargeau Slighting Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Waco siege change maiden flight Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation teaching Battle of Vrbanja bridge reconstruction MV Maersk Alabama Battle of Białołęka Decembrist revolt Battle of the Persian Gate Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Battle of Wytyczno Battle of Lutetia Battle of the Grebbeberg Battle of Curupaity Battle of Lake Regillus destruction date of listing Siege of Pelium Assault on Nijmegen date of unveiling aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria exhibition split Battle of Wogastisburg Battle of Dong Khe Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Battle of Zorndorf
Min number of people or film genres are associated with Battle of Monmouth, spaceflight and Trans-Atlantic flight of America
Battle of Monmouth spaceflight Trans-Atlantic flight of America
action argmin
action union
action find_reverse_tuple_counts
relation significant event
type event
type common name
action find_reverse_tuple_counts
relation significant event
type event
type film genre
[[{'concept': 'common name'}, {'concept': 'film genre'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?x ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:film_genre ) } } GROUP BY ?i } } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?l ) WHERE { { ?y property:significant_event ?o . ?o rdf:type ontology:event . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:film_genre . ?o rdf:type ontology:event . ?y property:significant_event ?o } } GROUP BY ?o } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1638488
P607
Q502895
USER
Which people did that event fight in ?
(c(Q502895),P607,Q1638488)
action filter_type
action find_reverse
entity Q1638488
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q1638488']
SELECT DISTINCT ?c WHERE { ?c property:P607 resource:Q1638488 . ?c rdf:type ontology:Q502895 }
Battle of Monmouth
action filter_type
action find_reverse
entity Battle of Monmouth
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Monmouth']
SELECT DISTINCT ?c WHERE { ?c property:conflict resource:Battle_of_Monmouth . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15921519
SYSTEM
Did you mean Trans-Atlantic flight of America ?
Q1638488 Q5916 Q15921519
(c(Q502895),P607,Q1638488) (c(Q502895),P607,Q5916) (c(Q502895),P607,Q15921519)
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q1638488'] [{'concept': 'Q502895'}, 'P607', 'Q5916'] [{'concept': 'Q502895'}, 'P607', 'Q15921519']
SELECT DISTINCT ?c WHERE { ?c property:P607 resource:Q1638488 . ?c rdf:type ontology:Q502895 }
Battle of Monmouth spaceflight Trans-Atlantic flight of America
Did you mean Trans-Atlantic flight of America ?
Trans-Atlantic flight of America
[{'concept': 'common name'}, 'conflict', 'Battle of Monmouth'] [{'concept': 'common name'}, 'conflict', 'spaceflight'] [{'concept': 'common name'}, 'conflict', 'Trans-Atlantic flight of America']
SELECT DISTINCT ?c WHERE { ?c property:conflict resource:Battle_of_Monmouth . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of Monmouth. Could you tell me the answer for that?
(c(Q502895),P607,Q1638488)
Q1638488
[{'concept': 'Q502895'}, 'P607', 'Q1638488']
[{'concept': 'common name'}, 'conflict', 'Battle of Monmouth']
[]
Q88824 Q6273366 Q5725934
SYSTEM
Wilhelm von Knyphausen, Jonathan Haskell, Henry Monckton
Q5354477 Q6273366 Q6087212 Q5233749 Q5131289 Q88824 Q5725934 Q3890710 Q5718849 Q6249637
(c(Q502895),P607,Q1638488)
action filter_type
action find_reverse
entity Q1638488
relation P607
type Q502895
That event fought in the [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q1638488']
SELECT DISTINCT ?c WHERE { ?c property:P607 resource:Q1638488 . ?c rdf:type ontology:Q502895 }
Eleazer Oswald Jonathan Haskell Israel Shreve David Forman Clement Biddle Wilhelm von Knyphausen Henry Monckton Molly Pitcher Henry Burbeck John Mott
That event fought in the Wilhelm von Knyphausen, Jonathan Haskell and Henry Monckton
Wilhelm von Knyphausen Jonathan Haskell Henry Monckton
action filter_type
action find_reverse
entity Battle of Monmouth
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Monmouth']
SELECT DISTINCT ?c WHERE { ?c property:conflict resource:Battle_of_Monmouth . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?x ) WHERE { ?l rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 . ?r property:P1303 ?l } GROUP BY ?l } } . { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?o } GROUP BY ?o } . FILTER ( ?w = ?z ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?x ) WHERE { ?l rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name . ?r property:instrument ?l } GROUP BY ?l } } . { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?o } GROUP BY ?o } . FILTER ( ?w = ?z ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?x ) WHERE { ?l rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 . ?r property:P1303 ?l } GROUP BY ?l } } . { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?o } GROUP BY ?o } . FILTER ( ?w = ?z ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?x ) WHERE { ?l rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name . ?r property:instrument ?l } GROUP BY ?l } } . { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?o } GROUP BY ?o } . FILTER ( ?w = ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1966884 Q1638488
P17
Q15617994
USER
Which administrative territories are Battle of Monmouth or São João do Soter a part of ?
OR((Q1638488,P17,c(Q15617994)), (Q1966884,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1638488
relation P17
action find
entity Q1966884
relation P17
type Q15617994
{'OR': [['Q1638488', 'P17', {'concept': 'Q15617994'}], ['Q1966884', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { ?m property:P17 ?q . VALUES ( ?m ) { ( resource:Q1966884 ) ( resource:Q1638488 ) } } . ?q rdf:type ontology:Q15617994 }
São João do Soter Battle of Monmouth
action filter_type
action union
action find
entity Battle of Monmouth
relation country
action find
entity São João do Soter
relation country
type designation for an administrative territorial entity
{'OR': [['Battle of Monmouth', 'country', {'concept': 'designation for an administrative territorial entity'}], ['São João do Soter', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?m property:country ?q . VALUES ( ?m ) { ( resource:São_João_do_Soter ) ( resource:Battle_of_Monmouth ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q1638488,P17,c(Q15617994)), (Q1966884,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1638488
relation P17
action find
entity Q1966884
relation P17
type Q15617994
[ANSWERS] are Battle of Monmouth or São João do Soter a part of
{'OR': [['Q1638488', 'P17', {'concept': 'Q15617994'}], ['Q1966884', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { ?m property:P17 ?q . VALUES ( ?m ) { ( resource:Q1966884 ) ( resource:Q1638488 ) } } . ?q rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil and United States of America are Battle of Monmouth or São João do Soter a part of
Brazil United States of America
action filter_type
action union
action find
entity Battle of Monmouth
relation country
action find
entity São João do Soter
relation country
type designation for an administrative territorial entity
{'OR': [['Battle of Monmouth', 'country', {'concept': 'designation for an administrative territorial entity'}], ['São João do Soter', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?m property:country ?q . VALUES ( ?m ) { ( resource:São_João_do_Soter ) ( resource:Battle_of_Monmouth ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are that administrative territory the head of goverment of ?
(Q30,P6,c(Q502895))
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
(Q155,P6,c(Q502895)) (Q30,P6,c(Q502895))
[ANSWER]
['Q155', 'P6', {'concept': 'Q502895'}] ['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Brazil ?
Brazil
['Brazil', 'head of government', {'concept': 'common name'}] ['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(Q30,P6,c(Q502895))
Q30
['Q30', 'P6', {'concept': 'Q502895'}]
['United States of America', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon 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 Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q155
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Brazil ?
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q155 property:P530 ?u }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
53
Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q155 property:P530 ?u }
Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
53
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:diplomatic_relation ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q230
P530
Q15617994
USER
And also tell me about Georgia?
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q230 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Georgia
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Georgia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
80
Q805 Q801 Q800 Q668 Q414 Q145 Q262 Q784 Q786 Q710 Q252 Q399 Q398 Q43 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q986 Q822 Q241 Q424 Q921 Q31 Q30 Q37 Q38 Q739 Q423 Q983 Q851 Q734 Q1011 Q736 Q27 Q29 Q819 Q189 Q184 Q32 Q347 Q227 Q225 Q222 Q229 Q228 Q17 Q902 Q1008 Q191 Q965 Q967 Q963 Q115 Q114 Q117 Q750 Q211 Q219 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q970 Q686 Q874 Q79 Q878 Q774 Q810 Q1016 Q1013 Q953
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q230 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Yemen Israel Costa Rica India Argentina United Kingdom Algeria Dominica Dominican Republic Kiribati Indonesia Armenia Bahrain Turkey Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Eritrea Lebanon Cuba Cambodia Brunei Belgium United States of America Lithuania Italy Colombia North Korea Equatorial Guinea Saudi Arabia Guyana Cape Verde Ecuador Ireland Spain Laos Iceland Belarus Luxembourg Liechtenstein Azerbaijan Bosnia and Herzegovina Albania Cyprus Andorra Japan Bangladesh Côte d'Ivoire Estonia Burkina Faso Burundi Botswana Ethiopia Kenya Ghana Bolivia Latvia Bulgaria Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Comoros Vanuatu Turkmenistan Egypt United Arab Emirates Guatemala Jordan Libya Lesotho Zambia
80
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Georgia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q38
Q15617994
USER
And what about Italy?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?o }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?o }
[]
designation for an administrative territorial entity
SYSTEM
74
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?o }
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q77
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Uruguay ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:P530 ?l . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q77 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } }
Uruguay
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:diplomatic_relation ?l . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Uruguay property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:P530 ?l . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q77 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:diplomatic_relation ?l . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Uruguay property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q917
P530
Q15617994 Q15617994
USER
And also tell me about Bhutan?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { ?k property:P530 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?m } } . FILTER ( ?t = ?l ) }
Bhutan
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { ?k property:diplomatic_relation ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?m } } . FILTER ( ?t = ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { ?k property:P530 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?m } } . FILTER ( ?t = ?l ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { ?k property:diplomatic_relation ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?m } } . FILTER ( ?t = ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q576367 Q6273366
P27 P495
Q15617994
USER
Which administrative territories are Jonathan Haskell a civilian of and are the origin of U-571 ?
AND((Q6273366,P27,c(Q15617994)), (Q576367,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6273366
relation P27
action find
entity Q576367
relation P495
type Q15617994
{'AND': [['Q6273366', 'P27', {'concept': 'Q15617994'}], ['Q576367', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q576367 property:P495 ?o . resource:Q6273366 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
U-571 Jonathan Haskell
action filter_type
action intersection
action find
entity Jonathan Haskell
relation country of citizenship
action find
entity U-571
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Jonathan Haskell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['U-571', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:U-571 property:country_of_origin ?o . resource:Jonathan_Haskell property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q6273366,P27,c(Q15617994)), (Q576367,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6273366
relation P27
action find
entity Q576367
relation P495
type Q15617994
[ANSWER] is Jonathan Haskell a civilian of and is the origin of U-571
{'AND': [['Q6273366', 'P27', {'concept': 'Q15617994'}], ['Q576367', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q576367 property:P495 ?o . resource:Q6273366 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Jonathan Haskell a civilian of and is the origin of U-571
United States of America
action filter_type
action intersection
action find
entity Jonathan Haskell
relation country of citizenship
action find
entity U-571
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Jonathan Haskell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['U-571', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:U-571 property:country_of_origin ?o . resource:Jonathan_Haskell property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q2897580
P6
Q502895
USER
Is Bernard Bosson the head of the government of that administrative territory ?
(Q30,P6,Q2897580)
action is_in
entity Q2897580
action find
entity Q30
relation P6
['Q30', 'P6', 'Q2897580']
ASK WHERE { resource:Q30 property:P6 resource:Q2897580 }
United States of America Bernard Bosson
action is_in
entity Bernard Bosson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Bernard Bosson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Bernard_Bosson }
[]
common name
SYSTEM
NO
(Q30,P6,Q2897580)
action is_in
entity Q2897580
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q2897580']
ASK WHERE { resource:Q30 property:P6 resource:Q2897580 }
No
action is_in
entity Bernard Bosson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Bernard Bosson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Bernard_Bosson }
[]