Simple Question (Direct)
Simple Question
Q365064
P119
Q16970
USER
Where is the place of burial for Eric III of Denmark located ?
(Q365064,P119,c(Q16970))
action filter_type
action find
entity Q365064
relation P119
type Q16970
['Q365064', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?h WHERE { resource:Q365064 property:P119 ?h . ?h rdf:type ontology:Q16970 }
Eric III of Denmark
action filter_type
action find
entity Eric III of Denmark
relation place of burial
type church
['Eric III of Denmark', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?h WHERE { resource:Eric_III_of_Denmark property:place_of_burial ?h . ?h rdf:type ontology:church }
[]
church
Q492584
SYSTEM
St. Canute's Cathedral
Q492584
(Q365064,P119,c(Q16970))
action filter_type
action find
entity Q365064
relation P119
type Q16970
Is the place of burial for Eric III of Denmark located in [ANSWER]
['Q365064', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?h WHERE { resource:Q365064 property:P119 ?h . ?h rdf:type ontology:Q16970 }
St. Canute's Cathedral
Is the place of burial for Eric III of Denmark located in St. Canute's Cathedral
St. Canute's Cathedral
action filter_type
action find
entity Eric III of Denmark
relation place of burial
type church
['Eric III of Denmark', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?h WHERE { resource:Eric_III_of_Denmark property:place_of_burial ?h . ?h rdf:type ontology:church }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365064
P26
Q502895
USER
Which person is the life partner of Eric III of Denmark ?
(c(Q502895),P26,Q365064)
action filter_type
action find
entity Q365064
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q365064']
SELECT DISTINCT ?h WHERE { resource:Q365064 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Eric III of Denmark
action filter_type
action find
entity Eric III of Denmark
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Eric III of Denmark']
SELECT DISTINCT ?h WHERE { resource:Eric_III_of_Denmark property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Q2741809
SYSTEM
Lutgard of Salzwedel
Q2741809
(c(Q502895),P26,Q365064)
action filter_type
action find
entity Q365064
relation P26
type Q502895
[ANSWER] is the life partner of Eric III of Denmark
[{'concept': 'Q502895'}, 'P26', 'Q365064']
SELECT DISTINCT ?h WHERE { resource:Q365064 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Lutgard of Salzwedel
Lutgard of Salzwedel is the life partner of Eric III of Denmark
Lutgard of Salzwedel
action filter_type
action find
entity Eric III of Denmark
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Eric III of Denmark']
SELECT DISTINCT ?h WHERE { resource:Eric_III_of_Denmark property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2741809
P22
Q502895
USER
Which person was the father of that one ?
(Q2741809,P22,c(Q502895))
action filter_type
action find
entity Q2741809
relation P22
type Q502895
['Q2741809', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2741809 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Lutgard of Salzwedel
action filter_type
action find
entity Lutgard of Salzwedel
relation father
type common name
['Lutgard of Salzwedel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lutgard_of_Salzwedel property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q21035486
SYSTEM
Rudolf I, Count of Stade
Q21035486
(Q2741809,P22,c(Q502895))
action filter_type
action find
entity Q2741809
relation P22
type Q502895
[ANSWER] was the father of that one
['Q2741809', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2741809 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Rudolf I, Count of Stade
Rudolf I, Count of Stade was the father of that one
Rudolf I, Count of Stade
action filter_type
action find
entity Lutgard of Salzwedel
relation father
type common name
['Lutgard of Salzwedel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lutgard_of_Salzwedel property:father ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21035486 Q126785
P7
Q502895
USER
Does Ibrahim El-Zayat have that one as their sibling ?
(Q126785,P7,Q21035486)
action is_in
entity Q126785
action find
entity Q21035486
relation P7
['Q126785', 'P7', 'Q21035486']
ASK WHERE { resource:Q21035486 property:P7 resource:Q126785 }
Rudolf I, Count of Stade Ibrahim El-Zayat
action is_in
entity Ibrahim El-Zayat
action find
entity Rudolf I, Count of Stade
relation brother
['Ibrahim El-Zayat', 'brother', 'Rudolf I, Count of Stade']
ASK WHERE { resource:Rudolf_I,_Count_of_Stade property:brother resource:Ibrahim_El-Zayat }
[]
common name
SYSTEM
NO
(Q126785,P7,Q21035486)
action is_in
entity Q126785
action find
entity Q21035486
relation P7
[ANSWER]
['Q126785', 'P7', 'Q21035486']
ASK WHERE { resource:Q21035486 property:P7 resource:Q126785 }
No
action is_in
entity Ibrahim El-Zayat
action find
entity Rudolf I, Count of Stade
relation brother
['Ibrahim El-Zayat', 'brother', 'Rudolf I, Count of Stade']
ASK WHERE { resource:Rudolf_I,_Count_of_Stade property:brother resource:Ibrahim_El-Zayat }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques had max number of people as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q1001378
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:P725 ?t . ?a rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?y property:P725 ?b . ?y rdf:type ontology:Q1001378 . ?b rdf:type ontology:Q502895 } GROUP BY ?y } } }
action argmax
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:voice_actor ?t . ?a rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?y property:voice_actor ?b . ?y rdf:type ontology:cinematic_technique . ?b rdf:type ontology:common_name } GROUP BY ?y } } }
[]
common name cinematic technique
Q9321426
SYSTEM
Finding Dory
Q9321426
(c(Q1001378),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q1001378
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:P725 ?t . ?a rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?y property:P725 ?b . ?y rdf:type ontology:Q1001378 . ?b rdf:type ontology:Q502895 } GROUP BY ?y } } }
Finding Dory
Finding Dory had max number of people as the dubbing artist
Finding Dory
action argmax
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:voice_actor ?t . ?a rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?y property:voice_actor ?b . ?y rdf:type ontology:cinematic_technique . ?b rdf:type ontology:common_name } GROUP BY ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365064
P27
Q1048835
USER
Which political territory does Eric III of Denmark belong to ?
(Q365064,P27,c(Q1048835))
action filter_type
action find
entity Q365064
relation P27
type Q1048835
['Q365064', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q365064 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Eric III of Denmark
action filter_type
action find
entity Eric III of Denmark
relation country of citizenship
type political territorial entity
['Eric III of Denmark', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Eric_III_of_Denmark property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q365064,P27,c(Q1048835))
action filter_type
action find
entity Q365064
relation P27
type Q1048835
Eric III of [ANSWER] belongs to [ANSWER]
['Q365064', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q365064 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Denmark
Eric III of Denmark belongs to Denmark
Denmark
action filter_type
action find
entity Eric III of Denmark
relation country of citizenship
type political territorial entity
['Eric III of Denmark', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Eric_III_of_Denmark property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19332060 Q365064
P276 P20
Q56061
USER
Which administrative territories are the places of death of Eric III of Denmark or are Luit situated ?
OR((Q365064,P20,c(Q56061)), (Q19332060,P276,c(Q56061)))
action filter_type
action union
action find
entity Q365064
relation P20
action find
entity Q19332060
relation P276
type Q56061
{'OR': [['Q365064', 'P20', {'concept': 'Q56061'}], ['Q19332060', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q365064 property:P20 ?f } UNION { resource:Q19332060 property:P276 ?f } } . ?f rdf:type ontology:Q56061 }
Luit Eric III of Denmark
action filter_type
action union
action find
entity Eric III of Denmark
relation place of death
action find
entity Luit
relation location
type administrative territorial entity
{'OR': [['Eric III of Denmark', 'place of death', {'concept': 'administrative territorial entity'}], ['Luit', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Eric_III_of_Denmark property:place_of_death ?f } UNION { resource:Luit property:location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15884208 Q25331
SYSTEM
Zevenaar, Odense
Q15884208 Q25331
OR((Q365064,P20,c(Q56061)), (Q19332060,P276,c(Q56061)))
action filter_type
action union
action find
entity Q365064
relation P20
action find
entity Q19332060
relation P276
type Q56061
[ANSWERS] are the places of death of Eric III of Denmark or are Luit situated
{'OR': [['Q365064', 'P20', {'concept': 'Q56061'}], ['Q19332060', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q365064 property:P20 ?f } UNION { resource:Q19332060 property:P276 ?f } } . ?f rdf:type ontology:Q56061 }
Zevenaar Odense
Zevenaar and Odense are the places of death of Eric III of Denmark or are Luit situated
Zevenaar Odense
action filter_type
action union
action find
entity Eric III of Denmark
relation place of death
action find
entity Luit
relation location
type administrative territorial entity
{'OR': [['Eric III of Denmark', 'place of death', {'concept': 'administrative territorial entity'}], ['Luit', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Eric_III_of_Denmark property:place_of_death ?f } UNION { resource:Luit property:location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?x ) WHERE { ?a property:P532 ?e . ?a rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?n property:P532 ?v . ?n rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?q = ?d ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?x ) WHERE { ?a property:port_of_registry ?e . ?a rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?n property:port_of_registry ?v . ?n rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?q = ?d ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] have max number of administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?x ) WHERE { ?a property:P532 ?e . ?a rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?n property:P532 ?v . ?n rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?q = ?d ) }
MS Arrow
MS Arrow have max number of administrative territories as their base harbour
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?x ) WHERE { ?a property:port_of_registry ?e . ?a rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?n property:port_of_registry ?v . ?n rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?q = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P159
Q43229
USER
Which organizations have their HQ location at Denmark ?
(c(Q43229),P159,Q35)
action filter_type
action find_reverse
entity Q35
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q35']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q35 . ?v rdf:type ontology:Q43229 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Denmark']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Denmark . ?v rdf:type ontology:organization }
[]
organization
Q1440151 Q12317900 Q7669809
SYSTEM
Royal Copenhagen, IDEmøbler, TC Electronic
Q7669809 Q928216 Q12317944 Q5985935 Q15843191 Q12317900 Q1440151 Q5015595
(c(Q43229),P159,Q35)
action filter_type
action find_reverse
entity Q35
relation P159
type Q43229
[ANSWERS] have their HQ location at Denmark
[{'concept': 'Q43229'}, 'P159', 'Q35']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q35 . ?v rdf:type ontology:Q43229 }
TC Electronic Regnecentralen IT-Political Association of Denmark Icemat Ruby Cup IDEmøbler Royal Copenhagen Cabinn Hotels
Royal Copenhagen, IDEmøbler and TC Electronic have their HQ location at Denmark
Royal Copenhagen IDEmøbler TC Electronic
action filter_type
action find_reverse
entity Denmark
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Denmark']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Denmark . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P921
Q484692
USER
Which hymn was mainly based on that political territory ?
(c(Q484692),P921,Q1440151) (c(Q484692),P921,Q12317900) (c(Q484692),P921,Q7669809)
action filter_type
action find_reverse
entity Q35
relation P921
type Q484692
[{'concept': 'Q484692'}, 'P921', 'Q1440151'] [{'concept': 'Q484692'}, 'P921', 'Q12317900'] [{'concept': 'Q484692'}, 'P921', 'Q7669809']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q35 . ?f rdf:type ontology:Q484692 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation main subject
type hymn
[{'concept': 'hymn'}, 'main subject', 'Royal Copenhagen'] [{'concept': 'hymn'}, 'main subject', 'IDEmøbler'] [{'concept': 'hymn'}, 'main subject', 'TC Electronic']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Denmark . ?f rdf:type ontology:hymn }
[]
hymn
Q165747
SYSTEM
Der er et yndigt land
Q165747
(c(Q484692),P921,Q1440151) (c(Q484692),P921,Q12317900) (c(Q484692),P921,Q7669809)
action filter_type
action find_reverse
entity Q35
relation P921
type Q484692
[ANSWER] was mainly based on that political territory
[{'concept': 'Q484692'}, 'P921', 'Q1440151'] [{'concept': 'Q484692'}, 'P921', 'Q12317900'] [{'concept': 'Q484692'}, 'P921', 'Q7669809']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q35 . ?f rdf:type ontology:Q484692 }
Der er et yndigt land
Der er et yndigt land was mainly based on that political territory
Der er et yndigt land
action filter_type
action find_reverse
entity Denmark
relation main subject
type hymn
[{'concept': 'hymn'}, 'main subject', 'Royal Copenhagen'] [{'concept': 'hymn'}, 'main subject', 'IDEmøbler'] [{'concept': 'hymn'}, 'main subject', 'TC Electronic']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Denmark . ?f rdf:type ontology:hymn }
[]