Simple Question (Direct)
Simple Question
Q289952
P19
Q56061
USER
Which administrative territory is the place of birth of Sandy Powell ?
(Q289952,P19,c(Q56061))
action filter_type
action find
entity Q289952
relation P19
type Q56061
['Q289952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q289952 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Sandy Powell
action filter_type
action find
entity Sandy Powell
relation place of birth
type administrative territorial entity
['Sandy Powell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sandy_Powell property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q289952,P19,c(Q56061))
action filter_type
action find
entity Q289952
relation P19
type Q56061
[ANSWER] is the place of birth of Sandy Powell
['Q289952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q289952 property:P19 ?p . ?p rdf:type ontology:Q56061 }
London
London is the place of birth of Sandy Powell
London
action filter_type
action find
entity Sandy Powell
relation place of birth
type administrative territorial entity
['Sandy Powell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sandy_Powell property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q289952
P106
Q28640
USER
Which profession has Sandy Powell as his/her 's career ?
(Q289952,P106,c(Q28640))
action filter_type
action find
entity Q289952
relation P106
type Q28640
['Q289952', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { resource:Q289952 property:P106 ?n . ?n rdf:type ontology:Q28640 }
Sandy Powell
action filter_type
action find
entity Sandy Powell
relation occupation
type profession
['Sandy Powell', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { resource:Sandy_Powell property:occupation ?n . ?n rdf:type ontology:profession }
[]
profession
Q1323191
SYSTEM
costume designer
Q1323191
(Q289952,P106,c(Q28640))
action filter_type
action find
entity Q289952
relation P106
type Q28640
The [ANSWER] has Sandy Powell as his/her 's career
['Q289952', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { resource:Q289952 property:P106 ?n . ?n rdf:type ontology:Q28640 }
costume designer
The costume designer has Sandy Powell as his/her 's career
costume designer
action filter_type
action find
entity Sandy Powell
relation occupation
type profession
['Sandy Powell', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { resource:Sandy_Powell property:occupation ?n . ?n rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P931
Q62447
USER
Which aerodrome is served by London ?
(c(Q62447),P931,Q84)
action filter_type
action find_reverse
entity Q84
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q84']
SELECT DISTINCT ?q WHERE { ?q property:P931 resource:Q84 . ?q rdf:type ontology:Q62447 }
London
action filter_type
action find_reverse
entity London
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'London']
SELECT DISTINCT ?q WHERE { ?q property:place_served_by_airport resource:London . ?q rdf:type ontology:aerodrome }
[]
aerodrome
Q1431914
SYSTEM
Croydon Airport
Q1431914
(c(Q62447),P931,Q84)
action filter_type
action find_reverse
entity Q84
relation P931
type Q62447
Airport [ANSWER] is served by London
[{'concept': 'Q62447'}, 'P931', 'Q84']
SELECT DISTINCT ?q WHERE { ?q property:P931 resource:Q84 . ?q rdf:type ontology:Q62447 }
Croydon Airport
Airport Croydon Airport is served by London
Croydon Airport
action filter_type
action find_reverse
entity London
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'London']
SELECT DISTINCT ?q WHERE { ?q property:place_served_by_airport resource:London . ?q rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1431914
P20
Q502895
USER
Which person expired at that aerodrome ?
(c(Q502895),P20,Q1431914)
action filter_type
action find_reverse
entity Q1431914
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1431914']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q1431914 . ?l rdf:type ontology:Q502895 }
Croydon Airport
action filter_type
action find_reverse
entity Croydon Airport
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Croydon Airport']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Croydon_Airport . ?l rdf:type ontology:common_name }
[]
common name
Q53294
SYSTEM
Arvid Lindman
Q53294
(c(Q502895),P20,Q1431914)
action filter_type
action find_reverse
entity Q1431914
relation P20
type Q502895
[ANSWER] expired at that aerodrome
[{'concept': 'Q502895'}, 'P20', 'Q1431914']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q1431914 . ?l rdf:type ontology:Q502895 }
Arvid Lindman
Arvid Lindman expired at that aerodrome
Arvid Lindman
action filter_type
action find_reverse
entity Croydon Airport
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Croydon Airport']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Croydon_Airport . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q84
P190
Q515
USER
How many cities are the sister cities of London ?
(Q84,P190,c(Q515))
action count
action filter_type
action find
entity Q84
relation P190
type Q515
['Q84', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q84 property:P190 ?o . ?o rdf:type ontology:Q515 }
London
action count
action filter_type
action find
entity London
relation sister city
type city
['London', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:London property:sister_city ?o . ?o rdf:type ontology:city }
[]
city
SYSTEM
4
Q1865 Q19660 Q1486 Q3616
(Q84,P190,c(Q515))
action count
action filter_type
action find
entity Q84
relation P190
type Q515
[ANSWER]
['Q84', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q84 property:P190 ?o . ?o rdf:type ontology:Q515 }
Kuala Lumpur Bucharest Buenos Aires Tehran
4
action count
action filter_type
action find
entity London
relation sister city
type city
['London', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:London property:sister_city ?o . ?o rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1001297
Q515
USER
And also tell me about Ustroń?
(Q1001297,P190,c(Q515))
action count
action filter_type
action find
entity Q1001297
relation P190
type Q515
['Q1001297', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q1001297 property:P190 ?g . ?g rdf:type ontology:Q515 }
Ustroń
action count
action filter_type
action find
entity Ustroń
relation sister city
type city
['Ustroń', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Ustroń property:sister_city ?g . ?g rdf:type ontology:city }
[]
city
SYSTEM
2
(Q1001297,P190,c(Q515))
action count
action filter_type
action find
entity Q1001297
relation P190
type Q515
[ANSWER]
['Q1001297', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q1001297 property:P190 ?g . ?g rdf:type ontology:Q515 }
2
action count
action filter_type
action find
entity Ustroń
relation sister city
type city
['Ustroń', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Ustroń property:sister_city ?g . ?g rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2865975 Q53294
P27
Q15617994
USER
Which administrative territories are the native countriesof Arvid Lindman or Arty McGlynn ?
OR((Q53294,P27,c(Q15617994)), (Q2865975,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q53294
relation P27
action find
entity Q2865975
relation P27
type Q15617994
{'OR': [['Q53294', 'P27', {'concept': 'Q15617994'}], ['Q2865975', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q53294 property:P27 ?b } UNION { resource:Q2865975 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Arty McGlynn Arvid Lindman
action filter_type
action union
action find
entity Arvid Lindman
relation country of citizenship
action find
entity Arty McGlynn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arvid Lindman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arty McGlynn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Arvid_Lindman property:country_of_citizenship ?b } UNION { resource:Arty_McGlynn property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q27
SYSTEM
Sweden, Ireland
Q34 Q27
OR((Q53294,P27,c(Q15617994)), (Q2865975,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q53294
relation P27
action find
entity Q2865975
relation P27
type Q15617994
[ANSWERS] are the native countriesof Arvid Lindman or Arty McGlynn
{'OR': [['Q53294', 'P27', {'concept': 'Q15617994'}], ['Q2865975', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q53294 property:P27 ?b } UNION { resource:Q2865975 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Sweden Ireland
Sweden and Ireland are the native countriesof Arvid Lindman or Arty McGlynn
Sweden Ireland
action filter_type
action union
action find
entity Arvid Lindman
relation country of citizenship
action find
entity Arty McGlynn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arvid Lindman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arty McGlynn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Arvid_Lindman property:country_of_citizenship ?b } UNION { resource:Arty_McGlynn property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q7725634
USER
How many administrative territories are the origin of less number of television programs and literary works than that administrative territory ?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity television program literary work
Comparative|Count over More/Less|Mult. entity type|Clarification
Q27
SYSTEM
Did you mean Ireland ?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Ireland ?
Ireland
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Sweden. Could you tell me the answer for that?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
Q34
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
162
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
162
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P35
Q502895
USER
Who are elected as the head of state of Sweden ?
(Q34,P35,c(Q502895))
action filter_type
action find
entity Q34
relation P35
type Q502895
['Q34', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q34 property:P35 ?s }
Sweden
action filter_type
action find
entity Sweden
relation head of state
type common name
['Sweden', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Sweden property:head_of_state ?s }
[]
common name
Q52878 Q52890 Q45068
SYSTEM
Gustaf VI Adolf of Sweden, Gustaf V of Sweden, Carl XVI Gustaf of Sweden
Q52878 Q52890 Q45068 Q52925 Q52924 Q52927 Q52926
(Q34,P35,c(Q502895))
action filter_type
action find
entity Q34
relation P35
type Q502895
[ANSWERS] are elected as the head of state of Sweden
['Q34', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q34 property:P35 ?s }
Gustaf VI Adolf of Sweden Gustaf V of Sweden Carl XVI Gustaf of Sweden Charles XV of Sweden Oscar II of Sweden Charles XIV John of Sweden Oscar I of Sweden
Gustaf VI Adolf of Sweden, Gustaf V of Sweden and Carl XVI Gustaf of Sweden are elected as the head of state of Sweden
Gustaf VI Adolf of Sweden Gustaf V of Sweden Carl XVI Gustaf of Sweden
action filter_type
action find
entity Sweden
relation head of state
type common name
['Sweden', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Sweden property:head_of_state ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P127
Q41176
USER
Which building is owned by Sweden ?
(c(Q41176),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q34']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q41176 . ?x property:P127 resource:Q34 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:building . ?x property:owned_by resource:Sweden }
[]
building
Q335491
SYSTEM
Karlberg Palace
Q335491
(c(Q41176),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q41176
[ANSWER] is owned by Sweden
[{'concept': 'Q41176'}, 'P127', 'Q34']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q41176 . ?x property:P127 resource:Q34 }
Karlberg Palace
Karlberg Palace is owned by Sweden
Karlberg Palace
action filter_type
action find_reverse
entity Sweden
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:building . ?x property:owned_by resource:Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52890
P22
Q502895
USER
Which person was the father of Gustaf V of Sweden ?
(Q52890,P22,c(Q502895))
action filter_type
action find
entity Q52890
relation P22
type Q502895
['Q52890', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q52890 property:P22 ?z }
Gustaf V of Sweden
action filter_type
action find
entity Gustaf V of Sweden
relation father
type common name
['Gustaf V of Sweden', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Gustaf_V_of_Sweden property:father ?z }
[]
common name
Q52924
SYSTEM
Oscar II of Sweden
Q52924
(Q52890,P22,c(Q502895))
action filter_type
action find
entity Q52890
relation P22
type Q502895
[ANSWER] was the father of Gustaf V of Sweden
['Q52890', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q52890 property:P22 ?z }
Oscar II of Sweden
Oscar II of Sweden was the father of Gustaf V of Sweden
Oscar II of Sweden
action filter_type
action find
entity Gustaf V of Sweden
relation father
type common name
['Gustaf V of Sweden', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Gustaf_V_of_Sweden property:father ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q52924
P40
Q502895
USER
Which people have that one as a child ?
(c(Q502895),P40,Q52924)
action filter_type
action find_reverse
entity Q52924
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q52924']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q52924 }
Oscar II of Sweden
action filter_type
action find_reverse
entity Oscar II of Sweden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Oscar II of Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Oscar_II_of_Sweden }
[]
common name
Q52926 Q229810
SYSTEM
Oscar I of Sweden, Josephine of Leuchtenberg
Q52926 Q229810
(c(Q502895),P40,Q52924)
action filter_type
action find_reverse
entity Q52924
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q52924']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q52924 }
Oscar I of Sweden Josephine of Leuchtenberg
Oscar I of Sweden and Josephine of Leuchtenberg have that one as a child
Oscar I of Sweden Josephine of Leuchtenberg
action filter_type
action find_reverse
entity Oscar II of Sweden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Oscar II of Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Oscar_II_of_Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q52924
P19
Q56061
USER
How many administrative territories were Oscar II of Sweden born ?
(Q52924,P19,c(Q56061))
action count
action filter_type
action find
entity Q52924
relation P19
type Q56061
['Q52924', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q52924 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Oscar II of Sweden
action count
action filter_type
action find
entity Oscar II of Sweden
relation place of birth
type administrative territorial entity
['Oscar II of Sweden', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Oscar_II_of_Sweden property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1754
(Q52924,P19,c(Q56061))
action count
action filter_type
action find
entity Q52924
relation P19
type Q56061
[ANSWER]
['Q52924', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q52924 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Stockholm
1
action count
action filter_type
action find
entity Oscar II of Sweden
relation place of birth
type administrative territorial entity
['Oscar II of Sweden', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Oscar_II_of_Sweden property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q11768639
Q56061
USER
And how about Marek Żydowicz?
(Q11768639,P19,c(Q56061))
action count
action filter_type
action find
entity Q11768639
relation P19
type Q56061
['Q11768639', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q11768639 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Marek Żydowicz
action count
action filter_type
action find
entity Marek Żydowicz
relation place of birth
type administrative territorial entity
['Marek Żydowicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Marek_Żydowicz property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q11768639,P19,c(Q56061))
action count
action filter_type
action find
entity Q11768639
relation P19
type Q56061
[ANSWER]
['Q11768639', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q11768639 property:P19 ?o . ?o rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Marek Żydowicz
relation place of birth
type administrative territorial entity
['Marek Żydowicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Marek_Żydowicz property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]