Simple Question (Direct)
Simple Question
Q5229455
P27
Q15617994
USER
Which administrative territory is the native country of Dave Nellist ?
(Q5229455,P27,c(Q15617994))
action filter_type
action find
entity Q5229455
relation P27
type Q15617994
['Q5229455', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5229455 property:P27 ?r }
Dave Nellist
action filter_type
action find
entity Dave Nellist
relation country of citizenship
type designation for an administrative territorial entity
['Dave Nellist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dave_Nellist property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5229455,P27,c(Q15617994))
action filter_type
action find
entity Q5229455
relation P27
type Q15617994
The [ANSWER] is the native country of Dave Nellist
['Q5229455', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5229455 property:P27 ?r }
United Kingdom
The United Kingdom is the native country of Dave Nellist
United Kingdom
action filter_type
action find
entity Dave Nellist
relation country of citizenship
type designation for an administrative territorial entity
['Dave Nellist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dave_Nellist property:country_of_citizenship ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5229455
P102
Q7210356
USER
Which parties do that person belong to ?
(Q145,P102,c(Q7210356))
action filter_type
action find
entity Q5229455
relation P102
type Q7210356
['Q145', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q5229455 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Dave Nellist
action filter_type
action find
entity Dave Nellist
relation member of political party
type political organization
['United Kingdom', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Dave_Nellist property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q9630 Q367894
SYSTEM
Labour Party, Socialist Party
Q9630 Q367894
(Q145,P102,c(Q7210356))
action filter_type
action find
entity Q5229455
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q145', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q5229455 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Labour Party Socialist Party
That person belong to Labour Party and Socialist Party
Labour Party Socialist Party
action filter_type
action find
entity Dave Nellist
relation member of political party
type political organization
['United Kingdom', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Dave_Nellist property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q314212 Q5229455
P937 P20
Q56061
USER
Which administrative territories are the work locations of Dave Nellist or did Afanasy Fet expire ?
OR((Q5229455,P937,c(Q56061)), (Q314212,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5229455
relation P937
action find
entity Q314212
relation P20
type Q56061
{'OR': [['Q5229455', 'P937', {'concept': 'Q56061'}], ['Q314212', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5229455 property:P937 ?e } UNION { resource:Q314212 property:P20 ?e } } . ?e rdf:type ontology:Q56061 }
Afanasy Fet Dave Nellist
action filter_type
action union
action find
entity Dave Nellist
relation work location
action find
entity Afanasy Fet
relation place of death
type administrative territorial entity
{'OR': [['Dave Nellist', 'work location', {'concept': 'administrative territorial entity'}], ['Afanasy Fet', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Dave_Nellist property:work_location ?e } UNION { resource:Afanasy_Fet property:place_of_death ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q84
SYSTEM
Moscow, London
Q649 Q84
OR((Q5229455,P937,c(Q56061)), (Q314212,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5229455
relation P937
action find
entity Q314212
relation P20
type Q56061
[ANSWERS] are the work locations of Dave Nellist or did Afanasy Fet expire
{'OR': [['Q5229455', 'P937', {'concept': 'Q56061'}], ['Q314212', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5229455 property:P937 ?e } UNION { resource:Q314212 property:P20 ?e } } . ?e rdf:type ontology:Q56061 }
Moscow London
Moscow and London are the work locations of Dave Nellist or did Afanasy Fet expire
Moscow London
action filter_type
action union
action find
entity Dave Nellist
relation work location
action find
entity Afanasy Fet
relation place of death
type administrative territorial entity
{'OR': [['Dave Nellist', 'work location', {'concept': 'administrative territorial entity'}], ['Afanasy Fet', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Dave_Nellist property:work_location ?e } UNION { resource:Afanasy_Fet property:place_of_death ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19572326
P915
Q838948
USER
Did Jyothirgamaya have those administrative territories as their location of filming ?
(Q19572326,P915,Q649) (Q19572326,P915,Q84)
action is_in
entity prev_answer
action find
entity Q19572326
relation P915
['Q19572326', 'P915', 'Q649'] ['Q19572326', 'P915', 'Q84']
ASK WHERE { resource:Q19572326 property:P915 ?q . VALUES ( ?q ) { ( resource:Q649 ) ( resource:Q84 ) } }
Jyothirgamaya
action is_in
entity prev_answer
action find
entity Jyothirgamaya
relation filming location
['Jyothirgamaya', 'filming location', 'Moscow'] ['Jyothirgamaya', 'filming location', 'London']
ASK WHERE { resource:Jyothirgamaya property:filming_location ?q . VALUES ( ?q ) { ( resource:Moscow ) ( resource:London ) } }
[]
work of art
SYSTEM
NO
(Q19572326,P915,Q649) (Q19572326,P915,Q84)
action is_in
entity prev_answer
action find
entity Q19572326
relation P915
[ANSWER]
['Q19572326', 'P915', 'Q649'] ['Q19572326', 'P915', 'Q84']
ASK WHERE { resource:Q19572326 property:P915 ?q . VALUES ( ?q ) { ( resource:Q649 ) ( resource:Q84 ) } }
No
action is_in
entity prev_answer
action find
entity Jyothirgamaya
relation filming location
['Jyothirgamaya', 'filming location', 'Moscow'] ['Jyothirgamaya', 'filming location', 'London']
ASK WHERE { resource:Jyothirgamaya property:filming_location ?q . VALUES ( ?q ) { ( resource:Moscow ) ( resource:London ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q649 Q12113305 Q1490
P190
Q56061
USER
Is Moscow twin city of Corugea and Tokyo ?
(Q649,P190,Q12113305) (Q649,P190,Q1490)
action is_in
entity Q649
action intersection
action find_reverse
entity Q12113305
relation P190
action find_reverse
entity Q1490
relation P190
['Q649', 'P190', 'Q12113305'] ['Q649', 'P190', 'Q1490']
ASK WHERE { resource:Q649 property:P190 resource:Q12113305 . resource:Q649 property:P190 resource:Q1490 }
Moscow Corugea Tokyo
action is_in
entity Moscow
action intersection
action find_reverse
entity Corugea
relation sister city
action find_reverse
entity Tokyo
relation sister city
['Moscow', 'sister city', 'Corugea'] ['Moscow', 'sister city', 'Tokyo']
ASK WHERE { resource:Moscow property:sister_city resource:Corugea . resource:Moscow property:sister_city resource:Tokyo }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q649,P190,Q12113305) (Q649,P190,Q1490)
action is_in
entity Q649
action intersection
action find_reverse
entity Q12113305
relation P190
action find_reverse
entity Q1490
relation P190
[ANSWER]
['Q649', 'P190', 'Q12113305'] ['Q649', 'P190', 'Q1490']
ASK WHERE { resource:Q649 property:P190 resource:Q12113305 . resource:Q649 property:P190 resource:Q1490 }
NO and YES respectively
action is_in
entity Moscow
action intersection
action find_reverse
entity Corugea
relation sister city
action find_reverse
entity Tokyo
relation sister city
['Moscow', 'sister city', 'Corugea'] ['Moscow', 'sister city', 'Tokyo']
ASK WHERE { resource:Moscow property:sister_city resource:Corugea . resource:Moscow property:sister_city resource:Tokyo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q84 Q1641781 Q1022054
P190
Q515
USER
Is London twin town of Vítkov and Bělá nad Radbuzou ?
(Q84,P190,Q1641781) (Q84,P190,Q1022054)
action is_in
entity Q84
action intersection
action find_reverse
entity Q1641781
relation P190
action find_reverse
entity Q1022054
relation P190
['Q84', 'P190', 'Q1641781'] ['Q84', 'P190', 'Q1022054']
ASK WHERE { resource:Q84 property:P190 resource:Q1641781 . resource:Q84 property:P190 resource:Q1022054 }
London Vítkov Bělá nad Radbuzou
action is_in
entity London
action intersection
action find_reverse
entity Vítkov
relation sister city
action find_reverse
entity Bělá nad Radbuzou
relation sister city
['London', 'sister city', 'Vítkov'] ['London', 'sister city', 'Bělá nad Radbuzou']
ASK WHERE { resource:London property:sister_city resource:Vítkov . resource:London property:sister_city resource:Bělá_nad_Radbuzou }
[]
city
SYSTEM
NO
(Q84,P190,Q1641781) (Q84,P190,Q1022054)
action is_in
entity Q84
action intersection
action find_reverse
entity Q1641781
relation P190
action find_reverse
entity Q1022054
relation P190
[ANSWER]
['Q84', 'P190', 'Q1641781'] ['Q84', 'P190', 'Q1022054']
ASK WHERE { resource:Q84 property:P190 resource:Q1641781 . resource:Q84 property:P190 resource:Q1022054 }
No
action is_in
entity London
action intersection
action find_reverse
entity Vítkov
relation sister city
action find_reverse
entity Bělá nad Radbuzou
relation sister city
['London', 'sister city', 'Vítkov'] ['London', 'sister city', 'Bělá nad Radbuzou']
ASK WHERE { resource:London property:sister_city resource:Vítkov . resource:London property:sister_city resource:Bělá_nad_Radbuzou }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q118922
P159
Q56061
USER
How many administrative territories are the HQ of London or United Nations Observer Mission in Georgia ?
(Q84,P159,c(Q56061)) (Q118922,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q84
relation P159
type Q56061
action filter_type
action find
entity Q118922
relation P159
type Q56061
['Q84', 'P159', {'concept': 'Q56061'}] ['Q118922', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:P159 ?p . VALUES ( ?q ) { ( resource:Q84 ) ( resource:Q118922 ) } }
London United Nations Observer Mission in Georgia
action count
action union
action filter_type
action find
entity London
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations Observer Mission in Georgia
relation headquarters location
type administrative territorial entity
['London', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations Observer Mission in Georgia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:headquarters_location ?p . VALUES ( ?q ) { ( resource:London ) ( resource:United_Nations_Observer_Mission_in_Georgia ) } }
[]
administrative territorial entity
SYSTEM
2
Q40811 Q994
(Q84,P159,c(Q56061)) (Q118922,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q84
relation P159
type Q56061
action filter_type
action find
entity Q118922
relation P159
type Q56061
[ANSWER]
['Q84', 'P159', {'concept': 'Q56061'}] ['Q118922', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:P159 ?p . VALUES ( ?q ) { ( resource:Q84 ) ( resource:Q118922 ) } }
Sokhumi Tbilisi
2
action count
action union
action filter_type
action find
entity London
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations Observer Mission in Georgia
relation headquarters location
type administrative territorial entity
['London', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations Observer Mission in Georgia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:headquarters_location ?p . VALUES ( ?q ) { ( resource:London ) ( resource:United_Nations_Observer_Mission_in_Georgia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P740
Q43229
USER
What are the organizations that were formed at London ?
(c(Q43229),P740,Q84)
action filter_type
action find_reverse
entity Q84
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q84']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q84 . ?l rdf:type ontology:Q43229 }
London
action filter_type
action find_reverse
entity London
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'London']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:London . ?l rdf:type ontology:organization }
[]
organization
Q27074 Q22669038 Q638098
SYSTEM
Aston Martin, Corporate Citizenship, Royal Mail
Q1474307 Q5132321 Q834648 Q1961890 Q3751095 Q7600114 Q6107402 Q392755 Q7339166 Q597191 Q5072244 Q19903727 Q6150951 Q3012558 Q16996223 Q2828220 Q5270359 Q5124371 Q1462745 Q18161048 Q2537546 Q157169 Q10854572 Q731938 Q7203244 Q4037666 Q773404 Q769324 Q3684984 Q5001712 Q607631 Q8072390 Q3020511 Q1668090 Q1318049 Q3828114 Q24263115 Q895392 Q22669038 Q1388481 Q6050440 Q924963 Q3398859 Q1207680 Q3786533 Q3555208 Q172740 Q3841154 Q7158638 Q926921 Q1821134 Q4970648 Q3088141 Q426992 Q7598175 Q1891246 Q7580244 Q587270 Q20746257 Q7072307 Q7385188 Q6908932 Q151779 Q579524 Q3408814 Q17086196 Q675808 Q7517983 Q671465 Q591797 Q1784995 Q2742196 Q18737094 Q1986392 Q7924463 Q966846 Q5415901 Q16987307 Q6280747 Q1430712 Q5061368 Q27074 Q7772772 Q7442221 Q638098 Q1630624 Q3788641 Q7864686 Q17032875 Q653630 Q5324505 Q1208203 Q1142797 Q4674554 Q6715849 Q4724029 Q16972189
(c(Q43229),P740,Q84)
action filter_type
action find_reverse
entity Q84
relation P740
type Q43229
The organizations that were formed at London are [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q84']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q84 . ?l rdf:type ontology:Q43229 }
United International Pictures Clever Bins Boosey & Hawkes N M Rothschild & Sons Franco-British Aviation Stannah Lifts J. W. Walker & Sons Ltd Agent Provocateur RjDj Rothmans International ChannelFlip Touch Surgery Zemaitis Guitars Dalton Maag Lewis Leathers Air Partner PLC Diagonal View Civica The Rocco Forte Collection Osborne & Little WOW HD YMCA HMV Group AstraZeneca Played in Britain Ducks Deluxe Blue Star Line Orange Music Electronic Company Compagnia Reale delle Ferrovie Sarde Business Disability Forum Ashendene Press Zingaya The Irrepressibles Interoute WPP plc Incorporated Council of Law Reporting Soundreef Bowater Corporate Citizenship Schillings International Federation of Inventors' Associations Charles Tyrwhitt Holland & Holland Saatchi & Saatchi Honeybus Vega4 Cosworth M. W. Kellogg Limited Peccadillo Pictures Imperial British East Africa Company Letraset British Quality Foundation Harvey Nichols Pepe Jeans Standard Bank Marine Stewardship Council Spread Co Games Workshop Moo.com OB10 Ryman Morada Waterstones Ann Summers Henry Poole & Co GRNlive Caffè Nero Simmons & Simmons Marshall Amplification Imperial Airways Alfred Dunhill Petrofac SunLife Turnbull & Asser Viagogo Rimmel Evans Cycles Investis Joseph Lloyd's of London Central Line Aston Martin The Viral Factory Seatwave Royal Mail Wine-Searcher INQ UHY Hacker Young Wall to Wall Wilkinson Sword ETX Capital General Electric Company plc Schroders Acorn Media UK MHP Communications Algebris Capacitygrid
The organizations that were formed at London are Aston Martin, Corporate Citizenship and Royal Mail
Aston Martin Corporate Citizenship Royal Mail
action filter_type
action find_reverse
entity London
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'London']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:London . ?l rdf:type ontology:organization }
[]