Simple Question (Direct)
Simple Question
Q18289383
P19
Q3976655
USER
Which Dutch administrative territory is the place of birth of Esben Toft Jacobsen ?
(Q18289383,P19,c(Q3976655))
action filter_type
action find
entity Q18289383
relation P19
type Q3976655
['Q18289383', 'P19', {'concept': 'Q3976655'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3976655 . resource:Q18289383 property:P19 ?p }
Esben Toft Jacobsen
action filter_type
action find
entity Esben Toft Jacobsen
relation place of birth
type administrative territorial entity of Denmark
['Esben Toft Jacobsen', 'place of birth', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity_of_Denmark . resource:Esben_Toft_Jacobsen property:place_of_birth ?p }
[]
administrative territorial entity of Denmark
Q500076
SYSTEM
Gentofte Municipality
Q500076
(Q18289383,P19,c(Q3976655))
action filter_type
action find
entity Q18289383
relation P19
type Q3976655
[ANSWER] is the place of birth of Esben Toft Jacobsen
['Q18289383', 'P19', {'concept': 'Q3976655'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3976655 . resource:Q18289383 property:P19 ?p }
Gentofte Municipality
Gentofte Municipality is the place of birth of Esben Toft Jacobsen
Gentofte Municipality
action filter_type
action find
entity Esben Toft Jacobsen
relation place of birth
type administrative territorial entity of Denmark
['Esben Toft Jacobsen', 'place of birth', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity_of_Denmark . resource:Esben_Toft_Jacobsen property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18289383
P106
Q28640
USER
What are the professions of that person ?
(Q500076,P106,c(Q28640))
action filter_type
action find
entity Q18289383
relation P106
type Q28640
['Q500076', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q28640 . resource:Q18289383 property:P106 ?z }
Esben Toft Jacobsen
action filter_type
action find
entity Esben Toft Jacobsen
relation occupation
type profession
['Gentofte Municipality', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:profession . resource:Esben_Toft_Jacobsen property:occupation ?z }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q500076,P106,c(Q28640))
action filter_type
action find
entity Q18289383
relation P106
type Q28640
The professions of that person are [ANSWERS]
['Q500076', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q28640 . resource:Q18289383 property:P106 ?z }
film director screenwriter
The professions of that person are film director and screenwriter
film director screenwriter
action filter_type
action find
entity Esben Toft Jacobsen
relation occupation
type profession
['Gentofte Municipality', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:profession . resource:Esben_Toft_Jacobsen property:occupation ?z }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7915527
P106
Q502895
USER
Do Vardan Hovhannisyan have the profession of those professions ?
(Q7915527,P106,Q2526255) (Q7915527,P106,Q28389)
action is_in
entity prev_answer
action find
entity Q7915527
relation P106
['Q7915527', 'P106', 'Q2526255'] ['Q7915527', 'P106', 'Q28389']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2526255 ) ( resource:Q28389 ) } . resource:Q7915527 property:P106 ?q }
Vardan Hovhannisyan
action is_in
entity prev_answer
action find
entity Vardan Hovhannisyan
relation occupation
['Vardan Hovhannisyan', 'occupation', 'film director'] ['Vardan Hovhannisyan', 'occupation', 'screenwriter']
ASK WHERE { VALUES ( ?q ) { ( resource:film_director ) ( resource:screenwriter ) } . resource:Vardan_Hovhannisyan property:occupation ?q }
[]
common name
SYSTEM
NO
(Q7915527,P106,Q2526255) (Q7915527,P106,Q28389)
action is_in
entity prev_answer
action find
entity Q7915527
relation P106
[ANSWER]
['Q7915527', 'P106', 'Q2526255'] ['Q7915527', 'P106', 'Q28389']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2526255 ) ( resource:Q28389 ) } . resource:Q7915527 property:P106 ?q }
No
action is_in
entity prev_answer
action find
entity Vardan Hovhannisyan
relation occupation
['Vardan Hovhannisyan', 'occupation', 'film director'] ['Vardan Hovhannisyan', 'occupation', 'screenwriter']
ASK WHERE { VALUES ( ?q ) { ( resource:film_director ) ( resource:screenwriter ) } . resource:Vardan_Hovhannisyan property:occupation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q500076 Q4360992 Q35
P17
Q1048835
USER
Is Gentofte Municipality located in Petrivka and Denmark ?
(Q500076,P17,Q4360992) (Q500076,P17,Q35)
action is_in
entity Q500076
action intersection
action find_reverse
entity Q4360992
relation P17
action find_reverse
entity Q35
relation P17
['Q500076', 'P17', 'Q4360992'] ['Q500076', 'P17', 'Q35']
ASK WHERE { resource:Q500076 property:P17 resource:Q4360992 . resource:Q500076 property:P17 resource:Q35 }
Gentofte Municipality Petrivka Denmark
action is_in
entity Gentofte Municipality
action intersection
action find_reverse
entity Petrivka
relation country
action find_reverse
entity Denmark
relation country
['Gentofte Municipality', 'country', 'Petrivka'] ['Gentofte Municipality', 'country', 'Denmark']
ASK WHERE { resource:Gentofte_Municipality property:country resource:Petrivka . resource:Gentofte_Municipality property:country resource:Denmark }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q500076,P17,Q4360992) (Q500076,P17,Q35)
action is_in
entity Q500076
action intersection
action find_reverse
entity Q4360992
relation P17
action find_reverse
entity Q35
relation P17
[ANSWER]
['Q500076', 'P17', 'Q4360992'] ['Q500076', 'P17', 'Q35']
ASK WHERE { resource:Q500076 property:P17 resource:Q4360992 . resource:Q500076 property:P17 resource:Q35 }
NO and YES respectively
action is_in
entity Gentofte Municipality
action intersection
action find_reverse
entity Petrivka
relation country
action find_reverse
entity Denmark
relation country
['Gentofte Municipality', 'country', 'Petrivka'] ['Gentofte Municipality', 'country', 'Denmark']
ASK WHERE { resource:Gentofte_Municipality property:country resource:Petrivka . resource:Gentofte_Municipality property:country resource:Denmark }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q4830453
USER
Which business enterprises are atleast 1 profession the subsidiary of ?
(c(Q4830453),P355,c(Q28640))
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?l ) WHERE { ?b rdf:type ontology:Q4830453 . ?z rdf:type ontology:Q28640 . ?b property:P355 ?z } GROUP BY ?b } }
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?l ) WHERE { ?b rdf:type ontology:business_enterprise . ?z rdf:type ontology:profession . ?b property:subsidiary ?z } GROUP BY ?b } }
[]
profession business enterprise
Q1457152 Q19604369
SYSTEM
Sega Sammy Holdings, Columbus Nova
Q1457152 Q19604369
(c(Q4830453),P355,c(Q28640))
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[ANSWERS] are atleast 1 profession the subsidiary of
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?l ) WHERE { ?b rdf:type ontology:Q4830453 . ?z rdf:type ontology:Q28640 . ?b property:P355 ?z } GROUP BY ?b } }
Sega Sammy Holdings Columbus Nova
Sega Sammy Holdings and Columbus Nova are atleast 1 profession the subsidiary of
Sega Sammy Holdings Columbus Nova
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?l >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?l ) WHERE { ?b rdf:type ontology:business_enterprise . ?z rdf:type ontology:profession . ?b property:subsidiary ?z } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q576934 Q35
P6 P175
Q502895
USER
Which people have Denmark as their heads of government or were performed by I Look to You ?
OR((Q35,P6,c(Q502895)), (Q576934,P175,c(Q502895)))
action filter_type
action union
action find
entity Q35
relation P6
action find
entity Q576934
relation P175
type Q502895
{'OR': [['Q35', 'P6', {'concept': 'Q502895'}], ['Q576934', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q35 property:P6 ?j } UNION { resource:Q576934 property:P175 ?j } } . ?j rdf:type ontology:Q502895 }
I Look to You Denmark
action filter_type
action union
action find
entity Denmark
relation head of government
action find
entity I Look to You
relation performer
type common name
{'OR': [['Denmark', 'head of government', {'concept': 'common name'}], ['I Look to You', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Denmark property:head_of_government ?j } UNION { resource:I_Look_to_You property:performer ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q947911 Q1634992 Q731504 Q367557 Q710950 Q1274220 Q311063 Q1744787 Q966436 Q57652
SYSTEM
Some of them are Christian Albrecht Bluhme, Hugo Egmont Hørring, Erik Scavenius, Thorvald Stauning, Erik Eriksen, Jens Christian Christensen, Poul Nyrup Rasmussen, Otto Liebe, Christen Andreas Fonnesbech, Helle Thorning-Schmidt
Q441330 Q1040851 Q1037599 Q491280 Q918287 Q57652 Q503087 Q725118 Q264340 Q727237 Q1634992 Q34389 Q1274220 Q782403 Q351178 Q367557 Q1375737 Q1343866 Q721358 Q1375094 Q966436 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q572189 Q664052 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q731504 Q982328
OR((Q35,P6,c(Q502895)), (Q576934,P175,c(Q502895)))
action filter_type
action union
action find
entity Q35
relation P6
action find
entity Q576934
relation P175
type Q502895
[ANSWERS] have Denmark as their heads of government or were performed by I Look to You
{'OR': [['Q35', 'P6', {'concept': 'Q502895'}], ['Q576934', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q35 property:P6 ?j } UNION { resource:Q576934 property:P175 ?j } } . ?j rdf:type ontology:Q502895 }
Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Anders Sandøe Ørsted Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Hilmar Baunsgaard Hugo Egmont Hørring Whitney Houston Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Thorvald Stauning Michael Pedersen Friis Ludvig Holstein-Holsteinborg H. C. Hansen Niels Neergaard Christen Andreas Fonnesbech Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Johan Henrik Deuntzer Vilhelm Buhl Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Erik Scavenius Thomas Madsen-Mygdal
Christian Albrecht Bluhme, Hugo Egmont Hørring, Erik Scavenius, Thorvald Stauning, Erik Eriksen, Jens Christian Christensen, Poul Nyrup Rasmussen, Otto Liebe, Christen Andreas Fonnesbech and Helle Thorning-Schmidt have Denmark as their heads of government or were performed by I Look to You
Christian Albrecht Bluhme Hugo Egmont Hørring Erik Scavenius Thorvald Stauning Erik Eriksen Jens Christian Christensen Poul Nyrup Rasmussen Otto Liebe Christen Andreas Fonnesbech Helle Thorning-Schmidt
action filter_type
action union
action find
entity Denmark
relation head of government
action find
entity I Look to You
relation performer
type common name
{'OR': [['Denmark', 'head of government', {'concept': 'common name'}], ['I Look to You', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Denmark property:head_of_government ?j } UNION { resource:I_Look_to_You property:performer ?j } } . ?j rdf:type ontology:common_name }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P144
Q502895 Q7725634 Q15416
USER
Which people are greater number of literary works or television programs adapted from than that person ?
(c(Q7725634)|c(Q15416),P144,c(Q502895))
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?m ) { ( ?z ) ( ?x ) } . ?m property:P144 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?m ) { ( ?z ) ( ?x ) } . ?m property:based_on ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]
common name literary work television program
Comparative|More/Less|Mult. entity type|Clarification
Q367557
SYSTEM
Did you mean Thorvald Stauning ?
(c(Q7725634)|c(Q15416),P144,c(Q502895))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?m ) { ( ?z ) ( ?x ) } . ?m property:P144 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
Did you mean Thorvald Stauning ?
Thorvald Stauning
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?m ) { ( ?z ) ( ?x ) } . ?m property:based_on ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
No, I meant Helle Thorning-Schmidt. Could you tell me the answer for that?
(c(Q7725634)|c(Q15416),P144,c(Q502895))
Q57652
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
[]
Q467216 Q7151235 Q4758379
SYSTEM
Amy Fisher, Paul Hemphill, Andrew Revkin
Q467216 Q22088567 Q7151235 Q26267872 Q5213429 Q176819 Q5516058 Q4758379
(c(Q7725634)|c(Q15416),P144,c(Q502895))
[ANSWERS] are greater number of literary works or television programs adapted from than that person
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
Amy Fisher Philip Hamilton Paul Hemphill Marianne Ihlen Dan Dunn Thomas W. Sneddon, Jr. Gabrielle Carey Andrew Revkin
Amy Fisher, Paul Hemphill and Andrew Revkin are greater number of literary works or television programs adapted from than that person
Amy Fisher Paul Hemphill Andrew Revkin
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]