Simple Question (Direct)
Simple Question
Q55673
P400
Q9135
USER
Which operating systems are the platforms for which R-Type were developed ?
(Q55673,P400,c(Q9135))
action filter_type
action find
entity Q55673
relation P400
type Q9135
['Q55673', 'P400', {'concept': 'Q9135'}]
SELECT DISTINCT ?p WHERE { resource:Q55673 property:P400 ?p . ?p rdf:type ontology:Q9135 }
R-Type
action filter_type
action find
entity R-Type
relation platform
type operating system
['R-Type', 'platform', {'concept': 'operating system'}]
SELECT DISTINCT ?p WHERE { resource:R-Type property:platform ?p . ?p rdf:type ontology:operating_system }
[]
operating system
Q94 Q48493
SYSTEM
Android, iOS
Q94 Q48493
(Q55673,P400,c(Q9135))
action filter_type
action find
entity Q55673
relation P400
type Q9135
[ANSWERS] are the platforms for which R-Type were developed
['Q55673', 'P400', {'concept': 'Q9135'}]
SELECT DISTINCT ?p WHERE { resource:Q55673 property:P400 ?p . ?p rdf:type ontology:Q9135 }
Android iOS
Android and iOS are the platforms for which R-Type were developed
Android iOS
action filter_type
action find
entity R-Type
relation platform
type operating system
['R-Type', 'platform', {'concept': 'operating system'}]
SELECT DISTINCT ?p WHERE { resource:R-Type property:platform ?p . ?p rdf:type ontology:operating_system }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q94 Q48493
P306
Q431289
USER
Which brands are handled by those ones as the operating system ?
(c(Q431289),P306,Q94) (c(Q431289),P306,Q48493)
action filter_type
action find_reverse
entity prev_answer
relation P306
type Q431289
[{'concept': 'Q431289'}, 'P306', 'Q94'] [{'concept': 'Q431289'}, 'P306', 'Q48493']
SELECT DISTINCT ?s WHERE { VALUES ( ?b ) { ( resource:Q94 ) ( resource:Q48493 ) } . ?s property:P306 ?b . ?s rdf:type ontology:Q431289 }
Android iOS
action filter_type
action find_reverse
entity prev_answer
relation operating system
type brand
[{'concept': 'brand'}, 'operating system', 'Android'] [{'concept': 'brand'}, 'operating system', 'iOS']
SELECT DISTINCT ?s WHERE { VALUES ( ?b ) { ( resource:Android ) ( resource:iOS ) } . ?s property:operating_system ?b . ?s rdf:type ontology:brand }
[]
brand
Q245135 Q61504 Q14830132
SYSTEM
iPhone 4S, iPhone 5, Sony Xperia Z1
Q15618594 Q14173241 Q14516389 Q1566050 Q15296819 Q14830132 Q19370747 Q19865879 Q245135 Q300859 Q300947 Q61504 Q621427
(c(Q431289),P306,Q94) (c(Q431289),P306,Q48493)
action filter_type
action find_reverse
entity prev_answer
relation P306
type Q431289
[ANSWERS] are handled by those ones as the operating system
[{'concept': 'Q431289'}, 'P306', 'Q94'] [{'concept': 'Q431289'}, 'P306', 'Q48493']
SELECT DISTINCT ?s WHERE { VALUES ( ?b ) { ( resource:Q94 ) ( resource:Q48493 ) } . ?s property:P306 ?b . ?s rdf:type ontology:Q431289 }
Samsung Galaxy S5 Moto X LG G2 HTC Wildfire Samsung Galaxy Core Sony Xperia Z1 Samsung Galaxy S6 Edge OnePlus 2 iPhone 4S iPhone 3GS iPhone 3G iPhone 5 iPhone
IPhone 4S, iPhone 5 and Sony Xperia Z1 are handled by those ones as the operating system
iPhone 4S iPhone 5 Sony Xperia Z1
action filter_type
action find_reverse
entity prev_answer
relation operating system
type brand
[{'concept': 'brand'}, 'operating system', 'Android'] [{'concept': 'brand'}, 'operating system', 'iOS']
SELECT DISTINCT ?s WHERE { VALUES ( ?b ) { ( resource:Android ) ( resource:iOS ) } . ?s property:operating_system ?b . ?s rdf:type ontology:brand }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q94
P178
Q874405
USER
Who produced Android ?
(Q94,P178,c(Q874405))
action filter_type
action find
entity Q94
relation P178
type Q874405
['Q94', 'P178', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { resource:Q94 property:P178 ?i . ?i rdf:type ontology:Q874405 }
Android
action filter_type
action find
entity Android
relation developer
type social group
['Android', 'developer', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { resource:Android property:developer ?i . ?i rdf:type ontology:social_group }
[]
social group
Q819702
SYSTEM
Open Handset Alliance
Q819702
(Q94,P178,c(Q874405))
action filter_type
action find
entity Q94
relation P178
type Q874405
[ANSWER] produced Android
['Q94', 'P178', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { resource:Q94 property:P178 ?i . ?i rdf:type ontology:Q874405 }
Open Handset Alliance
Open Handset Alliance produced Android
Open Handset Alliance
action filter_type
action find
entity Android
relation developer
type social group
['Android', 'developer', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { resource:Android property:developer ?i . ?i rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q94
P361
Q920890
USER
Which mobile operating system is a component of Android ?
(c(Q920890),P361,Q94)
action filter_type
action find_reverse
entity Q94
relation P361
type Q920890
[{'concept': 'Q920890'}, 'P361', 'Q94']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q94 . ?z rdf:type ontology:Q920890 }
Android
action filter_type
action find_reverse
entity Android
relation part of
type mobile operating system
[{'concept': 'mobile operating system'}, 'part of', 'Android']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Android . ?z rdf:type ontology:mobile_operating_system }
[]
mobile operating system
Q2846919
SYSTEM
Ice Cream Sandwich
Q2846919
(c(Q920890),P361,Q94)
action filter_type
action find_reverse
entity Q94
relation P361
type Q920890
[ANSWER] is a component of Android
[{'concept': 'Q920890'}, 'P361', 'Q94']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q94 . ?z rdf:type ontology:Q920890 }
Ice Cream Sandwich
Ice Cream Sandwich is a component of Android
Ice Cream Sandwich
action filter_type
action find_reverse
entity Android
relation part of
type mobile operating system
[{'concept': 'mobile operating system'}, 'part of', 'Android']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Android . ?z rdf:type ontology:mobile_operating_system }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2846919 Q35962
P306
Q431289
USER
Does Maserati used that one as the operating system ?
(Q35962,P306,Q2846919)
action is_in
entity Q35962
action find
entity Q2846919
relation P306
['Q35962', 'P306', 'Q2846919']
ASK WHERE { resource:Q2846919 property:P306 resource:Q35962 }
Ice Cream Sandwich Maserati
action is_in
entity Maserati
action find
entity Ice Cream Sandwich
relation operating system
['Maserati', 'operating system', 'Ice Cream Sandwich']
ASK WHERE { resource:Ice_Cream_Sandwich property:operating_system resource:Maserati }
[]
brand
SYSTEM
NO
(Q35962,P306,Q2846919)
action is_in
entity Q35962
action find
entity Q2846919
relation P306
[ANSWER]
['Q35962', 'P306', 'Q2846919']
ASK WHERE { resource:Q2846919 property:P306 resource:Q35962 }
No
action is_in
entity Maserati
action find
entity Ice Cream Sandwich
relation operating system
['Maserati', 'operating system', 'Ice Cream Sandwich']
ASK WHERE { resource:Ice_Cream_Sandwich property:operating_system resource:Maserati }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q819702 Q486860
P159
Q56061
USER
Is Mountain View the head office of Open Handset Alliance ?
(Q819702,P159,Q486860)
action is_in
entity Q486860
action find
entity Q819702
relation P159
['Q819702', 'P159', 'Q486860']
ASK WHERE { resource:Q819702 property:P159 resource:Q486860 }
Open Handset Alliance Mountain View
action is_in
entity Mountain View
action find
entity Open Handset Alliance
relation headquarters location
['Open Handset Alliance', 'headquarters location', 'Mountain View']
ASK WHERE { resource:Open_Handset_Alliance property:headquarters_location resource:Mountain_View }
[]
administrative territorial entity
SYSTEM
YES
(Q819702,P159,Q486860)
action is_in
entity Q486860
action find
entity Q819702
relation P159
[ANSWER]
['Q819702', 'P159', 'Q486860']
ASK WHERE { resource:Q819702 property:P159 resource:Q486860 }
Yes
action is_in
entity Mountain View
action find
entity Open Handset Alliance
relation headquarters location
['Open Handset Alliance', 'headquarters location', 'Mountain View']
ASK WHERE { resource:Open_Handset_Alliance property:headquarters_location resource:Mountain_View }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245135
P176
Q43229
USER
Which organization is the manufacturer of iPhone 4S ?
(Q245135,P176,c(Q43229))
action filter_type
action find
entity Q245135
relation P176
type Q43229
['Q245135', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q245135 property:P176 ?l . ?l rdf:type ontology:Q43229 }
iPhone 4S
action filter_type
action find
entity iPhone 4S
relation manufacturer
type organization
['iPhone 4S', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:iPhone_4S property:manufacturer ?l . ?l rdf:type ontology:organization }
[]
organization
Q312
SYSTEM
Apple
Q312
(Q245135,P176,c(Q43229))
action filter_type
action find
entity Q245135
relation P176
type Q43229
[ANSWER] is the manufacturer of iPhone 4S
['Q245135', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q245135 property:P176 ?l . ?l rdf:type ontology:Q43229 }
Apple
Apple is the manufacturer of iPhone 4S
Apple
action filter_type
action find
entity iPhone 4S
relation manufacturer
type organization
['iPhone 4S', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:iPhone_4S property:manufacturer ?l . ?l rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q312 Q1961036
P355
Q43229
USER
Is Beats Electronics an auxiliary of Apple ?
(Q312,P355,Q1961036)
action is_in
entity Q1961036
action find
entity Q312
relation P355
['Q312', 'P355', 'Q1961036']
ASK WHERE { resource:Q312 property:P355 resource:Q1961036 }
Apple Beats Electronics
action is_in
entity Beats Electronics
action find
entity Apple
relation subsidiary
['Apple', 'subsidiary', 'Beats Electronics']
ASK WHERE { resource:Apple property:subsidiary resource:Beats_Electronics }
[]
organization
SYSTEM
YES
(Q312,P355,Q1961036)
action is_in
entity Q1961036
action find
entity Q312
relation P355
[ANSWER]
['Q312', 'P355', 'Q1961036']
ASK WHERE { resource:Q312 property:P355 resource:Q1961036 }
Yes
action is_in
entity Beats Electronics
action find
entity Apple
relation subsidiary
['Apple', 'subsidiary', 'Beats Electronics']
ASK WHERE { resource:Apple property:subsidiary resource:Beats_Electronics }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P176
Q431289 Q768186 Q20027951
USER
Which brands are the makers of min number of sports equipment or aircraft power classes ?
(c(Q768186)|c(Q20027951),P176,c(Q431289))
action argmin
action union
action find_reverse_tuple_counts
relation P176
type Q431289
type Q768186
action find_reverse_tuple_counts
relation P176
type Q431289
type Q20027951
[[{'concept': 'Q768186'}, {'concept': 'Q20027951'}], 'P176', {'concept': 'Q431289'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q768186 ) ( ontology:Q20027951 ) } } GROUP BY ?q } . FILTER ( ?l = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P176 ?u . ?r rdf:type ontology:Q768186 . ?u rdf:type ontology:Q431289 } UNION { ?r property:P176 ?u . ?u rdf:type ontology:Q431289 . ?r rdf:type ontology:Q20027951 } } GROUP BY ?u } } }
action argmin
action union
action find_reverse_tuple_counts
relation manufacturer
type brand
type sports equipment
action find_reverse_tuple_counts
relation manufacturer
type brand
type aircraft power class
[[{'concept': 'sports equipment'}, {'concept': 'aircraft power class'}], 'manufacturer', {'concept': 'brand'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:sports_equipment ) ( ontology:aircraft_power_class ) } } GROUP BY ?q } . FILTER ( ?l = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:manufacturer ?u . ?r rdf:type ontology:sports_equipment . ?u rdf:type ontology:brand } UNION { ?r property:manufacturer ?u . ?u rdf:type ontology:brand . ?r rdf:type ontology:aircraft_power_class } } GROUP BY ?u } } }
[]
brand sports equipment aircraft power class
Q6746 Q27564 Q246
SYSTEM
Citroën, Dodge, Volkswagen
Q116232 Q6746 Q246 Q27564 Q17017137
(c(Q768186)|c(Q20027951),P176,c(Q431289))
action argmin
action union
action find_reverse_tuple_counts
relation P176
type Q431289
type Q768186
action find_reverse_tuple_counts
relation P176
type Q431289
type Q20027951
[ANSWERS] are the makers of min number of sports equipment or aircraft power classes
[[{'concept': 'Q768186'}, {'concept': 'Q20027951'}], 'P176', {'concept': 'Q431289'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q768186 ) ( ontology:Q20027951 ) } } GROUP BY ?q } . FILTER ( ?l = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P176 ?u . ?r rdf:type ontology:Q768186 . ?u rdf:type ontology:Q431289 } UNION { ?r property:P176 ?u . ?u rdf:type ontology:Q431289 . ?r rdf:type ontology:Q20027951 } } GROUP BY ?u } } }
Mini Citroën Volkswagen Dodge Rover
Citroën, Dodge and Volkswagen are the makers of min number of sports equipment or aircraft power classes
Citroën Dodge Volkswagen
action argmin
action union
action find_reverse_tuple_counts
relation manufacturer
type brand
type sports equipment
action find_reverse_tuple_counts
relation manufacturer
type brand
type aircraft power class
[[{'concept': 'sports equipment'}, {'concept': 'aircraft power class'}], 'manufacturer', {'concept': 'brand'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:sports_equipment ) ( ontology:aircraft_power_class ) } } GROUP BY ?q } . FILTER ( ?l = ?a ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:manufacturer ?u . ?r rdf:type ontology:sports_equipment . ?u rdf:type ontology:brand } UNION { ?r property:manufacturer ?u . ?u rdf:type ontology:brand . ?r rdf:type ontology:aircraft_power_class } } GROUP BY ?u } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P306
Q676202 Q9135 Q431289
USER
How many brands are using approximately 5 system software or operating systems as the operating system ?
(c(Q431289),P306,c(Q676202)|c(Q9135))
action count
action approx
action union
action find_tuple_counts
relation P306
type Q431289
type Q676202
action find_tuple_counts
relation P306
type Q431289
type Q9135
value 5
[{'concept': 'Q431289'}, 'P306', [{'concept': 'Q676202'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:Q9135 ) ( ontology:Q676202 ) } . ?k rdf:type ?q } GROUP BY ?b } . FILTER ( ?i = 5 ) }
action count
action approx
action union
action find_tuple_counts
relation operating system
type brand
type system software
action find_tuple_counts
relation operating system
type brand
type operating system
value 5
[{'concept': 'brand'}, 'operating system', [{'concept': 'system software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:operating_system ) ( ontology:system_software ) } . ?k rdf:type ?q } GROUP BY ?b } . FILTER ( ?i = 5 ) }
[]
system software operating system brand
SYSTEM
1
Q245135
(c(Q431289),P306,c(Q676202)|c(Q9135))
action count
action approx
action union
action find_tuple_counts
relation P306
type Q431289
type Q676202
action find_tuple_counts
relation P306
type Q431289
type Q9135
value 5
[ANSWER]
[{'concept': 'Q431289'}, 'P306', [{'concept': 'Q676202'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:Q9135 ) ( ontology:Q676202 ) } . ?k rdf:type ?q } GROUP BY ?b } . FILTER ( ?i = 5 ) }
iPhone 4S
1
action count
action approx
action union
action find_tuple_counts
relation operating system
type brand
type system software
action find_tuple_counts
relation operating system
type brand
type operating system
value 5
[{'concept': 'brand'}, 'operating system', [{'concept': 'system software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:operating_system ) ( ontology:system_software ) } . ?k rdf:type ?q } GROUP BY ?b } . FILTER ( ?i = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6746
P108
Q502895
USER
Which person works for Citroën ?
(c(Q502895),P108,Q6746)
action filter_type
action find_reverse
entity Q6746
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q6746']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q6746 }
Citroën
action filter_type
action find_reverse
entity Citroën
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Citroën']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Citroën }
[]
common name
Q1396450
SYSTEM
Paul de Casteljau
Q1396450
(c(Q502895),P108,Q6746)
action filter_type
action find_reverse
entity Q6746
relation P108
type Q502895
[ANSWER] works for Citroën
[{'concept': 'Q502895'}, 'P108', 'Q6746']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q6746 }
Paul de Casteljau
Paul de Casteljau works for Citroën
Paul de Casteljau
action filter_type
action find_reverse
entity Citroën
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Citroën']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Citroën }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6746
P466
Q41176
USER
What is occupied by Citroën ?
(c(Q41176),P466,Q6746)
action filter_type
action find_reverse
entity Q6746
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q6746']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q6746 . ?r rdf:type ontology:Q41176 }
Citroën
action filter_type
action find_reverse
entity Citroën
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Citroën']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Citroën . ?r rdf:type ontology:building }
[]
building
Q2974497
SYSTEM
C_42
Q2974497
(c(Q41176),P466,Q6746)
action filter_type
action find_reverse
entity Q6746
relation P466
type Q41176
C 42 is occupied by Citroën
[{'concept': 'Q41176'}, 'P466', 'Q6746']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q6746 . ?r rdf:type ontology:Q41176 }
C_42
C 42 is occupied by Citroën
C_42
action filter_type
action find_reverse
entity Citroën
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Citroën']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Citroën . ?r rdf:type ontology:building }
[]