Simple Question (Direct)
Simple Question
Q2711767
P178
Q43229
USER
Who is credited with development of Startopia ?
(Q2711767,P178,c(Q43229))
action filter_type
action find
entity Q2711767
relation P178
type Q43229
['Q2711767', 'P178', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q2711767 property:P178 ?v . ?v rdf:type ontology:Q43229 }
Startopia
action filter_type
action find
entity Startopia
relation developer
type organization
['Startopia', 'developer', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Startopia property:developer ?v . ?v rdf:type ontology:organization }
[]
organization
Q502709
SYSTEM
Mucky Foot Productions
Q502709
(Q2711767,P178,c(Q43229))
action filter_type
action find
entity Q2711767
relation P178
type Q43229
[ANSWER] is credited with development of Startopia
['Q2711767', 'P178', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q2711767 property:P178 ?v . ?v rdf:type ontology:Q43229 }
Mucky Foot Productions
Mucky Foot Productions is credited with development of Startopia
Mucky Foot Productions
action filter_type
action find
entity Startopia
relation developer
type organization
['Startopia', 'developer', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Startopia property:developer ?v . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q502709
P1454
Q2712963
USER
Which abstract noun is the legal form type of that organization ?
(Q502709,P1454,c(Q2712963))
action filter_type
action find
entity Q502709
relation P1454
type Q2712963
['Q502709', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q502709 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
Mucky Foot Productions
action filter_type
action find
entity Mucky Foot Productions
relation legal form
type abstract noun
['Mucky Foot Productions', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:Mucky_Foot_Productions property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
abstract noun
Q5225895
SYSTEM
public limited company
Q5225895
(Q502709,P1454,c(Q2712963))
action filter_type
action find
entity Q502709
relation P1454
type Q2712963
The [ANSWER] is the legal form type of that organization
['Q502709', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q502709 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
public limited company
The public limited company is the legal form type of that organization
public limited company
action filter_type
action find
entity Mucky Foot Productions
relation legal form
type abstract noun
['Mucky Foot Productions', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:Mucky_Foot_Productions property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q5398426 Q386724 Q166142
USER
Which applications are derived from max number of television series and works ?
(c(Q166142),P144,c(Q5398426)|c(Q386724))
action argmax
action union
action find_tuple_counts
relation P144
type Q166142
type Q5398426
action find_tuple_counts
relation P144
type Q166142
type Q386724
[{'concept': 'Q166142'}, 'P144', [{'concept': 'Q5398426'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:Q5398426 ) ( ontology:Q386724 ) } . ?j rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5398426 ) ( ontology:Q386724 ) } } GROUP BY ?z } . FILTER ( ?m = ?w ) }
action argmax
action union
action find_tuple_counts
relation based on
type application
type television series
action find_tuple_counts
relation based on
type application
type work
[{'concept': 'application'}, 'based on', [{'concept': 'television series'}, {'concept': 'work'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:television_series ) ( ontology:work ) } . ?j rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:television_series ) ( ontology:work ) } } GROUP BY ?z } . FILTER ( ?m = ?w ) }
[]
television series work application
Q16744859 Q1121493 Q1050981
SYSTEM
Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable, Dragon Ball: Revenge of King Piccolo, Bleach: Dark Souls
Q1136366 Q1050981 Q16748945 Q1309496 Q1309215 Q16744859 Q11322841 Q11278022 Q16747020 Q2761032 Q1050960 Q3036969 Q2100998 Q1121493
(c(Q166142),P144,c(Q5398426)|c(Q386724))
action argmax
action union
action find_tuple_counts
relation P144
type Q166142
type Q5398426
action find_tuple_counts
relation P144
type Q166142
type Q386724
[ANSWERS] are derived from max number of television series and works
[{'concept': 'Q166142'}, 'P144', [{'concept': 'Q5398426'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:Q5398426 ) ( ontology:Q386724 ) } . ?j rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5398426 ) ( ontology:Q386724 ) } } GROUP BY ?z } . FILTER ( ?m = ?w ) }
Bleach: The 3rd Phantom Bleach: Dark Souls Ore no Imōto ga Konna ni Kawaii Wake ga Nai Happy End Doraemon 2: Nobita to Hikari no Shinden Doraemon 3: Nobita no Machi SOS! Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable Doraemon: Nobita to Yousei no Kuni Boku Doraemon Ore no Imōto ga Konna ni Kawaii Wake ga Nai Portable ga Tsuzuku Wake ga Nai Dragonball Evolution Bleach: Soul Resurrección Doraemon: Yume Dorobō to 7-nin no Gozansu list of Pokémon video games Dragon Ball: Revenge of King Piccolo
Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable, Dragon Ball: Revenge of King Piccolo and Bleach: Dark Souls are derived from max number of television series and works
Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable Dragon Ball: Revenge of King Piccolo Bleach: Dark Souls
action argmax
action union
action find_tuple_counts
relation based on
type application
type television series
action find_tuple_counts
relation based on
type application
type work
[{'concept': 'application'}, 'based on', [{'concept': 'television series'}, {'concept': 'work'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:television_series ) ( ontology:work ) } . ?j rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:television_series ) ( ontology:work ) } } GROUP BY ?z } . FILTER ( ?m = ?w ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16744859
P400
Q5082128
USER
Which mobile device is the computing platform for which that application was specifically designed ?
(Q16744859,P400,c(Q5082128))
action filter_type
action find
entity Q16744859
relation P400
type Q5082128
['Q16744859', 'P400', {'concept': 'Q5082128'}]
SELECT DISTINCT ?q WHERE { resource:Q16744859 property:P400 ?q . ?q rdf:type ontology:Q5082128 }
Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable
action filter_type
action find
entity Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable
relation platform
type mobile device
['Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable', 'platform', {'concept': 'mobile device'}]
SELECT DISTINCT ?q WHERE { resource:Ore_no_Imōto_ga_Konnani_Kawaii_Wake_ga_Nai_Portable property:platform ?q . ?q rdf:type ontology:mobile_device }
[]
mobile device
Clarification for simple ques.
Q1050981
SYSTEM
Did you mean Bleach: Dark Souls ?
Q16744859 Q1121493 Q1050981
(Q16744859,P400,c(Q5082128)) (Q1121493,P400,c(Q5082128)) (Q1050981,P400,c(Q5082128))
[ANSWER]
['Q16744859', 'P400', {'concept': 'Q5082128'}] ['Q1121493', 'P400', {'concept': 'Q5082128'}] ['Q1050981', 'P400', {'concept': 'Q5082128'}]
SELECT DISTINCT ?q WHERE { resource:Q16744859 property:P400 ?q . ?q rdf:type ontology:Q5082128 }
Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable Dragon Ball: Revenge of King Piccolo Bleach: Dark Souls
Did you mean Bleach: Dark Souls ?
Bleach: Dark Souls
['Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable', 'platform', {'concept': 'mobile device'}] ['Dragon Ball: Revenge of King Piccolo', 'platform', {'concept': 'mobile device'}] ['Bleach: Dark Souls', 'platform', {'concept': 'mobile device'}]
SELECT DISTINCT ?q WHERE { resource:Ore_no_Imōto_ga_Konnani_Kawaii_Wake_ga_Nai_Portable property:platform ?q . ?q rdf:type ontology:mobile_device }
[]
Simple Question (Coreferenced)
USER
No, I meant Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable. Could you tell me the answer for that?
(Q16744859,P400,c(Q5082128))
Q16744859
['Q16744859', 'P400', {'concept': 'Q5082128'}]
['Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable', 'platform', {'concept': 'mobile device'}]
[]
Q170325
SYSTEM
PlayStation Portable
Q170325
(Q16744859,P400,c(Q5082128))
action filter_type
action find
entity Q16744859
relation P400
type Q5082128
[ANSWER] is the computing platform for which that application was specifically designed
['Q16744859', 'P400', {'concept': 'Q5082128'}]
SELECT DISTINCT ?q WHERE { resource:Q16744859 property:P400 ?q . ?q rdf:type ontology:Q5082128 }
PlayStation Portable
PlayStation Portable is the computing platform for which that application was specifically designed
PlayStation Portable
action filter_type
action find
entity Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable
relation platform
type mobile device
['Ore no Imōto ga Konnani Kawaii Wake ga Nai Portable', 'platform', {'concept': 'mobile device'}]
SELECT DISTINCT ?q WHERE { resource:Ore_no_Imōto_ga_Konnani_Kawaii_Wake_ga_Nai_Portable property:platform ?q . ?q rdf:type ontology:mobile_device }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q250355 Q2711767
P479
Q1183543
USER
What were the input device for Startopia or Icy Tower ?
OR((Q2711767,P479,c(Q1183543)), (Q250355,P479,c(Q1183543)))
action filter_type
action union
action find
entity Q2711767
relation P479
action find
entity Q250355
relation P479
type Q1183543
{'OR': [['Q2711767', 'P479', {'concept': 'Q1183543'}], ['Q250355', 'P479', {'concept': 'Q1183543'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1183543 . { { resource:Q2711767 property:P479 ?b } UNION { resource:Q250355 property:P479 ?b } } }
Icy Tower Startopia
action filter_type
action union
action find
entity Startopia
relation input device
action find
entity Icy Tower
relation input device
type device
{'OR': [['Startopia', 'input device', {'concept': 'device'}], ['Icy Tower', 'input device', {'concept': 'device'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:device . { { resource:Startopia property:input_device ?b } UNION { resource:Icy_Tower property:input_device ?b } } }
[]
device
Q250
SYSTEM
computer keyboard
Q250
OR((Q2711767,P479,c(Q1183543)), (Q250355,P479,c(Q1183543)))
action filter_type
action union
action find
entity Q2711767
relation P479
action find
entity Q250355
relation P479
type Q1183543
The input device for Startopia or Icy Tower were a [ANSWER]
{'OR': [['Q2711767', 'P479', {'concept': 'Q1183543'}], ['Q250355', 'P479', {'concept': 'Q1183543'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1183543 . { { resource:Q2711767 property:P479 ?b } UNION { resource:Q250355 property:P479 ?b } } }
computer keyboard
The input device for Startopia or Icy Tower were a computer keyboard
computer keyboard
action filter_type
action union
action find
entity Startopia
relation input device
action find
entity Icy Tower
relation input device
type device
{'OR': [['Startopia', 'input device', {'concept': 'device'}], ['Icy Tower', 'input device', {'concept': 'device'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:device . { { resource:Startopia property:input_device ?b } UNION { resource:Icy_Tower property:input_device ?b } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1056
Q1183543 Q362482 Q43229
USER
Which devices are produced by approximately the same number of operations or organizations as that device ?
(c(Q362482)|c(Q43229),P1056,c(Q1183543))
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q1183543
type Q362482
action find_reverse_tuple_counts
relation P1056
type Q1183543
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q250
relation P1056
type Q362482
type Q43229
[[{'concept': 'Q362482'}, {'concept': 'Q43229'}], 'P1056', {'concept': 'Q1183543'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?z ) { ( ontology:Q362482 ) ( ontology:Q43229 ) } . ?l rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P1056 resource:Q250 . { { ?o rdf:type ontology:Q362482 } UNION { ?o rdf:type ontology:Q43229 } } } } . FILTER ( ?x = ?y ) }
action approx
action union
action find_reverse_tuple_counts
relation product
type device
type operation
action find_reverse_tuple_counts
relation product
type device
type organization
action count
action filter_multi_types
action find_reverse
entity computer keyboard
relation product
type operation
type organization
[[{'concept': 'operation'}, {'concept': 'organization'}], 'product', {'concept': 'device'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?z ) { ( ontology:operation ) ( ontology:organization ) } . ?l rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:product resource:computer_keyboard . { { ?o rdf:type ontology:operation } UNION { ?o rdf:type ontology:organization } } } } . FILTER ( ?x = ?y ) }
[]
device operation organization
Q68 Q250 Q376
SYSTEM
Computer, computer keyboard, clock
Q4308 Q178648 Q3773693 Q68 Q250 Q376 Q154038
(c(Q362482)|c(Q43229),P1056,c(Q1183543))
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q1183543
type Q362482
action find_reverse_tuple_counts
relation P1056
type Q1183543
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q250
relation P1056
type Q362482
type Q43229
[ANSWERS] are produced by approximately the same number of operations or organizations as that device
[[{'concept': 'Q362482'}, {'concept': 'Q43229'}], 'P1056', {'concept': 'Q1183543'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?z ) { ( ontology:Q362482 ) ( ontology:Q43229 ) } . ?l rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P1056 resource:Q250 . { { ?o rdf:type ontology:Q362482 } UNION { ?o rdf:type ontology:Q43229 } } } } . FILTER ( ?x = ?y ) }
video card peripheral equipment kitchen utensil Computer computer keyboard clock cookware and bakeware
Computer, computer keyboard and clock are produced by approximately the same number of operations or organizations as that device
Computer computer keyboard clock
action approx
action union
action find_reverse_tuple_counts
relation product
type device
type operation
action find_reverse_tuple_counts
relation product
type device
type organization
action count
action filter_multi_types
action find_reverse
entity computer keyboard
relation product
type operation
type organization
[[{'concept': 'operation'}, {'concept': 'organization'}], 'product', {'concept': 'device'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?z ) { ( ontology:operation ) ( ontology:organization ) } . ?l rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:product resource:computer_keyboard . { { ?o rdf:type ontology:operation } UNION { ?o rdf:type ontology:organization } } } } . FILTER ( ?x = ?y ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P366
Q9081 Q1183543
USER
How many devices have their main functionality as more number of knowledge than that device ?
(c(Q1183543),P366,c(Q9081))
[{'concept': 'Q1183543'}, 'P366', {'concept': 'Q9081'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q1183543 . ?y rdf:type ontology:Q9081 }
[{'concept': 'device'}, 'use', {'concept': 'knowledge'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:device . ?y rdf:type ontology:knowledge }
[]
knowledge device
Comparative|Count over More/Less|Single entity type|Clarification
Q68
SYSTEM
Did you mean Computer ?
(c(Q1183543),P366,c(Q9081))
[ANSWER]
[{'concept': 'Q1183543'}, 'P366', {'concept': 'Q9081'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q1183543 . ?y rdf:type ontology:Q9081 }
Did you mean Computer ?
Computer
[{'concept': 'device'}, 'use', {'concept': 'knowledge'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:device . ?y rdf:type ontology:knowledge }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant clock. Could you tell me the answer for that?
(c(Q1183543),P366,c(Q9081))
Q376
[{'concept': 'Q1183543'}, 'P366', {'concept': 'Q9081'}]
[{'concept': 'device'}, 'use', {'concept': 'knowledge'}]
[]
SYSTEM
1
Q17027335
(c(Q1183543),P366,c(Q9081))
[ANSWER]
[{'concept': 'Q1183543'}, 'P366', {'concept': 'Q9081'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q1183543 . ?y rdf:type ontology:Q9081 }
Flight computer
1
[{'concept': 'device'}, 'use', {'concept': 'knowledge'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:device . ?y rdf:type ontology:knowledge }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q376
P366
Q178648
USER
Which peripheral equipment is recognized as the main use of clock ?
(Q376,P366,c(Q178648))
action filter_type
action find
entity Q376
relation P366
type Q178648
['Q376', 'P366', {'concept': 'Q178648'}]
SELECT DISTINCT ?m WHERE { resource:Q376 property:P366 ?m . ?m rdf:type ontology:Q178648 }
clock
action filter_type
action find
entity clock
relation use
type peripheral equipment
['clock', 'use', {'concept': 'peripheral equipment'}]
SELECT DISTINCT ?m WHERE { resource:clock property:use ?m . ?m rdf:type ontology:peripheral_equipment }
[]
peripheral equipment
Q327065
SYSTEM
display device
Q327065
(Q376,P366,c(Q178648))
action filter_type
action find
entity Q376
relation P366
type Q178648
[ANSWER] is recognized as the main use of clock
['Q376', 'P366', {'concept': 'Q178648'}]
SELECT DISTINCT ?m WHERE { resource:Q376 property:P366 ?m . ?m rdf:type ontology:Q178648 }
display device
Display device is recognized as the main use of clock
display device
action filter_type
action find
entity clock
relation use
type peripheral equipment
['clock', 'use', {'concept': 'peripheral equipment'}]
SELECT DISTINCT ?m WHERE { resource:clock property:use ?m . ?m rdf:type ontology:peripheral_equipment }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q327065 Q3536022
P366
Q1183543
USER
Does Toy Story: The Musical have its main use as that peripheral equipment ?
(Q3536022,P366,Q327065)
action is_in
entity Q3536022
action find
entity Q327065
relation P366
['Q3536022', 'P366', 'Q327065']
ASK WHERE { resource:Q327065 property:P366 resource:Q3536022 }
display device Toy Story: The Musical
action is_in
entity Toy Story: The Musical
action find
entity display device
relation use
['Toy Story: The Musical', 'use', 'display device']
ASK WHERE { resource:display_device property:use resource:Toy_Story:_The_Musical }
[]
device
SYSTEM
NO
(Q3536022,P366,Q327065)
action is_in
entity Q3536022
action find
entity Q327065
relation P366
[ANSWER]
['Q3536022', 'P366', 'Q327065']
ASK WHERE { resource:Q327065 property:P366 resource:Q3536022 }
No
action is_in
entity Toy Story: The Musical
action find
entity display device
relation use
['Toy Story: The Musical', 'use', 'display device']
ASK WHERE { resource:display_device property:use resource:Toy_Story:_The_Musical }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q334166 Q1183543
USER
Which modes of transport are min number of devices a component of ?
(c(Q1183543),P361,Q172201)
action argmin
action find_reverse_tuple_counts
relation P361
type Q334166
type Q1183543
[{'concept': 'Q1183543'}, 'P361', 'Q172201']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P361 ?q . ?q rdf:type ontology:Q334166 . ?v rdf:type ontology:Q1183543 } GROUP BY ?q } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P361 ?t . ?t rdf:type ontology:Q334166 . ?e rdf:type ontology:Q1183543 } GROUP BY ?t } . FILTER ( ?o = ?l ) }
action argmin
action find_reverse_tuple_counts
relation part of
type mode of transport
type device
[{'concept': 'device'}, 'part of', 'Silver Line']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:part_of ?q . ?q rdf:type ontology:mode_of_transport . ?v rdf:type ontology:device } GROUP BY ?q } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:part_of ?t . ?t rdf:type ontology:mode_of_transport . ?e rdf:type ontology:device } GROUP BY ?t } . FILTER ( ?o = ?l ) }
[]
mode of transport device
Q1757562 Q172201 Q5351589
SYSTEM
air transport, Silver Line, El Metropolitano
Q5351589 Q724996 Q610120 Q3239199 Q1757562 Q350783 Q870 Q16971886 Q155930 Q5641 Q349613 Q172201
(c(Q1183543),P361,Q172201)
action argmin
action find_reverse_tuple_counts
relation P361
type Q334166
type Q1183543
[ANSWERS] are min number of devices a component of
[{'concept': 'Q1183543'}, 'P361', 'Q172201']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P361 ?q . ?q rdf:type ontology:Q334166 . ?v rdf:type ontology:Q1183543 } GROUP BY ?q } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P361 ?t . ?t rdf:type ontology:Q334166 . ?e rdf:type ontology:Q1183543 } GROUP BY ?t } . FILTER ( ?o = ?l ) }
El Metropolitano rail transport in Hungary Bay Area Rapid Transit San Martín Line air transport rail guided transport train British railway milk trains water transport tram sea shipping Silver Line
Air transport, Silver Line and El Metropolitano are min number of devices a component of
air transport Silver Line El Metropolitano
action argmin
action find_reverse_tuple_counts
relation part of
type mode of transport
type device
[{'concept': 'device'}, 'part of', 'Silver Line']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:part_of ?q . ?q rdf:type ontology:mode_of_transport . ?v rdf:type ontology:device } GROUP BY ?q } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:part_of ?t . ?t rdf:type ontology:mode_of_transport . ?e rdf:type ontology:device } GROUP BY ?t } . FILTER ( ?o = ?l ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1757562
P452
Q4830453
USER
Who is part of the that mode of transport industry ?
(c(Q4830453),P452,Q1757562)
action filter_type
action find_reverse
entity Q1757562
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q1757562']
SELECT DISTINCT ?l WHERE { ?l property:P452 resource:Q1757562 . ?l rdf:type ontology:Q4830453 }
air transport
action filter_type
action find_reverse
entity air transport
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'air transport']
SELECT DISTINCT ?l WHERE { ?l property:industry resource:air_transport . ?l rdf:type ontology:business_enterprise }
[]
business enterprise
Clarification for simple ques.
Q172201
SYSTEM
Did you mean Silver Line ?
Q1757562 Q172201 Q5351589
(c(Q4830453),P452,Q1757562) (c(Q4830453),P452,Q172201) (c(Q4830453),P452,Q5351589)
[ANSWER]
[{'concept': 'Q4830453'}, 'P452', 'Q1757562'] [{'concept': 'Q4830453'}, 'P452', 'Q172201'] [{'concept': 'Q4830453'}, 'P452', 'Q5351589']
SELECT DISTINCT ?l WHERE { ?l property:P452 resource:Q1757562 . ?l rdf:type ontology:Q4830453 }
air transport Silver Line El Metropolitano
Did you mean Silver Line ?
Silver Line
[{'concept': 'business enterprise'}, 'industry', 'air transport'] [{'concept': 'business enterprise'}, 'industry', 'Silver Line'] [{'concept': 'business enterprise'}, 'industry', 'El Metropolitano']
SELECT DISTINCT ?l WHERE { ?l property:industry resource:air_transport . ?l rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
USER
No, I meant air transport. Could you tell me the answer for that?
(c(Q4830453),P452,Q1757562)
Q1757562
[{'concept': 'Q4830453'}, 'P452', 'Q1757562']
[{'concept': 'business enterprise'}, 'industry', 'air transport']
[]
Q3139309
SYSTEM
Holmarcom Group
Q3139309
(c(Q4830453),P452,Q1757562)
action filter_type
action find_reverse
entity Q1757562
relation P452
type Q4830453
[ANSWER] is part of the that mode of transport industry
[{'concept': 'Q4830453'}, 'P452', 'Q1757562']
SELECT DISTINCT ?l WHERE { ?l property:P452 resource:Q1757562 . ?l rdf:type ontology:Q4830453 }
Holmarcom Group
Holmarcom Group is part of the that mode of transport industry
Holmarcom Group
action filter_type
action find_reverse
entity air transport
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'air transport']
SELECT DISTINCT ?l WHERE { ?l property:industry resource:air_transport . ?l rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3139309 Q7903 Q3019931
P159
Q13220204
USER
Does that business enterprise have its head office location at Casablanca and Zelfana District ?
(Q3139309,P159,Q7903) (Q3139309,P159,Q3019931)
action is_in
entity Q3139309
action intersection
action find_reverse
entity Q7903
relation P159
action find_reverse
entity Q3019931
relation P159
['Q3139309', 'P159', 'Q7903'] ['Q3139309', 'P159', 'Q3019931']
ASK WHERE { resource:Q3139309 property:P159 resource:Q7903 . resource:Q3139309 property:P159 resource:Q3019931 }
Holmarcom Group Casablanca Zelfana District
action is_in
entity Holmarcom Group
action intersection
action find_reverse
entity Casablanca
relation headquarters location
action find_reverse
entity Zelfana District
relation headquarters location
['Holmarcom Group', 'headquarters location', 'Casablanca'] ['Holmarcom Group', 'headquarters location', 'Zelfana District']
ASK WHERE { resource:Holmarcom_Group property:headquarters_location resource:Casablanca . resource:Holmarcom_Group property:headquarters_location resource:Zelfana_District }
[]
second-level administrative country subdivision
SYSTEM
YES and NO respectively
(Q3139309,P159,Q7903) (Q3139309,P159,Q3019931)
action is_in
entity Q3139309
action intersection
action find_reverse
entity Q7903
relation P159
action find_reverse
entity Q3019931
relation P159
[ANSWER]
['Q3139309', 'P159', 'Q7903'] ['Q3139309', 'P159', 'Q3019931']
ASK WHERE { resource:Q3139309 property:P159 resource:Q7903 . resource:Q3139309 property:P159 resource:Q3019931 }
YES and NO respectively
action is_in
entity Holmarcom Group
action intersection
action find_reverse
entity Casablanca
relation headquarters location
action find_reverse
entity Zelfana District
relation headquarters location
['Holmarcom Group', 'headquarters location', 'Casablanca'] ['Holmarcom Group', 'headquarters location', 'Zelfana District']
ASK WHERE { resource:Holmarcom_Group property:headquarters_location resource:Casablanca . resource:Holmarcom_Group property:headquarters_location resource:Zelfana_District }
[]