Simple Question (Direct)
Simple Question
Q6525985
P106
Q12737077
USER
What is the profession of Leonardo Ferreira ?
(Q6525985,P106,c(Q12737077))
action filter_type
action find
entity Q6525985
relation P106
type Q12737077
['Q6525985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6525985 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Leonardo Ferreira
action filter_type
action find
entity Leonardo Ferreira
relation occupation
type occupation
['Leonardo Ferreira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Leonardo_Ferreira property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6525985,P106,c(Q12737077))
action filter_type
action find
entity Q6525985
relation P106
type Q12737077
The profession of Leonardo Ferreira is an [ANSWER]
['Q6525985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6525985 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The profession of Leonardo Ferreira is an association football player
association football player
action filter_type
action find
entity Leonardo Ferreira
relation occupation
type occupation
['Leonardo Ferreira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Leonardo_Ferreira property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6525985
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6525985
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6525985 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Leonardo Ferreira
action filter_type
action find
entity Leonardo Ferreira
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Leonardo_Ferreira property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6525985
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6525985 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Brazil
That person belongs to a Brazil
Brazil
action filter_type
action find
entity Leonardo Ferreira
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Leonardo_Ferreira property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q958 Q734
P530
Q15617994
USER
Is Brazil known to have diplomatic connections with South Sudan and Guyana ?
(Q155,P530,Q958) (Q155,P530,Q734)
action is_in
entity Q155
action intersection
action find_reverse
entity Q958
relation P530
action find_reverse
entity Q734
relation P530
['Q155', 'P530', 'Q958'] ['Q155', 'P530', 'Q734']
ASK WHERE { resource:Q155 property:P530 resource:Q958 . resource:Q155 property:P530 resource:Q734 }
Brazil South Sudan Guyana
action is_in
entity Brazil
action intersection
action find_reverse
entity South Sudan
relation diplomatic relation
action find_reverse
entity Guyana
relation diplomatic relation
['Brazil', 'diplomatic relation', 'South Sudan'] ['Brazil', 'diplomatic relation', 'Guyana']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:South_Sudan . resource:Brazil property:diplomatic_relation resource:Guyana }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q958) (Q155,P530,Q734)
action is_in
entity Q155
action intersection
action find_reverse
entity Q958
relation P530
action find_reverse
entity Q734
relation P530
[ANSWER]
['Q155', 'P530', 'Q958'] ['Q155', 'P530', 'Q734']
ASK WHERE { resource:Q155 property:P530 resource:Q958 . resource:Q155 property:P530 resource:Q734 }
Yes
action is_in
entity Brazil
action intersection
action find_reverse
entity South Sudan
relation diplomatic relation
action find_reverse
entity Guyana
relation diplomatic relation
['Brazil', 'diplomatic relation', 'South Sudan'] ['Brazil', 'diplomatic relation', 'Guyana']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:South_Sudan . resource:Brazil property:diplomatic_relation resource:Guyana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P1001
Q2712963
USER
Which abstract noun has control over the jurisdiction of Brazil ?
(c(Q2712963),P1001,Q155)
action filter_type
action find_reverse
entity Q155
relation P1001
type Q2712963
[{'concept': 'Q2712963'}, 'P1001', 'Q155']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q155 . ?a rdf:type ontology:Q2712963 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type abstract noun
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Brazil . ?a rdf:type ontology:abstract_noun }
[]
abstract noun
Q18340467
SYSTEM
Sociedade anônima
Q18340467
(c(Q2712963),P1001,Q155)
action filter_type
action find_reverse
entity Q155
relation P1001
type Q2712963
[ANSWER] has control over the jurisdiction of Brazil
[{'concept': 'Q2712963'}, 'P1001', 'Q155']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q155 . ?a rdf:type ontology:Q2712963 }
Sociedade anônima
Sociedade anônima has control over the jurisdiction of Brazil
Sociedade anônima
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type abstract noun
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Brazil . ?a rdf:type ontology:abstract_noun }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18340467
P1454
Q43229
USER
Which organizations have that abstract noun as their legal form ?
(c(Q43229),P1454,Q18340467)
action filter_type
action find_reverse
entity Q18340467
relation P1454
type Q43229
[{'concept': 'Q43229'}, 'P1454', 'Q18340467']
SELECT DISTINCT ?y WHERE { ?y property:P1454 resource:Q18340467 . ?y rdf:type ontology:Q43229 }
Sociedade anônima
action filter_type
action find_reverse
entity Sociedade anônima
relation legal form
type organization
[{'concept': 'organization'}, 'legal form', 'Sociedade anônima']
SELECT DISTINCT ?y WHERE { ?y property:legal_form resource:Sociedade_anônima . ?y rdf:type ontology:organization }
[]
organization
Q615788 Q2079243 Q1428656
SYSTEM
Grupo Abril, TIM Brasil, Vivo
Q896924 Q4673986 Q1474718 Q2998228 Q1121199 Q1121216 Q1187505 Q1475683 Q1579151 Q183184 Q1579222 Q583268 Q210047 Q1541470 Q1328247 Q899395 Q1424293 Q1428656 Q899097 Q1848996 Q13636917 Q899130 Q1121202 Q5122850 Q1130970 Q2079243 Q4712645 Q615788 Q400384 Q1676554 Q1511043 Q634855 Q1858144 Q3117324 Q1146555 Q7909489 Q1328252 Q1604779 Q610817 Q1540745 Q3064573 Q1121225
(c(Q43229),P1454,Q18340467)
action filter_type
action find_reverse
entity Q18340467
relation P1454
type Q43229
[ANSWERS] have that abstract noun as their legal form
[{'concept': 'Q43229'}, 'P1454', 'Q18340467']
SELECT DISTINCT ?y WHERE { ?y property:P1454 resource:Q18340467 . ?y rdf:type ontology:Q43229 }
Bradespar Aché Klabin Cosan Companhia Energética de São Paulo CPFL Energia Taurus NET Itaúsa Sabesp Ultrapar Vale Petrobras Grupo Pão de Açúcar AES Eletropaulo Braskem Itaú Unibanco Vivo Brasil Foods Marcopolo S.A. Forges de Zeebrugge Brasil Telecom CEMIG Citrovita Copel TIM Brasil Albras Grupo Abril Companhia Siderúrgica Nacional JBS S.A. Gerdau Tractebel Energia Redecard André Maggi Group Ocean Star Cruises Vale Fertilizantes Eletrobras Tecnologia Automotiva Catarinense Banco do Brasil Usiminas Marfrig CCR S.A.
Grupo Abril, TIM Brasil and Vivo have that abstract noun as their legal form
Grupo Abril TIM Brasil Vivo
action filter_type
action find_reverse
entity Sociedade anônima
relation legal form
type organization
[{'concept': 'organization'}, 'legal form', 'Sociedade anônima']
SELECT DISTINCT ?y WHERE { ?y property:legal_form resource:Sociedade_anônima . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q15961987 Q11424
USER
Which people are max number of television genres or films considered a copy of ?
(c(Q15961987)|c(Q11424),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
[[{'concept': 'Q15961987'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?c WHERE { { ?f property:P144 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15961987 } UNION { ?f property:P144 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q11424 } } GROUP BY ?c } } . FILTER ( ?p = ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?j WHERE { { ?k property:P144 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15961987 } UNION { ?k property:P144 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 } } GROUP BY ?j } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type film
[[{'concept': 'television genre'}, {'concept': 'film'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?c WHERE { { ?f property:based_on ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:television_genre } UNION { ?f property:based_on ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:film } } GROUP BY ?c } } . FILTER ( ?p = ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?j WHERE { { ?k property:based_on ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:television_genre } UNION { ?k property:based_on ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:film } } GROUP BY ?j } }
[]
common name television genre film
Q150471 Q5358186 Q3079968
SYSTEM
E. T. A. Hoffmann, Yarō Abe, Ted Key
Q5358186 Q3079968 Q8011009 Q150471
(c(Q15961987)|c(Q11424),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
[ANSWERS] are max number of television genres or films considered a copy of
[[{'concept': 'Q15961987'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?c WHERE { { ?f property:P144 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15961987 } UNION { ?f property:P144 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q11424 } } GROUP BY ?c } } . FILTER ( ?p = ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?j WHERE { { ?k property:P144 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15961987 } UNION { ?k property:P144 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 } } GROUP BY ?j } }
Yarō Abe Ted Key William Hatfield E. T. A. Hoffmann
E. T. A. Hoffmann, Yarō Abe and Ted Key are max number of television genres or films considered a copy of
E. T. A. Hoffmann Yarō Abe Ted Key
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type film
[[{'concept': 'television genre'}, {'concept': 'film'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?c WHERE { { ?f property:based_on ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:television_genre } UNION { ?f property:based_on ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:film } } GROUP BY ?c } } . FILTER ( ?p = ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) ?j WHERE { { ?k property:based_on ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:television_genre } UNION { ?k property:based_on ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:film } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2079243 Q2005
P127
Q1269299
USER
How many business organizations are the owners of TIM Brasil or JavaScript ?
(Q2079243,P127,c(Q1269299)) (Q2005,P127,c(Q1269299))
action count
action union
action filter_type
action find
entity Q2079243
relation P127
type Q1269299
action filter_type
action find
entity Q2005
relation P127
type Q1269299
['Q2079243', 'P127', {'concept': 'Q1269299'}] ['Q2005', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?t ) { ( resource:Q2079243 ) ( resource:Q2005 ) } . ?t property:P127 ?b }
TIM Brasil JavaScript
action count
action union
action filter_type
action find
entity TIM Brasil
relation owned by
type type of business entity
action filter_type
action find
entity JavaScript
relation owned by
type type of business entity
['TIM Brasil', 'owned by', {'concept': 'type of business entity'}] ['JavaScript', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?t ) { ( resource:TIM_Brasil ) ( resource:JavaScript ) } . ?t property:owned_by ?b }
[]
type of business entity
SYSTEM
2
Q19900 Q14647
(Q2079243,P127,c(Q1269299)) (Q2005,P127,c(Q1269299))
action count
action union
action filter_type
action find
entity Q2079243
relation P127
type Q1269299
action filter_type
action find
entity Q2005
relation P127
type Q1269299
[ANSWER]
['Q2079243', 'P127', {'concept': 'Q1269299'}] ['Q2005', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?t ) { ( resource:Q2079243 ) ( resource:Q2005 ) } . ?t property:P127 ?b }
Oracle Corporation Sun Microsystems
2
action count
action union
action filter_type
action find
entity TIM Brasil
relation owned by
type type of business entity
action filter_type
action find
entity JavaScript
relation owned by
type type of business entity
['TIM Brasil', 'owned by', {'concept': 'type of business entity'}] ['JavaScript', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?t ) { ( resource:TIM_Brasil ) ( resource:JavaScript ) } . ?t property:owned_by ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150471
P737
Q502895
USER
Who did E. T. A. Hoffmann have an influence on ?
(c(Q502895),P737,Q150471)
action filter_type
action find_reverse
entity Q150471
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q150471']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P737 resource:Q150471 }
E. T. A. Hoffmann
action filter_type
action find_reverse
entity E. T. A. Hoffmann
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'E. T. A. Hoffmann']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:influenced_by resource:E._T._A._Hoffmann }
[]
common name
Q43718 Q27645
SYSTEM
Nikolai Gogol, Mikhail Bakunin
Q43718 Q27645
(c(Q502895),P737,Q150471)
action filter_type
action find_reverse
entity Q150471
relation P737
type Q502895
E. T. A . Hoffmann had an influence on [ANSWERS]
[{'concept': 'Q502895'}, 'P737', 'Q150471']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P737 resource:Q150471 }
Nikolai Gogol Mikhail Bakunin
E. T. A . Hoffmann had an influence on Nikolai Gogol and Mikhail Bakunin
Nikolai Gogol Mikhail Bakunin
action filter_type
action find_reverse
entity E. T. A. Hoffmann
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'E. T. A. Hoffmann']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:influenced_by resource:E._T._A._Hoffmann }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q43718 Q27645
P50
Q2342494
USER
Which collectables were written by those people ?
(c(Q2342494),P50,Q43718) (c(Q2342494),P50,Q27645)
action filter_type
action find_reverse
entity prev_answer
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q43718'] [{'concept': 'Q2342494'}, 'P50', 'Q27645']
SELECT DISTINCT ?n WHERE { ?n property:P50 ?e . VALUES ( ?e ) { ( resource:Q43718 ) ( resource:Q27645 ) } . ?n rdf:type ontology:Q2342494 }
Nikolai Gogol Mikhail Bakunin
action filter_type
action find_reverse
entity prev_answer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Nikolai Gogol'] [{'concept': 'collectable'}, 'author', 'Mikhail Bakunin']
SELECT DISTINCT ?n WHERE { ?n property:author ?e . VALUES ( ?e ) { ( resource:Nikolai_Gogol ) ( resource:Mikhail_Bakunin ) } . ?n rdf:type ontology:collectable }
[]
collectable
Q1250822 Q2583594 Q1754954
SYSTEM
Taras Bulba, Statism and Anarchy, Mirgorod
Q1250822 Q1754954 Q2583594 Q1369908
(c(Q2342494),P50,Q43718) (c(Q2342494),P50,Q27645)
action filter_type
action find_reverse
entity prev_answer
relation P50
type Q2342494
[ANSWERS] were written by those people
[{'concept': 'Q2342494'}, 'P50', 'Q43718'] [{'concept': 'Q2342494'}, 'P50', 'Q27645']
SELECT DISTINCT ?n WHERE { ?n property:P50 ?e . VALUES ( ?e ) { ( resource:Q43718 ) ( resource:Q27645 ) } . ?n rdf:type ontology:Q2342494 }
Taras Bulba Mirgorod Statism and Anarchy God and the State
Taras Bulba, Statism and Anarchy and Mirgorod were written by those people
Taras Bulba Statism and Anarchy Mirgorod
action filter_type
action find_reverse
entity prev_answer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Nikolai Gogol'] [{'concept': 'collectable'}, 'author', 'Mikhail Bakunin']
SELECT DISTINCT ?n WHERE { ?n property:author ?e . VALUES ( ?e ) { ( resource:Nikolai_Gogol ) ( resource:Mikhail_Bakunin ) } . ?n rdf:type ontology:collectable }
[]