Simple Question (Direct)
Simple Question
Q3178861
P27
Q15617994
USER
Which administrative territory does Wes Scantlin belong to ?
(Q3178861,P27,c(Q15617994))
action filter_type
action find
entity Q3178861
relation P27
type Q15617994
['Q3178861', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3178861 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Wes Scantlin
action filter_type
action find
entity Wes Scantlin
relation country of citizenship
type designation for an administrative territorial entity
['Wes Scantlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wes_Scantlin property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3178861,P27,c(Q15617994))
action filter_type
action find
entity Q3178861
relation P27
type Q15617994
Wes Scantlin belongs to [ANSWER]
['Q3178861', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3178861 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
Wes Scantlin belongs to United States of America
United States of America
action filter_type
action find
entity Wes Scantlin
relation country of citizenship
type designation for an administrative territorial entity
['Wes Scantlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wes_Scantlin property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3178861
P136
Q151885
USER
Which concept is the genre for Wes Scantlin ?
(Q3178861,P136,c(Q151885))
action filter_type
action find
entity Q3178861
relation P136
type Q151885
['Q3178861', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q3178861 property:P136 ?n . ?n rdf:type ontology:Q151885 }
Wes Scantlin
action filter_type
action find
entity Wes Scantlin
relation genre
type concept
['Wes Scantlin', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Wes_Scantlin property:genre ?n . ?n rdf:type ontology:concept }
[]
concept
Q11366
SYSTEM
alternative rock
Q11366
(Q3178861,P136,c(Q151885))
action filter_type
action find
entity Q3178861
relation P136
type Q151885
' [ANSWER] is the genre for Wes Scantlin
['Q3178861', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q3178861 property:P136 ?n . ?n rdf:type ontology:Q151885 }
alternative rock
' alternative rock is the genre for Wes Scantlin
alternative rock
action filter_type
action find
entity Wes Scantlin
relation genre
type concept
['Wes Scantlin', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Wes_Scantlin property:genre ?n . ?n rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3178861
P19
Q56061
USER
Which administrative territory is the place of birth of Wes Scantlin ?
(Q3178861,P19,c(Q56061))
action filter_type
action find
entity Q3178861
relation P19
type Q56061
['Q3178861', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3178861 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Wes Scantlin
action filter_type
action find
entity Wes Scantlin
relation place of birth
type administrative territorial entity
['Wes Scantlin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Wes_Scantlin property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41819
SYSTEM
Kansas City
Q41819
(Q3178861,P19,c(Q56061))
action filter_type
action find
entity Q3178861
relation P19
type Q56061
City [ANSWER] is the place of birth of Wes Scantlin
['Q3178861', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3178861 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Kansas City
City Kansas City is the place of birth of Wes Scantlin
Kansas City
action filter_type
action find
entity Wes Scantlin
relation place of birth
type administrative territorial entity
['Wes Scantlin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Wes_Scantlin property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q41819 Q3057444
P20
Q502895
USER
How many people died in Kansas City or Errazkin ?
(c(Q502895),P20,Q41819) (c(Q502895),P20,Q3057444)
action count
action union
action filter_type
action find_reverse
entity Q41819
relation P20
type Q502895
action filter_type
action find_reverse
entity Q3057444
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q41819'] [{'concept': 'Q502895'}, 'P20', 'Q3057444']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P20 ?f . VALUES ( ?f ) { ( resource:Q41819 ) ( resource:Q3057444 ) } }
Kansas City Errazkin
action count
action union
action filter_type
action find_reverse
entity Kansas City
relation place of death
type common name
action filter_type
action find_reverse
entity Errazkin
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kansas City'] [{'concept': 'common name'}, 'place of death', 'Errazkin']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:place_of_death ?f . VALUES ( ?f ) { ( resource:Kansas_City ) ( resource:Errazkin ) } }
[]
common name
SYSTEM
110
Q4531313 Q2841959 Q214828 Q362528 Q377577 Q371075 Q924055 Q3646606 Q2544624 Q7946035 Q349082 Q2580290 Q2158457 Q1434527 Q7668518 Q3095258 Q1684347 Q3658715 Q18218192 Q8015991 Q2484863 Q1645859 Q1677562 Q1368449 Q6376247 Q275279 Q2959470 Q3154315 Q5293235 Q6140793 Q598030 Q17917660 Q3127844 Q1384705 Q363412 Q2424491 Q4799389 Q3646450 Q1037207 Q6686951 Q3353073 Q1338080 Q16008468 Q7436984 Q2334047 Q816539 Q889307 Q1676403 Q20711329 Q5210424 Q1617769 Q5079942 Q2281890 Q6833502 Q1678813 Q18619069 Q1022514 Q18646056 Q2958486 Q2150133 Q86067 Q447179 Q2345204 Q1699598 Q310476 Q1387588 Q1534672 Q2071313 Q119666 Q1535192 Q18205017 Q5488619 Q5074792 Q5662226 Q1507474 Q1606967 Q1064300 Q2579125 Q11613 Q1386881 Q317365 Q964571 Q2865228 Q2580348 Q8008768 Q1812010 Q183059 Q3810241 Q15454192 Q1740157 Q471764 Q672295 Q3852438 Q2158950 Q1628712 Q1798999 Q1344733 Q8069387 Q1372379 Q5725244 Q1064531 Q2579093 Q2622644 Q331035 Q2332464 Q7245581 Q1383575 Q5126801 Q6297503 Q7976612
(c(Q502895),P20,Q41819) (c(Q502895),P20,Q3057444)
action count
action union
action filter_type
action find_reverse
entity Q41819
relation P20
type Q502895
action filter_type
action find_reverse
entity Q3057444
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q41819'] [{'concept': 'Q502895'}, 'P20', 'Q3057444']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P20 ?f . VALUES ( ?f ) { ( resource:Q41819 ) ( resource:Q3057444 ) } }
Patricia Ellis Juan Bautista Oreja Ernest Manheim Harlan Leonard Joseph P. Teasdale Charles Earland Frank Waller Eddie Foy Walter Halben Butler William Wayne Brown Budd Johnson William Ripley Brown Robert Patterson Clark Wilson Marva Whitney T. Max Graham Garabed Hovnanian Jay McShann Koton Harry Wiggins William N. Deramus III Charlotte Lewis Joe Thomas Jacob L. Milligan Mac Dre Katharine Wright Jovan Belcher Charles L. Johnson Irene Cozad Don O'Riley James P. Hosty George Caleb Bingham Carl Bacchus Harry Kelly Fay Moulton Claude Williams Thomas Hackney Arthur Kraft Buddy Anderson Carl Busch Louis Curtiss Charles Aman Tom Pendergast Myrtle Vail Scott Olin Wright Sam Lacey Ben Kynard Mason Brayman J. Scott Wolff Lem T. Jones, Jr. Dale Eldred Bill Robinzine Charles L. Frink Sidney C. Roach Michael Peterson Jake Beckley Joseph M. Patterson C. Jasper Bell Walter K. Chorn Charles Barsotti Richard M. Duncan Rudolph A. Seiden Clarence M. Kelley Maurice King John Charles Tarsney Fats Waller Mason S. Peters Jesse M. Donaldson Perl D. Decker Arnold Sutermeister Mike Colman William Allee Frank Nash Charles A. Baird Harold Roe Bartle George H. Hodges Henry L. Jost Charles Evans Whittaker William Harris Harry S. Truman Joe Shannon Owen Hart Walter Sutton Arthur Marshall William Raleigh Hull, Jr. William F. Cloud Lee Talbott Thomas Theodore Crittenden Joseph Levering James E. Stowers Ralph F. Lozier Thomas Hart Benton Bennie Moten Maurice Prather Robert T. Van Horn William Warner Myra Taylor John L. MacDonald Zerelda Mimms Eugen Altschul Henry M. Beardsley Charles Germman Burton William H. Sproul Alexander Caldwell Abram Comingo Jimmy Walker Priscilla Bowman James Scott Clarence W. Wigington Joyce Hall Wayne Simmons
110
action count
action union
action filter_type
action find_reverse
entity Kansas City
relation place of death
type common name
action filter_type
action find_reverse
entity Errazkin
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kansas City'] [{'concept': 'common name'}, 'place of death', 'Errazkin']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:place_of_death ?f . VALUES ( ?f ) { ( resource:Kansas_City ) ( resource:Errazkin ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41819
P1001
Q12737077
USER
Which occupation presides the jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q41819
relation P1001
type Q12737077
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?n property:P1001 resource:Q41819 }
Kansas City
action filter_type
action find_reverse
entity Kansas City
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?n property:applies_to_jurisdiction resource:Kansas_City }
[]
occupation
Q18196421
SYSTEM
Mayor of Kansas City
Q18196421
action filter_type
action find_reverse
entity Q41819
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over that administrative territory
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?n property:P1001 resource:Q41819 }
Mayor of Kansas City
The Mayor of Kansas City presides the jurisdiction over that administrative territory
Mayor of Kansas City
action filter_type
action find_reverse
entity Kansas City
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?n property:applies_to_jurisdiction resource:Kansas_City }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18196421 Q5783115 Q2554996
P1001
Q56061
USER
Does that occupation have jurisdiction over Bid-e Estakhr and Coljava ?
(Q18196421,P1001,Q5783115) (Q18196421,P1001,Q2554996)
action is_in
entity Q18196421
action intersection
action find_reverse
entity Q5783115
relation P1001
action find_reverse
entity Q2554996
relation P1001
['Q18196421', 'P1001', 'Q5783115'] ['Q18196421', 'P1001', 'Q2554996']
ASK WHERE { resource:Q18196421 property:P1001 resource:Q5783115 . resource:Q18196421 property:P1001 resource:Q2554996 }
Mayor of Kansas City Bid-e Estakhr Coljava
action is_in
entity Mayor of Kansas City
action intersection
action find_reverse
entity Bid-e Estakhr
relation applies to jurisdiction
action find_reverse
entity Coljava
relation applies to jurisdiction
['Mayor of Kansas City', 'applies to jurisdiction', 'Bid-e Estakhr'] ['Mayor of Kansas City', 'applies to jurisdiction', 'Coljava']
ASK WHERE { resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Bid-e_Estakhr . resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Coljava }
[]
administrative territorial entity
SYSTEM
NO
(Q18196421,P1001,Q5783115) (Q18196421,P1001,Q2554996)
action is_in
entity Q18196421
action intersection
action find_reverse
entity Q5783115
relation P1001
action find_reverse
entity Q2554996
relation P1001
[ANSWER]
['Q18196421', 'P1001', 'Q5783115'] ['Q18196421', 'P1001', 'Q2554996']
ASK WHERE { resource:Q18196421 property:P1001 resource:Q5783115 . resource:Q18196421 property:P1001 resource:Q2554996 }
No
action is_in
entity Mayor of Kansas City
action intersection
action find_reverse
entity Bid-e Estakhr
relation applies to jurisdiction
action find_reverse
entity Coljava
relation applies to jurisdiction
['Mayor of Kansas City', 'applies to jurisdiction', 'Bid-e Estakhr'] ['Mayor of Kansas City', 'applies to jurisdiction', 'Coljava']
ASK WHERE { resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Bid-e_Estakhr . resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Coljava }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q41819 Q30
P17
Q15617994
USER
Does Kansas City belong to United States of America ?
(Q41819,P17,Q30)
action is_in
entity Q30
action find
entity Q41819
relation P17
['Q41819', 'P17', 'Q30']
ASK WHERE { resource:Q41819 property:P17 resource:Q30 }
Kansas City United States of America
action is_in
entity United States of America
action find
entity Kansas City
relation country
['Kansas City', 'country', 'United States of America']
ASK WHERE { resource:Kansas_City property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q41819,P17,Q30)
action is_in
entity Q30
action find
entity Q41819
relation P17
[ANSWER]
['Q41819', 'P17', 'Q30']
ASK WHERE { resource:Q41819 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Kansas City
relation country
['Kansas City', 'country', 'United States of America']
ASK WHERE { resource:Kansas_City property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q41819 Q1792
P1071
Q2235308
USER
How many ship types have Kansas City or Gdańsk as their finally place of assembly ?
(c(Q2235308),P1071,Q41819) (c(Q2235308),P1071,Q1792)
action count
action union
action filter_type
action find_reverse
entity Q41819
relation P1071
type Q2235308
action filter_type
action find_reverse
entity Q1792
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q41819'] [{'concept': 'Q2235308'}, 'P1071', 'Q1792']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { ?e property:P1071 resource:Q41819 . ?e rdf:type ontology:Q2235308 } UNION { ?e property:P1071 resource:Q1792 . ?e rdf:type ontology:Q2235308 } }
Kansas City Gdańsk
action count
action union
action filter_type
action find_reverse
entity Kansas City
relation location of final assembly
type ship type
action filter_type
action find_reverse
entity Gdańsk
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Kansas City'] [{'concept': 'ship type'}, 'location of final assembly', 'Gdańsk']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { ?e property:location_of_final_assembly resource:Kansas_City . ?e rdf:type ontology:ship_type } UNION { ?e property:location_of_final_assembly resource:Gdańsk . ?e rdf:type ontology:ship_type } }
[]
ship type
SYSTEM
4
Q2519091 Q498683 Q932860 Q7248978
(c(Q2235308),P1071,Q41819) (c(Q2235308),P1071,Q1792)
action count
action union
action filter_type
action find_reverse
entity Q41819
relation P1071
type Q2235308
action filter_type
action find_reverse
entity Q1792
relation P1071
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P1071', 'Q41819'] [{'concept': 'Q2235308'}, 'P1071', 'Q1792']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { ?e property:P1071 resource:Q41819 . ?e rdf:type ontology:Q2235308 } UNION { ?e property:P1071 resource:Q1792 . ?e rdf:type ontology:Q2235308 } }
Polnocny Lublin-class minelayer-landing ship Ropucha class landing ship Project 664-class torpedo boat
4
action count
action union
action filter_type
action find_reverse
entity Kansas City
relation location of final assembly
type ship type
action filter_type
action find_reverse
entity Gdańsk
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Kansas City'] [{'concept': 'ship type'}, 'location of final assembly', 'Gdańsk']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { ?e property:location_of_final_assembly resource:Kansas_City . ?e rdf:type ontology:ship_type } UNION { ?e property:location_of_final_assembly resource:Gdańsk . ?e rdf:type ontology:ship_type } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4118010 Q5783115
P27 P17
Q15617994
USER
Which administrative territories are Bid-e Estakhr located in or are Maziyar Bizhani a civilian of ?
OR((Q5783115,P17,c(Q15617994)), (Q4118010,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5783115
relation P17
action find
entity Q4118010
relation P27
type Q15617994
{'OR': [['Q5783115', 'P17', {'concept': 'Q15617994'}], ['Q4118010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5783115 property:P17 ?p } UNION { resource:Q4118010 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Maziyar Bizhani Bid-e Estakhr
action filter_type
action union
action find
entity Bid-e Estakhr
relation country
action find
entity Maziyar Bizhani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bid-e Estakhr', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Maziyar Bizhani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bid-e_Estakhr property:country ?p } UNION { resource:Maziyar_Bizhani property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
OR((Q5783115,P17,c(Q15617994)), (Q4118010,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5783115
relation P17
action find
entity Q4118010
relation P27
type Q15617994
[ANSWER] is Bid-e Estakhr located in or is Maziyar Bizhani a civilian of
{'OR': [['Q5783115', 'P17', {'concept': 'Q15617994'}], ['Q4118010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5783115 property:P17 ?p } UNION { resource:Q4118010 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Iran
Iran is Bid-e Estakhr located in or is Maziyar Bizhani a civilian of
Iran
action filter_type
action union
action find
entity Bid-e Estakhr
relation country
action find
entity Maziyar Bizhani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bid-e Estakhr', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Maziyar Bizhani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bid-e_Estakhr property:country ?p } UNION { resource:Maziyar_Bizhani property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q794 Q4724537
P27
Q502895
USER
Is Ali AbdolMaleki a citizen of that administrative territory ?
(Q4724537,P27,Q794)
action is_in
entity Q794
action find
entity Q4724537
relation P27
['Q4724537', 'P27', 'Q794']
ASK WHERE { resource:Q4724537 property:P27 resource:Q794 }
Iran Ali AbdolMaleki
action is_in
entity Iran
action find
entity Ali AbdolMaleki
relation country of citizenship
['Ali AbdolMaleki', 'country of citizenship', 'Iran']
ASK WHERE { resource:Ali_AbdolMaleki property:country_of_citizenship resource:Iran }
[]
common name
SYSTEM
YES
(Q4724537,P27,Q794)
action is_in
entity Q794
action find
entity Q4724537
relation P27
[ANSWER]
['Q4724537', 'P27', 'Q794']
ASK WHERE { resource:Q4724537 property:P27 resource:Q794 }
Yes
action is_in
entity Iran
action find
entity Ali AbdolMaleki
relation country of citizenship
['Ali AbdolMaleki', 'country of citizenship', 'Iran']
ASK WHERE { resource:Ali_AbdolMaleki property:country_of_citizenship resource:Iran }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18196421 Q41819
P1001
Q56061
USER
Does Kansas City come under the jurisdiction of Mayor of Kansas City ?
(Q18196421,P1001,Q41819)
action is_in
entity Q41819
action find
entity Q18196421
relation P1001
['Q18196421', 'P1001', 'Q41819']
ASK WHERE { resource:Q18196421 property:P1001 resource:Q41819 }
Mayor of Kansas City Kansas City
action is_in
entity Kansas City
action find
entity Mayor of Kansas City
relation applies to jurisdiction
['Mayor of Kansas City', 'applies to jurisdiction', 'Kansas City']
ASK WHERE { resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Kansas_City }
[]
administrative territorial entity
SYSTEM
YES
(Q18196421,P1001,Q41819)
action is_in
entity Q41819
action find
entity Q18196421
relation P1001
[ANSWER]
['Q18196421', 'P1001', 'Q41819']
ASK WHERE { resource:Q18196421 property:P1001 resource:Q41819 }
Yes
action is_in
entity Kansas City
action find
entity Mayor of Kansas City
relation applies to jurisdiction
['Mayor of Kansas City', 'applies to jurisdiction', 'Kansas City']
ASK WHERE { resource:Mayor_of_Kansas_City property:applies_to_jurisdiction resource:Kansas_City }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3178861 Q381353
P106
Q12737077
USER
Is woman of letters the profession of Wes Scantlin ?
(Q3178861,P106,Q381353)
action is_in
entity Q381353
action find
entity Q3178861
relation P106
['Q3178861', 'P106', 'Q381353']
ASK WHERE { resource:Q3178861 property:P106 resource:Q381353 }
Wes Scantlin woman of letters
action is_in
entity woman of letters
action find
entity Wes Scantlin
relation occupation
['Wes Scantlin', 'occupation', 'woman of letters']
ASK WHERE { resource:Wes_Scantlin property:occupation resource:woman_of_letters }
[]
occupation
SYSTEM
NO
(Q3178861,P106,Q381353)
action is_in
entity Q381353
action find
entity Q3178861
relation P106
[ANSWER]
['Q3178861', 'P106', 'Q381353']
ASK WHERE { resource:Q3178861 property:P106 resource:Q381353 }
No
action is_in
entity woman of letters
action find
entity Wes Scantlin
relation occupation
['Wes Scantlin', 'occupation', 'woman of letters']
ASK WHERE { resource:Wes_Scantlin property:occupation resource:woman_of_letters }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with atleast 54 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 54
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?w >= 54 ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:P530 ?i . ?s rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?s } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 54
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?w >= 54 ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:diplomatic_relation ?i . ?s rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 54
[ANSWERS] have ambassadorial relations with atleast 54 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?w >= 54 ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:P530 ?i . ?s rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?s } }
Germany Australia
Germany and Australia have ambassadorial relations with atleast 54 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 54
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?w >= 54 ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:diplomatic_relation ?i . ?s rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]