Simple Question (Direct)
Simple Question
Q1354479
P106
Q12737077
USER
Which occupations have Riitta Hari as his/her 's career ?
(Q1354479,P106,c(Q12737077))
action filter_type
action find
entity Q1354479
relation P106
type Q12737077
['Q1354479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1354479 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Riitta Hari
action filter_type
action find
entity Riitta Hari
relation occupation
type occupation
['Riitta Hari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Riitta_Hari property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q39631 Q1622272
SYSTEM
physician, university teacher
Q39631 Q1622272
(Q1354479,P106,c(Q12737077))
action filter_type
action find
entity Q1354479
relation P106
type Q12737077
[ANSWERS] have Riitta Hari as his/her 's career
['Q1354479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1354479 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
physician university teacher
Physician and university teacher have Riitta Hari as his/her 's career
physician university teacher
action filter_type
action find
entity Riitta Hari
relation occupation
type occupation
['Riitta Hari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Riitta_Hari property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q2342494
USER
Which occupations are the field of work of approximately the same number of organizations and collectables as that occupation ?
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
occupation organization collectable
Comparative|More/Less|Mult. entity type|Clarification
Q1622272
SYSTEM
Did you mean university teacher ?
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
Did you mean university teacher ?
university teacher
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant physician. Could you tell me the answer for that?
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
Q39631
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
[ANSWERS] are the field of work of approximately the same number of organizations and collectables as that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball are the field of work of approximately the same number of organizations and collectables as that occupation
chief of police archaeologist Commissioner of Baseball
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3621491
P101
Q502895
USER
Which person has his/her area as archaeologist ?
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q3621491 . ?q rdf:type ontology:Q502895 }
archaeologist
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:archaeologist . ?q rdf:type ontology:common_name }
[]
common name
Q102139
SYSTEM
Margrethe II of Denmark
Q102139
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[ANSWER] has his/her area as archaeologist
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q3621491 . ?q rdf:type ontology:Q502895 }
Margrethe II of Denmark
Margrethe II of Denmark has his/her area as archaeologist
Margrethe II of Denmark
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:archaeologist . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P921
Q2342494
USER
Which collectables were primarily based on physician ?
(c(Q2342494),P921,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q39631']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2342494 . ?v property:P921 resource:Q39631 }
physician
action filter_type
action find_reverse
entity physician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'physician']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:collectable . ?v property:main_subject resource:physician }
[]
collectable
Q11635280 Q19863060 Q19835832
SYSTEM
Akahige Shinryōtan, Physicians and Surgeons of America, A Cyclopedia of American Medical Biography
Q11635280 Q19863060 Q19835832
(c(Q2342494),P921,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q2342494
[ANSWERS] were primarily based on physician
[{'concept': 'Q2342494'}, 'P921', 'Q39631']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2342494 . ?v property:P921 resource:Q39631 }
Akahige Shinryōtan Physicians and Surgeons of America A Cyclopedia of American Medical Biography
Akahige Shinryōtan, Physicians and Surgeons of America and A Cyclopedia of American Medical Biography were primarily based on physician
Akahige Shinryōtan Physicians and Surgeons of America A Cyclopedia of American Medical Biography
action filter_type
action find_reverse
entity physician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'physician']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:collectable . ?v property:main_subject resource:physician }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11635280 Q19863060 Q19835832
P921
Q12737077
USER
What topics were discussed in those collectables ?
(Q11635280,P921,c(Q12737077)) (Q19863060,P921,c(Q12737077)) (Q19835832,P921,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P921
type Q12737077
['Q11635280', 'P921', {'concept': 'Q12737077'}] ['Q19863060', 'P921', {'concept': 'Q12737077'}] ['Q19835832', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . ?e property:P921 ?b . VALUES ( ?e ) { ( resource:Q11635280 ) ( resource:Q19863060 ) ( resource:Q19835832 ) } }
Akahige Shinryōtan Physicians and Surgeons of America A Cyclopedia of American Medical Biography
action filter_type
action find
entity prev_answer
relation main subject
type occupation
['Akahige Shinryōtan', 'main subject', {'concept': 'occupation'}] ['Physicians and Surgeons of America', 'main subject', {'concept': 'occupation'}] ['A Cyclopedia of American Medical Biography', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . ?e property:main_subject ?b . VALUES ( ?e ) { ( resource:Akahige_Shinryōtan ) ( resource:Physicians_and_Surgeons_of_America ) ( resource:A_Cyclopedia_of_American_Medical_Biography ) } }
[]
occupation
Q774306 Q39631 Q39631
SYSTEM
physician for 2nd, 3rd, surgeon for 1st
Q39631 Q39631 Q774306 Q39631
(Q11635280,P921,c(Q12737077)) (Q19863060,P921,c(Q12737077)) (Q19835832,P921,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P921
type Q12737077
[ANSWERS]
['Q11635280', 'P921', {'concept': 'Q12737077'}] ['Q19863060', 'P921', {'concept': 'Q12737077'}] ['Q19835832', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . ?e property:P921 ?b . VALUES ( ?e ) { ( resource:Q11635280 ) ( resource:Q19863060 ) ( resource:Q19835832 ) } }
physician physician surgeon physician
The surgeon, physician and physician were discussed in those collectables
surgeon physician physician
action filter_type
action find
entity prev_answer
relation main subject
type occupation
['Akahige Shinryōtan', 'main subject', {'concept': 'occupation'}] ['Physicians and Surgeons of America', 'main subject', {'concept': 'occupation'}] ['A Cyclopedia of American Medical Biography', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . ?e property:main_subject ?b . VALUES ( ?e ) { ( resource:Akahige_Shinryōtan ) ( resource:Physicians_and_Surgeons_of_America ) ( resource:A_Cyclopedia_of_American_Medical_Biography ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19835832
P629
Q571
USER
Which books represent an edition or translation of A Cyclopedia of American Medical Biography ?
(c(Q571),P629,Q19835832)
action filter_type
action find_reverse
entity Q19835832
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q19835832']
SELECT DISTINCT ?g WHERE { ?g property:P629 resource:Q19835832 . ?g rdf:type ontology:Q571 }
A Cyclopedia of American Medical Biography
action filter_type
action find_reverse
entity A Cyclopedia of American Medical Biography
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'A Cyclopedia of American Medical Biography']
SELECT DISTINCT ?g WHERE { ?g property:edition_or_translation_of resource:A_Cyclopedia_of_American_Medical_Biography . ?g rdf:type ontology:book }
[]
book
Q19037977 Q19836017
SYSTEM
American Medical Biographies, Dictionary of American Medical Biography
Q19037977 Q19836017
(c(Q571),P629,Q19835832)
action filter_type
action find_reverse
entity Q19835832
relation P629
type Q571
[ANSWERS] represent an edition or translation of A Cyclopedia of American Medical Biography
[{'concept': 'Q571'}, 'P629', 'Q19835832']
SELECT DISTINCT ?g WHERE { ?g property:P629 resource:Q19835832 . ?g rdf:type ontology:Q571 }
American Medical Biographies Dictionary of American Medical Biography
American Medical Biographies and Dictionary of American Medical Biography represent an edition or translation of A Cyclopedia of American Medical Biography
American Medical Biographies Dictionary of American Medical Biography
action filter_type
action find_reverse
entity A Cyclopedia of American Medical Biography
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'A Cyclopedia of American Medical Biography']
SELECT DISTINCT ?g WHERE { ?g property:edition_or_translation_of resource:A_Cyclopedia_of_American_Medical_Biography . ?g rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P425
Q336
USER
Which science has physician as thier associated field of occupation ?
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?s WHERE { resource:Q39631 property:P425 ?s . ?s rdf:type ontology:Q336 }
physician
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?s WHERE { resource:physician property:field_of_this_occupation ?s . ?s rdf:type ontology:science }
[]
science
Q11190
SYSTEM
medicine
Q11190
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
As [ANSWER] has physician as thier associated field of occupation
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?s WHERE { resource:Q39631 property:P425 ?s . ?s rdf:type ontology:Q336 }
medicine
As medicine has physician as thier associated field of occupation
medicine
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?s WHERE { resource:physician property:field_of_this_occupation ?s . ?s rdf:type ontology:science }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P26
Q502895
USER
Who is the spouse of Margrethe II of Denmark ?
(c(Q502895),P26,Q102139)
action filter_type
action find
entity Q102139
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q102139']
SELECT DISTINCT ?y WHERE { resource:Q102139 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margrethe II of Denmark']
SELECT DISTINCT ?y WHERE { resource:Margrethe_II_of_Denmark property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1389258
SYSTEM
Henrik, Prince Consort of Denmark
Q1389258
(c(Q502895),P26,Q102139)
action filter_type
action find
entity Q102139
relation P26
type Q502895
The spouse of Margrethe II of Denmark is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q102139']
SELECT DISTINCT ?y WHERE { resource:Q102139 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Henrik, Prince Consort of Denmark
The spouse of Margrethe II of Denmark is Princess Henrik, Prince Consort of Denmark
Henrik, Prince Consort of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margrethe II of Denmark']
SELECT DISTINCT ?y WHERE { resource:Margrethe_II_of_Denmark property:spouse ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P138
Q271669
USER
Which landform has Margrethe II of Denmark as its toponym ?
(c(Q271669),P138,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P138
type Q271669
[{'concept': 'Q271669'}, 'P138', 'Q102139']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q271669 . ?y property:P138 resource:Q102139 }
Margrethe II of Denmark
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'Margrethe II of Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:landform . ?y property:named_after resource:Margrethe_II_of_Denmark }
[]
landform
Q21857443
SYSTEM
Queen Margrethe II Land
Q21857443
(c(Q271669),P138,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P138
type Q271669
[ANSWER] has Margrethe II of Denmark as its toponym
[{'concept': 'Q271669'}, 'P138', 'Q102139']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q271669 . ?y property:P138 resource:Q102139 }
Queen Margrethe II Land
Queen Margrethe II Land has Margrethe II of Denmark as its toponym
Queen Margrethe II Land
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'Margrethe II of Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:landform . ?y property:named_after resource:Margrethe_II_of_Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P551
Q56061
USER
What was the place of residence of Margrethe II of Denmark ?
(Q102139,P551,c(Q56061))
action filter_type
action find
entity Q102139
relation P551
type Q56061
['Q102139', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q102139 property:P551 ?g }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation residence
type administrative territorial entity
['Margrethe II of Denmark', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Margrethe_II_of_Denmark property:residence ?g }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q102139,P551,c(Q56061))
action filter_type
action find
entity Q102139
relation P551
type Q56061
The place of residence of Margrethe was in [ANSWER]
['Q102139', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q102139 property:P551 ?g }
Copenhagen
The place of residence of Margrethe was in Copenhagen
Copenhagen
action filter_type
action find
entity Margrethe II of Denmark
relation residence
type administrative territorial entity
['Margrethe II of Denmark', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Margrethe_II_of_Denmark property:residence ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1748
P190
Q56061
USER
Which administrative territories are twin towns of that one ?
(Q1748,P190,c(Q56061))
action filter_type
action find
entity Q1748
relation P190
type Q56061
['Q1748', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1748 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Copenhagen
action filter_type
action find
entity Copenhagen
relation sister city
type administrative territorial entity
['Copenhagen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Copenhagen property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q64 Q956
SYSTEM
Prague, Berlin, Beijing
Q1757 Q226 Q1754 Q1764 Q585 Q64 Q956 Q1085 Q4361 Q391461 Q10704
(Q1748,P190,c(Q56061))
action filter_type
action find
entity Q1748
relation P190
type Q56061
[ANSWERS] are twin towns of that one
['Q1748', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1748 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Helsinki Nuuk Stockholm Reykjavík Oslo Berlin Beijing Prague Curitiba Grójec Tórshavn
Prague, Berlin and Beijing are twin towns of that one
Prague Berlin Beijing
action filter_type
action find
entity Copenhagen
relation sister city
type administrative territorial entity
['Copenhagen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Copenhagen property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1748
P915
Q15416
USER
Which television program was filmed at Copenhagen ?
(c(Q15416),P915,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q1748']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P915 resource:Q1748 }
Copenhagen
action filter_type
action find_reverse
entity Copenhagen
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Copenhagen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:filming_location resource:Copenhagen }
[]
television program
Q250111
SYSTEM
Borgen
Q250111
(c(Q15416),P915,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P915
type Q15416
In [ANSWER] was filmed at Copenhagen
[{'concept': 'Q15416'}, 'P915', 'Q1748']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P915 resource:Q1748 }
Borgen
In Borgen was filmed at Copenhagen
Borgen
action filter_type
action find_reverse
entity Copenhagen
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Copenhagen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:filming_location resource:Copenhagen }
[]