Simple Question (Direct)
Simple Question
Q774834
P166
Q618779
USER
What was received by Toen Was Geluk Heel Gewoon ?
(Q774834,P166,c(Q618779))
action filter_type
action find
entity Q774834
relation P166
type Q618779
['Q774834', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q774834 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Toen Was Geluk Heel Gewoon
action filter_type
action find
entity Toen Was Geluk Heel Gewoon
relation award received
type award
['Toen Was Geluk Heel Gewoon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Toen_Was_Geluk_Heel_Gewoon property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q20890225
SYSTEM
Gouden Televizier-Ring
Q20890225
(Q774834,P166,c(Q618779))
action filter_type
action find
entity Q774834
relation P166
type Q618779
[ANSWER] was received by Toen Was Geluk Heel Gewoon
['Q774834', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q774834 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Gouden Televizier-Ring
Gouden Televizier-Ring was received by Toen Was Geluk Heel Gewoon
Gouden Televizier-Ring
action filter_type
action find
entity Toen Was Geluk Heel Gewoon
relation award received
type award
['Toen Was Geluk Heel Gewoon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Toen_Was_Geluk_Heel_Gewoon property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q774834
P495
Q15617994
USER
Where did Toen Was Geluk Heel Gewoon originate ?
(Q774834,P495,c(Q15617994))
action filter_type
action find
entity Q774834
relation P495
type Q15617994
['Q774834', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q774834 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Toen Was Geluk Heel Gewoon
action filter_type
action find
entity Toen Was Geluk Heel Gewoon
relation country of origin
type designation for an administrative territorial entity
['Toen Was Geluk Heel Gewoon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Toen_Was_Geluk_Heel_Gewoon property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q774834,P495,c(Q15617994))
action filter_type
action find
entity Q774834
relation P495
type Q15617994
Toen Was Geluk originated the [ANSWER] Heel Gewoon
['Q774834', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q774834 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Netherlands
Toen Was Geluk originated the Netherlands Heel Gewoon
Netherlands
action filter_type
action find
entity Toen Was Geluk Heel Gewoon
relation country of origin
type designation for an administrative territorial entity
['Toen Was Geluk Heel Gewoon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Toen_Was_Geluk_Heel_Gewoon property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17053449
Q15617994
USER
And how about Whatever Love Means?
(Q17053449,P495,c(Q15617994))
action filter_type
action find
entity Q17053449
relation P495
type Q15617994
['Q17053449', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q17053449 property:P495 ?l }
Whatever Love Means
action filter_type
action find
entity Whatever Love Means
relation country of origin
type designation for an administrative territorial entity
['Whatever Love Means', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Whatever_Love_Means property:country_of_origin ?l }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q17053449,P495,c(Q15617994))
action filter_type
action find
entity Q17053449
relation P495
type Q15617994
About Whatever Love Means to [ANSWER] And
['Q17053449', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q17053449 property:P495 ?l }
United Kingdom
About Whatever Love Means to United Kingdom And
United Kingdom
action filter_type
action find
entity Whatever Love Means
relation country of origin
type designation for an administrative territorial entity
['Whatever Love Means', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Whatever_Love_Means property:country_of_origin ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q678
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with approximately the same number of administrative territories as Tonga ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q678
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q678 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?b ) }
Tonga
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tonga
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Tonga property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q678
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as Tonga
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q678 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?b ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with approximately the same number of administrative territories as Tonga
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tonga
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Tonga property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1008
P530
Q15617994 Q15617994
USER
And how about Côte d'Ivoire?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?y ) WHERE { ?i property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q1008 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?c ) }
Côte d'Ivoire
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?y ) WHERE { ?i property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?y ) WHERE { ?i property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q1008 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?y ) WHERE { ?i property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?c ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55 Q36 Q148
P36
Q56061
USER
Which administrative territories are the capitals of Netherlands, Poland and People's Republic of China ?
(Q55,P36,c(Q56061)) (Q36,P36,c(Q56061)) (Q148,P36,c(Q56061))
action union
action filter_type
action find
entity Q55
relation P36
type Q56061
action filter_type
action find
entity Q36
relation P36
type Q56061
action filter_type
action find
entity Q148
relation P36
type Q56061
['Q55', 'P36', {'concept': 'Q56061'}] ['Q36', 'P36', {'concept': 'Q56061'}] ['Q148', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q36 property:P36 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q55 property:P36 ?d . ?d rdf:type ontology:Q56061 } }
Netherlands Poland People's Republic of China
action union
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
action filter_type
action find
entity People's Republic of China
relation capital
type administrative territorial entity
['Netherlands', 'capital', {'concept': 'administrative territorial entity'}] ['Poland', 'capital', {'concept': 'administrative territorial entity'}] ["People's Republic of China", 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Poland property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Netherlands property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q727 Q270 Q956
SYSTEM
Amsterdam, Warsaw, Beijing
Q727 Q270 Q956
(Q55,P36,c(Q56061)) (Q36,P36,c(Q56061)) (Q148,P36,c(Q56061))
action union
action filter_type
action find
entity Q55
relation P36
type Q56061
action filter_type
action find
entity Q36
relation P36
type Q56061
action filter_type
action find
entity Q148
relation P36
type Q56061
[ANSWERS] are the capitals of Netherlands, Poland and People's Republic of China
['Q55', 'P36', {'concept': 'Q56061'}] ['Q36', 'P36', {'concept': 'Q56061'}] ['Q148', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q36 property:P36 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q55 property:P36 ?d . ?d rdf:type ontology:Q56061 } }
Amsterdam Warsaw Beijing
Amsterdam, Warsaw and Beijing are the capitals of Netherlands, Poland and People's Republic of China
Amsterdam Warsaw Beijing
action union
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
action filter_type
action find
entity People's Republic of China
relation capital
type administrative territorial entity
['Netherlands', 'capital', {'concept': 'administrative territorial entity'}] ['Poland', 'capital', {'concept': 'administrative territorial entity'}] ["People's Republic of China", 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Poland property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Netherlands property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q727 Q270 Q956
P931
Q62447
USER
Which aerodromes serve the place named Amsterdam, Warsaw and Beijing ?
(c(Q62447),P931,Q727) (c(Q62447),P931,Q270) (c(Q62447),P931,Q956)
action union
action filter_type
action find_reverse
entity Q727
relation P931
type Q62447
action filter_type
action find_reverse
entity Q270
relation P931
type Q62447
action filter_type
action find_reverse
entity Q956
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q727'] [{'concept': 'Q62447'}, 'P931', 'Q270'] [{'concept': 'Q62447'}, 'P931', 'Q956']
SELECT DISTINCT ?r WHERE { { ?r property:P931 resource:Q727 . ?r rdf:type ontology:Q62447 } UNION { ?r property:P931 resource:Q270 . ?r rdf:type ontology:Q62447 } }
Amsterdam Warsaw Beijing
action union
action filter_type
action find_reverse
entity Amsterdam
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Warsaw
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Beijing
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Amsterdam'] [{'concept': 'aerodrome'}, 'place served by airport', 'Warsaw'] [{'concept': 'aerodrome'}, 'place served by airport', 'Beijing']
SELECT DISTINCT ?r WHERE { { ?r property:place_served_by_airport resource:Amsterdam . ?r rdf:type ontology:aerodrome } UNION { ?r property:place_served_by_airport resource:Warsaw . ?r rdf:type ontology:aerodrome } }
[]
aerodrome
Q9694 Q5247376 Q1401995
SYSTEM
Amsterdam Airport Schiphol, Sochaczew-Bielice Airport, Warsaw-Modlin Mazovia Airport
Q9694 Q5247376 Q1401995 Q1323108 Q1200842
(c(Q62447),P931,Q727) (c(Q62447),P931,Q270) (c(Q62447),P931,Q956)
action union
action filter_type
action find_reverse
entity Q727
relation P931
type Q62447
action filter_type
action find_reverse
entity Q270
relation P931
type Q62447
action filter_type
action find_reverse
entity Q956
relation P931
type Q62447
[ANSWERS] serve the place named Amsterdam, Warsaw and Beijing
[{'concept': 'Q62447'}, 'P931', 'Q727'] [{'concept': 'Q62447'}, 'P931', 'Q270'] [{'concept': 'Q62447'}, 'P931', 'Q956']
SELECT DISTINCT ?r WHERE { { ?r property:P931 resource:Q727 . ?r rdf:type ontology:Q62447 } UNION { ?r property:P931 resource:Q270 . ?r rdf:type ontology:Q62447 } }
Amsterdam Airport Schiphol Sochaczew-Bielice Airport Warsaw-Modlin Mazovia Airport Warsaw Babice Airport Beijing Nanyuan Airport
Amsterdam Airport Schiphol, Sochaczew-Bielice Airport and Warsaw-Modlin Mazovia Airport serve the place named Amsterdam, Warsaw and Beijing
Amsterdam Airport Schiphol Sochaczew-Bielice Airport Warsaw-Modlin Mazovia Airport
action union
action filter_type
action find_reverse
entity Amsterdam
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Warsaw
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Beijing
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Amsterdam'] [{'concept': 'aerodrome'}, 'place served by airport', 'Warsaw'] [{'concept': 'aerodrome'}, 'place served by airport', 'Beijing']
SELECT DISTINCT ?r WHERE { { ?r property:place_served_by_airport resource:Amsterdam . ?r rdf:type ontology:aerodrome } UNION { ?r property:place_served_by_airport resource:Warsaw . ?r rdf:type ontology:aerodrome } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7938577
P161
Q838948
USER
Which works of art do Vladimir Popović star in ?
(c(Q838948),P161,Q7938577)
action filter_type
action find_reverse
entity Q7938577
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7938577']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q7938577 . ?e rdf:type ontology:Q838948 }
Vladimir Popović
action filter_type
action find_reverse
entity Vladimir Popović
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Vladimir Popović']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Vladimir_Popović . ?e rdf:type ontology:work_of_art }
[]
work of art
Q648289 Q895610 Q11155190
SYSTEM
The Battle of Sutjeska, Die Pyramide des Sonnengottes, The Written Off Return
Q11155190 Q895610 Q3507789 Q16086650 Q3506227 Q18715095 Q27334153 Q648289 Q12754999
(c(Q838948),P161,Q7938577)
action filter_type
action find_reverse
entity Q7938577
relation P161
type Q838948
Vladimir Popović star [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q7938577']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q7938577 . ?e rdf:type ontology:Q838948 }
The Written Off Return Die Pyramide des Sonnengottes Face to Face Svadba The Man to Destroy Quo vadis Zivorade Sramno leto The Battle of Sutjeska March on the Drina
Vladimir Popović star The Battle of Sutjeska, Die Pyramide des Sonnengottes and The Written Off Return
The Battle of Sutjeska Die Pyramide des Sonnengottes The Written Off Return
action filter_type
action find_reverse
entity Vladimir Popović
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Vladimir Popović']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Vladimir_Popović . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q648289 Q895610 Q11155190
P57
Q502895
USER
Who directed those works of art ?
(Q648289,P57,c(Q502895)) (Q895610,P57,c(Q502895)) (Q11155190,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q648289', 'P57', {'concept': 'Q502895'}] ['Q895610', 'P57', {'concept': 'Q502895'}] ['Q11155190', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?f property:P57 ?n . VALUES ( ?f ) { ( resource:Q11155190 ) ( resource:Q895610 ) ( resource:Q3507789 ) } }
The Battle of Sutjeska Die Pyramide des Sonnengottes The Written Off Return
action filter_type
action find
entity prev_answer
relation director
type common name
['The Battle of Sutjeska', 'director', {'concept': 'common name'}] ['Die Pyramide des Sonnengottes', 'director', {'concept': 'common name'}] ['The Written Off Return', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?f property:director ?n . VALUES ( ?f ) { ( resource:The_Written_Off_Return ) ( resource:Die_Pyramide_des_Sonnengottes ) ( resource:Face_to_Face ) } }
[]
common name
Q7617497 Q51498 Q11038450
SYSTEM
Stipe Delić, Robert Siodmak, Aleksandar Đorđević
Q7617497 Q51498 Q11038450
(Q648289,P57,c(Q502895)) (Q895610,P57,c(Q502895)) (Q11155190,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS] directed those works of art
['Q648289', 'P57', {'concept': 'Q502895'}] ['Q895610', 'P57', {'concept': 'Q502895'}] ['Q11155190', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?f property:P57 ?n . VALUES ( ?f ) { ( resource:Q11155190 ) ( resource:Q895610 ) ( resource:Q3507789 ) } }
Stipe Delić Robert Siodmak Aleksandar Đorđević
Stipe Delić, Robert Siodmak and Aleksandar Đorđević directed those works of art
Stipe Delić Robert Siodmak Aleksandar Đorđević
action filter_type
action find
entity prev_answer
relation director
type common name
['The Battle of Sutjeska', 'director', {'concept': 'common name'}] ['Die Pyramide des Sonnengottes', 'director', {'concept': 'common name'}] ['The Written Off Return', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?f property:director ?n . VALUES ( ?f ) { ( resource:The_Written_Off_Return ) ( resource:Die_Pyramide_des_Sonnengottes ) ( resource:Face_to_Face ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11038450
P106
Q28640
USER
Which profession has that person as his/her 's career ?
(Q11038450,P106,c(Q28640))
action filter_type
action find
entity Q11038450
relation P106
type Q28640
['Q11038450', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { resource:Q11038450 property:P106 ?d . ?d rdf:type ontology:Q28640 }
Aleksandar Đorđević
action filter_type
action find
entity Aleksandar Đorđević
relation occupation
type profession
['Aleksandar Đorđević', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { resource:Aleksandar_Đorđević property:occupation ?d . ?d rdf:type ontology:profession }
[]
profession
Clarification for simple ques.
Q11038450
SYSTEM
Did you mean Aleksandar Đorđević ?
Q7617497 Q51498 Q11038450
(Q7617497,P106,c(Q28640)) (Q51498,P106,c(Q28640)) (Q11038450,P106,c(Q28640))
[ANSWER]
['Q7617497', 'P106', {'concept': 'Q28640'}] ['Q51498', 'P106', {'concept': 'Q28640'}] ['Q11038450', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { resource:Q11038450 property:P106 ?d . ?d rdf:type ontology:Q28640 }
Stipe Delić Robert Siodmak Aleksandar Đorđević
Did you mean Aleksandar Đorđević ?
Aleksandar Đorđević
['Stipe Delić', 'occupation', {'concept': 'profession'}] ['Robert Siodmak', 'occupation', {'concept': 'profession'}] ['Aleksandar Đorđević', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { resource:Aleksandar_Đorđević property:occupation ?d . ?d rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11038450,P106,c(Q28640))
['Q11038450', 'P106', {'concept': 'Q28640'}]
['Aleksandar Đorđević', 'occupation', {'concept': 'profession'}]
[]
Q2526255
SYSTEM
film director
Q2526255
(Q11038450,P106,c(Q28640))
action filter_type
action find
entity Q11038450
relation P106
type Q28640
The [ANSWER] has that person as his/her 's career
['Q11038450', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { resource:Q11038450 property:P106 ?d . ?d rdf:type ontology:Q28640 }
film director
The film director has that person as his/her 's career
film director
action filter_type
action find
entity Aleksandar Đorđević
relation occupation
type profession
['Aleksandar Đorđević', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { resource:Aleksandar_Đorđević property:occupation ?d . ?d rdf:type ontology:profession }
[]