Simple Question (Direct)
Simple Question
Q7152127
P69
Q163740
USER
Which nonprofit organization was Paul M. Smith educated at ?
(Q7152127,P69,c(Q163740))
action filter_type
action find
entity Q7152127
relation P69
type Q163740
['Q7152127', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q7152127 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Paul M. Smith
action filter_type
action find
entity Paul M. Smith
relation educated at
type nonprofit organization
['Paul M. Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Paul_M._Smith property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49165
SYSTEM
Amherst College
Q49165
(Q7152127,P69,c(Q163740))
action filter_type
action find
entity Q7152127
relation P69
type Q163740
The [ANSWER] was Paul M. Smith educated at
['Q7152127', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q7152127 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Amherst College
The Amherst College was Paul M. Smith educated at
Amherst College
action filter_type
action find
entity Paul M. Smith
relation educated at
type nonprofit organization
['Paul M. Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Paul_M._Smith property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7152127
P21
Q290
USER
Which sex does that person have ?
(Q49165,P21,c(Q290))
action filter_type
action find
entity Q7152127
relation P21
type Q290
['Q49165', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7152127 property:P21 ?b . ?b rdf:type ontology:Q290 }
Paul M. Smith
action filter_type
action find
entity Paul M. Smith
relation gender
type sex
['Amherst College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Paul_M._Smith property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49165,P21,c(Q290))
action filter_type
action find
entity Q7152127
relation P21
type Q290
That person has a [ANSWER]
['Q49165', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7152127 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Paul M. Smith
relation gender
type sex
['Amherst College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Paul_M._Smith property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7152127
P106
Q28640
USER
Which profession is the profession of that person ?
(Q6581097,P106,c(Q28640))
action filter_type
action find
entity Q7152127
relation P106
type Q28640
['Q6581097', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q7152127 property:P106 ?t . ?t rdf:type ontology:Q28640 }
Paul M. Smith
action filter_type
action find
entity Paul M. Smith
relation occupation
type profession
['male', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Paul_M._Smith property:occupation ?t . ?t rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q6581097,P106,c(Q28640))
action filter_type
action find
entity Q7152127
relation P106
type Q28640
The [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q7152127 property:P106 ?t . ?t rdf:type ontology:Q28640 }
lawyer
The lawyer is the profession of that person
lawyer
action filter_type
action find
entity Paul M. Smith
relation occupation
type profession
['male', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Paul_M._Smith property:occupation ?t . ?t rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q4830453
USER
How many business enterprises are atmost 1 profession the subsidiary of ?
(c(Q4830453),P355,c(Q28640))
action count
action atmost
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?q ) WHERE { ?g property:P355 ?o . ?o rdf:type ontology:Q28640 . ?g rdf:type ontology:Q4830453 } GROUP BY ?g } . FILTER ( ?q <= 1 ) }
action count
action atmost
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?q ) WHERE { ?g property:subsidiary ?o . ?o rdf:type ontology:profession . ?g rdf:type ontology:business_enterprise } GROUP BY ?g } . FILTER ( ?q <= 1 ) }
[]
profession business enterprise
SYSTEM
154
Q7901687 Q11319692 Q3139309 Q727145 Q127005 Q18162669 Q695087 Q1134268 Q3107966 Q1457152 Q547465 Q4785248 Q5215535 Q1714952 Q22122879 Q11350495 Q10954015 Q11228051 Q11375826 Q157062 Q1931458 Q4834524 Q908916 Q17394626 Q3571463 Q17199570 Q29366 Q303341 Q841220 Q11322733 Q7497366 Q27231583 Q1348664 Q11551995 Q23929933 Q5427196 Q588786 Q11101101 Q21857826 Q23638508 Q43380 Q2147715 Q11645551 Q811213 Q35886 Q26678 Q910401 Q1552770 Q13403399 Q26868721 Q1781348 Q17219597 Q708667 Q53268 Q11086747 Q329426 Q11993484 Q117202 Q24231734 Q23638518 Q11243694 Q11455891 Q11582449 Q11195603 Q26720780 Q308889 Q207983 Q13416787 Q20061301 Q2667719 Q17025895 Q656554 Q26702890 Q5371838 Q1663776 Q5628833 Q1602991 Q59187 Q1542175 Q16834431 Q4302263 Q168082 Q499707 Q750644 Q1754870 Q37158 Q6079763 Q40966 Q498825 Q27231258 Q928831 Q151378 Q16172513 Q318672 Q23837644 Q432564 Q5209438 Q166621 Q4354860 Q11304809 Q2094989 Q11345746 Q11628893 Q7834879 Q1681145 Q5215858 Q11189379 Q1074666 Q22115651 Q3061479 Q1017682 Q834054 Q309084 Q5476713 Q266087 Q19604369 Q5413890 Q4393272 Q16165708 Q482607 Q7954024 Q11225149 Q12009441 Q11547303 Q12594197 Q11318773 Q22122898 Q11507487 Q160746 Q24876211 Q5531670 Q822314 Q10955994 Q11283168 Q1190247 Q12792241 Q1479375 Q1113213 Q259011 Q16172809 Q11463109 Q23925824 Q1485061 Q19758662 Q66 Q944414 Q11350142 Q212268 Q727176 Q23010103 Q21757878 Q1032540 Q668737 Q2373435
(c(Q4830453),P355,c(Q28640))
action count
action atmost
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?q ) WHERE { ?g property:P355 ?o . ?o rdf:type ontology:Q28640 . ?g rdf:type ontology:Q4830453 } GROUP BY ?g } . FILTER ( ?q <= 1 ) }
Usaha Tegas TV Tokyo Holdings Holmarcom Group Asia Television Georg von Holtzbrinck Publishing Group SAIC Motor UK Mars, Incorporated Sony Corporation of America Mitsubishi Chemical Holdings Sega Sammy Holdings Zeppelin Arcapita Sumitomo Mitsui Trust Holdings Kol Yisrael RKB Mainichi Holdings Lotte Holdings Fuji Media Holdings KNT-CT Holdings Keihan Holdings Unilever Micro Focus International BAE Systems Inc. Grandi Stazioni Mouzenidis Group Yamato Holdings TV Asahi Holdings Changan Automobile Wyndham Worldwide Hankyu Hanshin Holdings Doutor Nichires Holdings Shine Group PFA HOLDING Rockwell International Senshu Ikeda Holdings Logstor Holding FTI Consulting China National Petroleum Corporation The Yomiuri Shimbun Holdings Susanne Lindner Holding ApS ArtPeople Holding CBS Rheinisch-Westfälische Straßen- und Kleinbahnen Nomura Real Estate Holdings Bauer Group Lamborghini BMW SAIC Motor GAC Group Kirin Holdings Gerda og Victor B. Strand Holding Wien Holding Tokyu Fudosan Holdings MAN Truck & Bus Toyota Nippon Television Holdings Danone Olav Thon Group The Co-operative Group Europa Travel J. Duckert Holding SMFG Card & Credit Fujifilm Holdings Sotetsu Holdings DCM Holdings J-F. Lemvigh-Müller Holding Cessna Monsanto Engie DirecTV Latin America Aviation Industry Corporation of China HSBC USA Carnival Cruise Lines A.P. Møller Holding Vudu ICA AB H2O Retailing Hellmuth, Obata and Kassabaum Vauxhall Mitsubishi UFJ Financial Group Daimler Trucks North America CANTV Hungarian State Railways BNP Paribas Scottish Aviation Stadtwerke Verkehrsgesellschaft Frankfurt am Main Starbucks Isetan Mitsukoshi Holdings Opel Korean Broadcasting System FIH Holding Seoul Broadcasting System BVR Busverkehr Rheinland SBS Media Holdings Abellio Endemol Shine Group Coop Switzerland Daimler India Commercial Vehicles Pvt. Ltd. Mizuho Financial Group AVIC I Sapporo Holdings Sumitomo Mitsui Financial Group Uny Group Holdings Seibu Holdings Transport International Holdings Statkraft Sompo Japan Nipponkoa Holdings ANA Holdings Chiquita Brands International Erdogan Group Evergreen International Aviation Busscar Ônibus Enterprise Holdings Alstom 21st Century Fox Infor Global Solutions Columbus Nova HSBC Bank Renova Group CJ Corporation Munhwa Broadcasting Corporation WOW! J. Front Retailing Vest Buss Mainichi Newspapers Group Holdings Lotte Shopping Tsuneishi Holdings Concordia Financial Group Japan Exchange Group Nestlé FamilyMart UNY Holdings General Aircraft Corporation Sony Pictures Entertainment Universe International Financial Holdings Asahi Group Holdings Mitsubishi Fuso Truck and Bus Corporation Javni holding Ljubljana MTR Corporation SBI Holdings Motorola SK Innovation Odakyu Hakone Holdings Noma Holding GE Aviation Kintetsu Group Holdings Boeing McCain Foods Royal Holdings Antonov Radio and Television Slovakia Kadeau København Zaferan Holding ApS Canal+ Yum! Brands Volvo Buses
154
action count
action atmost
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?q ) WHERE { ?g property:subsidiary ?o . ?o rdf:type ontology:profession . ?g rdf:type ontology:business_enterprise } GROUP BY ?g } . FILTER ( ?q <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40348
P417
Q502895
USER
What are the names of person who are the patron saints of lawyer ?
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q40348 property:P417 ?w . ?w rdf:type ontology:Q502895 }
lawyer
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:lawyer property:patron_saint ?w . ?w rdf:type ontology:common_name }
[]
common name
Q179718 Q358325
SYSTEM
Catherine of Alexandria, Ivo of Kermartin
Q179718 Q358325
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
The names of person are the patron saints of lawyer are Saint [ANSWERS]
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q40348 property:P417 ?w . ?w rdf:type ontology:Q502895 }
Catherine of Alexandria Ivo of Kermartin
The names of person are the patron saints of lawyer are Saint Catherine of Alexandria and Ivo of Kermartin
Catherine of Alexandria Ivo of Kermartin
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:lawyer property:patron_saint ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20166
Q502895
USER
And what about Margarita?
(Q20166,P417,c(Q502895))
action filter_type
action find
entity Q20166
relation P417
type Q502895
['Q20166', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q20166 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Margarita
action filter_type
action find
entity Margarita
relation patron saint
type common name
['Margarita', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margarita property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q43954
SYSTEM
Leo I
Q43954
(Q20166,P417,c(Q502895))
action filter_type
action find
entity Q20166
relation P417
type Q502895
[ANSWER]
['Q20166', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q20166 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Leo I
Leo I
action filter_type
action find
entity Margarita
relation patron saint
type common name
['Margarita', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margarita property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20166
P19
Q502895
USER
Who has location of birth at that administrative territory ?
(c(Q502895),P19,Q43954)
action filter_type
action find_reverse
entity Q20166
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q43954']
SELECT DISTINCT ?n WHERE { ?n property:P19 resource:Q20166 . ?n rdf:type ontology:Q502895 }
Margarita
action filter_type
action find_reverse
entity Margarita
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Leo I']
SELECT DISTINCT ?n WHERE { ?n property:place_of_birth resource:Margarita . ?n rdf:type ontology:common_name }
[]
common name
Q3778917
SYSTEM
Guglielmo Giordano
Q3778917
(c(Q502895),P19,Q43954)
action filter_type
action find_reverse
entity Q20166
relation P19
type Q502895
[ANSWER] has location of birth at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q43954']
SELECT DISTINCT ?n WHERE { ?n property:P19 resource:Q20166 . ?n rdf:type ontology:Q502895 }
Guglielmo Giordano
Guglielmo Giordano has location of birth at that administrative territory
Guglielmo Giordano
action filter_type
action find_reverse
entity Margarita
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Leo I']
SELECT DISTINCT ?n WHERE { ?n property:place_of_birth resource:Margarita . ?n rdf:type ontology:common_name }
[]