Simple Question (Direct)
Simple Question
Q8035707
P1346
Q502895
USER
Which people emerged victorious in World Fantasy Special Award: Professional ?
(Q8035707,P1346,c(Q502895))
action filter_type
action find
entity Q8035707
relation P1346
type Q502895
['Q8035707', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q8035707 property:P1346 ?z . ?z rdf:type ontology:Q502895 }
World Fantasy Special Award: Professional
action filter_type
action find
entity World Fantasy Special Award: Professional
relation winner
type common name
['World Fantasy Special Award: Professional', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:World_Fantasy_Special_Award:_Professional property:winner ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3133864 Q3518754 Q908589
SYSTEM
John Clute, Terri Windling, Donald Allen Wollheim
Q704553 Q16121664 Q95120 Q4942268 Q2394387 Q4898710 Q5980830 Q1810264 Q765918 Q6274539 Q6198618 Q628482 Q5233934 Q7173464 Q5528159 Q5294729 Q4160428 Q3181632 Q4521762 Q3518754 Q7441515 Q6770117 Q908589 Q6755577 Q2389424 Q1190926 Q5364740 Q3133864 Q7350932 Q2350792 Q625272 Q272748 Q5321850
(Q8035707,P1346,c(Q502895))
action filter_type
action find
entity Q8035707
relation P1346
type Q502895
[ANSWERS] emerged victorious in World Fantasy Special Award: Professional
['Q8035707', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q8035707 property:P1346 ?z . ?z rdf:type ontology:Q502895 }
Chris Van Allsburg Pat LoBrutto Tom Shippey Jeanne Cavelos Jane Yolen Betty Ballantine Ian Ballantine Ellen Datlow Lucia Graves Jonathan Strahan Jim Turner George H. Scithers David G. Hartwell Peter Crowther Gavin Grant Donald M. Grant Stephen Jones John Grant Darrell Schweitzer Terri Windling Sean Wallace Mark V. Ziesing Donald Allen Wollheim Marc Gascoigne Gordon Van Gelder Kelly Link Ellen Asher John Clute Robert Weinberg Edward L. Ferman S. T. Joshi Joy Chant E. F. Bleiler
John Clute, Terri Windling and Donald Allen Wollheim emerged victorious in World Fantasy Special Award: Professional
John Clute Terri Windling Donald Allen Wollheim
action filter_type
action find
entity World Fantasy Special Award: Professional
relation winner
type common name
['World Fantasy Special Award: Professional', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:World_Fantasy_Special_Award:_Professional property:winner ?z . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q908589
P551
Q56061
USER
Where did that person reside ?
(Q908589,P551,c(Q56061))
action filter_type
action find
entity Q908589
relation P551
type Q56061
['Q908589', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q908589 property:P551 ?o . ?o rdf:type ontology:Q56061 }
Donald Allen Wollheim
action filter_type
action find
entity Donald Allen Wollheim
relation residence
type administrative territorial entity
['Donald Allen Wollheim', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Donald_Allen_Wollheim property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q908589
SYSTEM
Did you mean Donald Allen Wollheim ?
Q3133864 Q3518754 Q908589
(Q3133864,P551,c(Q56061)) (Q3518754,P551,c(Q56061)) (Q908589,P551,c(Q56061))
[ANSWER]
['Q3133864', 'P551', {'concept': 'Q56061'}] ['Q3518754', 'P551', {'concept': 'Q56061'}] ['Q908589', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q908589 property:P551 ?o . ?o rdf:type ontology:Q56061 }
John Clute Terri Windling Donald Allen Wollheim
Did you mean Donald Allen Wollheim ?
Donald Allen Wollheim
['John Clute', 'residence', {'concept': 'administrative territorial entity'}] ['Terri Windling', 'residence', {'concept': 'administrative territorial entity'}] ['Donald Allen Wollheim', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Donald_Allen_Wollheim property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q908589,P551,c(Q56061))
['Q908589', 'P551', {'concept': 'Q56061'}]
['Donald Allen Wollheim', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q60
SYSTEM
New York City
Q60
(Q908589,P551,c(Q56061))
action filter_type
action find
entity Q908589
relation P551
type Q56061
That person resided in [ANSWER]
['Q908589', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q908589 property:P551 ?o . ?o rdf:type ontology:Q56061 }
New York City
That person resided in New York City
New York City
action filter_type
action find
entity Donald Allen Wollheim
relation residence
type administrative territorial entity
['Donald Allen Wollheim', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Donald_Allen_Wollheim property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027425
P532
Q56061 Q2235308
USER
How many ship types have their base port as greater number of administrative territories than Lorne ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027425
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q24027425 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?m > ?z ) . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?m ) WHERE { ?e property:P532 ?n . ?e rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?e } }
Lorne
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lorne
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Lorne property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?m > ?z ) . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?m ) WHERE { ?e property:port_of_registry ?n . ?e rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027425
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q24027425 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?m > ?z ) . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?m ) WHERE { ?e property:P532 ?n . ?e rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?e } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lorne
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Lorne property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?m > ?z ) . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?m ) WHERE { ?e property:port_of_registry ?n . ?e rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P194
Q1752346
USER
Which assembly represents New York City ?
(Q60,P194,c(Q1752346))
action filter_type
action find
entity Q60
relation P194
type Q1752346
['Q60', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q60 property:P194 ?q . ?q rdf:type ontology:Q1752346 }
New York City
action filter_type
action find
entity New York City
relation legislative body
type assembly
['New York City', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:New_York_City property:legislative_body ?q . ?q rdf:type ontology:assembly }
[]
assembly
Q645195
SYSTEM
New York City Council
Q645195
(Q60,P194,c(Q1752346))
action filter_type
action find
entity Q60
relation P194
type Q1752346
City [ANSWER] represents New York City
['Q60', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q60 property:P194 ?q . ?q rdf:type ontology:Q1752346 }
New York City Council
City New York City Council represents New York City
New York City Council
action filter_type
action find
entity New York City
relation legislative body
type assembly
['New York City', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:New_York_City property:legislative_body ?q . ?q rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q645195 Q30
P17
Q15617994
USER
Is that assembly present in United States of America ?
(Q645195,P17,Q30)
action is_in
entity Q30
action find
entity Q645195
relation P17
['Q645195', 'P17', 'Q30']
ASK WHERE { resource:Q645195 property:P17 resource:Q30 }
New York City Council United States of America
action is_in
entity United States of America
action find
entity New York City Council
relation country
['New York City Council', 'country', 'United States of America']
ASK WHERE { resource:New_York_City_Council property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q645195,P17,Q30)
action is_in
entity Q30
action find
entity Q645195
relation P17
[ANSWER]
['Q645195', 'P17', 'Q30']
ASK WHERE { resource:Q645195 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity New York City Council
relation country
['New York City Council', 'country', 'United States of America']
ASK WHERE { resource:New_York_City_Council property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3518754 Q505599 Q3328850
P27
Q15617994
USER
Is Terri Windling a native of Drochtersen and Yurino, Tver Oblast ?
(Q3518754,P27,Q505599) (Q3518754,P27,Q3328850)
action is_in
entity Q3518754
action intersection
action find_reverse
entity Q505599
relation P27
action find_reverse
entity Q3328850
relation P27
['Q3518754', 'P27', 'Q505599'] ['Q3518754', 'P27', 'Q3328850']
ASK WHERE { resource:Q3518754 property:P27 resource:Q3328850 . resource:Q3518754 property:P27 resource:Q505599 }
Terri Windling Drochtersen Yurino, Tver Oblast
action is_in
entity Terri Windling
action intersection
action find_reverse
entity Drochtersen
relation country of citizenship
action find_reverse
entity Yurino, Tver Oblast
relation country of citizenship
['Terri Windling', 'country of citizenship', 'Drochtersen'] ['Terri Windling', 'country of citizenship', 'Yurino, Tver Oblast']
ASK WHERE { resource:Terri_Windling property:country_of_citizenship resource:Yurino,_Tver_Oblast . resource:Terri_Windling property:country_of_citizenship resource:Drochtersen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3518754,P27,Q505599) (Q3518754,P27,Q3328850)
action is_in
entity Q3518754
action intersection
action find_reverse
entity Q505599
relation P27
action find_reverse
entity Q3328850
relation P27
[ANSWER]
['Q3518754', 'P27', 'Q505599'] ['Q3518754', 'P27', 'Q3328850']
ASK WHERE { resource:Q3518754 property:P27 resource:Q3328850 . resource:Q3518754 property:P27 resource:Q505599 }
No
action is_in
entity Terri Windling
action intersection
action find_reverse
entity Drochtersen
relation country of citizenship
action find_reverse
entity Yurino, Tver Oblast
relation country of citizenship
['Terri Windling', 'country of citizenship', 'Drochtersen'] ['Terri Windling', 'country of citizenship', 'Yurino, Tver Oblast']
ASK WHERE { resource:Terri_Windling property:country_of_citizenship resource:Yurino,_Tver_Oblast . resource:Terri_Windling property:country_of_citizenship resource:Drochtersen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q60 Q51103 Q85
P190
Q56061
USER
Is New York City a sister city of Cali and Cairo ?
(Q60,P190,Q51103) (Q60,P190,Q85)
action is_in
entity Q60
action intersection
action find_reverse
entity Q51103
relation P190
action find_reverse
entity Q85
relation P190
['Q60', 'P190', 'Q51103'] ['Q60', 'P190', 'Q85']
ASK WHERE { resource:Q60 property:P190 resource:Q51103 . resource:Q60 property:P190 resource:Q85 }
New York City Cali Cairo
action is_in
entity New York City
action intersection
action find_reverse
entity Cali
relation sister city
action find_reverse
entity Cairo
relation sister city
['New York City', 'sister city', 'Cali'] ['New York City', 'sister city', 'Cairo']
ASK WHERE { resource:New_York_City property:sister_city resource:Cali . resource:New_York_City property:sister_city resource:Cairo }
[]
administrative territorial entity
SYSTEM
YES
(Q60,P190,Q51103) (Q60,P190,Q85)
action is_in
entity Q60
action intersection
action find_reverse
entity Q51103
relation P190
action find_reverse
entity Q85
relation P190
[ANSWER]
['Q60', 'P190', 'Q51103'] ['Q60', 'P190', 'Q85']
ASK WHERE { resource:Q60 property:P190 resource:Q51103 . resource:Q60 property:P190 resource:Q85 }
Yes
action is_in
entity New York City
action intersection
action find_reverse
entity Cali
relation sister city
action find_reverse
entity Cairo
relation sister city
['New York City', 'sister city', 'Cali'] ['New York City', 'sister city', 'Cairo']
ASK WHERE { resource:New_York_City property:sister_city resource:Cali . resource:New_York_City property:sister_city resource:Cairo }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q515
USER
Which cities have min number of assemblies as their council ?
(c(Q515),P194,c(Q1752346))
action argmin
action find_tuple_counts
relation P194
type Q515
type Q1752346
[{'concept': 'Q515'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?m ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?c property:P194 ?b . ?c rdf:type ontology:Q515 . ?b rdf:type ontology:Q1752346 } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?p ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?p ) WHERE { ?u property:P194 ?x . ?u rdf:type ontology:Q515 . ?x rdf:type ontology:Q1752346 } GROUP BY ?u } } }
action argmin
action find_tuple_counts
relation legislative body
type city
type assembly
[{'concept': 'city'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?m ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?c property:legislative_body ?b . ?c rdf:type ontology:city . ?b rdf:type ontology:assembly } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?p ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?p ) WHERE { ?u property:legislative_body ?x . ?u rdf:type ontology:city . ?x rdf:type ontology:assembly } GROUP BY ?u } } }
[]
assembly city
Q157835 Q235 Q320943
SYSTEM
Zaporizhzhya, Monaco, Matsudo
Q235 Q1826 Q316527 Q5690 Q320943 Q574903 Q1467 Q157835 Q316197 Q1889017 Q315851
(c(Q515),P194,c(Q1752346))
action argmin
action find_tuple_counts
relation P194
type Q515
type Q1752346
[ANSWERS] have min number of assemblies as their council
[{'concept': 'Q515'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?m ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?c property:P194 ?b . ?c rdf:type ontology:Q515 . ?b rdf:type ontology:Q1752346 } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?p ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?p ) WHERE { ?u property:P194 ?x . ?u rdf:type ontology:Q515 . ?x rdf:type ontology:Q1752346 } GROUP BY ?u } } }
Monaco Tagbilaran Toledo Sparta Matsudo Lapu-Lapu Cebu City Zaporizhzhya Naga Mandaue Carcar
Zaporizhzhya, Monaco and Matsudo have min number of assemblies as their council
Zaporizhzhya Monaco Matsudo
action argmin
action find_tuple_counts
relation legislative body
type city
type assembly
[{'concept': 'city'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?m ) . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?c property:legislative_body ?b . ?c rdf:type ontology:city . ?b rdf:type ontology:assembly } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?p ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?p ) WHERE { ?u property:legislative_body ?x . ?u rdf:type ontology:city . ?x rdf:type ontology:assembly } GROUP BY ?u } } }
[]