Simple Question (Direct)
Simple Question
Q5444161
P27
Q15617994
USER
Which administrative territory is Fergus Bell a civilian of ?
(Q5444161,P27,c(Q15617994))
action filter_type
action find
entity Q5444161
relation P27
type Q15617994
['Q5444161', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5444161 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Fergus Bell
action filter_type
action find
entity Fergus Bell
relation country of citizenship
type designation for an administrative territorial entity
['Fergus Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Fergus_Bell property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5444161,P27,c(Q15617994))
action filter_type
action find
entity Q5444161
relation P27
type Q15617994
[ANSWER] is Fergus Bell a civilian of
['Q5444161', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5444161 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Fergus Bell a civilian of
United Kingdom
action filter_type
action find
entity Fergus Bell
relation country of citizenship
type designation for an administrative territorial entity
['Fergus Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Fergus_Bell property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P37
Q34770
USER
What is considered to be the official language of that administrative territory ?
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q145 property:P37 ?d . ?d rdf:type ontology:Q34770 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom property:official_language ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
[ANSWER] is considered to be the official language of that administrative territory
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q145 property:P37 ?d . ?d rdf:type ontology:Q34770 }
English
English is considered to be the official language of that administrative territory
English
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom property:official_language ?d . ?d rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q928 Q145
P37
Q34770
USER
And also Philippines
AND((Q145,P37,c(Q34770)), (Q928,P37,c(Q34770)))
action filter_type
action intersection
action find
entity Q145
relation P37
action find
entity Q928
relation P37
type Q34770
{'AND': [['Q145', 'P37', {'concept': 'Q34770'}], ['Q928', 'P37', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q928 property:P37 ?y . resource:Q145 property:P37 ?y }
Philippines United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation official language
action find
entity Philippines
relation official language
type language
{'AND': [['United Kingdom', 'official language', {'concept': 'language'}], ['Philippines', 'official language', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Philippines property:official_language ?y . resource:United_Kingdom property:official_language ?y }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q145,P37,c(Q34770)), (Q928,P37,c(Q34770)))
action filter_type
action intersection
action find
entity Q145
relation P37
action find
entity Q928
relation P37
type Q34770
[ANSWER]
{'AND': [['Q145', 'P37', {'concept': 'Q34770'}], ['Q928', 'P37', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q928 property:P37 ?y . resource:Q145 property:P37 ?y }
English
English
action filter_type
action intersection
action find
entity United Kingdom
relation official language
action find
entity Philippines
relation official language
type language
{'AND': [['United Kingdom', 'official language', {'concept': 'language'}], ['Philippines', 'official language', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Philippines property:official_language ?y . resource:United_Kingdom property:official_language ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q24565106
P1412
Q502895
USER
Does Miloš Joksić talk in that language ?
(Q24565106,P1412,Q1860)
action is_in
entity Q24565106
action find
entity Q1860
relation P1412
['Q24565106', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q24565106 }
English Miloš Joksić
action is_in
entity Miloš Joksić
action find
entity English
relation languages spoken, written or signed
['Miloš Joksić', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Miloš_Joksić }
[]
common name
SYSTEM
NO
(Q24565106,P1412,Q1860)
action is_in
entity Q24565106
action find
entity Q1860
relation P1412
[ANSWER]
['Q24565106', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q24565106 }
No
action is_in
entity Miloš Joksić
action find
entity English
relation languages spoken, written or signed
['Miloš Joksić', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Miloš_Joksić }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1486 Q24565106
P19 P190
Q56061
USER
Which administrative territories are the places of birth of Miloš Joksić and are partner towns of Buenos Aires ?
AND((Q24565106,P19,c(Q56061)), (Q1486,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q24565106
relation P19
action find
entity Q1486
relation P190
type Q56061
{'AND': [['Q24565106', 'P19', {'concept': 'Q56061'}], ['Q1486', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { resource:Q24565106 property:P19 ?x . resource:Q1486 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Buenos Aires Miloš Joksić
action filter_type
action intersection
action find
entity Miloš Joksić
relation place of birth
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
{'AND': [['Miloš Joksić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Miloš_Joksić property:place_of_birth ?x . resource:Buenos_Aires property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
AND((Q24565106,P19,c(Q56061)), (Q1486,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q24565106
relation P19
action find
entity Q1486
relation P190
type Q56061
[ANSWER] is the places of birth of Miloš Joksić and is partner towns of Buenos Aires
{'AND': [['Q24565106', 'P19', {'concept': 'Q56061'}], ['Q1486', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { resource:Q24565106 property:P19 ?x . resource:Q1486 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Belgrade
Belgrade is the places of birth of Miloš Joksić and is partner towns of Buenos Aires
Belgrade
action filter_type
action intersection
action find
entity Miloš Joksić
relation place of birth
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
{'AND': [['Miloš Joksić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Miloš_Joksić property:place_of_birth ?x . resource:Buenos_Aires property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19154421
P17
Q15617994
USER
Which administrative territory is Folkertsstraat situated in ?
(Q19154421,P17,c(Q15617994))
action filter_type
action find
entity Q19154421
relation P17
type Q15617994
['Q19154421', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q19154421 property:P17 ?t }
Folkertsstraat
action filter_type
action find
entity Folkertsstraat
relation country
type designation for an administrative territorial entity
['Folkertsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Folkertsstraat property:country ?t }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19154421,P17,c(Q15617994))
action filter_type
action find
entity Q19154421
relation P17
type Q15617994
Folkertsstraat is situated in [ANSWER]
['Q19154421', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q19154421 property:P17 ?t }
Netherlands
Folkertsstraat is situated in Netherlands
Netherlands
action filter_type
action find
entity Folkertsstraat
relation country
type designation for an administrative territorial entity
['Folkertsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Folkertsstraat property:country ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2052849
Q15617994
USER
And what about Belgium–France border?
(Q2052849,P17,c(Q15617994))
action filter_type
action find
entity Q2052849
relation P17
type Q15617994
['Q2052849', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2052849 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Belgium–France border
action filter_type
action find
entity Belgium–France border
relation country
type designation for an administrative territorial entity
['Belgium–France border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Belgium–France_border property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
(Q2052849,P17,c(Q15617994))
action filter_type
action find
entity Q2052849
relation P17
type Q15617994
[ANSWERS]
['Q2052849', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2052849 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France Belgium
France Belgium
action filter_type
action find
entity Belgium–France border
relation country
type designation for an administrative territorial entity
['Belgium–France border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Belgium–France_border property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16325252
P495
Q838948
USER
Do Divin Enfant have those administrative territories as their place of origin ?
(Q16325252,P495,Q142) (Q16325252,P495,Q31)
action is_in
entity prev_answer
action find
entity Q16325252
relation P495
['Q16325252', 'P495', 'Q142'] ['Q16325252', 'P495', 'Q31']
ASK WHERE { resource:Q16325252 property:P495 ?z . VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q31 ) } }
Divin Enfant
action is_in
entity prev_answer
action find
entity Divin Enfant
relation country of origin
['Divin Enfant', 'country of origin', 'France'] ['Divin Enfant', 'country of origin', 'Belgium']
ASK WHERE { resource:Divin_Enfant property:country_of_origin ?z . VALUES ( ?z ) { ( resource:France ) ( resource:Belgium ) } }
[]
work of art
SYSTEM
YES
(Q16325252,P495,Q142) (Q16325252,P495,Q31)
action is_in
entity prev_answer
action find
entity Q16325252
relation P495
[ANSWER]
['Q16325252', 'P495', 'Q142'] ['Q16325252', 'P495', 'Q31']
ASK WHERE { resource:Q16325252 property:P495 ?z . VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q31 ) } }
Yes
action is_in
entity prev_answer
action find
entity Divin Enfant
relation country of origin
['Divin Enfant', 'country of origin', 'France'] ['Divin Enfant', 'country of origin', 'Belgium']
ASK WHERE { resource:Divin_Enfant property:country_of_origin ?z . VALUES ( ?z ) { ( resource:France ) ( resource:Belgium ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5444161 Q937857 Q26699860
P106
Q12737077
USER
Does Fergus Bell have a job as association football player and mayor of Torreorgaz ?
(Q5444161,P106,Q937857) (Q5444161,P106,Q26699860)
action is_in
entity Q5444161
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q26699860
relation P106
['Q5444161', 'P106', 'Q937857'] ['Q5444161', 'P106', 'Q26699860']
ASK WHERE { resource:Q5444161 property:P106 resource:Q937857 . resource:Q5444161 property:P106 resource:Q26699860 }
Fergus Bell association football player mayor of Torreorgaz
action is_in
entity Fergus Bell
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity mayor of Torreorgaz
relation occupation
['Fergus Bell', 'occupation', 'association football player'] ['Fergus Bell', 'occupation', 'mayor of Torreorgaz']
ASK WHERE { resource:Fergus_Bell property:occupation resource:association_football_player . resource:Fergus_Bell property:occupation resource:mayor_of_Torreorgaz }
[]
occupation
SYSTEM
YES and NO respectively
(Q5444161,P106,Q937857) (Q5444161,P106,Q26699860)
action is_in
entity Q5444161
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q26699860
relation P106
[ANSWER]
['Q5444161', 'P106', 'Q937857'] ['Q5444161', 'P106', 'Q26699860']
ASK WHERE { resource:Q5444161 property:P106 resource:Q937857 . resource:Q5444161 property:P106 resource:Q26699860 }
YES and NO respectively
action is_in
entity Fergus Bell
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity mayor of Torreorgaz
relation occupation
['Fergus Bell', 'occupation', 'association football player'] ['Fergus Bell', 'occupation', 'mayor of Torreorgaz']
ASK WHERE { resource:Fergus_Bell property:occupation resource:association_football_player . resource:Fergus_Bell property:occupation resource:mayor_of_Torreorgaz }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3711 Q1754 Q327999
P190
Q56061
USER
Is Belgrade twin city of Stockholm and Villa Agnedo ?
(Q3711,P190,Q1754) (Q3711,P190,Q327999)
action is_in
entity Q3711
action intersection
action find_reverse
entity Q1754
relation P190
action find_reverse
entity Q327999
relation P190
['Q3711', 'P190', 'Q1754'] ['Q3711', 'P190', 'Q327999']
ASK WHERE { resource:Q3711 property:P190 resource:Q1754 . resource:Q3711 property:P190 resource:Q327999 }
Belgrade Stockholm Villa Agnedo
action is_in
entity Belgrade
action intersection
action find_reverse
entity Stockholm
relation sister city
action find_reverse
entity Villa Agnedo
relation sister city
['Belgrade', 'sister city', 'Stockholm'] ['Belgrade', 'sister city', 'Villa Agnedo']
ASK WHERE { resource:Belgrade property:sister_city resource:Stockholm . resource:Belgrade property:sister_city resource:Villa_Agnedo }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q3711,P190,Q1754) (Q3711,P190,Q327999)
action is_in
entity Q3711
action intersection
action find_reverse
entity Q1754
relation P190
action find_reverse
entity Q327999
relation P190
[ANSWER]
['Q3711', 'P190', 'Q1754'] ['Q3711', 'P190', 'Q327999']
ASK WHERE { resource:Q3711 property:P190 resource:Q1754 . resource:Q3711 property:P190 resource:Q327999 }
YES and NO respectively
action is_in
entity Belgrade
action intersection
action find_reverse
entity Stockholm
relation sister city
action find_reverse
entity Villa Agnedo
relation sister city
['Belgrade', 'sister city', 'Stockholm'] ['Belgrade', 'sister city', 'Villa Agnedo']
ASK WHERE { resource:Belgrade property:sister_city resource:Stockholm . resource:Belgrade property:sister_city resource:Villa_Agnedo }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P6
Q502895
USER
Which people do Netherlands serve as the head of government for ?
(Q55,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q55 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Netherlands
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Netherlands property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q693053 Q686476 Q318334 Q159840 Q133386 Q57792 Q345481 Q471204 Q380970 Q781813 Q736026 Q221411 Q634025 Q719701 Q12769 Q318320 Q983186 Q735519 Q951705
(Q55,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
[ANSWERS] Netherlands serve as the head of government
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q55 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Dirk Jan de Geer Hendrikus Colijn Dries van Agt Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Jelle Zijlstra Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Willem Drees Joop den Uyl Charles Ruijs de Beerenbrouck Louis Beel Pieter Sjoerds Gerbrandy
Ruud Lubbers, Piet de Jong and Jelle Zijlstra Netherlands serve as the head of government
Ruud Lubbers Piet de Jong Jelle Zijlstra
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Netherlands property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P532
Q2235308
USER
Which ship type has Netherlands as registry port ?
(c(Q2235308),P532,Q55)
action filter_type
action find_reverse
entity Q55
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q55']
SELECT DISTINCT ?a WHERE { ?a property:P532 resource:Q55 . ?a rdf:type ontology:Q2235308 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Netherlands']
SELECT DISTINCT ?a WHERE { ?a property:port_of_registry resource:Netherlands . ?a rdf:type ontology:ship_type }
[]
ship type
Q885761
SYSTEM
MV Blue Marlin
Q885761
(c(Q2235308),P532,Q55)
action filter_type
action find_reverse
entity Q55
relation P532
type Q2235308
[ANSWER] has Netherlands as registry port
[{'concept': 'Q2235308'}, 'P532', 'Q55']
SELECT DISTINCT ?a WHERE { ?a property:P532 resource:Q55 . ?a rdf:type ontology:Q2235308 }
MV Blue Marlin
MV Blue Marlin has Netherlands as registry port
MV Blue Marlin
action filter_type
action find_reverse
entity Netherlands
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Netherlands']
SELECT DISTINCT ?a WHERE { ?a property:port_of_registry resource:Netherlands . ?a rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P36
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(Q885761,P36,c(Q56061))
action filter_type
action find
entity Q55
relation P36
type Q56061
['Q885761', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q55 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Netherlands
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
['MV Blue Marlin', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Netherlands property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q885761,P36,c(Q56061))
action filter_type
action find
entity Q55
relation P36
type Q56061
[ANSWER] is the capital of that administrative territory
['Q885761', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q55 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Amsterdam
Amsterdam is the capital of that administrative territory
Amsterdam
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
['MV Blue Marlin', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Netherlands property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]