Simple Question (Direct)
Simple Question
Q7438766
P437
Q309100
USER
Which planning was used as the method of distribution of Scrap Metal ?
(Q7438766,P437,c(Q309100))
action filter_type
action find
entity Q7438766
relation P437
type Q309100
['Q7438766', 'P437', {'concept': 'Q309100'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q309100 . resource:Q7438766 property:P437 ?z }
Scrap Metal
action filter_type
action find
entity Scrap Metal
relation distribution
type planning
['Scrap Metal', 'distribution', {'concept': 'planning'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:planning . resource:Scrap_Metal property:distribution ?z }
[]
planning
Q269415
SYSTEM
digital distribution
Q269415
(Q7438766,P437,c(Q309100))
action filter_type
action find
entity Q7438766
relation P437
type Q309100
The [ANSWER] was used as the method of distribution of Scrap Metal
['Q7438766', 'P437', {'concept': 'Q309100'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q309100 . resource:Q7438766 property:P437 ?z }
digital distribution
The digital distribution was used as the method of distribution of Scrap Metal
digital distribution
action filter_type
action find
entity Scrap Metal
relation distribution
type planning
['Scrap Metal', 'distribution', {'concept': 'planning'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:planning . resource:Scrap_Metal property:distribution ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7438766
P123
Q1269299
USER
Which business organization released Scrap Metal ?
(Q7438766,P123,c(Q1269299))
action filter_type
action find
entity Q7438766
relation P123
type Q1269299
['Q7438766', 'P123', {'concept': 'Q1269299'}]
SELECT DISTINCT ?i WHERE { resource:Q7438766 property:P123 ?i . ?i rdf:type ontology:Q1269299 }
Scrap Metal
action filter_type
action find
entity Scrap Metal
relation publisher
type type of business entity
['Scrap Metal', 'publisher', {'concept': 'type of business entity'}]
SELECT DISTINCT ?i WHERE { resource:Scrap_Metal property:publisher ?i . ?i rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q2283
SYSTEM
Microsoft
Q2283
(Q7438766,P123,c(Q1269299))
action filter_type
action find
entity Q7438766
relation P123
type Q1269299
[ANSWER] released Scrap Metal
['Q7438766', 'P123', {'concept': 'Q1269299'}]
SELECT DISTINCT ?i WHERE { resource:Q7438766 property:P123 ?i . ?i rdf:type ontology:Q1269299 }
Microsoft
Microsoft released Scrap Metal
Microsoft
action filter_type
action find
entity Scrap Metal
relation publisher
type type of business entity
['Scrap Metal', 'publisher', {'concept': 'type of business entity'}]
SELECT DISTINCT ?i WHERE { resource:Scrap_Metal property:publisher ?i . ?i rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7438766
P400
Q241317
USER
What is the computing platform for which Scrap Metal was specifically designed ?
(Q7438766,P400,c(Q241317))
action filter_type
action find
entity Q7438766
relation P400
type Q241317
['Q7438766', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?z WHERE { resource:Q7438766 property:P400 ?z . ?z rdf:type ontology:Q241317 }
Scrap Metal
action filter_type
action find
entity Scrap Metal
relation platform
type computing platform
['Scrap Metal', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?z WHERE { resource:Scrap_Metal property:platform ?z . ?z rdf:type ontology:computing_platform }
[]
computing platform
Q48263
SYSTEM
Xbox 360
Q48263
(Q7438766,P400,c(Q241317))
action filter_type
action find
entity Q7438766
relation P400
type Q241317
360 [ANSWER]
['Q7438766', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?z WHERE { resource:Q7438766 property:P400 ?z . ?z rdf:type ontology:Q241317 }
Xbox 360
360 Xbox 360
Xbox 360
action filter_type
action find
entity Scrap Metal
relation platform
type computing platform
['Scrap Metal', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?z WHERE { resource:Scrap_Metal property:platform ?z . ?z rdf:type ontology:computing_platform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48263
P408
Q166142
USER
Which application uses that computing platform software engine ?
(c(Q166142),P408,Q48263)
action filter_type
action find_reverse
entity Q48263
relation P408
type Q166142
[{'concept': 'Q166142'}, 'P408', 'Q48263']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q166142 . ?f property:P408 resource:Q48263 }
Xbox 360
action filter_type
action find_reverse
entity Xbox 360
relation software engine
type application
[{'concept': 'application'}, 'software engine', 'Xbox 360']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:application . ?f property:software_engine resource:Xbox_360 }
[]
application
Q1571349
SYSTEM
Ben 10: Omniverse
Q1571349
(c(Q166142),P408,Q48263)
action filter_type
action find_reverse
entity Q48263
relation P408
type Q166142
[ANSWER] uses that computing platform software engine
[{'concept': 'Q166142'}, 'P408', 'Q48263']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q166142 . ?f property:P408 resource:Q48263 }
Ben 10: Omniverse
Ben 10: Omniverse uses that computing platform software engine
Ben 10: Omniverse
action filter_type
action find_reverse
entity Xbox 360
relation software engine
type application
[{'concept': 'application'}, 'software engine', 'Xbox 360']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:application . ?f property:software_engine resource:Xbox_360 }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48263
P306
Q166142
USER
Which application is using that computing platform as the operating system ?
(c(Q166142),P306,Q1571349)
action filter_type
action find_reverse
entity Q48263
relation P306
type Q166142
[{'concept': 'Q166142'}, 'P306', 'Q1571349']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q166142 . ?g property:P306 resource:Q48263 }
Xbox 360
action filter_type
action find_reverse
entity Xbox 360
relation operating system
type application
[{'concept': 'application'}, 'operating system', 'Ben 10: Omniverse']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:application . ?g property:operating_system resource:Xbox_360 }
[]
application
Q63966
SYSTEM
Unity
Q63966
(c(Q166142),P306,Q1571349)
action filter_type
action find_reverse
entity Q48263
relation P306
type Q166142
[ANSWER] is using that computing platform as the operating system
[{'concept': 'Q166142'}, 'P306', 'Q1571349']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q166142 . ?g property:P306 resource:Q48263 }
Unity
Unity is using that computing platform as the operating system
Unity
action filter_type
action find_reverse
entity Xbox 360
relation operating system
type application
[{'concept': 'application'}, 'operating system', 'Ben 10: Omniverse']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:application . ?g property:operating_system resource:Xbox_360 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q48263
P176
Q1269299 Q43229
USER
How many business organizations and organizations are the makers of Xbox 360 ?
(Q48263,P176,c(Q1269299)) (Q48263,P176,c(Q43229))
action count
action union
action filter_type
action find
entity Q48263
relation P176
type Q1269299
action filter_type
action find
entity Q48263
relation P176
type Q43229
['Q48263', 'P176', {'concept': 'Q1269299'}] ['Q48263', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { resource:Q48263 property:P176 ?u . ?u rdf:type ontology:Q1269299 } UNION { resource:Q48263 property:P176 ?u . ?u rdf:type ontology:Q43229 } }
Xbox 360
action count
action union
action filter_type
action find
entity Xbox 360
relation manufacturer
type type of business entity
action filter_type
action find
entity Xbox 360
relation manufacturer
type organization
['Xbox 360', 'manufacturer', {'concept': 'type of business entity'}] ['Xbox 360', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { resource:Xbox_360 property:manufacturer ?u . ?u rdf:type ontology:type_of_business_entity } UNION { resource:Xbox_360 property:manufacturer ?u . ?u rdf:type ontology:organization } }
[]
type of business entity organization
SYSTEM
1 business organizations and 3 organizations
Q463094 Q225440 Q441821 Q1140680
(Q48263,P176,c(Q1269299)) (Q48263,P176,c(Q43229))
action count
action union
action filter_type
action find
entity Q48263
relation P176
type Q1269299
action filter_type
action find
entity Q48263
relation P176
type Q43229
[ANSWER]
['Q48263', 'P176', {'concept': 'Q1269299'}] ['Q48263', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { resource:Q48263 property:P176 ?u . ?u rdf:type ontology:Q1269299 } UNION { resource:Q48263 property:P176 ?u . ?u rdf:type ontology:Q43229 } }
Foxconn Celestica Wistron Corporation Flextronics
1 business organizations and 3 organizations
action count
action union
action filter_type
action find
entity Xbox 360
relation manufacturer
type type of business entity
action filter_type
action find
entity Xbox 360
relation manufacturer
type organization
['Xbox 360', 'manufacturer', {'concept': 'type of business entity'}] ['Xbox 360', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { resource:Xbox_360 property:manufacturer ?u . ?u rdf:type ontology:type_of_business_entity } UNION { resource:Xbox_360 property:manufacturer ?u . ?u rdf:type ontology:organization } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2283 Q193559
P108
Q502895
USER
How many people are working for Microsoft and Valve Corporation ?
(c(Q502895),P108,Q2283) (c(Q502895),P108,Q193559)
action count
action intersection
action filter_type
action find_reverse
entity Q2283
relation P108
type Q502895
action filter_type
action find_reverse
entity Q193559
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q2283'] [{'concept': 'Q502895'}, 'P108', 'Q193559']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P108 resource:Q2283 . ?q rdf:type ontology:Q502895 . ?q property:P108 resource:Q193559 . ?q rdf:type ontology:Q502895 }
Microsoft Valve Corporation
action count
action intersection
action filter_type
action find_reverse
entity Microsoft
relation employer
type common name
action filter_type
action find_reverse
entity Valve Corporation
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Microsoft'] [{'concept': 'common name'}, 'employer', 'Valve Corporation']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:employer resource:Microsoft . ?q rdf:type ontology:common_name . ?q property:employer resource:Valve_Corporation . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q658774 Q347418
(c(Q502895),P108,Q2283) (c(Q502895),P108,Q193559)
action count
action intersection
action filter_type
action find_reverse
entity Q2283
relation P108
type Q502895
action filter_type
action find_reverse
entity Q193559
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q2283'] [{'concept': 'Q502895'}, 'P108', 'Q193559']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P108 resource:Q2283 . ?q rdf:type ontology:Q502895 . ?q property:P108 resource:Q193559 . ?q rdf:type ontology:Q502895 }
Mike Harrington Gabe Newell
2
action count
action intersection
action filter_type
action find_reverse
entity Microsoft
relation employer
type common name
action filter_type
action find_reverse
entity Valve Corporation
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Microsoft'] [{'concept': 'common name'}, 'employer', 'Valve Corporation']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:employer resource:Microsoft . ?q rdf:type ontology:common_name . ?q property:employer resource:Valve_Corporation . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q166142 Q2342494 Q5398426
USER
Which applications are approximately 1 collectables and television series adapted from ?
(c(Q2342494)|c(Q5398426),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q166142
type Q5398426
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?a WHERE { { ?i property:P144 ?a . ?a rdf:type ontology:Q166142 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P144 ?a . ?a rdf:type ontology:Q166142 . ?i rdf:type ontology:Q5398426 } } GROUP BY ?a } }
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type collectable
action find_reverse_tuple_counts
relation based on
type application
type television series
value 1
[[{'concept': 'collectable'}, {'concept': 'television series'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?a WHERE { { ?i property:based_on ?a . ?a rdf:type ontology:application . ?i rdf:type ontology:collectable } UNION { ?i property:based_on ?a . ?a rdf:type ontology:application . ?i rdf:type ontology:television_series } } GROUP BY ?a } }
[]
application collectable television series
Q220960 Q2880740 Q741244
SYSTEM
Diablo, Baldur's Gate II: Throne of Bhaal, Warcraft III: The Frozen Throne
Q860291 Q2880740 Q741244 Q220960 Q286051 Q1088022
(c(Q2342494)|c(Q5398426),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q166142
type Q5398426
value 1
Approximately 1 collectables and television series are adapted from [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?a WHERE { { ?i property:P144 ?a . ?a rdf:type ontology:Q166142 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P144 ?a . ?a rdf:type ontology:Q166142 . ?i rdf:type ontology:Q5398426 } } GROUP BY ?a } }
Warcraft II: Beyond the Dark Portal Baldur's Gate II: Throne of Bhaal Warcraft III: The Frozen Throne Diablo true tears Triangle Heart
Approximately 1 collectables and television series are adapted from Diablo, Baldur's Gate II: Throne of Bhaal and Warcraft III: The Frozen Throne
Diablo Baldur's Gate II: Throne of Bhaal Warcraft III: The Frozen Throne
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type collectable
action find_reverse_tuple_counts
relation based on
type application
type television series
value 1
[[{'concept': 'collectable'}, {'concept': 'television series'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?a WHERE { { ?i property:based_on ?a . ?a rdf:type ontology:application . ?i rdf:type ontology:collectable } UNION { ?i property:based_on ?a . ?a rdf:type ontology:application . ?i rdf:type ontology:television_series } } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220960
P400
Q241317 Q676202
USER
How many computing platforms or system software are the computing platforms for which Diablo were specifically designed ?
(Q220960,P400,c(Q241317)) (Q220960,P400,c(Q676202))
action count
action union
action filter_type
action find
entity Q220960
relation P400
type Q241317
action filter_type
action find
entity Q220960
relation P400
type Q676202
['Q220960', 'P400', {'concept': 'Q241317'}] ['Q220960', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q241317 ) ( ontology:Q676202 ) } }
Diablo
action count
action union
action filter_type
action find
entity Diablo
relation platform
type computing platform
action filter_type
action find
entity Diablo
relation platform
type system software
['Diablo', 'platform', {'concept': 'computing platform'}] ['Diablo', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:computing_platform ) ( ontology:system_software ) } }
[]
computing platform system software
SYSTEM
3
Q10677 Q1406 Q43627
(Q220960,P400,c(Q241317)) (Q220960,P400,c(Q676202))
action count
action union
action filter_type
action find
entity Q220960
relation P400
type Q241317
action filter_type
action find
entity Q220960
relation P400
type Q676202
[ANSWER]
['Q220960', 'P400', {'concept': 'Q241317'}] ['Q220960', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q241317 ) ( ontology:Q676202 ) } }
PlayStation Microsoft Windows Mac OS
3
action count
action union
action filter_type
action find
entity Diablo
relation platform
type computing platform
action filter_type
action find
entity Diablo
relation platform
type system software
['Diablo', 'platform', {'concept': 'computing platform'}] ['Diablo', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:computing_platform ) ( ontology:system_software ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2997370 Q2283
P112 P161
Q502895
USER
Which people founded Microsoft or starred in Coriolanus ?
OR((Q2283,P112,c(Q502895)), (Q2997370,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2283
relation P112
action find
entity Q2997370
relation P161
type Q502895
{'OR': [['Q2283', 'P112', {'concept': 'Q502895'}], ['Q2997370', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q2283 property:P112 ?p } UNION { resource:Q2997370 property:P161 ?p } } }
Coriolanus Microsoft
action filter_type
action union
action find
entity Microsoft
relation founder
action find
entity Coriolanus
relation cast member
type common name
{'OR': [['Microsoft', 'founder', {'concept': 'common name'}], ['Coriolanus', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Microsoft property:founder ?p } UNION { resource:Coriolanus property:cast_member ?p } } }
[]
common name
Q152042 Q21517971 Q162005 Q663748 Q21518053 Q378978 Q21517842 Q21517793 Q21517785 Q21517791
SYSTEM
Some of them are Peter Francis James, Khayyam Kain, Paul Allen, Earle Hyman, Cynthia McPherson, Cástulo Guerra, Keith Esau, Robert Christian, Frank Adu, Christine Campbell
Q21517789 Q21517788 Q21518035 Q21517932 Q378978 Q21517971 Q21517836 Q21517785 Q236434 Q21517856 Q21517850 Q21518053 Q162005 Q5284 Q152042 Q42101 Q21517842 Q21517791 Q21517793 Q21517964 Q663748 Q48337
OR((Q2283,P112,c(Q502895)), (Q2997370,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2283
relation P112
action find
entity Q2997370
relation P161
type Q502895
[ANSWERS] founded Microsoft or starred in Coriolanus
{'OR': [['Q2283', 'P112', {'concept': 'Q502895'}], ['Q2997370', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q2283 property:P112 ?p } UNION { resource:Q2997370 property:P161 ?p } } }
Thomas Martell Brimm Bimbo José Maldonado Clebert Ford Cástulo Guerra Khayyam Kain Tony Clay Frank Adu C. C. H. Pounder Gloria Footer Jay Fernandez Cynthia McPherson Paul Allen Bill Gates Peter Francis James Denzel Washington Keith Esau Christine Campbell Robert Christian J.J. Johnson Earle Hyman Morgan Freeman
Peter Francis James, Khayyam Kain, Paul Allen, Earle Hyman, Cynthia McPherson, Cástulo Guerra, Keith Esau, Robert Christian, Frank Adu and Christine Campbell founded Microsoft or starred in Coriolanus
Peter Francis James Khayyam Kain Paul Allen Earle Hyman Cynthia McPherson Cástulo Guerra Keith Esau Robert Christian Frank Adu Christine Campbell
action filter_type
action union
action find
entity Microsoft
relation founder
action find
entity Coriolanus
relation cast member
type common name
{'OR': [['Microsoft', 'founder', {'concept': 'common name'}], ['Coriolanus', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Microsoft property:founder ?p } UNION { resource:Coriolanus property:cast_member ?p } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 2413 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2413
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?s = 2413 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?v } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2413
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?s = 2413 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?v } }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2413
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?s = 2413 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?v } }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2413
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?s = 2413 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q354603 Q152042
P161
Q838948
USER
Which works of art have Peter Francis James or Charles Avery as actor ?
OR((c(Q838948),P161,Q152042), (c(Q838948),P161,Q354603))
action filter_type
action union
action find_reverse
entity Q152042
relation P161
action find_reverse
entity Q354603
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q152042'], [{'concept': 'Q838948'}, 'P161', 'Q354603']]}
SELECT DISTINCT ?h WHERE { { ?h property:P161 ?r . VALUES ( ?r ) { ( resource:Q152042 ) ( resource:Q354603 ) } } . ?h rdf:type ontology:Q838948 }
Charles Avery Peter Francis James
action filter_type
action union
action find_reverse
entity Peter Francis James
relation cast member
action find_reverse
entity Charles Avery
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Peter Francis James'], [{'concept': 'work of art'}, 'cast member', 'Charles Avery']]}
SELECT DISTINCT ?h WHERE { { ?h property:cast_member ?r . VALUES ( ?r ) { ( resource:Peter_Francis_James ) ( resource:Charles_Avery ) } } . ?h rdf:type ontology:work_of_art }
[]
work of art
Q3536467 Q2445490 Q966923 Q17502130 Q3067188 Q3067285 Q3183556 Q1882370 Q3223521 Q16661856
SYSTEM
Some of them are Tragic Love, Tango Tangles, The Lonely Villa, Venus, Father Gets in the Game, The Gangsters, Jones and His New Neighbors, Mabel's Dramatic Career, Mabel's New Hero, A Strong Revenge
Q3264157 Q3536467 Q3067285 Q3223521 Q2997370 Q3374187 Q3067188 Q16661856 Q2819970 Q3523190 Q3519635 Q3368384 Q3235125 Q3067290 Q2819645 Q966923 Q1882370 Q2445490 Q526246 Q2576383 Q17502130 Q3183556 Q3522593 Q806559 Q3521237 Q14317024
OR((c(Q838948),P161,Q152042), (c(Q838948),P161,Q354603))
action filter_type
action union
action find_reverse
entity Q152042
relation P161
action find_reverse
entity Q354603
relation P161
type Q838948
[ANSWERS] have Peter Francis James or Charles Avery as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q152042'], [{'concept': 'Q838948'}, 'P161', 'Q354603']]}
SELECT DISTINCT ?h WHERE { { ?h property:P161 ?r . VALUES ( ?r ) { ( resource:Q152042 ) ( resource:Q354603 ) } } . ?h rdf:type ontology:Q838948 }
Love Finds a Way Tragic Love The Gangsters Mabel's New Hero Coriolanus Peeping Pete Father Gets in the Game A Strong Revenge A Wreath in Time The Valet's Wife That Ragtime Band Passions, He Had Three A Drunkard's Reformation Fatty Joins the Force A Bandit The Lonely Villa Mabel's Dramatic Career Tango Tangles The Taming of the Shrew Mabel at the Wheel Venus Jones and His New Neighbors The Salvation Army Lass The Bangville Police The Helping Hand True Story
Tragic Love, Tango Tangles, The Lonely Villa, Venus, Father Gets in the Game, The Gangsters, Jones and His New Neighbors, Mabel's Dramatic Career, Mabel's New Hero and A Strong Revenge have Peter Francis James or Charles Avery as actor
Tragic Love Tango Tangles The Lonely Villa Venus Father Gets in the Game The Gangsters Jones and His New Neighbors Mabel's Dramatic Career Mabel's New Hero A Strong Revenge
action filter_type
action union
action find_reverse
entity Peter Francis James
relation cast member
action find_reverse
entity Charles Avery
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Peter Francis James'], [{'concept': 'work of art'}, 'cast member', 'Charles Avery']]}
SELECT DISTINCT ?h WHERE { { ?h property:cast_member ?r . VALUES ( ?r ) { ( resource:Peter_Francis_James ) ( resource:Charles_Avery ) } } . ?h rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4862171 Q48263
P176
Q43229
USER
Which organizations are the producers of Xbox 360 or Amstrad CPC 464 ?
OR((Q48263,P176,c(Q43229)), (Q4862171,P176,c(Q43229)))
action filter_type
action union
action find
entity Q48263
relation P176
action find
entity Q4862171
relation P176
type Q43229
{'OR': [['Q48263', 'P176', {'concept': 'Q43229'}], ['Q4862171', 'P176', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:P176 ?y . VALUES ( ?c ) { ( resource:Q48263 ) ( resource:Q4862171 ) } } . ?y rdf:type ontology:Q43229 }
Amstrad CPC 464 Xbox 360
action filter_type
action union
action find
entity Xbox 360
relation manufacturer
action find
entity Amstrad CPC 464
relation manufacturer
type organization
{'OR': [['Xbox 360', 'manufacturer', {'concept': 'organization'}], ['Amstrad CPC 464', 'manufacturer', {'concept': 'organization'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:manufacturer ?y . VALUES ( ?c ) { ( resource:Xbox_360 ) ( resource:Amstrad_CPC_464 ) } } . ?y rdf:type ontology:organization }
[]
organization
Q441821 Q225440 Q478825 Q1140680
SYSTEM
Wistron Corporation, Celestica, Amstrad, Flextronics
Q441821 Q225440 Q478825 Q1140680
OR((Q48263,P176,c(Q43229)), (Q4862171,P176,c(Q43229)))
action filter_type
action union
action find
entity Q48263
relation P176
action find
entity Q4862171
relation P176
type Q43229
[ANSWERS] are the producers of Xbox 360 or Amstrad CPC 464
{'OR': [['Q48263', 'P176', {'concept': 'Q43229'}], ['Q4862171', 'P176', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:P176 ?y . VALUES ( ?c ) { ( resource:Q48263 ) ( resource:Q4862171 ) } } . ?y rdf:type ontology:Q43229 }
Wistron Corporation Celestica Amstrad Flextronics
Wistron Corporation, Celestica, Amstrad and Flextronics are the producers of Xbox 360 or Amstrad CPC 464
Wistron Corporation Celestica Amstrad Flextronics
action filter_type
action union
action find
entity Xbox 360
relation manufacturer
action find
entity Amstrad CPC 464
relation manufacturer
type organization
{'OR': [['Xbox 360', 'manufacturer', {'concept': 'organization'}], ['Amstrad CPC 464', 'manufacturer', {'concept': 'organization'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:manufacturer ?y . VALUES ( ?c ) { ( resource:Xbox_360 ) ( resource:Amstrad_CPC_464 ) } } . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q478825
P355
Q1269299
USER
How many business organizations contains Amstrad as their subordinate ?
(c(Q1269299),P355,Q478825)
action count
action filter_type
action find_reverse
entity Q478825
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', 'Q478825']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:Q1269299 . ?b property:P355 resource:Q478825 }
Amstrad
action count
action filter_type
action find_reverse
entity Amstrad
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Amstrad']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:type_of_business_entity . ?b property:subsidiary resource:Amstrad }
[]
type of business entity
SYSTEM
1
Q918390
(c(Q1269299),P355,Q478825)
action count
action filter_type
action find_reverse
entity Q478825
relation P355
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', 'Q478825']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:Q1269299 . ?b property:P355 resource:Q478825 }
Sky plc
1
action count
action filter_type
action find_reverse
entity Amstrad
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Amstrad']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:type_of_business_entity . ?b property:subsidiary resource:Amstrad }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q11495410
P355
Q1269299
USER
And also tell me about Seijo Ishii?
(c(Q1269299),P355,Q11495410)
action count
action filter_type
action find_reverse
entity Q11495410
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', 'Q11495410']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P355 resource:Q11495410 . ?v rdf:type ontology:Q1269299 }
Seijo Ishii
action count
action filter_type
action find_reverse
entity Seijo Ishii
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Seijo Ishii']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:subsidiary resource:Seijo_Ishii . ?v rdf:type ontology:type_of_business_entity }
[]
type of business entity
SYSTEM
1
Q1557223
(c(Q1269299),P355,Q11495410)
action count
action filter_type
action find_reverse
entity Q11495410
relation P355
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', 'Q11495410']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P355 resource:Q11495410 . ?v rdf:type ontology:Q1269299 }
Lawson
1
action count
action filter_type
action find_reverse
entity Seijo Ishii
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Seijo Ishii']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:subsidiary resource:Seijo_Ishii . ?v rdf:type ontology:type_of_business_entity }
[]