Simple Question (Direct)
Simple Question
Q1835391
P112
Q502895
USER
Which person was the founder of Público ?
(Q1835391,P112,c(Q502895))
action filter_type
action find
entity Q1835391
relation P112
type Q502895
['Q1835391', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1835391 property:P112 ?r . ?r rdf:type ontology:Q502895 }
Público
action filter_type
action find
entity Público
relation founder
type common name
['Público', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Público property:founder ?r . ?r rdf:type ontology:common_name }
[]
common name
Q3392265
SYSTEM
Jaume Roures
Q3392265
(Q1835391,P112,c(Q502895))
action filter_type
action find
entity Q1835391
relation P112
type Q502895
[ANSWER]
['Q1835391', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1835391 property:P112 ?r . ?r rdf:type ontology:Q502895 }
Jaume Roures
Jaume Roures
action filter_type
action find
entity Público
relation founder
type common name
['Público', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Público property:founder ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1835391
P108
Q502895
USER
What are the name of people who works for Público ?
(c(Q502895),P108,Q1835391)
action filter_type
action find_reverse
entity Q1835391
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1835391']
SELECT DISTINCT ?v WHERE { ?v property:P108 resource:Q1835391 . ?v rdf:type ontology:Q502895 }
Público
action filter_type
action find_reverse
entity Público
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Público']
SELECT DISTINCT ?v WHERE { ?v property:employer resource:Público . ?v rdf:type ontology:common_name }
[]
common name
Q527394 Q26720440
SYSTEM
El Gran Wyoming, Félix Monteira
Q527394 Q26720440
(c(Q502895),P108,Q1835391)
action filter_type
action find_reverse
entity Q1835391
relation P108
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q1835391']
SELECT DISTINCT ?v WHERE { ?v property:P108 resource:Q1835391 . ?v rdf:type ontology:Q502895 }
El Gran Wyoming Félix Monteira
El Gran Wyoming Félix Monteira
action filter_type
action find_reverse
entity Público
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Público']
SELECT DISTINCT ?v WHERE { ?v property:employer resource:Público . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26720440
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q26720440,P19,c(Q56061))
action filter_type
action find
entity Q26720440
relation P19
type Q56061
['Q26720440', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q26720440 property:P19 ?o }
Félix Monteira
action filter_type
action find
entity Félix Monteira
relation place of birth
type administrative territorial entity
['Félix Monteira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Félix_Monteira property:place_of_birth ?o }
[]
administrative territorial entity
Clarification for simple ques.
Q527394
SYSTEM
Did you mean El Gran Wyoming ?
Q527394 Q26720440
(Q527394,P19,c(Q56061)) (Q26720440,P19,c(Q56061))
[ANSWER]
['Q527394', 'P19', {'concept': 'Q56061'}] ['Q26720440', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q26720440 property:P19 ?o }
El Gran Wyoming Félix Monteira
Did you mean El Gran Wyoming ?
El Gran Wyoming
['El Gran Wyoming', 'place of birth', {'concept': 'administrative territorial entity'}] ['Félix Monteira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Félix_Monteira property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Félix Monteira. Could you tell me the answer for that?
(Q26720440,P19,c(Q56061))
Q26720440
['Q26720440', 'P19', {'concept': 'Q56061'}]
['Félix Monteira', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q12164
SYSTEM
Ponferrada
Q12164
(Q26720440,P19,c(Q56061))
action filter_type
action find
entity Q26720440
relation P19
type Q56061
[ANSWER]
['Q26720440', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q26720440 property:P19 ?o }
Ponferrada
Ponferrada
action filter_type
action find
entity Félix Monteira
relation place of birth
type administrative territorial entity
['Félix Monteira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Félix_Monteira property:place_of_birth ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12164 Q721228
P47
Q1048835
USER
Does Vidrichka share border with that administrative territory ?
(Q721228,P47,Q12164)
action is_in
entity Q721228
action find
entity Q12164
relation P47
['Q721228', 'P47', 'Q12164']
ASK WHERE { resource:Q12164 property:P47 resource:Q721228 }
Ponferrada Vidrichka
action is_in
entity Vidrichka
action find
entity Ponferrada
relation shares border with
['Vidrichka', 'shares border with', 'Ponferrada']
ASK WHERE { resource:Ponferrada property:shares_border_with resource:Vidrichka }
[]
political territorial entity
SYSTEM
NO
(Q721228,P47,Q12164)
action is_in
entity Q721228
action find
entity Q12164
relation P47
[ANSWER]
['Q721228', 'P47', 'Q12164']
ASK WHERE { resource:Q12164 property:P47 resource:Q721228 }
No
action is_in
entity Vidrichka
action find
entity Ponferrada
relation shares border with
['Vidrichka', 'shares border with', 'Ponferrada']
ASK WHERE { resource:Ponferrada property:shares_border_with resource:Vidrichka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q527394 Q29 Q1819170
P27
Q15617994
USER
Is El Gran Wyoming a citizen of Spain and Honthem ?
(Q527394,P27,Q29) (Q527394,P27,Q1819170)
action is_in
entity Q527394
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q1819170
relation P27
['Q527394', 'P27', 'Q29'] ['Q527394', 'P27', 'Q1819170']
ASK WHERE { resource:Q527394 property:P27 resource:Q29 . resource:Q527394 property:P27 resource:Q1819170 }
El Gran Wyoming Spain Honthem
action is_in
entity El Gran Wyoming
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Honthem
relation country of citizenship
['El Gran Wyoming', 'country of citizenship', 'Spain'] ['El Gran Wyoming', 'country of citizenship', 'Honthem']
ASK WHERE { resource:El_Gran_Wyoming property:country_of_citizenship resource:Spain . resource:El_Gran_Wyoming property:country_of_citizenship resource:Honthem }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q527394,P27,Q29) (Q527394,P27,Q1819170)
action is_in
entity Q527394
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q1819170
relation P27
[ANSWER]
['Q527394', 'P27', 'Q29'] ['Q527394', 'P27', 'Q1819170']
ASK WHERE { resource:Q527394 property:P27 resource:Q29 . resource:Q527394 property:P27 resource:Q1819170 }
YES and NO respectively
action is_in
entity El Gran Wyoming
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Honthem
relation country of citizenship
['El Gran Wyoming', 'country of citizenship', 'Spain'] ['El Gran Wyoming', 'country of citizenship', 'Honthem']
ASK WHERE { resource:El_Gran_Wyoming property:country_of_citizenship resource:Spain . resource:El_Gran_Wyoming property:country_of_citizenship resource:Honthem }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3392265 Q655303
P27
Q15617994
USER
Is Tutow the country of citizenship of Jaume Roures ?
(Q3392265,P27,Q655303)
action is_in
entity Q655303
action find
entity Q3392265
relation P27
['Q3392265', 'P27', 'Q655303']
ASK WHERE { resource:Q3392265 property:P27 resource:Q655303 }
Jaume Roures Tutow
action is_in
entity Tutow
action find
entity Jaume Roures
relation country of citizenship
['Jaume Roures', 'country of citizenship', 'Tutow']
ASK WHERE { resource:Jaume_Roures property:country_of_citizenship resource:Tutow }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3392265,P27,Q655303)
action is_in
entity Q655303
action find
entity Q3392265
relation P27
[ANSWER]
['Q3392265', 'P27', 'Q655303']
ASK WHERE { resource:Q3392265 property:P27 resource:Q655303 }
No
action is_in
entity Tutow
action find
entity Jaume Roures
relation country of citizenship
['Jaume Roures', 'country of citizenship', 'Tutow']
ASK WHERE { resource:Jaume_Roures property:country_of_citizenship resource:Tutow }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q26720440 Q691890 Q15058947
P27
Q15617994
USER
Is Félix Monteira a citizen of Corcyre and Kelbarrow ?
(Q26720440,P27,Q691890) (Q26720440,P27,Q15058947)
action is_in
entity Q26720440
action intersection
action find_reverse
entity Q691890
relation P27
action find_reverse
entity Q15058947
relation P27
['Q26720440', 'P27', 'Q691890'] ['Q26720440', 'P27', 'Q15058947']
ASK WHERE { resource:Q26720440 property:P27 resource:Q691890 . resource:Q26720440 property:P27 resource:Q15058947 }
Félix Monteira Corcyre Kelbarrow
action is_in
entity Félix Monteira
action intersection
action find_reverse
entity Corcyre
relation country of citizenship
action find_reverse
entity Kelbarrow
relation country of citizenship
['Félix Monteira', 'country of citizenship', 'Corcyre'] ['Félix Monteira', 'country of citizenship', 'Kelbarrow']
ASK WHERE { resource:Félix_Monteira property:country_of_citizenship resource:Corcyre . resource:Félix_Monteira property:country_of_citizenship resource:Kelbarrow }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26720440,P27,Q691890) (Q26720440,P27,Q15058947)
action is_in
entity Q26720440
action intersection
action find_reverse
entity Q691890
relation P27
action find_reverse
entity Q15058947
relation P27
[ANSWER]
['Q26720440', 'P27', 'Q691890'] ['Q26720440', 'P27', 'Q15058947']
ASK WHERE { resource:Q26720440 property:P27 resource:Q691890 . resource:Q26720440 property:P27 resource:Q15058947 }
No
action is_in
entity Félix Monteira
action intersection
action find_reverse
entity Corcyre
relation country of citizenship
action find_reverse
entity Kelbarrow
relation country of citizenship
['Félix Monteira', 'country of citizenship', 'Corcyre'] ['Félix Monteira', 'country of citizenship', 'Kelbarrow']
ASK WHERE { resource:Félix_Monteira property:country_of_citizenship resource:Corcyre . resource:Félix_Monteira property:country_of_citizenship resource:Kelbarrow }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3392265 Q29 Q39916
P27
Q15617994
USER
Is Jaume Roures a native of Spain and Saltrio ?
(Q3392265,P27,Q29) (Q3392265,P27,Q39916)
action is_in
entity Q3392265
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q39916
relation P27
['Q3392265', 'P27', 'Q29'] ['Q3392265', 'P27', 'Q39916']
ASK WHERE { resource:Q3392265 property:P27 resource:Q29 . resource:Q3392265 property:P27 resource:Q39916 }
Jaume Roures Spain Saltrio
action is_in
entity Jaume Roures
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Saltrio
relation country of citizenship
['Jaume Roures', 'country of citizenship', 'Spain'] ['Jaume Roures', 'country of citizenship', 'Saltrio']
ASK WHERE { resource:Jaume_Roures property:country_of_citizenship resource:Spain . resource:Jaume_Roures property:country_of_citizenship resource:Saltrio }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3392265,P27,Q29) (Q3392265,P27,Q39916)
action is_in
entity Q3392265
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q39916
relation P27
[ANSWER]
['Q3392265', 'P27', 'Q29'] ['Q3392265', 'P27', 'Q39916']
ASK WHERE { resource:Q3392265 property:P27 resource:Q29 . resource:Q3392265 property:P27 resource:Q39916 }
YES and NO respectively
action is_in
entity Jaume Roures
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Saltrio
relation country of citizenship
['Jaume Roures', 'country of citizenship', 'Spain'] ['Jaume Roures', 'country of citizenship', 'Saltrio']
ASK WHERE { resource:Jaume_Roures property:country_of_citizenship resource:Spain . resource:Jaume_Roures property:country_of_citizenship resource:Saltrio }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P291
Q56061 Q21114848 Q732577
USER
Which administrative territories are the locations of publication of max number of magazine genres and publications ?
(c(Q21114848)|c(Q732577),P291,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
[[{'concept': 'Q21114848'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q21114848 ) ( ontology:Q732577 ) } . ?v rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?w WHERE { { ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 . ?a property:P291 ?w } UNION { ?a property:P291 ?w . ?a rdf:type ontology:Q732577 . ?w rdf:type ontology:Q56061 } } GROUP BY ?w } } }
action argmax
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
[[{'concept': 'magazine genre'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?b WHERE { VALUES ( ?c ) { ( ontology:magazine_genre ) ( ontology:publication ) } . ?v rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?w WHERE { { ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre . ?a property:place_of_publication ?w } UNION { ?a property:place_of_publication ?w . ?a rdf:type ontology:publication . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } } }
[]
administrative territorial entity magazine genre publication
Q60
SYSTEM
New York City
Q60
(c(Q21114848)|c(Q732577),P291,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q21114848 ) ( ontology:Q732577 ) } . ?v rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?w WHERE { { ?w rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 . ?a property:P291 ?w } UNION { ?a property:P291 ?w . ?a rdf:type ontology:Q732577 . ?w rdf:type ontology:Q56061 } } GROUP BY ?w } } }
New York City
New York City
action argmax
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
[[{'concept': 'magazine genre'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l = ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?b WHERE { VALUES ( ?c ) { ( ontology:magazine_genre ) ( ontology:publication ) } . ?v rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?w WHERE { { ?w rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre . ?a property:place_of_publication ?w } UNION { ?a property:place_of_publication ?w . ?a rdf:type ontology:publication . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q337567 Q56061
USER
Which administrative territories are situated in the neighbourhood of max number of watercourses or still waterss ?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?d rdf:type ?y } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?n rdf:type ontology:Q355304 . ?z rdf:type ontology:Q56061 . ?z property:P206 ?n } UNION { ?z rdf:type ontology:Q56061 . ?n rdf:type ontology:Q337567 . ?z property:P206 ?n } } GROUP BY ?z } . FILTER ( ?g = ?c ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?l WHERE { VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?d rdf:type ?y } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?n rdf:type ontology:watercourse . ?z rdf:type ontology:administrative_territorial_entity . ?z property:located_next_to_body_of_water ?n } UNION { ?z rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:still_waters . ?z property:located_next_to_body_of_water ?n } } GROUP BY ?z } . FILTER ( ?g = ?c ) }
[]
watercourse still waters administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(c(Q56061),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?d rdf:type ?y } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?n rdf:type ontology:Q355304 . ?z rdf:type ontology:Q56061 . ?z property:P206 ?n } UNION { ?z rdf:type ontology:Q56061 . ?n rdf:type ontology:Q337567 . ?z property:P206 ?n } } GROUP BY ?z } . FILTER ( ?g = ?c ) }
Schwerin
Schwerin
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?l WHERE { VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?d rdf:type ?y } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?n rdf:type ontology:watercourse . ?z rdf:type ontology:administrative_territorial_entity . ?z property:located_next_to_body_of_water ?n } UNION { ?z rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:still_waters . ?z property:located_next_to_body_of_water ?n } } GROUP BY ?z } . FILTER ( ?g = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3392265
P162
Q838948
USER
How many works of art have been developed by Jaume Roures ?
(c(Q838948),P162,Q3392265)
action count
action filter_type
action find_reverse
entity Q3392265
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q3392265']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P162 resource:Q3392265 . ?s rdf:type ontology:Q838948 }
Jaume Roures
action count
action filter_type
action find_reverse
entity Jaume Roures
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jaume Roures']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:producer resource:Jaume_Roures . ?s rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
4
Q1028596 Q16389827 Q7458916 Q1180275
(c(Q838948),P162,Q3392265)
action count
action filter_type
action find_reverse
entity Q3392265
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q3392265']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P162 resource:Q3392265 . ?s rdf:type ontology:Q838948 }
Va a ser que nadie es perfecto A Perfect Day Sexykiller Princesas
4
action count
action filter_type
action find_reverse
entity Jaume Roures
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jaume Roures']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:producer resource:Jaume_Roures . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3392265
P162
Q838948
USER
Which works of art have been developed by that person ?
action filter_type
action find_reverse
entity Q3392265
relation P162
type Q838948
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q3392265 . ?i rdf:type ontology:Q838948 }
Jaume Roures
action filter_type
action find_reverse
entity Jaume Roures
relation producer
type work of art
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Jaume_Roures . ?i rdf:type ontology:work_of_art }
[]
work of art
Q1180275 Q16389827 Q1028596
SYSTEM
Princesas, A Perfect Day, Va a ser que nadie es perfecto
Q7458916 Q1180275 Q1028596 Q16389827
action filter_type
action find_reverse
entity Q3392265
relation P162
type Q838948
[ANSWERS]
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q3392265 . ?i rdf:type ontology:Q838948 }
Sexykiller Princesas Va a ser que nadie es perfecto A Perfect Day
Princesas A Perfect Day Va a ser que nadie es perfecto
action filter_type
action find_reverse
entity Jaume Roures
relation producer
type work of art
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Jaume_Roures . ?i rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16389827
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q16389827,P58,c(Q502895))
action filter_type
action find
entity Q16389827
relation P58
type Q502895
['Q16389827', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q16389827 property:P58 ?s }
A Perfect Day
action filter_type
action find
entity A Perfect Day
relation screenwriter
type common name
['A Perfect Day', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:A_Perfect_Day property:screenwriter ?s }
[]
common name
Clarification for simple ques.
Q16389827
SYSTEM
Did you mean A Perfect Day ?
Q1180275 Q16389827 Q1028596
(Q1180275,P58,c(Q502895)) (Q16389827,P58,c(Q502895)) (Q1028596,P58,c(Q502895))
[ANSWER]
['Q1180275', 'P58', {'concept': 'Q502895'}] ['Q16389827', 'P58', {'concept': 'Q502895'}] ['Q1028596', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q16389827 property:P58 ?s }
Princesas A Perfect Day Va a ser que nadie es perfecto
Did you mean A Perfect Day ?
A Perfect Day
['Princesas', 'screenwriter', {'concept': 'common name'}] ['A Perfect Day', 'screenwriter', {'concept': 'common name'}] ['Va a ser que nadie es perfecto', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:A_Perfect_Day property:screenwriter ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q16389827,P58,c(Q502895))
['Q16389827', 'P58', {'concept': 'Q502895'}]
['A Perfect Day', 'screenwriter', {'concept': 'common name'}]
[]
Q1398481
SYSTEM
Fernando León de Aranoa
Q1398481
(Q16389827,P58,c(Q502895))
action filter_type
action find
entity Q16389827
relation P58
type Q502895
[ANSWER]
['Q16389827', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q16389827 property:P58 ?s }
Fernando León de Aranoa
Fernando León de Aranoa
action filter_type
action find
entity A Perfect Day
relation screenwriter
type common name
['A Perfect Day', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:A_Perfect_Day property:screenwriter ?s }
[]