Simple Question (Direct)
Simple Question
Q6487952
P69
Q3914
USER
Where was Ragna Grubb educated ?
(Q6487952,P69,c(Q3914))
action filter_type
action find
entity Q6487952
relation P69
type Q3914
['Q6487952', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q6487952 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Ragna Grubb
action filter_type
action find
entity Ragna Grubb
relation educated at
type school
['Ragna Grubb', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Ragna_Grubb property:educated_at ?w . ?w rdf:type ontology:school }
[]
school
Q1641001
SYSTEM
Royal Danish Academy of Fine Arts
Q1641001
(Q6487952,P69,c(Q3914))
action filter_type
action find
entity Q6487952
relation P69
type Q3914
Ragna Grubb was educated at [ANSWER]
['Q6487952', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q6487952 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Royal Danish Academy of Fine Arts
Ragna Grubb was educated at Royal Danish Academy of Fine Arts
Royal Danish Academy of Fine Arts
action filter_type
action find
entity Ragna Grubb
relation educated at
type school
['Ragna Grubb', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Ragna_Grubb property:educated_at ?w . ?w rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6487952
P20
Q56061
USER
Where did the demise of that person occur ?
(Q1641001,P20,c(Q56061))
action filter_type
action find
entity Q6487952
relation P20
type Q56061
['Q1641001', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q6487952 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Ragna Grubb
action filter_type
action find
entity Ragna Grubb
relation place of death
type administrative territorial entity
['Royal Danish Academy of Fine Arts', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ragna_Grubb property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q30096
SYSTEM
Frederiksberg
Q30096
(Q1641001,P20,c(Q56061))
action filter_type
action find
entity Q6487952
relation P20
type Q56061
The demise of that person occurred at [ANSWER]
['Q1641001', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q6487952 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Frederiksberg
The demise of that person occurred at Frederiksberg
Frederiksberg
action filter_type
action find
entity Ragna Grubb
relation place of death
type administrative territorial entity
['Royal Danish Academy of Fine Arts', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ragna_Grubb property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30096 Q35
P17
Q1048835
USER
Is Frederiksberg a part of Denmark ?
(Q30096,P17,Q35)
action is_in
entity Q35
action find
entity Q30096
relation P17
['Q30096', 'P17', 'Q35']
ASK WHERE { resource:Q30096 property:P17 resource:Q35 }
Frederiksberg Denmark
action is_in
entity Denmark
action find
entity Frederiksberg
relation country
['Frederiksberg', 'country', 'Denmark']
ASK WHERE { resource:Frederiksberg property:country resource:Denmark }
[]
political territorial entity
SYSTEM
YES
(Q30096,P17,Q35)
action is_in
entity Q35
action find
entity Q30096
relation P17
[ANSWER]
['Q30096', 'P17', 'Q35']
ASK WHERE { resource:Q30096 property:P17 resource:Q35 }
Yes
action is_in
entity Denmark
action find
entity Frederiksberg
relation country
['Frederiksberg', 'country', 'Denmark']
ASK WHERE { resource:Frederiksberg property:country resource:Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30096
P551
Q502895
USER
Who resides at Frederiksberg ?
(c(Q502895),P551,Q30096)
action filter_type
action find_reverse
entity Q30096
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q30096']
SELECT DISTINCT ?f WHERE { ?f property:P551 resource:Q30096 . ?f rdf:type ontology:Q502895 }
Frederiksberg
action filter_type
action find_reverse
entity Frederiksberg
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Frederiksberg']
SELECT DISTINCT ?f WHERE { ?f property:residence resource:Frederiksberg . ?f rdf:type ontology:common_name }
[]
common name
Q21777808
SYSTEM
Else M.D. Skovborg
Q21777808
(c(Q502895),P551,Q30096)
action filter_type
action find_reverse
entity Q30096
relation P551
type Q502895
[ANSWER] resides at Frederiksberg
[{'concept': 'Q502895'}, 'P551', 'Q30096']
SELECT DISTINCT ?f WHERE { ?f property:P551 resource:Q30096 . ?f rdf:type ontology:Q502895 }
Else M.D. Skovborg
Else M.D. Skovborg resides at Frederiksberg
Else M.D. Skovborg
action filter_type
action find_reverse
entity Frederiksberg
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Frederiksberg']
SELECT DISTINCT ?f WHERE { ?f property:residence resource:Frederiksberg . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30096
P119
Q502895
USER
Which person has that administrative territory as resting place ?
(c(Q502895),P119,Q21777808)
action filter_type
action find_reverse
entity Q30096
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q21777808']
SELECT DISTINCT ?d WHERE { ?d property:P119 resource:Q30096 . ?d rdf:type ontology:Q502895 }
Frederiksberg
action filter_type
action find_reverse
entity Frederiksberg
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Else M.D. Skovborg']
SELECT DISTINCT ?d WHERE { ?d property:place_of_burial resource:Frederiksberg . ?d rdf:type ontology:common_name }
[]
common name
Q5862575
SYSTEM
Aage Friis
Q5862575
(c(Q502895),P119,Q21777808)
action filter_type
action find_reverse
entity Q30096
relation P119
type Q502895
[ANSWER] has that administrative territory as resting place
[{'concept': 'Q502895'}, 'P119', 'Q21777808']
SELECT DISTINCT ?d WHERE { ?d property:P119 resource:Q30096 . ?d rdf:type ontology:Q502895 }
Aage Friis
Aage Friis has that administrative territory as resting place
Aage Friis
action filter_type
action find_reverse
entity Frederiksberg
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Else M.D. Skovborg']
SELECT DISTINCT ?d WHERE { ?d property:place_of_burial resource:Frederiksberg . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1641001
P669
Q811979
USER
What the architectural structure where Royal Danish Academy of Fine Arts is located on ?
(Q1641001,P669,c(Q811979))
action filter_type
action find
entity Q1641001
relation P669
type Q811979
['Q1641001', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?w WHERE { resource:Q1641001 property:P669 ?w . ?w rdf:type ontology:Q811979 }
Royal Danish Academy of Fine Arts
action filter_type
action find
entity Royal Danish Academy of Fine Arts
relation located on street
type architectural structure
['Royal Danish Academy of Fine Arts', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?w WHERE { resource:Royal_Danish_Academy_of_Fine_Arts property:located_on_street ?w . ?w rdf:type ontology:architectural_structure }
[]
architectural structure
Q1589941
SYSTEM
Kongens Nytorv
Q1589941
(Q1641001,P669,c(Q811979))
action filter_type
action find
entity Q1641001
relation P669
type Q811979
Located 1 [ANSWER]
['Q1641001', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?w WHERE { resource:Q1641001 property:P669 ?w . ?w rdf:type ontology:Q811979 }
Kongens Nytorv
Located 1 Kongens Nytorv
Kongens Nytorv
action filter_type
action find
entity Royal Danish Academy of Fine Arts
relation located on street
type architectural structure
['Royal Danish Academy of Fine Arts', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?w WHERE { resource:Royal_Danish_Academy_of_Fine_Arts property:located_on_street ?w . ?w rdf:type ontology:architectural_structure }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19264542
Q811979
USER
And how about Casa Cartanyà?
(Q19264542,P669,c(Q811979))
action filter_type
action find
entity Q19264542
relation P669
type Q811979
['Q19264542', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q19264542 property:P669 ?i . ?i rdf:type ontology:Q811979 }
Casa Cartanyà
action filter_type
action find
entity Casa Cartanyà
relation located on street
type architectural structure
['Casa Cartanyà', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Casa_Cartanyà property:located_on_street ?i . ?i rdf:type ontology:architectural_structure }
[]
architectural structure
Q19260477
SYSTEM
Plaça Major (Montblanc)
Q19260477
(Q19264542,P669,c(Q811979))
action filter_type
action find
entity Q19264542
relation P669
type Q811979
[ANSWER]
['Q19264542', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q19264542 property:P669 ?i . ?i rdf:type ontology:Q811979 }
Plaça Major (Montblanc)
Plaça Major (Montblanc)
action filter_type
action find
entity Casa Cartanyà
relation located on street
type architectural structure
['Casa Cartanyà', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Casa_Cartanyà property:located_on_street ?i . ?i rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3877706 Q19260477
P17
Q15617994
USER
Which administrative territories do Plaça Major (Montblanc) or Stowe belong to ?
OR((Q19260477,P17,c(Q15617994)), (Q3877706,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19260477
relation P17
action find
entity Q3877706
relation P17
type Q15617994
{'OR': [['Q19260477', 'P17', {'concept': 'Q15617994'}], ['Q3877706', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q19260477 property:P17 ?x } UNION { resource:Q3877706 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Stowe Plaça Major (Montblanc)
action filter_type
action union
action find
entity Plaça Major (Montblanc)
relation country
action find
entity Stowe
relation country
type designation for an administrative territorial entity
{'OR': [['Plaça Major (Montblanc)', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stowe', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Plaça_Major_(Montblanc) property:country ?x } UNION { resource:Stowe property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q145
SYSTEM
Spain, United Kingdom
Q29 Q145
OR((Q19260477,P17,c(Q15617994)), (Q3877706,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19260477
relation P17
action find
entity Q3877706
relation P17
type Q15617994
[ANSWERS] Plaça Major (Montblanc) or Stowe belong to
{'OR': [['Q19260477', 'P17', {'concept': 'Q15617994'}], ['Q3877706', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q19260477 property:P17 ?x } UNION { resource:Q3877706 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Spain United Kingdom
Spain and United Kingdom Plaça Major (Montblanc) or Stowe belong to
Spain United Kingdom
action filter_type
action union
action find
entity Plaça Major (Montblanc)
relation country
action find
entity Stowe
relation country
type designation for an administrative territorial entity
{'OR': [['Plaça Major (Montblanc)', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stowe', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Plaça_Major_(Montblanc) property:country ?x } UNION { resource:Stowe property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q30096
P19 P21
Q502895
USER
Which people have place of birth as Frederiksberg and have the gender as male ?
AND((c(Q502895),P19,Q30096), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q30096
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q30096'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q30096 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
male Frederiksberg
action filter_type
action intersection
action find_reverse
entity Frederiksberg
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Frederiksberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Frederiksberg . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
common name
Q525835 Q120434 Q3353076 Q16029949 Q1058936 Q574287 Q15944085 Q12322095 Q794569 Q20757833
SYSTEM
Some of them are Knud Andersen, Per Røntved, Ejgil Clemmensen, Olaf Storm, Finn Juhl, Leif Mortensen, Jens Ulstrup, Klaus Hækkerup, Kjell Rodian, Joel Eipe
Q15376256 Q697184 Q22162766 Q15943423 Q544585 Q7313722 Q18595355 Q562629 Q17430053 Q2940433 Q481341 Q21707824 Q1389552 Q22138367 Q16008454 Q371107 Q12328720 Q2052046 Q6321603 Q3470768 Q1406018 Q3807932 Q3876640 Q1278495 Q188720 Q6409526 Q4357060 Q4753897 Q19664493 Q951842 Q12310451 Q318511 Q12320521 Q792378 Q12316541 Q552500 Q6831631 Q1165922 Q1606238 Q2756306 Q12309729 Q12310463 Q5371276 Q17542742 Q12319348 Q3045120 Q6321625 Q4721730 Q4983317 Q21544629 Q574287 Q12319014 Q1390745 Q4310494 Q1349530 Q177680 Q1357444 Q16856361 Q3805772 Q7608161 Q961878 Q537085 Q3130115 Q2627084 Q20861841 Q12322095 Q92933 Q15944085 Q4505347 Q5919678 Q5200617 Q5716602 Q4513066 Q918287 Q3900819 Q5109941 Q2440954 Q12320892 Q7513293 Q555999 Q279620 Q15530808 Q12320144 Q726356 Q12320062 Q12303108 Q16029949 Q3427570 Q1378970 Q525835 Q712364 Q6419840 Q936109 Q794569 Q3373738 Q7109544 Q12327121 Q11970292 Q84084 Q1188603 Q12324279 Q724497 Q7173276 Q490802 Q785404 Q3353076 Q3083175 Q951902 Q12320760 Q6055092 Q12331638 Q430319 Q984344 Q5580481 Q20757833 Q917179 Q5109655 Q12313730 Q2060227 Q92618 Q11978858 Q12307338 Q1159069 Q7235535 Q120434 Q3136248 Q5535727 Q5971497 Q3320576 Q6198714 Q12319136 Q713153 Q1807657 Q2804423 Q22978422 Q4352395 Q924639 Q3827209 Q22956217 Q10741926 Q6501886 Q2340512 Q12315364 Q4329216 Q4352568 Q7928888 Q1379791 Q5371222 Q3398701 Q12301581 Q23887143 Q6216844 Q532812 Q984175 Q2896736 Q1058936 Q6321593 Q1703533 Q2703410
AND((c(Q502895),P19,Q30096), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q30096
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Frederiksberg and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q30096'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q30096 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
Gad Frederik Clement Per Stig Møller Kurt Stendal Joachim Andersen Kasper Hvidt René Heitmann Peter Bogstad Mandel Mogens Herman Hansen Olaf Christian Stæhr-Nielsen Carsten Norgaard Remee Andreas Kraul Peter Lange-Müller Simon Koch Erik Sjøqvist Leif Panduro Niels Borksand Jonas Bjerre Jørgen de Mylius Sami Darr Nis Bank-Mikkelsen Jens Peter Larsen Niels Hagenau Ebbe Hamerik Michael Laudrup Kim Utzon Arne Melchior Anders Qvist Ole Sporring Valdemar Laursen Erik Wittrup Willumsen Bjørn Lomborg Julius Smith Axel Strøbye Herbert Sander Christopher Michael Jessen Dario Campeotto Henrik Agerbeck Søren Spanning Elias Ahlefeldt-Laurvig Erland Kolding Nielsen Emil Hass Christensen Lars Erik Nielsen Jens Kampmann Ferdinand Meldahl Jørn Jeppesen Alf Olsen Jens Arentzen Emanuel Petersen Leif Mortensen Jan E. Jørgensen Hans Hækkerup Christian Mørk Søren Colding Pauli Jørgensen Jesper Worre J.C. Schlichtkrull Jacob E. Bang Stephan Petersen Thomas Delaney Ivan Nielsen Gunnar Westman Niels Sörensen Fridolin Johansen Klaus Hækkerup Per Brinch Hansen Jens Ulstrup Ernest Bohr Ludvig Kornerup Cyril Andresen Henrik Wiehe Ib Mossin Viggo Kampmann Peter Asmussen Christian Morville Jørgen Reenberg Jørgen Teytaud Sigurd Swane Charles Winckler Ivar Lykke Frederik Lange John Andersen Rasmus Seebach Johannes Granholm Christensen Benjamin Boe Rasmussen Olaf Storm J.B. Løffler Jan Bartram Knud Andersen Bent Fabric Klaus Baess Villy Sørensen Kjell Rodian Joen Bille Otto Bærentzen Mikal Rode Frithioff Johansen Peter Mygind Christian Drejer Lennart Lynge Larsen Asger Hamerik Peter Christiansen Anders Bodelsen Torben Ulrich Ejgil Clemmensen Franz Šedivý Jesper Langberg Jørgen Estrup Peter Poulsen Peter Loft Henning Holck-Larsen Kay Fisker Axel Boesen Joel Eipe Lars Barfoed Christian Grøthan Georg S. Geil Vilhelm Bjerke-Petersen Peter Naur Johannes Eriksen Danny Mirabel Dan Frost Poul Lange Per Røntved Jesper Rasmussen Georg Jacobsen Thorvald Madsen Finn Laudrup Jörn Svensson Jasper Sebastian Stürup Bo Hamburger Georg Albertsen Christian Elling Esben Holmboe Bang Svend Bergstein Thomas Rasmussen Lars Swane Arne Bang Niels Turin Nielsen Lauritz Hartz Johannes Pløger Hans Henrik Gottschalch Gunnar Aaby Viggo Dibbern Viggo Stilling-Andersen Henrik Nordbrandt Emil Dyre Bertel Lauring Andreas Mortensen Henning Sørensen Johannes Marott Michael Madsen Kent Nielsen Bent Skovmand Finn Juhl Jørgen W. Hansen Erling Jensen Helge Rode
Knud Andersen, Per Røntved, Ejgil Clemmensen, Olaf Storm, Finn Juhl, Leif Mortensen, Jens Ulstrup, Klaus Hækkerup, Kjell Rodian and Joel Eipe have place of birth as Frederiksberg and have the gender as male
Knud Andersen Per Røntved Ejgil Clemmensen Olaf Storm Finn Juhl Leif Mortensen Jens Ulstrup Klaus Hækkerup Kjell Rodian Joel Eipe
action filter_type
action intersection
action find_reverse
entity Frederiksberg
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Frederiksberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Frederiksberg . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q525835 Q120434 Q3353076 Q16029949 Q1058936 Q574287 Q15944085 Q12322095 Q794569 Q20757833
P27
Q1048835
USER
Which political territories are Knud Andersen, Per Røntved, Ejgil Clemmensen, Olaf Storm, Finn Juhl, Leif Mortensen, Jens Ulstrup, Klaus Hækkerup, Kjell Rodian and Joel Eipe a civilian of ?
(Q525835,P27,c(Q1048835)) (Q120434,P27,c(Q1048835)) (Q3353076,P27,c(Q1048835)) (Q16029949,P27,c(Q1048835)) (Q1058936,P27,c(Q1048835)) (Q574287,P27,c(Q1048835)) (Q15944085,P27,c(Q1048835)) (Q12322095,P27,c(Q1048835)) (Q794569,P27,c(Q1048835)) (Q20757833,P27,c(Q1048835))
action union
action filter_type
action find
entity Q525835
relation P27
type Q1048835
action filter_type
action find
entity Q120434
relation P27
type Q1048835
action filter_type
action find
entity Q3353076
relation P27
type Q1048835
action filter_type
action find
entity Q16029949
relation P27
type Q1048835
action filter_type
action find
entity Q1058936
relation P27
type Q1048835
action filter_type
action find
entity Q574287
relation P27
type Q1048835
action filter_type
action find
entity Q15944085
relation P27
type Q1048835
action filter_type
action find
entity Q12322095
relation P27
type Q1048835
action filter_type
action find
entity Q794569
relation P27
type Q1048835
action filter_type
action find
entity Q20757833
relation P27
type Q1048835
['Q525835', 'P27', {'concept': 'Q1048835'}] ['Q120434', 'P27', {'concept': 'Q1048835'}] ['Q3353076', 'P27', {'concept': 'Q1048835'}] ['Q16029949', 'P27', {'concept': 'Q1048835'}] ['Q1058936', 'P27', {'concept': 'Q1048835'}] ['Q574287', 'P27', {'concept': 'Q1048835'}] ['Q15944085', 'P27', {'concept': 'Q1048835'}] ['Q12322095', 'P27', {'concept': 'Q1048835'}] ['Q794569', 'P27', {'concept': 'Q1048835'}] ['Q20757833', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { resource:Q525835 property:P27 ?p . ?p rdf:type ontology:Q1048835 } UNION { resource:Q120434 property:P27 ?p . ?p rdf:type ontology:Q1048835 } }
Knud Andersen Per Røntved Ejgil Clemmensen Olaf Storm Finn Juhl Leif Mortensen Jens Ulstrup Klaus Hækkerup Kjell Rodian Joel Eipe
action union
action filter_type
action find
entity Knud Andersen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Per Røntved
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Ejgil Clemmensen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Olaf Storm
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Finn Juhl
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Leif Mortensen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Jens Ulstrup
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Klaus Hækkerup
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Kjell Rodian
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Joel Eipe
relation country of citizenship
type political territorial entity
['Knud Andersen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Per Røntved', 'country of citizenship', {'concept': 'political territorial entity'}] ['Ejgil Clemmensen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Olaf Storm', 'country of citizenship', {'concept': 'political territorial entity'}] ['Finn Juhl', 'country of citizenship', {'concept': 'political territorial entity'}] ['Leif Mortensen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Jens Ulstrup', 'country of citizenship', {'concept': 'political territorial entity'}] ['Klaus Hækkerup', 'country of citizenship', {'concept': 'political territorial entity'}] ['Kjell Rodian', 'country of citizenship', {'concept': 'political territorial entity'}] ['Joel Eipe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Knud_Andersen property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity } UNION { resource:Per_Røntved property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q35 Q35 Q35
SYSTEM
Denmark
Q35 Q35 Q35 Q35 Q35 Q35 Q35 Q35 Q35 Q35
(Q525835,P27,c(Q1048835)) (Q120434,P27,c(Q1048835)) (Q3353076,P27,c(Q1048835)) (Q16029949,P27,c(Q1048835)) (Q1058936,P27,c(Q1048835)) (Q574287,P27,c(Q1048835)) (Q15944085,P27,c(Q1048835)) (Q12322095,P27,c(Q1048835)) (Q794569,P27,c(Q1048835)) (Q20757833,P27,c(Q1048835))
action union
action filter_type
action find
entity Q525835
relation P27
type Q1048835
action filter_type
action find
entity Q120434
relation P27
type Q1048835
action filter_type
action find
entity Q3353076
relation P27
type Q1048835
action filter_type
action find
entity Q16029949
relation P27
type Q1048835
action filter_type
action find
entity Q1058936
relation P27
type Q1048835
action filter_type
action find
entity Q574287
relation P27
type Q1048835
action filter_type
action find
entity Q15944085
relation P27
type Q1048835
action filter_type
action find
entity Q12322095
relation P27
type Q1048835
action filter_type
action find
entity Q794569
relation P27
type Q1048835
action filter_type
action find
entity Q20757833
relation P27
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are Knud Andersen, Per Røntved, Ejgil Clemmensen, Olaf Storm, Finn Juhl, Leif Mortensen, Jens Ulstrup, Klaus Hækkerup, Kjell Rodian and Joel Eipe a civilian of
['Q525835', 'P27', {'concept': 'Q1048835'}] ['Q120434', 'P27', {'concept': 'Q1048835'}] ['Q3353076', 'P27', {'concept': 'Q1048835'}] ['Q16029949', 'P27', {'concept': 'Q1048835'}] ['Q1058936', 'P27', {'concept': 'Q1048835'}] ['Q574287', 'P27', {'concept': 'Q1048835'}] ['Q15944085', 'P27', {'concept': 'Q1048835'}] ['Q12322095', 'P27', {'concept': 'Q1048835'}] ['Q794569', 'P27', {'concept': 'Q1048835'}] ['Q20757833', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { resource:Q525835 property:P27 ?p . ?p rdf:type ontology:Q1048835 } UNION { resource:Q120434 property:P27 ?p . ?p rdf:type ontology:Q1048835 } }
Denmark Denmark Denmark Denmark Denmark Denmark Denmark Denmark Denmark Denmark
Denmark, Denmark and Denmark are Knud Andersen, Per Røntved, Ejgil Clemmensen, Olaf Storm, Finn Juhl, Leif Mortensen, Jens Ulstrup, Klaus Hækkerup, Kjell Rodian and Joel Eipe a civilian of
Denmark Denmark Denmark
action union
action filter_type
action find
entity Knud Andersen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Per Røntved
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Ejgil Clemmensen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Olaf Storm
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Finn Juhl
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Leif Mortensen
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Jens Ulstrup
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Klaus Hækkerup
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Kjell Rodian
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Joel Eipe
relation country of citizenship
type political territorial entity
['Knud Andersen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Per Røntved', 'country of citizenship', {'concept': 'political territorial entity'}] ['Ejgil Clemmensen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Olaf Storm', 'country of citizenship', {'concept': 'political territorial entity'}] ['Finn Juhl', 'country of citizenship', {'concept': 'political territorial entity'}] ['Leif Mortensen', 'country of citizenship', {'concept': 'political territorial entity'}] ['Jens Ulstrup', 'country of citizenship', {'concept': 'political territorial entity'}] ['Klaus Hækkerup', 'country of citizenship', {'concept': 'political territorial entity'}] ['Kjell Rodian', 'country of citizenship', {'concept': 'political territorial entity'}] ['Joel Eipe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Knud_Andersen property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity } UNION { resource:Per_Røntved property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12322095
P7
Q502895
USER
Which person has Klaus Hækkerup as their brother ?
(c(Q502895),P7,Q12322095)
action filter_type
action find
entity Q12322095
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q12322095']
SELECT DISTINCT ?g WHERE { resource:Q12322095 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Klaus Hækkerup
action filter_type
action find
entity Klaus Hækkerup
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Klaus Hækkerup']
SELECT DISTINCT ?g WHERE { resource:Klaus_Hækkerup property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1390745
SYSTEM
Hans Hækkerup
Q1390745
(c(Q502895),P7,Q12322095)
action filter_type
action find
entity Q12322095
relation P7
type Q502895
[ANSWER] has Klaus Hækkerup as their brother
[{'concept': 'Q502895'}, 'P7', 'Q12322095']
SELECT DISTINCT ?g WHERE { resource:Q12322095 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Hans Hækkerup
Hans Hækkerup has Klaus Hækkerup as their brother
Hans Hækkerup
action filter_type
action find
entity Klaus Hækkerup
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Klaus Hækkerup']
SELECT DISTINCT ?g WHERE { resource:Klaus_Hækkerup property:brother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1390745
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q1390745)
action filter_type
action find
entity Q1390745
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1390745']
SELECT DISTINCT ?k WHERE { resource:Q1390745 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Hans Hækkerup
action filter_type
action find
entity Hans Hækkerup
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hans Hækkerup']
SELECT DISTINCT ?k WHERE { resource:Hans_Hækkerup property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q12324638
SYSTEM
Lise Hækkerup
Q12324638
(c(Q502895),P26,Q1390745)
action filter_type
action find
entity Q1390745
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q1390745']
SELECT DISTINCT ?k WHERE { resource:Q1390745 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Lise Hækkerup
Lise Hækkerup is the life partner of that one
Lise Hækkerup
action filter_type
action find
entity Hans Hækkerup
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hans Hækkerup']
SELECT DISTINCT ?k WHERE { resource:Hans_Hækkerup property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12324638 Q35
P27
Q1048835
USER
Does Lise Hækkerup belong to Denmark ?
(Q12324638,P27,Q35)
action is_in
entity Q35
action find
entity Q12324638
relation P27
['Q12324638', 'P27', 'Q35']
ASK WHERE { resource:Q12324638 property:P27 resource:Q35 }
Lise Hækkerup Denmark
action is_in
entity Denmark
action find
entity Lise Hækkerup
relation country of citizenship
['Lise Hækkerup', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Lise_Hækkerup property:country_of_citizenship resource:Denmark }
[]
political territorial entity
SYSTEM
YES
(Q12324638,P27,Q35)
action is_in
entity Q35
action find
entity Q12324638
relation P27
[ANSWER]
['Q12324638', 'P27', 'Q35']
ASK WHERE { resource:Q12324638 property:P27 resource:Q35 }
Yes
action is_in
entity Denmark
action find
entity Lise Hækkerup
relation country of citizenship
['Lise Hækkerup', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Lise_Hækkerup property:country_of_citizenship resource:Denmark }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16509736 Q19264542
P17
Q15617994
USER
Which administrative territories are Casa Cartanyà or Antenna RAI of Caltanissetta present in ?
OR((Q19264542,P17,c(Q15617994)), (Q16509736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19264542
relation P17
action find
entity Q16509736
relation P17
type Q15617994
{'OR': [['Q19264542', 'P17', {'concept': 'Q15617994'}], ['Q16509736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:P17 ?f . VALUES ( ?w ) { ( resource:Q19264542 ) ( resource:Q16509736 ) } } . ?f rdf:type ontology:Q15617994 }
Antenna RAI of Caltanissetta Casa Cartanyà
action filter_type
action union
action find
entity Casa Cartanyà
relation country
action find
entity Antenna RAI of Caltanissetta
relation country
type designation for an administrative territorial entity
{'OR': [['Casa Cartanyà', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Antenna RAI of Caltanissetta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:country ?f . VALUES ( ?w ) { ( resource:Casa_Cartanyà ) ( resource:Antenna_RAI_of_Caltanissetta ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q38
SYSTEM
Spain, Italy
Q29 Q38
OR((Q19264542,P17,c(Q15617994)), (Q16509736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19264542
relation P17
action find
entity Q16509736
relation P17
type Q15617994
[ANSWERS] are Casa Cartanyà or Antenna RAI of Caltanissetta present in
{'OR': [['Q19264542', 'P17', {'concept': 'Q15617994'}], ['Q16509736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:P17 ?f . VALUES ( ?w ) { ( resource:Q19264542 ) ( resource:Q16509736 ) } } . ?f rdf:type ontology:Q15617994 }
Spain Italy
Spain and Italy are Casa Cartanyà or Antenna RAI of Caltanissetta present in
Spain Italy
action filter_type
action union
action find
entity Casa Cartanyà
relation country
action find
entity Antenna RAI of Caltanissetta
relation country
type designation for an administrative territorial entity
{'OR': [['Casa Cartanyà', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Antenna RAI of Caltanissetta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:country ?f . VALUES ( ?w ) { ( resource:Casa_Cartanyà ) ( resource:Antenna_RAI_of_Caltanissetta ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]