Simple Question (Direct)
Simple Question
Q21150628
P19
Q56061
USER
Which administrative territory was Christian Fredrik Jacobsen born in ?
(Q21150628,P19,c(Q56061))
action filter_type
action find
entity Q21150628
relation P19
type Q56061
['Q21150628', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q21150628 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Christian Fredrik Jacobsen
action filter_type
action find
entity Christian Fredrik Jacobsen
relation place of birth
type administrative territorial entity
['Christian Fredrik Jacobsen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Christian_Fredrik_Jacobsen property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25416
SYSTEM
Stavanger
Q25416
(Q21150628,P19,c(Q56061))
action filter_type
action find
entity Q21150628
relation P19
type Q56061
Christian Fredrik Jacobsen was born i [ANSWER]
['Q21150628', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q21150628 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Stavanger
Christian Fredrik Jacobsen was born i Stavanger
Stavanger
action filter_type
action find
entity Christian Fredrik Jacobsen
relation place of birth
type administrative territorial entity
['Christian Fredrik Jacobsen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Christian_Fredrik_Jacobsen property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25416
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q25416)
action filter_type
action find_reverse
entity Q25416
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q25416']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q25416 }
Stavanger
action filter_type
action find_reverse
entity Stavanger
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Stavanger']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Stavanger }
[]
common name
Q3553539 Q1806306 Q1780640
SYSTEM
Georg Monsen, Lars Oftedal, Sverre Andersen
Q1779725 Q4919843 Q11978074 Q3441139 Q4019982 Q12010327 Q1800038 Q3441192 Q4583808 Q2065488 Q11959333 Q3427901 Q1346539 Q1154873 Q3553539 Q1812435 Q501324 Q1806306 Q1321449 Q3441106 Q17130931 Q4993211 Q6732202 Q20737384 Q10547055 Q17120052 Q1555961 Q12717465 Q11977128 Q1780640 Q11959149 Q4578850 Q1070084 Q1687346 Q3435909 Q1735606 Q1804577 Q24206614
(c(Q502895),P20,Q25416)
action filter_type
action find_reverse
entity Q25416
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q25416']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q25416 }
Jens Tvedt Bjørn Bue Jan Kenneth Barkved Theodor Nag William Danielsen Waldemar Eide Edgar Falch Håkon Ellingsen Carl Sundt-Hansen Reidar Kvammen Askell Jonsson Guri Stormoen Lars Hertervig Alfred Hauge Georg Monsen Tollef Tollefsen Andreas Zeier Cappelen Lars Oftedal Eivin One Pedersen Karl Nag Søfren Godtzen Kjølv Egeland Magnus Vigrestad Ole Skarbø Niels Stockfleth Darre Eckhoff Erling Willi Nielsen Gustav Helland Ole Osmundsson Berge Inge Paulsen Sverre Andersen Arnt Møglestue Ole Bergesen Chenjerai Hove Jens Gregoriussen Riber Bendix Ebbell Stein Rønning Gabriel Thorstensen Dorothea Arentz
Georg Monsen, Lars Oftedal and Sverre Andersen expired at that administrative territory
Georg Monsen Lars Oftedal Sverre Andersen
action filter_type
action find_reverse
entity Stavanger
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Stavanger']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Stavanger }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16439904 Q21150628
P27
Q15617994
USER
Which administrative territories are Christian Fredrik Jacobsen or Alexei Nickels an inhabitant of ?
OR((Q21150628,P27,c(Q15617994)), (Q16439904,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21150628
relation P27
action find
entity Q16439904
relation P27
type Q15617994
{'OR': [['Q21150628', 'P27', {'concept': 'Q15617994'}], ['Q16439904', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21150628 property:P27 ?c } UNION { resource:Q16439904 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Alexei Nickels Christian Fredrik Jacobsen
action filter_type
action union
action find
entity Christian Fredrik Jacobsen
relation country of citizenship
action find
entity Alexei Nickels
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christian Fredrik Jacobsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexei Nickels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Christian_Fredrik_Jacobsen property:country_of_citizenship ?c } UNION { resource:Alexei_Nickels property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q32
SYSTEM
Norway, Luxembourg
Q20 Q32
OR((Q21150628,P27,c(Q15617994)), (Q16439904,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21150628
relation P27
action find
entity Q16439904
relation P27
type Q15617994
[ANSWERS] are Christian Fredrik Jacobsen or Alexei Nickels an inhabitant of
{'OR': [['Q21150628', 'P27', {'concept': 'Q15617994'}], ['Q16439904', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21150628 property:P27 ?c } UNION { resource:Q16439904 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Norway Luxembourg
Norway and Luxembourg are Christian Fredrik Jacobsen or Alexei Nickels an inhabitant of
Norway Luxembourg
action filter_type
action union
action find
entity Christian Fredrik Jacobsen
relation country of citizenship
action find
entity Alexei Nickels
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christian Fredrik Jacobsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexei Nickels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Christian_Fredrik_Jacobsen property:country_of_citizenship ?c } UNION { resource:Alexei_Nickels property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q32
P495
Q838948
USER
Which works of art originated in that administrative territory ?
(c(Q838948),P495,Q32)
action filter_type
action find_reverse
entity Q32
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q32']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P495 resource:Q32 }
Luxembourg
action filter_type
action find_reverse
entity Luxembourg
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Luxembourg']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:country_of_origin resource:Luxembourg }
[]
work of art
Clarification for simple ques.
Q20
SYSTEM
Did you mean Norway ?
Q20 Q32
(c(Q838948),P495,Q20) (c(Q838948),P495,Q32)
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q20'] [{'concept': 'Q838948'}, 'P495', 'Q32']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P495 resource:Q32 }
Norway Luxembourg
Did you mean Norway ?
Norway
[{'concept': 'work of art'}, 'country of origin', 'Norway'] [{'concept': 'work of art'}, 'country of origin', 'Luxembourg']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:country_of_origin resource:Luxembourg }
[]
Simple Question (Coreferenced)
USER
No, I meant Luxembourg. Could you tell me the answer for that?
(c(Q838948),P495,Q32)
Q32
[{'concept': 'Q838948'}, 'P495', 'Q32']
[{'concept': 'work of art'}, 'country of origin', 'Luxembourg']
[]
Q1575773 Q747685 Q194346
SYSTEM
Hannah Arendt, 8½ Women, The Musketeer
Q1575773 Q1416896 Q1216153 Q6383085 Q3205538 Q1323227 Q1788504 Q7979104 Q1570955 Q14755004 Q2333043 Q17125101 Q311525 Q145396 Q3520383 Q15206595 Q733677 Q3522334 Q3025846 Q822411 Q3511850 Q7930567 Q1234664 Q7312859 Q1440814 Q1018486 Q13102949 Q2907529 Q20004197 Q4109993 Q26690005 Q18816717 Q15153108 Q3552081 Q747685 Q16249196 Q3212574 Q1514402 Q27477490 Q26849103 Q467283 Q18128671 Q3156659 Q17058609 Q2655966 Q16325252 Q3246496 Q16466221 Q20856821 Q5737016 Q151873 Q26821644 Q5250624 Q3515131 Q3346111 Q21681010 Q4796293 Q392441 Q652322 Q13101644 Q16652140 Q1211345 Q1726605 Q19827977 Q3089482 Q5316960 Q254489 Q7979064 Q23793868 Q877326 Q3143107 Q13105184 Q1595504 Q3317592 Q1641644 Q3208697 Q22681050 Q1324090 Q194346
(c(Q838948),P495,Q32)
action filter_type
action find_reverse
entity Q32
relation P495
type Q838948
[ANSWERS] originated in that administrative territory
[{'concept': 'Q838948'}, 'P495', 'Q32']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P495 resource:Q32 }
Hannah Arendt JCVD Women Keep Smiling The Strange Color of Your Body's Tears Retrograde Crusade in Jeans Wedding in Bessarabia Silent Wedding Blind Spot Calvaire Song of the Sea Flawless Your Name Is Justine The Congress Brotherhood of Tears Match Point The Prodigies Hot Hot Hot The Treasure Knights and the Secret of Melusina T'choupi Villa des Roses Dog Soldiers Rendolepsis Virgin Territory Bye Bye Blackbird Hamilius: Hip Hop Culture in Luxembourg Boarding Gate Prejudice Lilacs Souvenir Puppylove Before the Winter Chill Adieu Paris 8½ Women Amour Fou The Boat Race Renaissance A Wedding The Night of a Thousand Hours An American Werewolf in Paris Never Die Young Maddened by His Absence Who's Quentin? Dragon Hunters Divin Enfant House of Boys Baby(a)lone All Creatures Big and Small Here Come the Littles Une liaison pornographique Egon Schiele: Death and the Maiden Deepfrozen Tango libre Sleepless Night The dark side of the moon Arrêtez-moi Girl with a Pearl Earring FeardotCom Back in Trouble The Clearstream Affair The Pillow Book More The Brand New Testament Fratricide Dust Fortress 2: Re-Entry Wedding Night – End of the Song Voices from Chernobyl Little Secrets Humains Tabu: The Soul Is a Stranger on Earth Heim ins Reich Mobile Home Retour à Gorée Gilles' Wife Confessions of an Ugly Stepsister Shadow of the Vampire The Musketeer
Hannah Arendt, 8½ Women and The Musketeer originated in that administrative territory
Hannah Arendt 8½ Women The Musketeer
action filter_type
action find_reverse
entity Luxembourg
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Luxembourg']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:country_of_origin resource:Luxembourg }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q2342494
USER
Which administrative territories are expressed in approximately 2 paintings and collectables ?
(c(Q3305213)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 2
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?d rdf:type ?l } GROUP BY ?y } . FILTER ( ?z = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:painting ) ( ontology:collectable ) } . ?d rdf:type ?l } GROUP BY ?y } . FILTER ( ?z = 2 ) }
[]
designation for an administrative territorial entity painting collectable
Q131596 Q38 Q82025
SYSTEM
farm, Italy, horn
Q131596 Q38 Q82025
(c(Q3305213)|c(Q2342494),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 2
[ANSWERS] are expressed in approximately 2 paintings and collectables
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?d rdf:type ?l } GROUP BY ?y } . FILTER ( ?z = 2 ) }
farm Italy horn
Farm, Italy and horn are expressed in approximately 2 paintings and collectables
farm Italy horn
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:painting ) ( ontology:collectable ) } . ?d rdf:type ?l } GROUP BY ?y } . FILTER ( ?z = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131596 Q38 Q82025
P180
Q3305213
USER
Which paintings demonstrate those administrative territories ?
(c(Q3305213),P180,Q131596) (c(Q3305213),P180,Q38) (c(Q3305213),P180,Q82025)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q131596'] [{'concept': 'Q3305213'}, 'P180', 'Q38'] [{'concept': 'Q3305213'}, 'P180', 'Q82025']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q131596 ) ( resource:Q38 ) ( resource:Q82025 ) } . ?h property:P180 ?z . ?h rdf:type ontology:Q3305213 }
farm Italy horn
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'farm'] [{'concept': 'painting'}, 'depicts', 'Italy'] [{'concept': 'painting'}, 'depicts', 'horn']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:farm ) ( resource:Italy ) ( resource:horn ) } . ?h property:depicts ?z . ?h rdf:type ontology:painting }
[]
painting
Q5856992 Q20022416 Q1118638
SYSTEM
February, View of a Roman house, Envy
Q22915291 Q5856992 Q20022416 Q577165 Q1118638 Q17627562
(c(Q3305213),P180,Q131596) (c(Q3305213),P180,Q38) (c(Q3305213),P180,Q82025)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[ANSWERS] demonstrate those administrative territories
[{'concept': 'Q3305213'}, 'P180', 'Q131596'] [{'concept': 'Q3305213'}, 'P180', 'Q38'] [{'concept': 'Q3305213'}, 'P180', 'Q82025']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q131596 ) ( resource:Q38 ) ( resource:Q82025 ) } . ?h property:P180 ?z . ?h rdf:type ontology:Q3305213 }
Long Pond, Foot of Red Hill February View of a Roman house Sermon and Deeds of the Antichrist Envy Woman's head with ram horns
February, View of a Roman house and Envy demonstrate those administrative territories
February View of a Roman house Envy
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'farm'] [{'concept': 'painting'}, 'depicts', 'Italy'] [{'concept': 'painting'}, 'depicts', 'horn']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:farm ) ( resource:Italy ) ( resource:horn ) } . ?h property:depicts ?z . ?h rdf:type ontology:painting }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1118638
P136
Q483394
USER
What can be considered as category for that painting ?
(Q1118638,P136,c(Q483394))
action filter_type
action find
entity Q1118638
relation P136
type Q483394
['Q1118638', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?z WHERE { resource:Q1118638 property:P136 ?z . ?z rdf:type ontology:Q483394 }
Envy
action filter_type
action find
entity Envy
relation genre
type genre
['Envy', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?z WHERE { resource:Envy property:genre ?z . ?z rdf:type ontology:genre }
[]
genre
Clarification for simple ques.
Q1118638
SYSTEM
Did you mean Envy ?
Q5856992 Q20022416 Q1118638
(Q5856992,P136,c(Q483394)) (Q20022416,P136,c(Q483394)) (Q1118638,P136,c(Q483394))
[ANSWER]
['Q5856992', 'P136', {'concept': 'Q483394'}] ['Q20022416', 'P136', {'concept': 'Q483394'}] ['Q1118638', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?z WHERE { resource:Q1118638 property:P136 ?z . ?z rdf:type ontology:Q483394 }
February View of a Roman house Envy
Did you mean Envy ?
Envy
['February', 'genre', {'concept': 'genre'}] ['View of a Roman house', 'genre', {'concept': 'genre'}] ['Envy', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?z WHERE { resource:Envy property:genre ?z . ?z rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1118638,P136,c(Q483394))
['Q1118638', 'P136', {'concept': 'Q483394'}]
['Envy', 'genre', {'concept': 'genre'}]
[]
Q3320548 Q2839016
SYSTEM
religious art, allegory
Q3320548 Q2839016
(Q1118638,P136,c(Q483394))
action filter_type
action find
entity Q1118638
relation P136
type Q483394
The [ANSWERS] can be considered as category for that painting
['Q1118638', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?z WHERE { resource:Q1118638 property:P136 ?z . ?z rdf:type ontology:Q483394 }
religious art allegory
The religious art and allegory can be considered as category for that painting
religious art allegory
action filter_type
action find
entity Envy
relation genre
type genre
['Envy', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?z WHERE { resource:Envy property:genre ?z . ?z rdf:type ontology:genre }
[]