Simple Question (Direct)
Simple Question
Q499559
P20
Q56061
USER
Which administrative territory is the place of death of Andreas Metaxas ?
(Q499559,P20,c(Q56061))
action filter_type
action find
entity Q499559
relation P20
type Q56061
['Q499559', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q499559 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Andreas Metaxas
action filter_type
action find
entity Andreas Metaxas
relation place of death
type administrative territorial entity
['Andreas Metaxas', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Andreas_Metaxas property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q499559,P20,c(Q56061))
action filter_type
action find
entity Q499559
relation P20
type Q56061
[ANSWER] is the place of death of Andreas Metaxas
['Q499559', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q499559 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Athens
Athens is the place of death of Andreas Metaxas
Athens
action filter_type
action find
entity Andreas Metaxas
relation place of death
type administrative territorial entity
['Andreas Metaxas', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Andreas_Metaxas property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1524
P36
Q15617994
USER
Which administrative territories consists of that administrative territory as their capital ?
(c(Q15617994),P36,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q1524']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1524 . ?w rdf:type ontology:Q15617994 }
Athens
action filter_type
action find_reverse
entity Athens
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Athens']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Athens . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q334714 Q41
SYSTEM
Duchy of Athens, Greece
Q334714 Q41
(c(Q15617994),P36,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P36
type Q15617994
[ANSWERS] consist of that administrative territory as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q1524']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1524 . ?w rdf:type ontology:Q15617994 }
Duchy of Athens Greece
Duchy of Athens and Greece consist of that administrative territory as their capital
Duchy of Athens Greece
action filter_type
action find_reverse
entity Athens
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Athens']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Athens . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 5 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?x WHERE { { ?k property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?x } } GROUP BY ?x } . FILTER ( ?j >= 5 ) }
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?x WHERE { { ?k property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?x } } GROUP BY ?x } . FILTER ( ?j >= 5 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q843 Q1029 Q227 Q224 Q222 Q229 Q347 Q17 Q1033 Q1030 Q298 Q115 Q114 Q212 Q213 Q215 Q916 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[ANSWERS] have diplomatic relations with atleast 5 political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?x WHERE { { ?k property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?x } } GROUP BY ?x } . FILTER ( ?j >= 5 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Pakistan Mozambique Azerbaijan Croatia Albania Cyprus Liechtenstein Japan Nigeria Namibia Chile Ethiopia Kenya Ukraine Czech Republic Slovenia Angola Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relations with atleast 5 political territories or administrative territories
Italy Brazil United States of America
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?x WHERE { { ?k property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?x } } GROUP BY ?x } . FILTER ( ?j >= 5 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8043694
P530
Q15617994
USER
Do Xenopoulo have tactful political relations with those ones ?
(Q8043694,P530,Q38) (Q8043694,P530,Q155) (Q8043694,P530,Q30)
action is_in
entity prev_answer
action find
entity Q8043694
relation P530
['Q8043694', 'P530', 'Q38'] ['Q8043694', 'P530', 'Q155'] ['Q8043694', 'P530', 'Q30']
ASK WHERE { VALUES ( ?h ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } . resource:Q8043694 property:P530 ?h }
Xenopoulo
action is_in
entity prev_answer
action find
entity Xenopoulo
relation diplomatic relation
['Xenopoulo', 'diplomatic relation', 'Italy'] ['Xenopoulo', 'diplomatic relation', 'Brazil'] ['Xenopoulo', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?h ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } . resource:Xenopoulo property:diplomatic_relation ?h }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q8043694,P530,Q38) (Q8043694,P530,Q155) (Q8043694,P530,Q30)
action is_in
entity prev_answer
action find
entity Q8043694
relation P530
[ANSWER]
['Q8043694', 'P530', 'Q38'] ['Q8043694', 'P530', 'Q155'] ['Q8043694', 'P530', 'Q30']
ASK WHERE { VALUES ( ?h ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } . resource:Q8043694 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Xenopoulo
relation diplomatic relation
['Xenopoulo', 'diplomatic relation', 'Italy'] ['Xenopoulo', 'diplomatic relation', 'Brazil'] ['Xenopoulo', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?h ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } . resource:Xenopoulo property:diplomatic_relation ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q5314194 Q8678
P36
Q56061
USER
Does Brazil have Dunbridge and Rio de Janeiro as its capital ?
(Q155,P36,Q5314194) (Q155,P36,Q8678)
action is_in
entity Q155
action intersection
action find_reverse
entity Q5314194
relation P36
action find_reverse
entity Q8678
relation P36
['Q155', 'P36', 'Q5314194'] ['Q155', 'P36', 'Q8678']
ASK WHERE { resource:Q155 property:P36 resource:Q5314194 . resource:Q155 property:P36 resource:Q8678 }
Brazil Dunbridge Rio de Janeiro
action is_in
entity Brazil
action intersection
action find_reverse
entity Dunbridge
relation capital
action find_reverse
entity Rio de Janeiro
relation capital
['Brazil', 'capital', 'Dunbridge'] ['Brazil', 'capital', 'Rio de Janeiro']
ASK WHERE { resource:Brazil property:capital resource:Dunbridge . resource:Brazil property:capital resource:Rio_de_Janeiro }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q155,P36,Q5314194) (Q155,P36,Q8678)
action is_in
entity Q155
action intersection
action find_reverse
entity Q5314194
relation P36
action find_reverse
entity Q8678
relation P36
[ANSWER]
['Q155', 'P36', 'Q5314194'] ['Q155', 'P36', 'Q8678']
ASK WHERE { resource:Q155 property:P36 resource:Q5314194 . resource:Q155 property:P36 resource:Q8678 }
NO and YES respectively
action is_in
entity Brazil
action intersection
action find_reverse
entity Dunbridge
relation capital
action find_reverse
entity Rio de Janeiro
relation capital
['Brazil', 'capital', 'Dunbridge'] ['Brazil', 'capital', 'Rio de Janeiro']
ASK WHERE { resource:Brazil property:capital resource:Dunbridge . resource:Brazil property:capital resource:Rio_de_Janeiro }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P6
Q502895
USER
Which person is the head of government of Athens ?
(Q1524,P6,c(Q502895))
action filter_type
action find
entity Q1524
relation P6
type Q502895
['Q1524', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1524 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Athens
action filter_type
action find
entity Athens
relation head of government
type common name
['Athens', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Athens property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q719130
SYSTEM
Giorgos Kaminis
Q719130
(Q1524,P6,c(Q502895))
action filter_type
action find
entity Q1524
relation P6
type Q502895
[ANSWER] is the head of government of Athens
['Q1524', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1524 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Giorgos Kaminis
Giorgos Kaminis is the head of government of Athens
Giorgos Kaminis
action filter_type
action find
entity Athens
relation head of government
type common name
['Athens', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Athens property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q719130
P19
Q56061
USER
Where was that person born ?
(Q719130,P19,c(Q56061))
action filter_type
action find
entity Q719130
relation P19
type Q56061
['Q719130', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q719130 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Giorgos Kaminis
action filter_type
action find
entity Giorgos Kaminis
relation place of birth
type administrative territorial entity
['Giorgos Kaminis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Giorgos_Kaminis property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q719130,P19,c(Q56061))
action filter_type
action find
entity Q719130
relation P19
type Q56061
That person was born in [ANSWER]
['Q719130', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q719130 property:P19 ?z . ?z rdf:type ontology:Q56061 }
New York City
That person was born in New York City
New York City
action filter_type
action find
entity Giorgos Kaminis
relation place of birth
type administrative territorial entity
['Giorgos Kaminis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Giorgos_Kaminis property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P159
Q4830453
USER
Which business enterprises have their head office location at that administrative territory ?
(c(Q4830453),P159,Q60)
action filter_type
action find_reverse
entity Q60
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q60 . ?b rdf:type ontology:Q4830453 }
New York City
action filter_type
action find_reverse
entity New York City
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:New_York_City . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q5476713 Q1134268 Q169889
SYSTEM
21st Century Fox, Sony Corporation of America, American Broadcasting Company
Q861764 Q23671678 Q1937850 Q17109540 Q571438 Q17084176 Q4966657 Q5665458 Q3067653 Q1134268 Q16988020 Q169889 Q16243673 Q1053674 Q7132749 Q106158 Q462059 Q23759928 Q752716 Q16998779 Q629269 Q1519402 Q2161975 Q5296824 Q5165549 Q2005245 Q7624785 Q3127942 Q1094880 Q2877626 Q46540 Q17021820 Q94912 Q7962205 Q14759056 Q5188433 Q1045365 Q654762 Q5433511 Q22080657 Q5046970 Q7697332 Q16821144 Q2345331 Q663300 Q3294930 Q5476713 Q266087 Q19604369 Q13974 Q16951458
(c(Q4830453),P159,Q60)
action filter_type
action find_reverse
entity Q60
relation P159
type Q4830453
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q4830453'}, 'P159', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q60 . ?b rdf:type ontology:Q4830453 }
CBS News Tarte, Inc. Ogilvy & Mather Murray, Frank & Sailer BBDO Oasis Bridges TV Harrison & Abramovitz Fawcett Publications Sony Corporation of America Jeremy P. Tarcher Inc. American Broadcasting Company BeenVerified DoubleClick Paperless Post Standard & Poor's United American Lines EOS Products, LLC Asymptote Architecture Kushner Studios Macy's New York Board of Trade Rogers & Wells Donovan, Leisure, Newton & Irvine Mount Sinai Health System Shearman & Sterling Stroock & Stroock & Lavan Harry Winston, Inc. Energy Brands NBC News Ruxton MidCap Advisors Rockstar Games Walker & Gillette Transammonia Cross & Cross Carrère and Hastings Sotheby's FanDuel Zeel Carson & Lundin Teliris Adam and Noah Brown Boylan Bottling Company Bulova Watch Company RJR Nabisco 21st Century Fox Infor Global Solutions Columbus Nova NBC Beyer Blinder Belle
21st Century Fox, Sony Corporation of America and American Broadcasting Company have their head office location at that administrative territory
21st Century Fox Sony Corporation of America American Broadcasting Company
action filter_type
action find_reverse
entity New York City
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:New_York_City . ?b rdf:type ontology:business_enterprise }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1134268
P749
Q43229
USER
Which organizations are owned by that business enterprise ?
(c(Q43229),P749,Q1134268)
action filter_type
action find_reverse
entity Q1134268
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q1134268']
SELECT DISTINCT ?g WHERE { ?g property:P749 resource:Q1134268 . ?g rdf:type ontology:Q43229 }
Sony Corporation of America
action filter_type
action find_reverse
entity Sony Corporation of America
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'Sony Corporation of America']
SELECT DISTINCT ?g WHERE { ?g property:parent_organization resource:Sony_Corporation_of_America . ?g rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1134268
SYSTEM
Did you mean Sony Corporation of America ?
Q5476713 Q1134268 Q169889
(c(Q43229),P749,Q5476713) (c(Q43229),P749,Q1134268) (c(Q43229),P749,Q169889)
[ANSWER]
[{'concept': 'Q43229'}, 'P749', 'Q5476713'] [{'concept': 'Q43229'}, 'P749', 'Q1134268'] [{'concept': 'Q43229'}, 'P749', 'Q169889']
SELECT DISTINCT ?g WHERE { ?g property:P749 resource:Q1134268 . ?g rdf:type ontology:Q43229 }
21st Century Fox Sony Corporation of America American Broadcasting Company
Did you mean Sony Corporation of America ?
Sony Corporation of America
[{'concept': 'organization'}, 'parent organization', '21st Century Fox'] [{'concept': 'organization'}, 'parent organization', 'Sony Corporation of America'] [{'concept': 'organization'}, 'parent organization', 'American Broadcasting Company']
SELECT DISTINCT ?g WHERE { ?g property:parent_organization resource:Sony_Corporation_of_America . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P749,Q1134268)
[{'concept': 'Q43229'}, 'P749', 'Q1134268']
[{'concept': 'organization'}, 'parent organization', 'Sony Corporation of America']
[]
Q1396343 Q6014034
SYSTEM
Sony Digital Audio Disc Corporation, Sony Electronics
Q1396343 Q6014034
(c(Q43229),P749,Q1134268)
action filter_type
action find_reverse
entity Q1134268
relation P749
type Q43229
[ANSWERS] are owned by that business enterprise
[{'concept': 'Q43229'}, 'P749', 'Q1134268']
SELECT DISTINCT ?g WHERE { ?g property:P749 resource:Q1134268 . ?g rdf:type ontology:Q43229 }
Sony Digital Audio Disc Corporation Sony Electronics
Sony Digital Audio Disc Corporation and Sony Electronics are owned by that business enterprise
Sony Digital Audio Disc Corporation Sony Electronics
action filter_type
action find_reverse
entity Sony Corporation of America
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'Sony Corporation of America']
SELECT DISTINCT ?g WHERE { ?g property:parent_organization resource:Sony_Corporation_of_America . ?g rdf:type ontology:organization }
[]