Simple Question (Direct)
Simple Question
Q2581441
P27
Q15617994
USER
Which administrative territory is Willie Jones an inhabitant of ?
(Q2581441,P27,c(Q15617994))
action filter_type
action find
entity Q2581441
relation P27
type Q15617994
['Q2581441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2581441 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Willie Jones
action filter_type
action find
entity Willie Jones
relation country of citizenship
type designation for an administrative territorial entity
['Willie Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Willie_Jones property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2581441,P27,c(Q15617994))
action filter_type
action find
entity Q2581441
relation P27
type Q15617994
The [ANSWER] is Willie Jones an inhabitant of
['Q2581441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2581441 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
The United States of America is Willie Jones an inhabitant of
United States of America
action filter_type
action find
entity Willie Jones
relation country of citizenship
type designation for an administrative territorial entity
['Willie Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Willie_Jones property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P47
Q15617994
USER
Which administrative territories share border with that one ?
(c(Q15617994),P47,Q30)
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P47 resource:Q30 . ?p rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:shares_border_with resource:United_States_of_America . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q96 Q717
SYSTEM
Russia, Mexico, Venezuela
Q241 Q717 Q96 Q159 Q804
(c(Q15617994),P47,Q30)
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[ANSWERS] share border with that one
[{'concept': 'Q15617994'}, 'P47', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P47 resource:Q30 . ?p rdf:type ontology:Q15617994 }
Cuba Venezuela Mexico Russia Panama
Russia, Mexico and Venezuela share border with that one
Russia Mexico Venezuela
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:shares_border_with resource:United_States_of_America . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P495
Q15850590 Q2342494
USER
How many theatrical genres or collectables originated in Russia ?
(c(Q15850590),P495,Q159) (c(Q2342494),P495,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P495
type Q15850590
action filter_type
action find_reverse
entity Q159
relation P495
type Q2342494
[{'concept': 'Q15850590'}, 'P495', 'Q159'] [{'concept': 'Q2342494'}, 'P495', 'Q159']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P495 resource:Q159 . ?f rdf:type ontology:Q15850590 } UNION { ?f property:P495 resource:Q159 . ?f rdf:type ontology:Q2342494 } }
Russia
action count
action union
action filter_type
action find_reverse
entity Russia
relation country of origin
type theatrical genre
action filter_type
action find_reverse
entity Russia
relation country of origin
type collectable
[{'concept': 'theatrical genre'}, 'country of origin', 'Russia'] [{'concept': 'collectable'}, 'country of origin', 'Russia']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:country_of_origin resource:Russia . ?f rdf:type ontology:theatrical_genre } UNION { ?f property:country_of_origin resource:Russia . ?f rdf:type ontology:collectable } }
[]
theatrical genre collectable
SYSTEM
87
Q4230880 Q3506351 Q4380187 Q29424 Q4656377 Q4101688 Q16386226 Q13231474 Q4271764 Q1886719 Q2345826 Q183157 Q7759074 Q14755380 Q4146391 Q3506326 Q4400484 Q1365904 Q7746232 Q4271771 Q4463099 Q916423 Q5309566 Q2631397 Q19915752 Q396602 Q2369270 Q4310985 Q3549564 Q2633327 Q4316703 Q1966961 Q4971781 Q1968901 Q25394796 Q4279585 Q5474568 Q180745 Q2714888 Q2065737 Q4120736 Q27503008 Q1094891 Q25840430 Q4326895 Q15042127 Q4329937 Q4402130 Q4426097 Q4631457 Q2388084 Q50948 Q4243385 Q2993164 Q4158287 Q4292361 Q3650753 Q1501991 Q842074 Q4465921 Q4516436 Q282441 Q4201332 Q4072223 Q2072257 Q223688 Q2332901 Q4388317 Q7769295 Q4479891 Q24347131 Q1968842 Q1966790 Q21212608 Q1042011 Q16271878 Q20615122 Q7067937 Q4424396 Q4266986 Q1966939 Q2631363 Q4126297 Q4242848 Q1966835 Q4135514 Q4952236
(c(Q15850590),P495,Q159) (c(Q2342494),P495,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P495
type Q15850590
action filter_type
action find_reverse
entity Q159
relation P495
type Q2342494
[ANSWER]
[{'concept': 'Q15850590'}, 'P495', 'Q159'] [{'concept': 'Q2342494'}, 'P495', 'Q159']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P495 resource:Q159 . ?f rdf:type ontology:Q15850590 } UNION { ?f property:P495 resource:Q159 . ?f rdf:type ontology:Q2342494 } }
Competitors Spectrum Transparent Stained-Glass Windows Fathers and Sons A Decayed Family Two Steps from Heaven Ice Metro 2035 He Lover of Death The Turkish Gambit Sankya The Brothers Karamazov The Queue The Pathologies The Golovlyov Family Line of Delirium Russian beauty Metro 2034 The Last of the Immortals She Lover of Death Thirteenth City Metro 2033 Dry Valley The Winter Queen Sixth Watch The Death of Ivan Ilyich Last Watch At Daggers Drawn A Common Story Home of the Gentry No Way Out The Coronation Bro False Mirrors Anna Karenina The Boy and the Darkness Foundations of Geopolitics Zadonshchina Day Watch Family Happiness Omon Ra Kahym-Ture Rudin The Children of Rosenthal New Watch Sin The Precipice Knights of Forty Islands The Cathedral Clergy 23,000 King, Queen Eugene Onegin Who is to Blame? Twilight Watch Day of the Oprichnik The Notre Dame de Paris Mosque The History of a Town Generation "П" Oblomov The Simpleton Final Draft Generations of Winter The Insider Nuclear Dream Hadji Murat The Gambler Invitation to a Beheading Conversation with a Barbarian: Interviews with a Chechen Field Commander on Banditry and Islam The Time: Night F.M. With Chronos' Permit Labyrinth of Reflections The Diamond Chariot History of Petrozavodsk State University 1940-2000 Night Watch Encyclopedia Karelia Ivan Yakovlev Nuclear Dream The Death of the Gods A Lord from Planet Earth The State Counsellor Murder on the Leviathan The Romance of Leonardo da Vinci Wings The Death of Achilles Genome Boyarshchina
87
action count
action union
action filter_type
action find_reverse
entity Russia
relation country of origin
type theatrical genre
action filter_type
action find_reverse
entity Russia
relation country of origin
type collectable
[{'concept': 'theatrical genre'}, 'country of origin', 'Russia'] [{'concept': 'collectable'}, 'country of origin', 'Russia']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:country_of_origin resource:Russia . ?f rdf:type ontology:theatrical_genre } UNION { ?f property:country_of_origin resource:Russia . ?f rdf:type ontology:collectable } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P47
Q15617994
USER
How many administrative territories share border with Russia ?
(Q159,P47,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P47
type Q15617994
['Q159', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q159 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation shares border with
type designation for an administrative territorial entity
['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Russia property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
16
Q227 Q20 Q423 Q211 Q230 Q232 Q191 Q184 Q711 Q33 Q17 Q30 Q37 Q36 Q212 Q148
(Q159,P47,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P47
type Q15617994
[ANSWER]
['Q159', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q159 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Azerbaijan Norway North Korea Latvia Georgia Kazakhstan Estonia Belarus Mongolia Finland Japan United States of America Lithuania Poland Ukraine People's Republic of China
16
action count
action filter_type
action find
entity Russia
relation shares border with
type designation for an administrative territorial entity
['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Russia property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q91476
P47
Q15617994
USER
And what about Torrita di Siena?
(Q91476,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91476
relation P47
type Q15617994
['Q91476', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q91476 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Torrita di Siena
action count
action filter_type
action find
entity Torrita di Siena
relation shares border with
type designation for an administrative territorial entity
['Torrita di Siena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Torrita_di_Siena property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q91484 Q91464 Q91217 Q52080 Q91341
(Q91476,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91476
relation P47
type Q15617994
[ANSWER]
['Q91476', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q91476 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Trequanda Sinalunga Montepulciano Cortona Pienza
5
action count
action filter_type
action find
entity Torrita di Siena
relation shares border with
type designation for an administrative territorial entity
['Torrita di Siena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Torrita_di_Siena property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1590715
Q15617994
USER
And also tell me about Modrava?
(Q1590715,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1590715
relation P47
type Q15617994
['Q1590715', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q1590715 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Modrava
action count
action filter_type
action find
entity Modrava
relation shares border with
type designation for an administrative territorial entity
['Modrava', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Modrava property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q1590715,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1590715
relation P47
type Q15617994
[ANSWER]
['Q1590715', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q1590715 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
4
action count
action filter_type
action find
entity Modrava
relation shares border with
type designation for an administrative territorial entity
['Modrava', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Modrava property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1590715
P17
Q15617994
USER
Which administrative territory is Modrava situated in ?
(Q1590715,P17,c(Q15617994))
action filter_type
action find
entity Q1590715
relation P17
type Q15617994
['Q1590715', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1590715 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Modrava
action filter_type
action find
entity Modrava
relation country
type designation for an administrative territorial entity
['Modrava', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Modrava property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1590715,P17,c(Q15617994))
action filter_type
action find
entity Q1590715
relation P17
type Q15617994
Modrava is situated in [ANSWER]
['Q1590715', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1590715 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Czech Republic
Modrava is situated in Czech Republic
Czech Republic
action filter_type
action find
entity Modrava
relation country
type designation for an administrative territorial entity
['Modrava', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Modrava property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P921
Q191067
USER
Which articles were primarily based on Russia ?
(c(Q191067),P921,Q159)
action filter_type
action find_reverse
entity Q159
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q159']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q159 . ?e rdf:type ontology:Q191067 }
Russia
action filter_type
action find_reverse
entity Russia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Russia']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Russia . ?e rdf:type ontology:article }
[]
article
Q20655465 Q24256466
SYSTEM
EB-11 / Russia, EB-12 / Russia
Q20655465 Q24256466
(c(Q191067),P921,Q159)
action filter_type
action find_reverse
entity Q159
relation P921
type Q191067
[ANSWERS] were primarily based on Russia
[{'concept': 'Q191067'}, 'P921', 'Q159']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q159 . ?e rdf:type ontology:Q191067 }
EB-11 / Russia EB-12 / Russia
EB-11 / Russia and EB-12 / Russia were primarily based on Russia
EB-11 / Russia EB-12 / Russia
action filter_type
action find_reverse
entity Russia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Russia']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Russia . ?e rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P36
Q56061
USER
Which administrative territory is known as the capital of Russia ?
(Q159,P36,c(Q56061))
action filter_type
action find
entity Q159
relation P36
type Q56061
['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q159 property:P36 ?u . ?u rdf:type ontology:Q56061 }
Russia
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Russia property:capital ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q159,P36,c(Q56061))
action filter_type
action find
entity Q159
relation P36
type Q56061
As [ANSWER] is known as the capital of Russia
['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q159 property:P36 ?u . ?u rdf:type ontology:Q56061 }
Moscow
As Moscow is known as the capital of Russia
Moscow
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Russia property:capital ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P1376
Q56061
USER
Which administrative territory is the county seat of that administrative territory ?
(c(Q56061),P1376,Q649)
action filter_type
action find_reverse
entity Q159
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q649']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q159 . ?v rdf:type ontology:Q56061 }
Russia
action filter_type
action find_reverse
entity Russia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Moscow']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Russia . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(c(Q56061),P1376,Q649)
action filter_type
action find_reverse
entity Q159
relation P1376
type Q56061
City [ANSWER] is the county seat of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q649']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q159 . ?v rdf:type ontology:Q56061 }
Moscow
City Moscow is the county seat of that administrative territory
Moscow
action filter_type
action find_reverse
entity Russia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Moscow']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Russia . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1902112 Q159
P530 P27
Q1048835
USER
Which political territories have diplomatic relations with Russia and are not the countries of citizenship of Marlis Schwenk ?
AND((Q159,P530,c(Q1048835)), NOT((Q1902112,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q159
relation P530
action find
entity Q1902112
relation P27
type Q1048835
{'AND': [['Q159', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q1902112', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q159 property:P530 ?c . FILTER NOT EXISTS { resource:Q1902112 property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Marlis Schwenk Russia
action filter_type
action difference
action find
entity Russia
relation diplomatic relation
action find
entity Marlis Schwenk
relation country of citizenship
type political territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Marlis Schwenk', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Russia property:diplomatic_relation ?c . FILTER NOT EXISTS { resource:Marlis_Schwenk property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
AND((Q159,P530,c(Q1048835)), NOT((Q1902112,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q159
relation P530
action find
entity Q1902112
relation P27
type Q1048835
[ANSWERS] have diplomatic relations with Russia and are not the countries of citizenship of Marlis Schwenk
{'AND': [['Q159', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q1902112', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q159 property:P530 ?c . FILTER NOT EXISTS { resource:Q1902112 property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Australia Canada
Australia and Canada have diplomatic relations with Russia and are not the countries of citizenship of Marlis Schwenk
Australia Canada
action filter_type
action difference
action find
entity Russia
relation diplomatic relation
action find
entity Marlis Schwenk
relation country of citizenship
type political territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Marlis Schwenk', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Russia property:diplomatic_relation ?c . FILTER NOT EXISTS { resource:Marlis_Schwenk property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q16
P17
Q1048835
USER
Which political territories are those ones present in ?
(Q408,P17,c(Q1048835)) (Q16,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q408', 'P17', {'concept': 'Q1048835'}] ['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . VALUES ( ?h ) { ( resource:Q408 ) ( resource:Q16 ) } . ?h property:P17 ?p }
Australia Canada
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Australia', 'country', {'concept': 'political territorial entity'}] ['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . VALUES ( ?h ) { ( resource:Australia ) ( resource:Canada ) } . ?h property:country ?p }
[]
political territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(Q408,P17,c(Q1048835)) (Q16,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those ones are in [ANSWERS]
['Q408', 'P17', {'concept': 'Q1048835'}] ['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . VALUES ( ?h ) { ( resource:Q408 ) ( resource:Q16 ) } . ?h property:P17 ?p }
Australia Canada
Those ones are in Australia and Canada
Australia Canada
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Australia', 'country', {'concept': 'political territorial entity'}] ['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . VALUES ( ?h ) { ( resource:Australia ) ( resource:Canada ) } . ?h property:country ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1902112
P39
Q12737077
USER
Which occupation was a position held by Marlis Schwenk ?
(Q1902112,P39,c(Q12737077))
action filter_type
action find
entity Q1902112
relation P39
type Q12737077
['Q1902112', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1902112 property:P39 ?j }
Marlis Schwenk
action filter_type
action find
entity Marlis Schwenk
relation position held
type occupation
['Marlis Schwenk', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Marlis_Schwenk property:position_held ?j }
[]
occupation
Q18130478
SYSTEM
Member of the Landtag of Saarland
Q18130478
(Q1902112,P39,c(Q12737077))
action filter_type
action find
entity Q1902112
relation P39
type Q12737077
The [ANSWER] was a position held by Marlis Schwenk
['Q1902112', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1902112 property:P39 ?j }
Member of the Landtag of Saarland
The Member of the Landtag of Saarland was a position held by Marlis Schwenk
Member of the Landtag of Saarland
action filter_type
action find
entity Marlis Schwenk
relation position held
type occupation
['Marlis Schwenk', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Marlis_Schwenk property:position_held ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1902112
P102
Q7278
USER
Which political party is Marlis Schwenk a member of ?
(Q1902112,P102,c(Q7278))
action filter_type
action find
entity Q1902112
relation P102
type Q7278
['Q1902112', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q1902112 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Marlis Schwenk
action filter_type
action find
entity Marlis Schwenk
relation member of political party
type political party
['Marlis Schwenk', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Marlis_Schwenk property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1902112,P102,c(Q7278))
action filter_type
action find
entity Q1902112
relation P102
type Q7278
Party [ANSWER] is Marlis Schwenk a member of
['Q1902112', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q1902112 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Marlis Schwenk a member of
Social Democratic Party of Germany
action filter_type
action find
entity Marlis Schwenk
relation member of political party
type political party
['Marlis Schwenk', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Marlis_Schwenk property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49768
P108
Q502895
USER
Who works for that political party ?
(c(Q502895),P108,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49768']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q49768 . ?h rdf:type ontology:Q502895 }
Social Democratic Party of Germany
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Social_Democratic_Party_of_Germany . ?h rdf:type ontology:common_name }
[]
common name
Q15606894
SYSTEM
Yasmin Fahimi
Q15606894
(c(Q502895),P108,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P108
type Q502895
[ANSWER] works for that political party
[{'concept': 'Q502895'}, 'P108', 'Q49768']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q49768 . ?h rdf:type ontology:Q502895 }
Yasmin Fahimi
Yasmin Fahimi works for that political party
Yasmin Fahimi
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Social_Democratic_Party_of_Germany . ?h rdf:type ontology:common_name }
[]