Simple Question (Direct)
Simple Question
Q3808356
P54
Q12973014
USER
Which sports teams are Jim McDaniels a member of ?
(Q3808356,P54,c(Q12973014))
action filter_type
action find
entity Q3808356
relation P54
type Q12973014
['Q3808356', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3808356 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Jim McDaniels
action filter_type
action find
entity Jim McDaniels
relation member of sports team
type sports team
['Jim McDaniels', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Jim_McDaniels property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
sports team
Q121783 Q1509765 Q976396
SYSTEM
Los Angeles Lakers, Kentucky Colonels, Los Angeles Clippers
Q1509765 Q121783 Q2048000 Q976396 Q948798
(Q3808356,P54,c(Q12973014))
action filter_type
action find
entity Q3808356
relation P54
type Q12973014
The [ANSWERS] are Jim McDaniels a member of
['Q3808356', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3808356 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Kentucky Colonels Los Angeles Lakers Pallalcesto Amatori Udine Los Angeles Clippers Carolina Cougars
The Los Angeles Lakers, Kentucky Colonels and Los Angeles Clippers are Jim McDaniels a member of
Los Angeles Lakers Kentucky Colonels Los Angeles Clippers
action filter_type
action find
entity Jim McDaniels
relation member of sports team
type sports team
['Jim McDaniels', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Jim_McDaniels property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3808356
P641
Q349
USER
Which sport was Jim McDaniels a part of ?
(Q3808356,P641,c(Q349))
action filter_type
action find
entity Q3808356
relation P641
type Q349
['Q3808356', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q3808356 property:P641 ?t . ?t rdf:type ontology:Q349 }
Jim McDaniels
action filter_type
action find
entity Jim McDaniels
relation sport
type sport
['Jim McDaniels', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Jim_McDaniels property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3808356,P641,c(Q349))
action filter_type
action find
entity Q3808356
relation P641
type Q349
Which sport was Jim McDaniels a part of
['Q3808356', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q3808356 property:P641 ?t . ?t rdf:type ontology:Q349 }
basketball
Which sport was Jim McDaniels a part of
basketball
action filter_type
action find
entity Jim McDaniels
relation sport
type sport
['Jim McDaniels', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Jim_McDaniels property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4622320
Q349
USER
And how about 2011 San Jose SaberCats season?
(Q4622320,P641,c(Q349))
action filter_type
action find
entity Q4622320
relation P641
type Q349
['Q4622320', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4622320 property:P641 ?r . ?r rdf:type ontology:Q349 }
2011 San Jose SaberCats season
action filter_type
action find
entity 2011 San Jose SaberCats season
relation sport
type sport
['2011 San Jose SaberCats season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:2011_San_Jose_SaberCats_season property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q4622320,P641,c(Q349))
action filter_type
action find
entity Q4622320
relation P641
type Q349
[ANSWER]
['Q4622320', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4622320 property:P641 ?r . ?r rdf:type ontology:Q349 }
American football
American football
action filter_type
action find
entity 2011 San Jose SaberCats season
relation sport
type sport
['2011 San Jose SaberCats season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:2011_San_Jose_SaberCats_season property:sport ?r . ?r rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1700299 Q3808356
P27
Q15617994
USER
Which administrative territories are Jim McDaniels and John H. Bankhead II an inhabitant of ?
AND((Q3808356,P27,c(Q15617994)), (Q1700299,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3808356
relation P27
action find
entity Q1700299
relation P27
type Q15617994
{'AND': [['Q3808356', 'P27', {'concept': 'Q15617994'}], ['Q1700299', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q3808356 property:P27 ?v . resource:Q1700299 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
John H. Bankhead II Jim McDaniels
action filter_type
action intersection
action find
entity Jim McDaniels
relation country of citizenship
action find
entity John H. Bankhead II
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Jim McDaniels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John H. Bankhead II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Jim_McDaniels property:country_of_citizenship ?v . resource:John_H._Bankhead_II property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q3808356,P27,c(Q15617994)), (Q1700299,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3808356
relation P27
action find
entity Q1700299
relation P27
type Q15617994
[ANSWER] is Jim McDaniels and John H. Bankhead II an inhabitant of
{'AND': [['Q3808356', 'P27', {'concept': 'Q15617994'}], ['Q1700299', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q3808356 property:P27 ?v . resource:Q1700299 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
United States of America is Jim McDaniels and John H. Bankhead II an inhabitant of
United States of America
action filter_type
action intersection
action find
entity Jim McDaniels
relation country of citizenship
action find
entity John H. Bankhead II
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Jim McDaniels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John H. Bankhead II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Jim_McDaniels property:country_of_citizenship ?v . resource:John_H._Bankhead_II property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1045
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Somalia ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1045
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?v ) WHERE { ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?u property:P530 ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1045 property:P530 ?c } } . FILTER ( ?v < ?t ) }
Somalia
action count
action less
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 Somalia
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 ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?v ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Somalia property:diplomatic_relation ?c } } . FILTER ( ?v < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1045
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?v ) WHERE { ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?u property:P530 ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1045 property:P530 ?c } } . FILTER ( ?v < ?t ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
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 Somalia
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 ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?v ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Somalia property:diplomatic_relation ?c } } . FILTER ( ?v < ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19152686 Q3808356
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Jim McDaniels or are Fluitakker a part of ?
OR((Q3808356,P27,c(Q15617994)), (Q19152686,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3808356
relation P27
action find
entity Q19152686
relation P17
type Q15617994
{'OR': [['Q3808356', 'P27', {'concept': 'Q15617994'}], ['Q19152686', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3808356 property:P27 ?p } UNION { resource:Q19152686 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Fluitakker Jim McDaniels
action filter_type
action union
action find
entity Jim McDaniels
relation country of citizenship
action find
entity Fluitakker
relation country
type designation for an administrative territorial entity
{'OR': [['Jim McDaniels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fluitakker', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jim_McDaniels property:country_of_citizenship ?p } UNION { resource:Fluitakker property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q3808356,P27,c(Q15617994)), (Q19152686,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3808356
relation P27
action find
entity Q19152686
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Jim McDaniels or are Fluitakker a part of
{'OR': [['Q3808356', 'P27', {'concept': 'Q15617994'}], ['Q19152686', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3808356 property:P27 ?p } UNION { resource:Q19152686 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
United States of America Netherlands
United States of America and Netherlands are the countries of citizenship of Jim McDaniels or are Fluitakker a part of
United States of America Netherlands
action filter_type
action union
action find
entity Jim McDaniels
relation country of citizenship
action find
entity Fluitakker
relation country
type designation for an administrative territorial entity
{'OR': [['Jim McDaniels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fluitakker', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jim_McDaniels property:country_of_citizenship ?p } UNION { resource:Fluitakker property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7738775
P840
Q838948
USER
Do The Hanoi Hilton have their setting located at those administrative territories ?
(Q7738775,P840,Q30) (Q7738775,P840,Q55)
action is_in
entity prev_answer
action find
entity Q7738775
relation P840
['Q7738775', 'P840', 'Q30'] ['Q7738775', 'P840', 'Q55']
ASK WHERE { resource:Q7738775 property:P840 ?r . VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q55 ) } }
The Hanoi Hilton
action is_in
entity prev_answer
action find
entity The Hanoi Hilton
relation narrative location
['The Hanoi Hilton', 'narrative location', 'United States of America'] ['The Hanoi Hilton', 'narrative location', 'Netherlands']
ASK WHERE { resource:The_Hanoi_Hilton property:narrative_location ?r . VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Netherlands ) } }
[]
work of art
SYSTEM
NO
(Q7738775,P840,Q30) (Q7738775,P840,Q55)
action is_in
entity prev_answer
action find
entity Q7738775
relation P840
[ANSWER]
['Q7738775', 'P840', 'Q30'] ['Q7738775', 'P840', 'Q55']
ASK WHERE { resource:Q7738775 property:P840 ?r . VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q55 ) } }
No
action is_in
entity prev_answer
action find
entity The Hanoi Hilton
relation narrative location
['The Hanoi Hilton', 'narrative location', 'United States of America'] ['The Hanoi Hilton', 'narrative location', 'Netherlands']
ASK WHERE { resource:The_Hanoi_Hilton property:narrative_location ?r . VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19152686
P276
Q56061
USER
Where is Fluitakker situated ?
(Q19152686,P276,c(Q56061))
action filter_type
action find
entity Q19152686
relation P276
type Q56061
['Q19152686', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q19152686 property:P276 ?h . ?h rdf:type ontology:Q56061 }
Fluitakker
action filter_type
action find
entity Fluitakker
relation location
type administrative territorial entity
['Fluitakker', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fluitakker property:location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2281003
SYSTEM
Bennekom
Q2281003
(Q19152686,P276,c(Q56061))
action filter_type
action find
entity Q19152686
relation P276
type Q56061
Fluitakker is situated in [ANSWER]
['Q19152686', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q19152686 property:P276 ?h . ?h rdf:type ontology:Q56061 }
Bennekom
Fluitakker is situated in Bennekom
Bennekom
action filter_type
action find
entity Fluitakker
relation location
type administrative territorial entity
['Fluitakker', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fluitakker property:location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]