Simple Question (Direct)
Simple Question
Q11708436
P21
Q290
USER
Which sex does Halina Evert-Kappesowa belong to ?
(Q11708436,P21,c(Q290))
action filter_type
action find
entity Q11708436
relation P21
type Q290
['Q11708436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q11708436 property:P21 ?u . ?u rdf:type ontology:Q290 }
Halina Evert-Kappesowa
action filter_type
action find
entity Halina Evert-Kappesowa
relation gender
type sex
['Halina Evert-Kappesowa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Halina_Evert-Kappesowa property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q11708436,P21,c(Q290))
action filter_type
action find
entity Q11708436
relation P21
type Q290
Halina Evert-Kappesowa belongs to [ANSWER]
['Q11708436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q11708436 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
Halina Evert-Kappesowa belongs to female
female
action filter_type
action find
entity Halina Evert-Kappesowa
relation gender
type sex
['Halina Evert-Kappesowa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Halina_Evert-Kappesowa property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11708436
P20
Q56061
USER
Where did the demise of Halina Evert-Kappesowa occur ?
(Q11708436,P20,c(Q56061))
action filter_type
action find
entity Q11708436
relation P20
type Q56061
['Q11708436', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q11708436 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Halina Evert-Kappesowa
action filter_type
action find
entity Halina Evert-Kappesowa
relation place of death
type administrative territorial entity
['Halina Evert-Kappesowa', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Halina_Evert-Kappesowa property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q580
SYSTEM
Łódź
Q580
(Q11708436,P20,c(Q56061))
action filter_type
action find
entity Q11708436
relation P20
type Q56061
The demise of Halina Evert-Kappesowa occurred of [ANSWER]
['Q11708436', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q11708436 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Łódź
The demise of Halina Evert-Kappesowa occurred of Łódź
Łódź
action filter_type
action find
entity Halina Evert-Kappesowa
relation place of death
type administrative territorial entity
['Halina Evert-Kappesowa', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Halina_Evert-Kappesowa property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3561343
Q56061
USER
And also tell me about Vittore Branca?
(Q3561343,P20,c(Q56061))
action filter_type
action find
entity Q3561343
relation P20
type Q56061
['Q3561343', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3561343 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Vittore Branca
action filter_type
action find
entity Vittore Branca
relation place of death
type administrative territorial entity
['Vittore Branca', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vittore_Branca property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q3561343,P20,c(Q56061))
action filter_type
action find
entity Q3561343
relation P20
type Q56061
[ANSWER]
['Q3561343', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3561343 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Venice
Venice
action filter_type
action find
entity Vittore Branca
relation place of death
type administrative territorial entity
['Vittore Branca', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vittore_Branca property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q641
P840
Q838948 Q15850590
USER
How many works of art or theatrical genres have their narrative set in Venice ?
(c(Q838948),P840,Q641) (c(Q15850590),P840,Q641)
action count
action union
action filter_type
action find_reverse
entity Q641
relation P840
type Q838948
action filter_type
action find_reverse
entity Q641
relation P840
type Q15850590
[{'concept': 'Q838948'}, 'P840', 'Q641'] [{'concept': 'Q15850590'}, 'P840', 'Q641']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } }
Venice
action count
action union
action filter_type
action find_reverse
entity Venice
relation narrative location
type work of art
action filter_type
action find_reverse
entity Venice
relation narrative location
type theatrical genre
[{'concept': 'work of art'}, 'narrative location', 'Venice'] [{'concept': 'theatrical genre'}, 'narrative location', 'Venice']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } }
[]
work of art theatrical genre
SYSTEM
13
Q643268 Q6466285 Q3032583 Q972695 Q334780 Q3793158 Q1743483 Q26833 Q151904 Q630476 Q106571 Q748840 Q794524
(c(Q838948),P840,Q641) (c(Q15850590),P840,Q641)
action count
action union
action filter_type
action find_reverse
entity Q641
relation P840
type Q838948
action filter_type
action find_reverse
entity Q641
relation P840
type Q15850590
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q641'] [{'concept': 'Q15850590'}, 'P840', 'Q641']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } }
Italian for Beginners La nave Dieci inverni Le donne curiose Moonraker Il bravo, ossia La veneziana Le pont des soupirs Othello Casino Royale Death in Venice From Russia with Love La Gioconda Bianca e Falliero, o sia Il consiglio di tre
13
action count
action union
action filter_type
action find_reverse
entity Venice
relation narrative location
type work of art
action filter_type
action find_reverse
entity Venice
relation narrative location
type theatrical genre
[{'concept': 'work of art'}, 'narrative location', 'Venice'] [{'concept': 'theatrical genre'}, 'narrative location', 'Venice']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P190
Q56061
USER
Which administrative territories are twin towns of Venice ?
(Q641,P190,c(Q56061))
action filter_type
action find
entity Q641
relation P190
type Q56061
['Q641', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q641 property:P190 ?a }
Venice
action filter_type
action find
entity Venice
relation sister city
type administrative territorial entity
['Venice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Venice property:sister_city ?a }
[]
administrative territorial entity
Q406 Q2090 Q33959
SYSTEM
Istanbul, Nuremberg, Nice
Q546 Q33959 Q48195 Q13369 Q165972 Q182025 Q9248 Q17151 Q406 Q597 Q171882 Q1382 Q2090 Q1770 Q42053 Q33935
(Q641,P190,c(Q56061))
action filter_type
action find
entity Q641
relation P190
type Q56061
[ANSWERS] are twin towns of Venice
['Q641', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q641 property:P190 ?a }
Trieste Nice Basra Rimini Fort Lauderdale Aksaray Baku Thessaloniki Istanbul Lisbon Larnaca Piran Nuremberg Tallinn Isfahan Tel Aviv
Istanbul, Nuremberg and Nice are twin towns of Venice
Istanbul Nuremberg Nice
action filter_type
action find
entity Venice
relation sister city
type administrative territorial entity
['Venice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Venice property:sister_city ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4356
Q56061
USER
And also tell me about Wedel?
(Q4356,P190,c(Q56061))
action filter_type
action find
entity Q4356
relation P190
type Q56061
['Q4356', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4356 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Wedel
action filter_type
action find
entity Wedel
relation sister city
type administrative territorial entity
['Wedel', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wedel property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q492543
SYSTEM
Wolgast
Q492543
(Q4356,P190,c(Q56061))
action filter_type
action find
entity Q4356
relation P190
type Q56061
[ANSWER]
['Q4356', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4356 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Wolgast
Wolgast
action filter_type
action find
entity Wedel
relation sister city
type administrative territorial entity
['Wedel', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wedel property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q492543 Q183
P17
Q1048835
USER
Is that administrative territory a part of Germany ?
(Q492543,P17,Q183)
action is_in
entity Q183
action find
entity Q492543
relation P17
['Q492543', 'P17', 'Q183']
ASK WHERE { resource:Q492543 property:P17 resource:Q183 }
Wolgast Germany
action is_in
entity Germany
action find
entity Wolgast
relation country
['Wolgast', 'country', 'Germany']
ASK WHERE { resource:Wolgast property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q492543,P17,Q183)
action is_in
entity Q183
action find
entity Q492543
relation P17
[ANSWER]
['Q492543', 'P17', 'Q183']
ASK WHERE { resource:Q492543 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Wolgast
relation country
['Wolgast', 'country', 'Germany']
ASK WHERE { resource:Wolgast property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q33959 Q5822280
P190
Q56061
USER
Is Ahmadabad, Buin va Miandasht twin city of Nice ?
(Q33959,P190,Q5822280)
action is_in
entity Q5822280
action find
entity Q33959
relation P190
['Q33959', 'P190', 'Q5822280']
ASK WHERE { resource:Q33959 property:P190 resource:Q5822280 }
Nice Ahmadabad, Buin va Miandasht
action is_in
entity Ahmadabad, Buin va Miandasht
action find
entity Nice
relation sister city
['Nice', 'sister city', 'Ahmadabad, Buin va Miandasht']
ASK WHERE { resource:Nice property:sister_city resource:Ahmadabad,_Buin_va_Miandasht }
[]
administrative territorial entity
SYSTEM
NO
(Q33959,P190,Q5822280)
action is_in
entity Q5822280
action find
entity Q33959
relation P190
[ANSWER]
['Q33959', 'P190', 'Q5822280']
ASK WHERE { resource:Q33959 property:P190 resource:Q5822280 }
No
action is_in
entity Ahmadabad, Buin va Miandasht
action find
entity Nice
relation sister city
['Nice', 'sister city', 'Ahmadabad, Buin va Miandasht']
ASK WHERE { resource:Nice property:sister_city resource:Ahmadabad,_Buin_va_Miandasht }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q580
P190
Q56061
USER
How many administrative territories are the sister cities of Łódź ?
(Q580,P190,c(Q56061))
action count
action filter_type
action find
entity Q580
relation P190
type Q56061
['Q580', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q580 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Łódź
action count
action filter_type
action find
entity Łódź
relation sister city
type administrative territorial entity
['Łódź', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Łódź property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
13
Q1022 Q12225 Q1829 Q40840 Q182521 Q2630 Q898 Q33935 Q81581 Q1874 Q216 Q2280 Q36036
(Q580,P190,c(Q56061))
action count
action filter_type
action find
entity Q580
relation P190
type Q56061
[ANSWER]
['Q580', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q580 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Stuttgart Murcia Kaliningrad Tampere Rustavi Ivanovo Omsk Tel Aviv Szeged Odessa Vilnius Minsk Lviv
13
action count
action filter_type
action find
entity Łódź
relation sister city
type administrative territorial entity
['Łódź', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Łódź property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]