Simple Question (Direct)
Simple Question
Q5983266
P21
Q290
USER
Which sex does Luis Enrique Díaz belong to ?
(Q5983266,P21,c(Q290))
action filter_type
action find
entity Q5983266
relation P21
type Q290
['Q5983266', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q5983266 property:P21 ?d }
Luis Enrique Díaz
action filter_type
action find
entity Luis Enrique Díaz
relation gender
type sex
['Luis Enrique Díaz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Luis_Enrique_Díaz property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5983266,P21,c(Q290))
action filter_type
action find
entity Q5983266
relation P21
type Q290
Luis Enrique Díaz belongs to [ANSWER]
['Q5983266', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q5983266 property:P21 ?d }
male
Luis Enrique Díaz belongs to male
male
action filter_type
action find
entity Luis Enrique Díaz
relation gender
type sex
['Luis Enrique Díaz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Luis_Enrique_Díaz property:gender ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5983266
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5983266
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5983266 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Luis Enrique Díaz
action filter_type
action find
entity Luis Enrique Díaz
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Enrique_Díaz property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5983266
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5983266 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Colombia
The Colombia is that person an inhabitant of
Colombia
action filter_type
action find
entity Luis Enrique Díaz
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Enrique_Díaz property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739
P1001
Q338337
USER
Which honorary academic title has jurisdiction over that administrative territory ?
(c(Q338337),P1001,Q739)
action filter_type
action find_reverse
entity Q739
relation P1001
type Q338337
[{'concept': 'Q338337'}, 'P1001', 'Q739']
SELECT DISTINCT ?m WHERE { ?m property:P1001 resource:Q739 . ?m rdf:type ontology:Q338337 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation applies to jurisdiction
type honorary academic title
[{'concept': 'honorary academic title'}, 'applies to jurisdiction', 'Colombia']
SELECT DISTINCT ?m WHERE { ?m property:applies_to_jurisdiction resource:Colombia . ?m rdf:type ontology:honorary_academic_title }
[]
honorary academic title
Q4120955
SYSTEM
First Lady of Colombia
Q4120955
(c(Q338337),P1001,Q739)
action filter_type
action find_reverse
entity Q739
relation P1001
type Q338337
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q338337'}, 'P1001', 'Q739']
SELECT DISTINCT ?m WHERE { ?m property:P1001 resource:Q739 . ?m rdf:type ontology:Q338337 }
First Lady of Colombia
First Lady of Colombia has jurisdiction over that administrative territory
First Lady of Colombia
action filter_type
action find_reverse
entity Colombia
relation applies to jurisdiction
type honorary academic title
[{'concept': 'honorary academic title'}, 'applies to jurisdiction', 'Colombia']
SELECT DISTINCT ?m WHERE { ?m property:applies_to_jurisdiction resource:Colombia . ?m rdf:type ontology:honorary_academic_title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P610
Q46831
USER
Which mountain range is the highest point of Colombia ?
(Q739,P610,c(Q46831))
action filter_type
action find
entity Q739
relation P610
type Q46831
['Q739', 'P610', {'concept': 'Q46831'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q46831 . resource:Q739 property:P610 ?h }
Colombia
action filter_type
action find
entity Colombia
relation highest point
type mountain range
['Colombia', 'highest point', {'concept': 'mountain range'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:mountain_range . resource:Colombia property:highest_point ?h }
[]
mountain range
Q578862
SYSTEM
Cristóbal hermes Colón
Q578862
(Q739,P610,c(Q46831))
action filter_type
action find
entity Q739
relation P610
type Q46831
[ANSWER] is the highest point of Colombia
['Q739', 'P610', {'concept': 'Q46831'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q46831 . resource:Q739 property:P610 ?h }
Cristóbal hermes Colón
Cristóbal hermes Colón is the highest point of Colombia
Cristóbal hermes Colón
action filter_type
action find
entity Colombia
relation highest point
type mountain range
['Colombia', 'highest point', {'concept': 'mountain range'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:mountain_range . resource:Colombia property:highest_point ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4120955
P17
Q15617994
USER
Which administrative territory is First Lady of Colombia a part of ?
(Q4120955,P17,c(Q15617994))
action filter_type
action find
entity Q4120955
relation P17
type Q15617994
['Q4120955', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4120955 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
First Lady of Colombia
action filter_type
action find
entity First Lady of Colombia
relation country
type designation for an administrative territorial entity
['First Lady of Colombia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:First_Lady_of_Colombia property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q4120955,P17,c(Q15617994))
action filter_type
action find
entity Q4120955
relation P17
type Q15617994
Of [ANSWER] is First Lady of [ANSWER] a part of
['Q4120955', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4120955 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Colombia
Of Colombia is First Lady of Colombia a part of
Colombia
action filter_type
action find
entity First Lady of Colombia
relation country
type designation for an administrative territorial entity
['First Lady of Colombia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:First_Lady_of_Colombia property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3154360
Q15617994
USER
And how about Irina, Madagascar?
(Q3154360,P17,c(Q15617994))
action filter_type
action find
entity Q3154360
relation P17
type Q15617994
['Q3154360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3154360 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Irina, Madagascar
action filter_type
action find
entity Irina, Madagascar
relation country
type designation for an administrative territorial entity
['Irina, Madagascar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Irina,_Madagascar property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1019
SYSTEM
Madagascar
Q1019
(Q3154360,P17,c(Q15617994))
action filter_type
action find
entity Q3154360
relation P17
type Q15617994
[ANSWER]
['Q3154360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3154360 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Madagascar
Madagascar
action filter_type
action find
entity Irina, Madagascar
relation country
type designation for an administrative territorial entity
['Irina, Madagascar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Irina,_Madagascar property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1019
P137
Q811430
USER
Which construction was operated by that administrative territory ?
(c(Q811430),P137,Q1019)
action filter_type
action find_reverse
entity Q1019
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q1019']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q1019 . ?l rdf:type ontology:Q811430 }
Madagascar
action filter_type
action find_reverse
entity Madagascar
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Madagascar']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Madagascar . ?l rdf:type ontology:construction }
[]
construction
Q1883121
SYSTEM
Embassy of Madagascar, Falkensee
Q1883121
(c(Q811430),P137,Q1019)
action filter_type
action find_reverse
entity Q1019
relation P137
type Q811430
[ANSWER] was operated by that administrative territory
[{'concept': 'Q811430'}, 'P137', 'Q1019']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q1019 . ?l rdf:type ontology:Q811430 }
Embassy of Madagascar, Falkensee
Embassy of Madagascar, Falkensee was operated by that administrative territory
Embassy of Madagascar, Falkensee
action filter_type
action find_reverse
entity Madagascar
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Madagascar']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Madagascar . ?l rdf:type ontology:construction }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1019
P530
Q1048835
USER
How many political territories have diplomatic relations with Madagascar ?
(Q1019,P530,c(Q1048835))
action count
action filter_type
action find
entity Q1019
relation P530
type Q1048835
['Q1019', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q1019 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Madagascar
action count
action filter_type
action find
entity Madagascar
relation diplomatic relation
type political territorial entity
['Madagascar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Madagascar property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1019,P530,c(Q1048835))
action count
action filter_type
action find
entity Q1019
relation P530
type Q1048835
[ANSWER]
['Q1019', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q1019 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Madagascar
relation diplomatic relation
type political territorial entity
['Madagascar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Madagascar property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1019
P840
Q838948
USER
Which work of art has a setting location of that administrative territory ?
action filter_type
action find_reverse
entity Q1019
relation P840
type Q838948
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q1019 . ?d rdf:type ontology:Q838948 }
Madagascar
action filter_type
action find_reverse
entity Madagascar
relation narrative location
type work of art
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Madagascar . ?d rdf:type ontology:work_of_art }
[]
work of art
Q151904
SYSTEM
Casino Royale
Q151904
action filter_type
action find_reverse
entity Q1019
relation P840
type Q838948
Royale [ANSWER] has a setting location of that administrative territory
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q1019 . ?d rdf:type ontology:Q838948 }
Casino Royale
Royale Casino Royale has a setting location of that administrative territory
Casino Royale
action filter_type
action find_reverse
entity Madagascar
relation narrative location
type work of art
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Madagascar . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q151904
P1441
Q6619679
USER
Which fictional humanoids are present in that work of art ?
(c(Q6619679),P1441,Q151904)
action filter_type
action find_reverse
entity Q151904
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q151904']
SELECT DISTINCT ?z WHERE { ?z property:P1441 resource:Q151904 . ?z rdf:type ontology:Q6619679 }
Casino Royale
action filter_type
action find_reverse
entity Casino Royale
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Casino Royale']
SELECT DISTINCT ?z WHERE { ?z property:present_in_work resource:Casino_Royale . ?z rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2009573 Q1779543 Q246154
SYSTEM
James Bond, Felix Leiter, M
Q2089037 Q1779543 Q2608715 Q2023720 Q2009573 Q2533047 Q246154 Q1959803 Q2764691 Q2136439 Q3426611 Q4007643
(c(Q6619679),P1441,Q151904)
action filter_type
action find_reverse
entity Q151904
relation P1441
type Q6619679
[ANSWERS] are present in that work of art
[{'concept': 'Q6619679'}, 'P1441', 'Q151904']
SELECT DISTINCT ?z WHERE { ?z property:P1441 resource:Q151904 . ?z rdf:type ontology:Q6619679 }
Solange Felix Leiter Vesper Lynd Alexander Dimitrios James Bond Mr. White M Steven Obanno Adolph Gettler Le Chiffre René Mathis Valenka
James Bond, Felix Leiter and M are present in that work of art
James Bond Felix Leiter M
action filter_type
action find_reverse
entity Casino Royale
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Casino Royale']
SELECT DISTINCT ?z WHERE { ?z property:present_in_work resource:Casino_Royale . ?z rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2009573 Q1779543 Q246154
P674
Q2342494
USER
Which collectables are James Bond, Felix Leiter and M a character of ?
(c(Q2342494),P674,Q2009573) (c(Q2342494),P674,Q1779543) (c(Q2342494),P674,Q246154)
action union
action filter_type
action find_reverse
entity Q2009573
relation P674
type Q2342494
action filter_type
action find_reverse
entity Q1779543
relation P674
type Q2342494
action filter_type
action find_reverse
entity Q246154
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q2009573'] [{'concept': 'Q2342494'}, 'P674', 'Q1779543'] [{'concept': 'Q2342494'}, 'P674', 'Q246154']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:Q2009573 ) ( resource:Q1779543 ) } . ?m property:P674 ?w }
James Bond Felix Leiter M
action union
action filter_type
action find_reverse
entity James Bond
relation characters
type collectable
action filter_type
action find_reverse
entity Felix Leiter
relation characters
type collectable
action filter_type
action find_reverse
entity M
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'James Bond'] [{'concept': 'collectable'}, 'characters', 'Felix Leiter'] [{'concept': 'collectable'}, 'characters', 'M']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:James_Bond ) ( resource:Felix_Leiter ) } . ?m property:characters ?w }
[]
collectable
Q1777426 Q1777426 Q1777426
SYSTEM
Goldfinger
Q16654394 Q586339 Q1195639 Q2448628 Q1197486 Q1544697 Q909320 Q3037825 Q659731 Q770474 Q1640384 Q368432 Q1530992 Q3476646 Q3876697 Q3876690 Q2468890 Q1631002 Q1531548 Q2356361 Q2356372 Q1952957 Q1262456 Q3186753 Q2332966 Q1047711 Q2136755 Q3065125 Q1777426 Q2601001 Q545151 Q368531 Q1530907 Q1165753 Q603310 Q659731 Q368432 Q1047711 Q1777426 Q1952957 Q1047711 Q1777426 Q545151 Q1165753 Q603310
(c(Q2342494),P674,Q2009573) (c(Q2342494),P674,Q1779543) (c(Q2342494),P674,Q246154)
action union
action filter_type
action find_reverse
entity Q2009573
relation P674
type Q2342494
action filter_type
action find_reverse
entity Q1779543
relation P674
type Q2342494
action filter_type
action find_reverse
entity Q246154
relation P674
type Q2342494
[ANSWER], [ANSWER] and [ANSWER] are James Bond, Felix Leiter and M a character of
[{'concept': 'Q2342494'}, 'P674', 'Q2009573'] [{'concept': 'Q2342494'}, 'P674', 'Q1779543'] [{'concept': 'Q2342494'}, 'P674', 'Q246154']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:Q2009573 ) ( resource:Q1779543 ) } . ?m property:P674 ?w }
Blast From the Past The Man from Barbarossa The Man with the Golden Gun Colonel Sun Devil May Care Octopussy and The Living Daylights Double or Die DoubleShot Diamonds Are Forever Never Dream of Dying The Man with the Red Tattoo Live and Let Die Blood Fever SeaFire Death is Forever Never Send Flowers Carte Blanche High Time to Kill For Special Services No Deals, Mr. Bond Licence Renewed Thunderball You Only Live Twice Zero Minus Ten Nobody Lives for Ever Casino Royale On Her Majesty's Secret Service Role of Honour Goldfinger Icebreaker The Spy Who Loved Me SilverFin Brokenclaw From Russia, with Love Moonraker Diamonds Are Forever Live and Let Die Casino Royale Goldfinger Thunderball Casino Royale Goldfinger The Spy Who Loved Me From Russia, with Love Moonraker
Goldfinger, Goldfinger and Goldfinger are James Bond, Felix Leiter and M a character of
Goldfinger Goldfinger Goldfinger
action union
action filter_type
action find_reverse
entity James Bond
relation characters
type collectable
action filter_type
action find_reverse
entity Felix Leiter
relation characters
type collectable
action filter_type
action find_reverse
entity M
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'James Bond'] [{'concept': 'collectable'}, 'characters', 'Felix Leiter'] [{'concept': 'collectable'}, 'characters', 'M']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:James_Bond ) ( resource:Felix_Leiter ) } . ?m property:characters ?w }
[]