Simple Question (Direct)
Simple Question
Q1881315
P178
Q28640
USER
Who developed MDK ?
(Q1881315,P178,c(Q28640))
action filter_type
action find
entity Q1881315
relation P178
type Q28640
['Q1881315', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q1881315 property:P178 ?l . ?l rdf:type ontology:Q28640 }
MDK
action filter_type
action find
entity MDK
relation developer
type profession
['MDK', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:MDK property:developer ?l . ?l rdf:type ontology:profession }
[]
profession
Q340209
SYSTEM
Shiny Entertainment
Q340209
(Q1881315,P178,c(Q28640))
action filter_type
action find
entity Q1881315
relation P178
type Q28640
[ANSWER] developed MDK
['Q1881315', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q1881315 property:P178 ?l . ?l rdf:type ontology:Q28640 }
Shiny Entertainment
Shiny Entertainment developed MDK
Shiny Entertainment
action filter_type
action find
entity MDK
relation developer
type profession
['MDK', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:MDK property:developer ?l . ?l rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1881315
P400
Q241317
USER
What is the specific platform for which that application was released ?
(Q340209,P400,c(Q241317))
action filter_type
action find
entity Q1881315
relation P400
type Q241317
['Q340209', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q241317 . resource:Q1881315 property:P400 ?m }
MDK
action filter_type
action find
entity MDK
relation platform
type computing platform
['Shiny Entertainment', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:computing_platform . resource:MDK property:platform ?m }
[]
computing platform
Q10677
SYSTEM
PlayStation
Q10677
(Q340209,P400,c(Q241317))
action filter_type
action find
entity Q1881315
relation P400
type Q241317
[ANSWER]
['Q340209', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q241317 . resource:Q1881315 property:P400 ?m }
PlayStation
PlayStation
PlayStation
action filter_type
action find
entity MDK
relation platform
type computing platform
['Shiny Entertainment', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:computing_platform . resource:MDK property:platform ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1881315
P287
Q502895
USER
Who created the design for MDK ?
(Q1881315,P287,c(Q502895))
action filter_type
action find
entity Q1881315
relation P287
type Q502895
['Q1881315', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1881315 property:P287 ?d . ?d rdf:type ontology:Q502895 }
MDK
action filter_type
action find
entity MDK
relation designer
type common name
['MDK', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:MDK property:designer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3339719
SYSTEM
Nick Bruty
Q3339719
(Q1881315,P287,c(Q502895))
action filter_type
action find
entity Q1881315
relation P287
type Q502895
[ANSWER] created the design for MDK
['Q1881315', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1881315 property:P287 ?d . ?d rdf:type ontology:Q502895 }
Nick Bruty
Nick Bruty created the design for MDK
Nick Bruty
action filter_type
action find
entity MDK
relation designer
type common name
['MDK', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:MDK property:designer ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1707792
Q502895
USER
And what about Space Harrier?
(Q1707792,P287,c(Q502895))
action filter_type
action find
entity Q1707792
relation P287
type Q502895
['Q1707792', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1707792 property:P287 ?c . ?c rdf:type ontology:Q502895 }
Space Harrier
action filter_type
action find
entity Space Harrier
relation designer
type common name
['Space Harrier', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Space_Harrier property:designer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q282263
SYSTEM
Yu Suzuki
Q282263
(Q1707792,P287,c(Q502895))
action filter_type
action find
entity Q1707792
relation P287
type Q502895
[ANSWER]
['Q1707792', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1707792 property:P287 ?c . ?c rdf:type ontology:Q502895 }
Yu Suzuki
Yu Suzuki
action filter_type
action find
entity Space Harrier
relation designer
type common name
['Space Harrier', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Space_Harrier property:designer ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16730634
P169
Q502895 Q2424752 Q28640
USER
Which people are the chief executive officer of greater number of products and professions than Brad Katsuyama ?
(c(Q2424752)|c(Q28640),P169,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2424752
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q16730634
relation P169
type Q2424752
type Q28640
[[{'concept': 'Q2424752'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q2424752 ) ( ontology:Q28640 ) } . ?w rdf:type ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P169 resource:Q16730634 . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2424752 ) ( ontology:Q28640 ) } } } } . FILTER ( ?d > ?y ) }
Brad Katsuyama
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type product
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action count
action filter_multi_types
action find_reverse
entity Brad Katsuyama
relation chief executive officer
type product
type profession
[[{'concept': 'product'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?v WHERE { VALUES ( ?s ) { ( ontology:product ) ( ontology:profession ) } . ?w rdf:type ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:chief_executive_officer resource:Brad_Katsuyama . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:product ) ( ontology:profession ) } } } } . FILTER ( ?d > ?y ) }
[]
common name product profession
Q729842 Q1608491 Q5214356
SYSTEM
Mark Pincus, Mike Davis, Dan Schulman
Q6180981 Q729842 Q20726318 Q5214356 Q1608491 Q6307615
(c(Q2424752)|c(Q28640),P169,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2424752
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q16730634
relation P169
type Q2424752
type Q28640
[ANSWERS] are the chief executive officer of greater number of products and professions than Brad Katsuyama
[[{'concept': 'Q2424752'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q2424752 ) ( ontology:Q28640 ) } . ?w rdf:type ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P169 resource:Q16730634 . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2424752 ) ( ontology:Q28640 ) } } } } . FILTER ( ?d > ?y ) }
Jeremiah Slaczka Mark Pincus Maximo Cavazzani Dan Schulman Mike Davis Julian Stone
Mark Pincus, Mike Davis and Dan Schulman are the chief executive officer of greater number of products and professions than Brad Katsuyama
Mark Pincus Mike Davis Dan Schulman
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type product
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action count
action filter_multi_types
action find_reverse
entity Brad Katsuyama
relation chief executive officer
type product
type profession
[[{'concept': 'product'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?v WHERE { VALUES ( ?s ) { ( ontology:product ) ( ontology:profession ) } . ?w rdf:type ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:chief_executive_officer resource:Brad_Katsuyama . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:product ) ( ontology:profession ) } } } } . FILTER ( ?d > ?y ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q729842 Q1608491 Q5214356
P19
Q56061
USER
Which administrative territories were Mark Pincus, Mike Davis and Dan Schulman born at ?
(Q729842,P19,c(Q56061)) (Q1608491,P19,c(Q56061)) (Q5214356,P19,c(Q56061))
action union
action filter_type
action find
entity Q729842
relation P19
type Q56061
action filter_type
action find
entity Q1608491
relation P19
type Q56061
action filter_type
action find
entity Q5214356
relation P19
type Q56061
['Q729842', 'P19', {'concept': 'Q56061'}] ['Q1608491', 'P19', {'concept': 'Q56061'}] ['Q5214356', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { resource:Q729842 property:P19 ?r . ?r rdf:type ontology:Q56061 } UNION { resource:Q1608491 property:P19 ?r . ?r rdf:type ontology:Q56061 } }
Mark Pincus Mike Davis Dan Schulman
action union
action filter_type
action find
entity Mark Pincus
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mike Davis
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Dan Schulman
relation place of birth
type administrative territorial entity
['Mark Pincus', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mike Davis', 'place of birth', {'concept': 'administrative territorial entity'}] ['Dan Schulman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Mark_Pincus property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity } UNION { resource:Mike_Davis property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1297 Q18419 Q25395
SYSTEM
Chicago, Brooklyn, Newark
Q1297 Q18419 Q25395
(Q729842,P19,c(Q56061)) (Q1608491,P19,c(Q56061)) (Q5214356,P19,c(Q56061))
action union
action filter_type
action find
entity Q729842
relation P19
type Q56061
action filter_type
action find
entity Q1608491
relation P19
type Q56061
action filter_type
action find
entity Q5214356
relation P19
type Q56061
The [ANSWERS] were Mark Pincus, Mike Davis and Dan Schulman born at
['Q729842', 'P19', {'concept': 'Q56061'}] ['Q1608491', 'P19', {'concept': 'Q56061'}] ['Q5214356', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { resource:Q729842 property:P19 ?r . ?r rdf:type ontology:Q56061 } UNION { resource:Q1608491 property:P19 ?r . ?r rdf:type ontology:Q56061 } }
Chicago Brooklyn Newark
The Chicago, Brooklyn and Newark were Mark Pincus, Mike Davis and Dan Schulman born at
Chicago Brooklyn Newark
action union
action filter_type
action find
entity Mark Pincus
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mike Davis
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Dan Schulman
relation place of birth
type administrative territorial entity
['Mark Pincus', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mike Davis', 'place of birth', {'concept': 'administrative territorial entity'}] ['Dan Schulman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Mark_Pincus property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity } UNION { resource:Mike_Davis property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25395
P6
Q502895
USER
Which person does that administrative territory serve as the head of government for ?
(Q25395,P6,c(Q502895))
action filter_type
action find
entity Q25395
relation P6
type Q502895
['Q25395', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q25395 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Newark
action filter_type
action find
entity Newark
relation head of government
type common name
['Newark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Newark property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18419
SYSTEM
Did you mean Brooklyn ?
Q1297 Q18419 Q25395
(Q1297,P6,c(Q502895)) (Q18419,P6,c(Q502895)) (Q25395,P6,c(Q502895))
[ANSWER]
['Q1297', 'P6', {'concept': 'Q502895'}] ['Q18419', 'P6', {'concept': 'Q502895'}] ['Q25395', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q25395 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Chicago Brooklyn Newark
Did you mean Brooklyn ?
Brooklyn
['Chicago', 'head of government', {'concept': 'common name'}] ['Brooklyn', 'head of government', {'concept': 'common name'}] ['Newark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Newark property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Newark. Could you tell me the answer for that?
(Q25395,P6,c(Q502895))
Q25395
['Q25395', 'P6', {'concept': 'Q502895'}]
['Newark', 'head of government', {'concept': 'common name'}]
[]
Q7294641
SYSTEM
Ras Baraka
Q7294641
(Q25395,P6,c(Q502895))
action filter_type
action find
entity Q25395
relation P6
type Q502895
That administrative territory serves as the head of government for the [ANSWER]
['Q25395', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q25395 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Ras Baraka
That administrative territory serves as the head of government for the Ras Baraka
Ras Baraka
action filter_type
action find
entity Newark
relation head of government
type common name
['Newark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Newark property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?e = ?a ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?e = ?a ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?e = ?a ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?e = ?a ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5994 Q5039541
P1303
Q502895
USER
Does Caridad de la Luz can play that musical instrument ?
(Q5039541,P1303,Q5994)
action is_in
entity Q5039541
action find
entity Q5994
relation P1303
['Q5039541', 'P1303', 'Q5994']
ASK WHERE { resource:Q5994 property:P1303 resource:Q5039541 }
piano Caridad de la Luz
action is_in
entity Caridad de la Luz
action find
entity piano
relation instrument
['Caridad de la Luz', 'instrument', 'piano']
ASK WHERE { resource:piano property:instrument resource:Caridad_de_la_Luz }
[]
common name
SYSTEM
NO
(Q5039541,P1303,Q5994)
action is_in
entity Q5039541
action find
entity Q5994
relation P1303
[ANSWER]
['Q5039541', 'P1303', 'Q5994']
ASK WHERE { resource:Q5994 property:P1303 resource:Q5039541 }
No
action is_in
entity Caridad de la Luz
action find
entity piano
relation instrument
['Caridad de la Luz', 'instrument', 'piano']
ASK WHERE { resource:piano property:instrument resource:Caridad_de_la_Luz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Which person was the first person to come up with that musical instrument ?
action filter_type
action find
entity Q5994
relation P61
type Q502895
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q5994 property:P61 ?c }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:piano property:discoverer_or_inventor ?c }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
action filter_type
action find
entity Q5994
relation P61
type Q502895
[ANSWER] was the first person to come up with that musical instrument
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q5994 property:P61 ?c }
Bartolomeo Cristofori
Bartolomeo Cristofori was the first person to come up with that musical instrument
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:piano property:discoverer_or_inventor ?c }
[]