Simple Question (Direct)
Simple Question
Q464815
P1344
Q15275719
USER
Which recurring event did Mantorras participate in ?
(Q464815,P1344,c(Q15275719))
action filter_type
action find
entity Q464815
relation P1344
type Q15275719
['Q464815', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?w WHERE { resource:Q464815 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
Mantorras
action filter_type
action find
entity Mantorras
relation participant of
type recurring event
['Mantorras', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?w WHERE { resource:Mantorras property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
recurring event
Q37285
SYSTEM
2006 FIFA World Cup
Q37285
(Q464815,P1344,c(Q15275719))
action filter_type
action find
entity Q464815
relation P1344
type Q15275719
Mantorras participated in [ANSWER]
['Q464815', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?w WHERE { resource:Q464815 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
2006 FIFA World Cup
Mantorras participated in 2006 FIFA World Cup
2006 FIFA World Cup
action filter_type
action find
entity Mantorras
relation participant of
type recurring event
['Mantorras', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?w WHERE { resource:Mantorras property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464815
P54
Q1194951
USER
What is Mantorras a member of ?
(Q464815,P54,c(Q1194951))
action filter_type
action find
entity Q464815
relation P54
type Q1194951
['Q464815', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q464815 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Mantorras
action filter_type
action find
entity Mantorras
relation member of sports team
type national sports team
['Mantorras', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Mantorras property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q192828
SYSTEM
Angola national football team
Q192828
(Q464815,P54,c(Q1194951))
action filter_type
action find
entity Q464815
relation P54
type Q1194951
Mantorras a member is of the [ANSWER]
['Q464815', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q464815 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Angola national football team
Mantorras a member is of the Angola national football team
Angola national football team
action filter_type
action find
entity Mantorras
relation member of sports team
type national sports team
['Mantorras', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Mantorras property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q335775
Q1194951
USER
And how about Deng Zhuoxiang?
(Q335775,P54,c(Q1194951))
action filter_type
action find
entity Q335775
relation P54
type Q1194951
['Q335775', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q335775 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Deng Zhuoxiang
action filter_type
action find
entity Deng Zhuoxiang
relation member of sports team
type national sports team
['Deng Zhuoxiang', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Deng_Zhuoxiang property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q130582
SYSTEM
China PR national football team
Q130582
(Q335775,P54,c(Q1194951))
action filter_type
action find
entity Q335775
relation P54
type Q1194951
[ANSWER]
['Q335775', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q335775 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
China PR national football team
China PR national football team
action filter_type
action find
entity Deng Zhuoxiang
relation member of sports team
type national sports team
['Deng Zhuoxiang', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Deng_Zhuoxiang property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q130582 Q47735
P1344
Q15275719
USER
Did that national sports team participate in 2002 FIFA World Cup ?
(Q130582,P1344,Q47735)
action is_in
entity Q47735
action find
entity Q130582
relation P1344
['Q130582', 'P1344', 'Q47735']
ASK WHERE { resource:Q130582 property:P1344 resource:Q47735 }
China PR national football team 2002 FIFA World Cup
action is_in
entity 2002 FIFA World Cup
action find
entity China PR national football team
relation participant of
['China PR national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:China_PR_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q130582,P1344,Q47735)
action is_in
entity Q47735
action find
entity Q130582
relation P1344
[ANSWER]
['Q130582', 'P1344', 'Q47735']
ASK WHERE { resource:Q130582 property:P1344 resource:Q47735 }
Yes
action is_in
entity 2002 FIFA World Cup
action find
entity China PR national football team
relation participant of
['China PR national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:China_PR_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q192828 Q916
P1532
Q15617994
USER
Is Angola played by Angola national football team ?
(Q192828,P1532,Q916)
action is_in
entity Q916
action find
entity Q192828
relation P1532
['Q192828', 'P1532', 'Q916']
ASK WHERE { resource:Q192828 property:P1532 resource:Q916 }
Angola national football team Angola
action is_in
entity Angola
action find
entity Angola national football team
relation country for sport
['Angola national football team', 'country for sport', 'Angola']
ASK WHERE { resource:Angola_national_football_team property:country_for_sport resource:Angola }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q192828,P1532,Q916)
action is_in
entity Q916
action find
entity Q192828
relation P1532
[ANSWER]
['Q192828', 'P1532', 'Q916']
ASK WHERE { resource:Q192828 property:P1532 resource:Q916 }
Yes
action is_in
entity Angola
action find
entity Angola national football team
relation country for sport
['Angola national football team', 'country for sport', 'Angola']
ASK WHERE { resource:Angola_national_football_team property:country_for_sport resource:Angola }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q464815 Q916
P27
Q15617994
USER
Is Angola the native country of Mantorras ?
(Q464815,P27,Q916)
action is_in
entity Q916
action find
entity Q464815
relation P27
['Q464815', 'P27', 'Q916']
ASK WHERE { resource:Q464815 property:P27 resource:Q916 }
Mantorras Angola
action is_in
entity Angola
action find
entity Mantorras
relation country of citizenship
['Mantorras', 'country of citizenship', 'Angola']
ASK WHERE { resource:Mantorras property:country_of_citizenship resource:Angola }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q464815,P27,Q916)
action is_in
entity Q916
action find
entity Q464815
relation P27
[ANSWER]
['Q464815', 'P27', 'Q916']
ASK WHERE { resource:Q464815 property:P27 resource:Q916 }
Yes
action is_in
entity Angola
action find
entity Mantorras
relation country of citizenship
['Mantorras', 'country of citizenship', 'Angola']
ASK WHERE { resource:Mantorras property:country_of_citizenship resource:Angola }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q130582 Q630129 Q148
P1532
Q15617994
USER
Does China PR national football team play for Rosdorf and People's Republic of China ?
(Q130582,P1532,Q630129) (Q130582,P1532,Q148)
action is_in
entity Q130582
action intersection
action find_reverse
entity Q630129
relation P1532
action find_reverse
entity Q148
relation P1532
['Q130582', 'P1532', 'Q630129'] ['Q130582', 'P1532', 'Q148']
ASK WHERE { resource:Q130582 property:P1532 resource:Q630129 . resource:Q130582 property:P1532 resource:Q148 }
China PR national football team Rosdorf People's Republic of China
action is_in
entity China PR national football team
action intersection
action find_reverse
entity Rosdorf
relation country for sport
action find_reverse
entity People's Republic of China
relation country for sport
['China PR national football team', 'country for sport', 'Rosdorf'] ['China PR national football team', 'country for sport', "People's Republic of China"]
ASK WHERE { resource:China_PR_national_football_team property:country_for_sport resource:Rosdorf . resource:China_PR_national_football_team property:country_for_sport resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q130582,P1532,Q630129) (Q130582,P1532,Q148)
action is_in
entity Q130582
action intersection
action find_reverse
entity Q630129
relation P1532
action find_reverse
entity Q148
relation P1532
[ANSWER]
['Q130582', 'P1532', 'Q630129'] ['Q130582', 'P1532', 'Q148']
ASK WHERE { resource:Q130582 property:P1532 resource:Q630129 . resource:Q130582 property:P1532 resource:Q148 }
NO and YES respectively
action is_in
entity China PR national football team
action intersection
action find_reverse
entity Rosdorf
relation country for sport
action find_reverse
entity People's Republic of China
relation country for sport
['China PR national football team', 'country for sport', 'Rosdorf'] ['China PR national football team', 'country for sport', "People's Republic of China"]
ASK WHERE { resource:China_PR_national_football_team property:country_for_sport resource:Rosdorf . resource:China_PR_national_football_team property:country_for_sport resource:People's_Republic_of_China }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q464815 Q20397 Q26830017
P27
Q15617994
USER
Is Mantorras a native of Vernio and state in the Holy Roman Empire ?
(Q464815,P27,Q20397) (Q464815,P27,Q26830017)
action is_in
entity Q464815
action intersection
action find_reverse
entity Q20397
relation P27
action find_reverse
entity Q26830017
relation P27
['Q464815', 'P27', 'Q20397'] ['Q464815', 'P27', 'Q26830017']
ASK WHERE { resource:Q464815 property:P27 resource:Q20397 . resource:Q464815 property:P27 resource:Q26830017 }
Mantorras Vernio state in the Holy Roman Empire
action is_in
entity Mantorras
action intersection
action find_reverse
entity Vernio
relation country of citizenship
action find_reverse
entity state in the Holy Roman Empire
relation country of citizenship
['Mantorras', 'country of citizenship', 'Vernio'] ['Mantorras', 'country of citizenship', 'state in the Holy Roman Empire']
ASK WHERE { resource:Mantorras property:country_of_citizenship resource:Vernio . resource:Mantorras property:country_of_citizenship resource:state_in_the_Holy_Roman_Empire }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q464815,P27,Q20397) (Q464815,P27,Q26830017)
action is_in
entity Q464815
action intersection
action find_reverse
entity Q20397
relation P27
action find_reverse
entity Q26830017
relation P27
[ANSWER]
['Q464815', 'P27', 'Q20397'] ['Q464815', 'P27', 'Q26830017']
ASK WHERE { resource:Q464815 property:P27 resource:Q20397 . resource:Q464815 property:P27 resource:Q26830017 }
No
action is_in
entity Mantorras
action intersection
action find_reverse
entity Vernio
relation country of citizenship
action find_reverse
entity state in the Holy Roman Empire
relation country of citizenship
['Mantorras', 'country of citizenship', 'Vernio'] ['Mantorras', 'country of citizenship', 'state in the Holy Roman Empire']
ASK WHERE { resource:Mantorras property:country_of_citizenship resource:Vernio . resource:Mantorras property:country_of_citizenship resource:state_in_the_Holy_Roman_Empire }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3466669 Q130582
P1532 P17
Q15617994
USER
Which administrative territories are represented by China PR national football team or do Retla belong to ?
OR((Q130582,P1532,c(Q15617994)), (Q3466669,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q130582
relation P1532
action find
entity Q3466669
relation P17
type Q15617994
{'OR': [['Q130582', 'P1532', {'concept': 'Q15617994'}], ['Q3466669', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q130582 property:P1532 ?e } UNION { resource:Q3466669 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Retla China PR national football team
action filter_type
action union
action find
entity China PR national football team
relation country for sport
action find
entity Retla
relation country
type designation for an administrative territorial entity
{'OR': [['China PR national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Retla', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:China_PR_national_football_team property:country_for_sport ?e } UNION { resource:Retla property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q148
SYSTEM
Estonia, People's Republic of China
Q191 Q148
OR((Q130582,P1532,c(Q15617994)), (Q3466669,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q130582
relation P1532
action find
entity Q3466669
relation P17
type Q15617994
[ANSWERS] are represented by China PR national football team or do Retla belong to
{'OR': [['Q130582', 'P1532', {'concept': 'Q15617994'}], ['Q3466669', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q130582 property:P1532 ?e } UNION { resource:Q3466669 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Estonia People's Republic of China
Estonia and People's Republic of China are represented by China PR national football team or do Retla belong to
Estonia People's Republic of China
action filter_type
action union
action find
entity China PR national football team
relation country for sport
action find
entity Retla
relation country
type designation for an administrative territorial entity
{'OR': [['China PR national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Retla', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:China_PR_national_football_team property:country_for_sport ?e } UNION { resource:Retla property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q191 Q148
P17
Q41176
USER
Which buildings are present in Estonia and People's Republic of China ?
(c(Q41176),P17,Q191) (c(Q41176),P17,Q148)
action union
action filter_type
action find_reverse
entity Q191
relation P17
type Q41176
action filter_type
action find_reverse
entity Q148
relation P17
type Q41176
[{'concept': 'Q41176'}, 'P17', 'Q191'] [{'concept': 'Q41176'}, 'P17', 'Q148']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q191 . ?f rdf:type ontology:Q41176 } UNION { ?f rdf:type ontology:Q41176 . ?f property:P17 resource:Q148 } }
Estonia People's Republic of China
action union
action filter_type
action find_reverse
entity Estonia
relation country
type building
action filter_type
action find_reverse
entity People's Republic of China
relation country
type building
[{'concept': 'building'}, 'country', 'Estonia'] [{'concept': 'building'}, 'country', "People's Republic of China"]
SELECT DISTINCT ?f WHERE { { ?f property:country resource:Estonia . ?f rdf:type ontology:building } UNION { ?f rdf:type ontology:building . ?f property:country resource:People's_Republic_of_China } }
[]
building
Q163962 Q80290 Q23126
SYSTEM
Beijing South Railway Station, Forbidden City, Shanghai Club Building
Q1646059 Q581127 Q11704264 Q805683 Q583997 Q15918631 Q18127492 Q2149114 Q1069942 Q6963655 Q1909323 Q3145250 Q3145252 Q3244952 Q4634345 Q15912813 Q5908476 Q15913922 Q2628254 Q7851389 Q1043438 Q842400 Q7711853 Q11140758 Q11105358 Q5470098 Q17651546 Q15921548 Q5410187 Q1592320 Q16928517 Q16928521 Q6579588 Q614040 Q7313272 Q966225 Q4856086 Q1276887 Q1158530 Q11072666 Q838028 Q1495771 Q852429 Q80290 Q2680845 Q1325611 Q1552792 Q1413164 Q15910817 Q990603 Q23132 Q139815 Q3550695 Q1941993 Q17000760 Q23126 Q23128 Q236201 Q7264044 Q1666430 Q11065545 Q11133012 Q11153094 Q12256124 Q13422719 Q5391505 Q7119542 Q10915117 Q4881199 Q15903347 Q2816441 Q4132 Q17629387 Q15917184 Q1073288 Q16925087 Q5507043 Q6123444 Q197705 Q1920706 Q3512203 Q21018024 Q71229 Q7378746 Q21323554 Q4944499 Q1955861 Q3182054 Q15932446 Q16924733 Q414476 Q2112035 Q163962 Q17238101 Q249319 Q803709 Q17639573 Q1372014 Q6487224 Q2713101 Q3481394 Q1785601 Q5034282 Q18111156 Q11111157 Q7711812 Q11175428 Q5639363 Q143235 Q2794106 Q2802310 Q7494241 Q735914 Q867537 Q1065016 Q5639134 Q24131906 Q213087 Q10868085 Q10868087 Q15913299 Q125445 Q16063645 Q10896393
(c(Q41176),P17,Q191) (c(Q41176),P17,Q148)
action union
action filter_type
action find_reverse
entity Q191
relation P17
type Q41176
action filter_type
action find_reverse
entity Q148
relation P17
type Q41176
[ANSWERS] are present in Estonia and People's Republic of China
[{'concept': 'Q41176'}, 'P17', 'Q191'] [{'concept': 'Q41176'}, 'P17', 'Q148']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q191 . ?f rdf:type ontology:Q41176 } UNION { ?f rdf:type ontology:Q41176 . ?f property:P17 resource:Q148 } }
Vanemuine Endla Theatre Estonia Theatre Balti jaam Estonian National Opera Majestic Theatre Logan Century Center 1 A-Ma Temple Temple of Marquis Wu, Chengdu Nanjing General Hospital of Nanjing Military Command Wen Miao, Shanghai Tsuen Wan Adventist Hospital Hong Kong Adventist Hospital Olympic Green Convention Center 301 Military Hospital Midget Apartments Hospital Kiang Wu Metropol Cinema Sorrento Tuen Mun Hospital Guangzhou International Finance Center Guan Yu Temple The 2nd Affiliated Hospital & Yuying Children's Hospital Sassoon House Brookside Apartments Former Kowloon British School Zhuhai St. Regis Hotel & Office Tower Changde Apartment Changsha IFS Tower T1 Suzhou International Expo Center Willow Court Liberty Apartments Suzhou Xindi Center Anyuan Temple Renji Hospital Goldin Finance 117 Bank of China Building, Macau Hanging Temple Daming Palace Jardine Matheson Building Ming Palace Gate to the East Mukden Palace Forbidden City Chinese temple Shanghai Grand Theatre Guanwang Temple in Dingxiang Jinci Temple Former Foreign YMCA Building Beijing Exhibition Center Asia Building Grand International Mansion United Centre Modern Media Center Henry Apartments Shanghai Club Building Union Building Shun Hing Square Sheung Wan Municipal Services Building International Commerce Center 1 Development Building Palace Hotel C-MER (Shenzhen) Dennis Lam Eye Hospital Deji Plaza Phase 2 Hong Kong Club Building Yantai Shimao No.1 The Harbour PKU 3rd People's Hospital Bank of Taiwan Building Beijing Tongren Hospital Clements Apartments 39 Conduit Road Summer Palace Greenland Puli Center Washington Apartments China International Center Tiantaishan Wulong Temple Fuda Cancer Hospital-Guangzhou Yokohama Specie Bank Building Zhengzhou Greenland Plaza Menri Monastery TIPS China Building Zhuqing Temple Potala Palace Ruijin Hospital Mirae Asset Tower Borden Memorial Hospital Mutisi Grottoes Dom Pedro V Theatre The Bank of China, Hongkew Branch Jing Guang Centre White Deer Grotto Academy Tin Hau Temple, Lung Yeuk Tau Beijing South Railway Station West Park Mansions Pearl River Tower Baidicheng Suning Plaza Tower 1 HSBC Building Lanko International Conference & Exhibition Tower D The Harbourside Shanghai Exhibition Centre Xumi Fushou Temple Cao'an Children's Hospital of Fudan University Glen Line Building The 1st Affiliated Hospital Chartered Bank Building Hainan International Convention and Exhibition Center Wuhan Greenland Center Fan Sin Temple Concord International Centre Sheng Jing Hospital Jokhang Norbulingka Presidential Palace Haikou City People's Hospital Huguang Guildhall Theatre HSBC Building General Post Office Building, Shanghai Former Kincheng Banking Corporation Building Astrid Apartments Temple of Heaven Chunyang Gong Cavendish Court
Beijing South Railway Station, Forbidden City and Shanghai Club Building are present in Estonia and People's Republic of China
Beijing South Railway Station Forbidden City Shanghai Club Building
action union
action filter_type
action find_reverse
entity Estonia
relation country
type building
action filter_type
action find_reverse
entity People's Republic of China
relation country
type building
[{'concept': 'building'}, 'country', 'Estonia'] [{'concept': 'building'}, 'country', "People's Republic of China"]
SELECT DISTINCT ?f WHERE { { ?f property:country resource:Estonia . ?f rdf:type ontology:building } UNION { ?f rdf:type ontology:building . ?f property:country resource:People's_Republic_of_China } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q163962
P81
Q83620
USER
Which thoroughfares are that building connected to ?
(Q163962,P81,c(Q83620))
action filter_type
action find
entity Q163962
relation P81
type Q83620
['Q163962', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q163962 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Beijing South Railway Station
action filter_type
action find
entity Beijing South Railway Station
relation connecting line
type thoroughfare
['Beijing South Railway Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Beijing_South_Railway_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
thoroughfare
Clarification for simple ques.
Q23126
SYSTEM
Did you mean Shanghai Club Building ?
Q163962 Q80290 Q23126
(Q163962,P81,c(Q83620)) (Q80290,P81,c(Q83620)) (Q23126,P81,c(Q83620))
[ANSWER]
['Q163962', 'P81', {'concept': 'Q83620'}] ['Q80290', 'P81', {'concept': 'Q83620'}] ['Q23126', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q163962 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Beijing South Railway Station Forbidden City Shanghai Club Building
Did you mean Shanghai Club Building ?
Shanghai Club Building
['Beijing South Railway Station', 'connecting line', {'concept': 'thoroughfare'}] ['Forbidden City', 'connecting line', {'concept': 'thoroughfare'}] ['Shanghai Club Building', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Beijing_South_Railway_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
USER
No, I meant Beijing South Railway Station. Could you tell me the answer for that?
(Q163962,P81,c(Q83620))
Q163962
['Q163962', 'P81', {'concept': 'Q83620'}]
['Beijing South Railway Station', 'connecting line', {'concept': 'thoroughfare'}]
[]
Q915161 Q913275 Q931127
SYSTEM
Beijing–Shanghai Railway, Beijing–Shanghai High-Speed Railway, Beijing–Tianjin Intercity Railway
Q915161 Q931127 Q913275
(Q163962,P81,c(Q83620))
action filter_type
action find
entity Q163962
relation P81
type Q83620
That building are connected by [ANSWERS]
['Q163962', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q163962 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Beijing–Shanghai Railway Beijing–Tianjin Intercity Railway Beijing–Shanghai High-Speed Railway
That building are connected by Beijing–Shanghai Railway, Beijing–Shanghai High-Speed Railway and Beijing–Tianjin Intercity Railway
Beijing–Shanghai Railway Beijing–Shanghai High-Speed Railway Beijing–Tianjin Intercity Railway
action filter_type
action find
entity Beijing South Railway Station
relation connecting line
type thoroughfare
['Beijing South Railway Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Beijing_South_Railway_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q148
P530
Q1048835 Q56061
USER
How many political territories or administrative territories have diplomatic relationships with People's Republic of China ?
(Q148,P530,c(Q1048835)) (Q148,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q148
relation P530
type Q1048835
action filter_type
action find
entity Q148
relation P530
type Q56061
['Q148', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { resource:Q148 property:P530 ?o . ?o rdf:type ontology:Q1048835 } UNION { ?o rdf:type ontology:Q56061 . resource:Q148 property:P530 ?o } }
People's Republic of China
action count
action union
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { resource:People's_Republic_of_China property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } UNION { ?o rdf:type ontology:administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?o } }
[]
political territorial entity administrative territorial entity
SYSTEM
3
Q334 Q408 Q183
(Q148,P530,c(Q1048835)) (Q148,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q148
relation P530
type Q1048835
action filter_type
action find
entity Q148
relation P530
type Q56061
[ANSWER]
['Q148', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { resource:Q148 property:P530 ?o . ?o rdf:type ontology:Q1048835 } UNION { ?o rdf:type ontology:Q56061 . resource:Q148 property:P530 ?o } }
Singapore Australia Germany
3
action count
action union
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { resource:People's_Republic_of_China property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } UNION { ?o rdf:type ontology:administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163962
P81
Q728937
USER
Which railroad lines are Beijing South Railway Station connected to ?
(Q163962,P81,c(Q728937))
action filter_type
action find
entity Q163962
relation P81
type Q728937
['Q163962', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q163962 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Beijing South Railway Station
action filter_type
action find
entity Beijing South Railway Station
relation connecting line
type railroad line
['Beijing South Railway Station', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Beijing_South_Railway_Station property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]
railroad line
Q304264 Q6553070
SYSTEM
Line 4, Line 14, Beijing Subway
Q304264 Q6553070
(Q163962,P81,c(Q728937))
action filter_type
action find
entity Q163962
relation P81
type Q728937
[ANSWERS]
['Q163962', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q163962 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Line 4 Line 14, Beijing Subway
Line 4 and Line 14, Beijing Subway are Beijing South Railway Station connected to
Line 4 Line 14, Beijing Subway
action filter_type
action find
entity Beijing South Railway Station
relation connecting line
type railroad line
['Beijing South Railway Station', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Beijing_South_Railway_Station property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]