Simple Question (Direct)
Simple Question
Q717712
P119
Q43229
USER
Where is the place of burial for Eduard Bornhöhe located ?
(Q717712,P119,c(Q43229))
action filter_type
action find
entity Q717712
relation P119
type Q43229
['Q717712', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . resource:Q717712 property:P119 ?w }
Eduard Bornhöhe
action filter_type
action find
entity Eduard Bornhöhe
relation place of burial
type organization
['Eduard Bornhöhe', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . resource:Eduard_Bornhöhe property:place_of_burial ?w }
[]
organization
Q2541547
SYSTEM
Metsakalmistu
Q2541547
(Q717712,P119,c(Q43229))
action filter_type
action find
entity Q717712
relation P119
type Q43229
The place of burial for Eduard Bornhöhe is located in [ANSWER]
['Q717712', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . resource:Q717712 property:P119 ?w }
Metsakalmistu
The place of burial for Eduard Bornhöhe is located in Metsakalmistu
Metsakalmistu
action filter_type
action find
entity Eduard Bornhöhe
relation place of burial
type organization
['Eduard Bornhöhe', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . resource:Eduard_Bornhöhe property:place_of_burial ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q717712
P58
Q838948
USER
Which work of art has that person as screenwriter ?
(c(Q838948),P58,Q2541547)
action filter_type
action find_reverse
entity Q717712
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q2541547']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q717712 . ?a rdf:type ontology:Q838948 }
Eduard Bornhöhe
action filter_type
action find_reverse
entity Eduard Bornhöhe
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Metsakalmistu']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:Eduard_Bornhöhe . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1409466
SYSTEM
Viimne reliikvia
Q1409466
(c(Q838948),P58,Q2541547)
action filter_type
action find_reverse
entity Q717712
relation P58
type Q838948
[ANSWER] has that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q2541547']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q717712 . ?a rdf:type ontology:Q838948 }
Viimne reliikvia
Viimne reliikvia has that person as screenwriter
Viimne reliikvia
action filter_type
action find_reverse
entity Eduard Bornhöhe
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Metsakalmistu']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:Eduard_Bornhöhe . ?a rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?h ) WHERE { ?d property:P1445 ?r . ?d rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?d } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?w ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?j ) WHERE { ?q property:P1445 ?t . ?q rdf:type ontology:Q386724 . ?t rdf:type ontology:Q838948 } GROUP BY ?q } } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?h ) WHERE { ?d property:fictional_universe_described_in ?r . ?d rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?d } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?w ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?j ) WHERE { ?q property:fictional_universe_described_in ?t . ?q rdf:type ontology:work . ?t rdf:type ontology:work_of_art } GROUP BY ?q } } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] represents a fictional universe described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?h ) WHERE { ?d property:P1445 ?r . ?d rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?d } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?w ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?j ) WHERE { ?q property:P1445 ?t . ?q rdf:type ontology:Q386724 . ?t rdf:type ontology:Q838948 } GROUP BY ?q } } }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?h ) WHERE { ?d property:fictional_universe_described_in ?r . ?d rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?d } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?w ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?j ) WHERE { ?q property:fictional_universe_described_in ?t . ?q rdf:type ontology:work . ?t rdf:type ontology:work_of_art } GROUP BY ?q } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q384426 Q23042164
P1445
Q838948
USER
Does monument to the pionner in Côte d'Ivoire portray the ideas of fictional universe that work ?
(Q384426,P1445,Q23042164)
action is_in
entity Q23042164
action find
entity Q384426
relation P1445
['Q384426', 'P1445', 'Q23042164']
ASK WHERE { resource:Q384426 property:P1445 resource:Q23042164 }
Pirates of the Caribbean monument to the pionner in Côte d'Ivoire
action is_in
entity monument to the pionner in Côte d'Ivoire
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', "monument to the pionner in Côte d'Ivoire"]
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:monument_to_the_pionner_in_Côte_d'Ivoire }
[]
work of art
SYSTEM
NO
(Q384426,P1445,Q23042164)
action is_in
entity Q23042164
action find
entity Q384426
relation P1445
[ANSWER]
['Q384426', 'P1445', 'Q23042164']
ASK WHERE { resource:Q384426 property:P1445 resource:Q23042164 }
No
action is_in
entity monument to the pionner in Côte d'Ivoire
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', "monument to the pionner in Côte d'Ivoire"]
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:monument_to_the_pionner_in_Côte_d'Ivoire }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1409466 Q153149 Q1457614
P58
Q502895
USER
Is Lennart Meri and Alastair Thompson a screenwriter of Viimne reliikvia ?
(Q1409466,P58,Q153149) (Q1409466,P58,Q1457614)
action is_in
entity Q1409466
action intersection
action find_reverse
entity Q153149
relation P58
action find_reverse
entity Q1457614
relation P58
['Q1409466', 'P58', 'Q153149'] ['Q1409466', 'P58', 'Q1457614']
ASK WHERE { resource:Q1409466 property:P58 resource:Q153149 . resource:Q1409466 property:P58 resource:Q1457614 }
Viimne reliikvia Lennart Meri Alastair Thompson
action is_in
entity Viimne reliikvia
action intersection
action find_reverse
entity Lennart Meri
relation screenwriter
action find_reverse
entity Alastair Thompson
relation screenwriter
['Viimne reliikvia', 'screenwriter', 'Lennart Meri'] ['Viimne reliikvia', 'screenwriter', 'Alastair Thompson']
ASK WHERE { resource:Viimne_reliikvia property:screenwriter resource:Lennart_Meri . resource:Viimne_reliikvia property:screenwriter resource:Alastair_Thompson }
[]
common name
SYSTEM
YES and NO respectively
(Q1409466,P58,Q153149) (Q1409466,P58,Q1457614)
action is_in
entity Q1409466
action intersection
action find_reverse
entity Q153149
relation P58
action find_reverse
entity Q1457614
relation P58
[ANSWER]
['Q1409466', 'P58', 'Q153149'] ['Q1409466', 'P58', 'Q1457614']
ASK WHERE { resource:Q1409466 property:P58 resource:Q153149 . resource:Q1409466 property:P58 resource:Q1457614 }
YES and NO respectively
action is_in
entity Viimne reliikvia
action intersection
action find_reverse
entity Lennart Meri
relation screenwriter
action find_reverse
entity Alastair Thompson
relation screenwriter
['Viimne reliikvia', 'screenwriter', 'Lennart Meri'] ['Viimne reliikvia', 'screenwriter', 'Alastair Thompson']
ASK WHERE { resource:Viimne_reliikvia property:screenwriter resource:Lennart_Meri . resource:Viimne_reliikvia property:screenwriter resource:Alastair_Thompson }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P629
Q7725634 Q234460 Q386724
USER
How many works represent an edition or translation of atmost 2 literary works or texts ?
(c(Q386724),P629,c(Q7725634)|c(Q234460))
action count
action atmost
action union
action find_tuple_counts
relation P629
type Q386724
type Q7725634
action find_tuple_counts
relation P629
type Q386724
type Q234460
value 2
[{'concept': 'Q386724'}, 'P629', [{'concept': 'Q7725634'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } . ?m rdf:type ?x } GROUP BY ?y } . FILTER ( ?e <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation edition or translation of
type work
type literary work
action find_tuple_counts
relation edition or translation of
type work
type text
value 2
[{'concept': 'work'}, 'edition or translation of', [{'concept': 'literary work'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:text ) } . ?m rdf:type ?x } GROUP BY ?y } . FILTER ( ?e <= 2 ) }
[]
literary work text work
SYSTEM
22
Q19080411 Q24175397 Q26712000 Q25858085 Q26301623 Q29334 Q338373 Q26331781 Q6888651 Q26457246 Q26987217 Q26701981 Q23752771 Q27627540 Q26299860 Q27067729 Q19080429 Q26390366 Q23894983 Q19080420 Q26829863 Q26715049
(c(Q386724),P629,c(Q7725634)|c(Q234460))
action count
action atmost
action union
action find_tuple_counts
relation P629
type Q386724
type Q7725634
action find_tuple_counts
relation P629
type Q386724
type Q234460
value 2
[ANSWER]
[{'concept': 'Q386724'}, 'P629', [{'concept': 'Q7725634'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } . ?m rdf:type ?x } GROUP BY ?y } . FILTER ( ?e <= 2 ) }
The Book of Thel Capitán América: El primer vengador Hércules y los Tecno-Griegos Alicia a través del espejo Hércules y el primer día de escuela Septuagint New World Translation of the Holy Scriptures Hércules y el examen de conducir Modern English Bible translations Hércules y el arma secreta Hércules y la visita de Zeus Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y el primer médico del mundo Kommt erst mein Prinz zu mir The Book of Thel Hércules y el rey de Tesalia Iron Man 2 The Book of Thel Angry Birds: La película Peter y el dragón
22
action count
action atmost
action union
action find_tuple_counts
relation edition or translation of
type work
type literary work
action find_tuple_counts
relation edition or translation of
type work
type text
value 2
[{'concept': 'work'}, 'edition or translation of', [{'concept': 'literary work'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:text ) } . ?m rdf:type ?x } GROUP BY ?y } . FILTER ( ?e <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q384426
P364
Q34770
USER
Which language was used originally for the creation of Pirates of the Caribbean ?
(Q384426,P364,c(Q34770))
action filter_type
action find
entity Q384426
relation P364
type Q34770
['Q384426', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q384426 property:P364 ?h . ?h rdf:type ontology:Q34770 }
Pirates of the Caribbean
action filter_type
action find
entity Pirates of the Caribbean
relation original language of work
type language
['Pirates of the Caribbean', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Pirates_of_the_Caribbean property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q384426,P364,c(Q34770))
action filter_type
action find
entity Q384426
relation P364
type Q34770
[ANSWER] was used originally for the creation of Pirates of the Caribbean
['Q384426', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q384426 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
English was used originally for the creation of Pirates of the Caribbean
English
action filter_type
action find
entity Pirates of the Caribbean
relation original language of work
type language
['Pirates of the Caribbean', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Pirates_of_the_Caribbean property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]