Simple Question (Direct)
Simple Question
Q14806392
P54
Q1194951
USER
Which national sports team is Martin Valjent a member of ?
(Q14806392,P54,c(Q1194951))
action filter_type
action find
entity Q14806392
relation P54
type Q1194951
['Q14806392', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q14806392 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Martin Valjent
action filter_type
action find
entity Martin Valjent
relation member of sports team
type national sports team
['Martin Valjent', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Martin_Valjent property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q174512
SYSTEM
Slovakia national football team
Q174512
(Q14806392,P54,c(Q1194951))
action filter_type
action find
entity Q14806392
relation P54
type Q1194951
[ANSWER] is Martin Valjent a member of
['Q14806392', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q14806392 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Slovakia national football team
Slovakia national football team is Martin Valjent a member of
Slovakia national football team
action filter_type
action find
entity Martin Valjent
relation member of sports team
type national sports team
['Martin Valjent', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Martin_Valjent property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14806392
P27
Q15617994
USER
Which administrative territory is Martin Valjent an inhabitant of ?
(Q14806392,P27,c(Q15617994))
action filter_type
action find
entity Q14806392
relation P27
type Q15617994
['Q14806392', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q14806392 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Martin Valjent
action filter_type
action find
entity Martin Valjent
relation country of citizenship
type designation for an administrative territorial entity
['Martin Valjent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Martin_Valjent property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q14806392,P27,c(Q15617994))
action filter_type
action find
entity Q14806392
relation P27
type Q15617994
[ANSWER] is Martin Valjent an inhabitant of
['Q14806392', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q14806392 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Slovakia
Slovakia is Martin Valjent an inhabitant of
Slovakia
action filter_type
action find
entity Martin Valjent
relation country of citizenship
type designation for an administrative territorial entity
['Martin Valjent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Martin_Valjent property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18683296
Q15617994
USER
And how about Rudolf Raschle?
(Q18683296,P27,c(Q15617994))
action filter_type
action find
entity Q18683296
relation P27
type Q15617994
['Q18683296', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q18683296 property:P27 ?g }
Rudolf Raschle
action filter_type
action find
entity Rudolf Raschle
relation country of citizenship
type designation for an administrative territorial entity
['Rudolf Raschle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rudolf_Raschle property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q18683296,P27,c(Q15617994))
action filter_type
action find
entity Q18683296
relation P27
type Q15617994
[ANSWER]
['Q18683296', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q18683296 property:P27 ?g }
Switzerland
Switzerland
action filter_type
action find
entity Rudolf Raschle
relation country of citizenship
type designation for an administrative territorial entity
['Rudolf Raschle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rudolf_Raschle property:country_of_citizenship ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q862344 Q14806392
P19 P20
Q56061
USER
Which administrative territories were Martin Valjent born in or did Bill Orban die ?
OR((Q14806392,P19,c(Q56061)), (Q862344,P20,c(Q56061)))
action filter_type
action union
action find
entity Q14806392
relation P19
action find
entity Q862344
relation P20
type Q56061
{'OR': [['Q14806392', 'P19', {'concept': 'Q56061'}], ['Q862344', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q14806392 property:P19 ?h } UNION { resource:Q862344 property:P20 ?h } } . ?h rdf:type ontology:Q56061 }
Bill Orban Martin Valjent
action filter_type
action union
action find
entity Martin Valjent
relation place of birth
action find
entity Bill Orban
relation place of death
type administrative territorial entity
{'OR': [['Martin Valjent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Bill Orban', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Martin_Valjent property:place_of_birth ?h } UNION { resource:Bill_Orban property:place_of_death ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q481528 Q1930
SYSTEM
Dubnica nad Váhom, Ottawa
Q481528 Q1930
OR((Q14806392,P19,c(Q56061)), (Q862344,P20,c(Q56061)))
action filter_type
action union
action find
entity Q14806392
relation P19
action find
entity Q862344
relation P20
type Q56061
Martin Valjent were born die of [ANSWERS]
{'OR': [['Q14806392', 'P19', {'concept': 'Q56061'}], ['Q862344', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q14806392 property:P19 ?h } UNION { resource:Q862344 property:P20 ?h } } . ?h rdf:type ontology:Q56061 }
Dubnica nad Váhom Ottawa
Martin Valjent were born die of Dubnica nad Váhom and Ottawa
Dubnica nad Váhom Ottawa
action filter_type
action union
action find
entity Martin Valjent
relation place of birth
action find
entity Bill Orban
relation place of death
type administrative territorial entity
{'OR': [['Martin Valjent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Bill Orban', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Martin_Valjent property:place_of_birth ?h } UNION { resource:Bill_Orban property:place_of_death ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17067719 Q1930
P17
Q1048835
USER
Which political territories are Ottawa or Wellington Central present in ?
OR((Q1930,P17,c(Q1048835)), (Q17067719,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1930
relation P17
action find
entity Q17067719
relation P17
type Q1048835
{'OR': [['Q1930', 'P17', {'concept': 'Q1048835'}], ['Q17067719', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { ?i property:P17 ?g . VALUES ( ?i ) { ( resource:Q1930 ) ( resource:Q17067719 ) } } . ?g rdf:type ontology:Q1048835 }
Wellington Central Ottawa
action filter_type
action union
action find
entity Ottawa
relation country
action find
entity Wellington Central
relation country
type political territorial entity
{'OR': [['Ottawa', 'country', {'concept': 'political territorial entity'}], ['Wellington Central', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?i property:country ?g . VALUES ( ?i ) { ( resource:Ottawa ) ( resource:Wellington_Central ) } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q664
SYSTEM
Canada, New Zealand
Q16 Q664
OR((Q1930,P17,c(Q1048835)), (Q17067719,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1930
relation P17
action find
entity Q17067719
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q1930', 'P17', {'concept': 'Q1048835'}], ['Q17067719', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { ?i property:P17 ?g . VALUES ( ?i ) { ( resource:Q1930 ) ( resource:Q17067719 ) } } . ?g rdf:type ontology:Q1048835 }
Canada New Zealand
Which political territories are Ottawa or Wellington Central present in
Canada New Zealand
action filter_type
action union
action find
entity Ottawa
relation country
action find
entity Wellington Central
relation country
type political territorial entity
{'OR': [['Ottawa', 'country', {'concept': 'political territorial entity'}], ['Wellington Central', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?i property:country ?g . VALUES ( ?i ) { ( resource:Ottawa ) ( resource:Wellington_Central ) } } . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have tactful political relations with those political territories ?
(Q38,P530,Q16) (Q38,P530,Q664)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q16'] ['Q38', 'P530', 'Q664']
ASK WHERE { VALUES ( ?t ) { ( resource:Q16 ) ( resource:Q664 ) } . resource:Q38 property:P530 ?t }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Canada'] ['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?t ) { ( resource:Canada ) ( resource:New_Zealand ) } . resource:Italy property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q16) (Q38,P530,Q664)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q16'] ['Q38', 'P530', 'Q664']
ASK WHERE { VALUES ( ?t ) { ( resource:Q16 ) ( resource:Q664 ) } . resource:Q38 property:P530 ?t }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Canada'] ['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?t ) { ( resource:Canada ) ( resource:New_Zealand ) } . resource:Italy property:diplomatic_relation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1555
P1427
Q22348500
USER
Which cycling race class originates at Guatemala City ?
(c(Q22348500),P1427,Q1555)
action filter_type
action find_reverse
entity Q1555
relation P1427
type Q22348500
[{'concept': 'Q22348500'}, 'P1427', 'Q1555']
SELECT DISTINCT ?g WHERE { ?g property:P1427 resource:Q1555 . ?g rdf:type ontology:Q22348500 }
Guatemala City
action filter_type
action find_reverse
entity Guatemala City
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Guatemala City']
SELECT DISTINCT ?g WHERE { ?g property:start_point resource:Guatemala_City . ?g rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q27687926
SYSTEM
2016 Vuelta a Guatemala
Q27687926
(c(Q22348500),P1427,Q1555)
action filter_type
action find_reverse
entity Q1555
relation P1427
type Q22348500
[ANSWER] originates at Guatemala City
[{'concept': 'Q22348500'}, 'P1427', 'Q1555']
SELECT DISTINCT ?g WHERE { ?g property:P1427 resource:Q1555 . ?g rdf:type ontology:Q22348500 }
2016 Vuelta a Guatemala
2016 Vuelta a Guatemala originates at Guatemala City
2016 Vuelta a Guatemala
action filter_type
action find_reverse
entity Guatemala City
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Guatemala City']
SELECT DISTINCT ?g WHERE { ?g property:start_point resource:Guatemala_City . ?g rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]