Simple Question (Direct)
Simple Question
Q4716783
P641
Q349
USER
What did Alex Campbell participate in ?
(Q4716783,P641,c(Q349))
action filter_type
action find
entity Q4716783
relation P641
type Q349
['Q4716783', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4716783 property:P641 ?r . ?r rdf:type ontology:Q349 }
Alex Campbell
action filter_type
action find
entity Alex Campbell
relation sport
type sport
['Alex Campbell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Alex_Campbell property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4716783,P641,c(Q349))
action filter_type
action find
entity Q4716783
relation P641
type Q349
Alex Campbell participated in [ANSWER]
['Q4716783', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4716783 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Alex Campbell participated in association football
association football
action filter_type
action find
entity Alex Campbell
relation sport
type sport
['Alex Campbell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Alex_Campbell property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4716783
P19
Q56061
USER
Which administrative territory was Alex Campbell born at ?
(Q4716783,P19,c(Q56061))
action filter_type
action find
entity Q4716783
relation P19
type Q56061
['Q4716783', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4716783 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Alex Campbell
action filter_type
action find
entity Alex Campbell
relation place of birth
type administrative territorial entity
['Alex Campbell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Alex_Campbell property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093
SYSTEM
Glasgow
Q4093
(Q4716783,P19,c(Q56061))
action filter_type
action find
entity Q4716783
relation P19
type Q56061
Alex Campbell was born in [ANSWER]
['Q4716783', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4716783 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Glasgow
Alex Campbell was born in Glasgow
Glasgow
action filter_type
action find
entity Alex Campbell
relation place of birth
type administrative territorial entity
['Alex Campbell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Alex_Campbell property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4093
P931
Q62447
USER
Which aerodromes serve the place named that administrative territory ?
(c(Q62447),P931,Q4093)
action filter_type
action find_reverse
entity Q4093
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q4093']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q62447 . ?x property:P931 resource:Q4093 }
Glasgow
action filter_type
action find_reverse
entity Glasgow
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Glasgow']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:aerodrome . ?x property:place_served_by_airport resource:Glasgow }
[]
aerodrome
Q3274150 Q8992
SYSTEM
Glasgow City Heliport, Glasgow Prestwick Airport
Q3274150 Q8992
(c(Q62447),P931,Q4093)
action filter_type
action find_reverse
entity Q4093
relation P931
type Q62447
[ANSWERS] serve the place named that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q4093']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q62447 . ?x property:P931 resource:Q4093 }
Glasgow City Heliport Glasgow Prestwick Airport
Glasgow City Heliport and Glasgow Prestwick Airport serve the place named that administrative territory
Glasgow City Heliport Glasgow Prestwick Airport
action filter_type
action find_reverse
entity Glasgow
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Glasgow']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:aerodrome . ?x property:place_served_by_airport resource:Glasgow }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q145 Q4093
P931 P17
Q62447
USER
Which aerodromes serve Glasgow and are located in United Kingdom ?
AND((c(Q62447),P931,Q4093), (c(Q62447),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q4093
relation P931
action find_reverse
entity Q145
relation P17
type Q62447
{'AND': [[{'concept': 'Q62447'}, 'P931', 'Q4093'], [{'concept': 'Q62447'}, 'P17', 'Q145']]}
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q4093 . ?j property:P17 resource:Q145 . ?j rdf:type ontology:Q62447 }
United Kingdom Glasgow
action filter_type
action intersection
action find_reverse
entity Glasgow
relation place served by airport
action find_reverse
entity United Kingdom
relation country
type aerodrome
{'AND': [[{'concept': 'aerodrome'}, 'place served by airport', 'Glasgow'], [{'concept': 'aerodrome'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Glasgow . ?j property:country resource:United_Kingdom . ?j rdf:type ontology:aerodrome }
[]
aerodrome
Q3274150 Q8992
SYSTEM
Glasgow City Heliport, Glasgow Prestwick Airport
Q3274150 Q8992
AND((c(Q62447),P931,Q4093), (c(Q62447),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q4093
relation P931
action find_reverse
entity Q145
relation P17
type Q62447
[ANSWERS] serve Glasgow and are located in United Kingdom
{'AND': [[{'concept': 'Q62447'}, 'P931', 'Q4093'], [{'concept': 'Q62447'}, 'P17', 'Q145']]}
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q4093 . ?j property:P17 resource:Q145 . ?j rdf:type ontology:Q62447 }
Glasgow City Heliport Glasgow Prestwick Airport
Glasgow City Heliport and Glasgow Prestwick Airport serve Glasgow and are located in United Kingdom
Glasgow City Heliport Glasgow Prestwick Airport
action filter_type
action intersection
action find_reverse
entity Glasgow
relation place served by airport
action find_reverse
entity United Kingdom
relation country
type aerodrome
{'AND': [[{'concept': 'aerodrome'}, 'place served by airport', 'Glasgow'], [{'concept': 'aerodrome'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Glasgow . ?j property:country resource:United_Kingdom . ?j rdf:type ontology:aerodrome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16244739 Q4716783
P106
Q12737077
USER
Which occupations do Alex Campbell or Stewart Wheeler do for a living ?
OR((Q4716783,P106,c(Q12737077)), (Q16244739,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4716783
relation P106
action find
entity Q16244739
relation P106
type Q12737077
{'OR': [['Q4716783', 'P106', {'concept': 'Q12737077'}], ['Q16244739', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4716783 property:P106 ?s } UNION { resource:Q16244739 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
Stewart Wheeler Alex Campbell
action filter_type
action union
action find
entity Alex Campbell
relation occupation
action find
entity Stewart Wheeler
relation occupation
type occupation
{'OR': [['Alex Campbell', 'occupation', {'concept': 'occupation'}], ['Stewart Wheeler', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alex_Campbell property:occupation ?s } UNION { resource:Stewart_Wheeler property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q193391 Q937857
SYSTEM
diplomat, association football player
Q193391 Q937857
OR((Q4716783,P106,c(Q12737077)), (Q16244739,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4716783
relation P106
action find
entity Q16244739
relation P106
type Q12737077
[ANSWERS] Alex Campbell or Stewart Wheeler do for a living
{'OR': [['Q4716783', 'P106', {'concept': 'Q12737077'}], ['Q16244739', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4716783 property:P106 ?s } UNION { resource:Q16244739 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
diplomat association football player
Diplomat and association football player Alex Campbell or Stewart Wheeler do for a living
diplomat association football player
action filter_type
action union
action find
entity Alex Campbell
relation occupation
action find
entity Stewart Wheeler
relation occupation
type occupation
{'OR': [['Alex Campbell', 'occupation', {'concept': 'occupation'}], ['Stewart Wheeler', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alex_Campbell property:occupation ?s } UNION { resource:Stewart_Wheeler property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q318474
P106
Q502895
USER
Do Abel Matutes have the profession of those occupations ?
(Q318474,P106,Q193391) (Q318474,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q318474
relation P106
['Q318474', 'P106', 'Q193391'] ['Q318474', 'P106', 'Q937857']
ASK WHERE { resource:Q318474 property:P106 ?h . VALUES ( ?h ) { ( resource:Q193391 ) ( resource:Q937857 ) } }
Abel Matutes
action is_in
entity prev_answer
action find
entity Abel Matutes
relation occupation
['Abel Matutes', 'occupation', 'diplomat'] ['Abel Matutes', 'occupation', 'association football player']
ASK WHERE { resource:Abel_Matutes property:occupation ?h . VALUES ( ?h ) { ( resource:diplomat ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
YES
(Q318474,P106,Q193391) (Q318474,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q318474
relation P106
[ANSWER]
['Q318474', 'P106', 'Q193391'] ['Q318474', 'P106', 'Q937857']
ASK WHERE { resource:Q318474 property:P106 ?h . VALUES ( ?h ) { ( resource:Q193391 ) ( resource:Q937857 ) } }
Yes
action is_in
entity prev_answer
action find
entity Abel Matutes
relation occupation
['Abel Matutes', 'occupation', 'diplomat'] ['Abel Matutes', 'occupation', 'association football player']
ASK WHERE { resource:Abel_Matutes property:occupation ?h . VALUES ( ?h ) { ( resource:diplomat ) ( resource:association_football_player ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3563770 Q3274150
P17
Q15617994
USER
Which administrative territories do Glasgow City Heliport or Vujan belong to ?
OR((Q3274150,P17,c(Q15617994)), (Q3563770,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3274150
relation P17
action find
entity Q3563770
relation P17
type Q15617994
{'OR': [['Q3274150', 'P17', {'concept': 'Q15617994'}], ['Q3563770', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?a ) { ( resource:Q3274150 ) ( resource:Q3563770 ) } . ?a property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
Vujan Glasgow City Heliport
action filter_type
action union
action find
entity Glasgow City Heliport
relation country
action find
entity Vujan
relation country
type designation for an administrative territorial entity
{'OR': [['Glasgow City Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vujan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?a ) { ( resource:Glasgow_City_Heliport ) ( resource:Vujan ) } . ?a property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q145
SYSTEM
Serbia, United Kingdom
Q403 Q145
OR((Q3274150,P17,c(Q15617994)), (Q3563770,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3274150
relation P17
action find
entity Q3563770
relation P17
type Q15617994
Glasgow City Heliport or Vujan belong to [ANSWERS]
{'OR': [['Q3274150', 'P17', {'concept': 'Q15617994'}], ['Q3563770', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?a ) { ( resource:Q3274150 ) ( resource:Q3563770 ) } . ?a property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
Serbia United Kingdom
Glasgow City Heliport or Vujan belong to Serbia and United Kingdom
Serbia United Kingdom
action filter_type
action union
action find
entity Glasgow City Heliport
relation country
action find
entity Vujan
relation country
type designation for an administrative territorial entity
{'OR': [['Glasgow City Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vujan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?a ) { ( resource:Glasgow_City_Heliport ) ( resource:Vujan ) } . ?a property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3502942
P495
Q838948
USER
Did Donkey originate in those administrative territories ?
(Q3502942,P495,Q403) (Q3502942,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3502942
relation P495
['Q3502942', 'P495', 'Q403'] ['Q3502942', 'P495', 'Q145']
ASK WHERE { VALUES ( ?d ) { ( resource:Q403 ) ( resource:Q145 ) } . resource:Q3502942 property:P495 ?d }
Donkey
action is_in
entity prev_answer
action find
entity Donkey
relation country of origin
['Donkey', 'country of origin', 'Serbia'] ['Donkey', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?d ) { ( resource:Serbia ) ( resource:United_Kingdom ) } . resource:Donkey property:country_of_origin ?d }
[]
work of art
SYSTEM
YES
(Q3502942,P495,Q403) (Q3502942,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3502942
relation P495
[ANSWER]
['Q3502942', 'P495', 'Q403'] ['Q3502942', 'P495', 'Q145']
ASK WHERE { VALUES ( ?d ) { ( resource:Q403 ) ( resource:Q145 ) } . resource:Q3502942 property:P495 ?d }
Yes
action is_in
entity prev_answer
action find
entity Donkey
relation country of origin
['Donkey', 'country of origin', 'Serbia'] ['Donkey', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?d ) { ( resource:Serbia ) ( resource:United_Kingdom ) } . resource:Donkey property:country_of_origin ?d }
[]