Simple Question (Direct)
Simple Question
Q594175
P19
Q56061
USER
Which administrative territory is the birthplace of Rajmund Fodor ?
(Q594175,P19,c(Q56061))
action filter_type
action find
entity Q594175
relation P19
type Q56061
['Q594175', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q594175 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Rajmund Fodor
action filter_type
action find
entity Rajmund Fodor
relation place of birth
type administrative territorial entity
['Rajmund Fodor', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Rajmund_Fodor property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q81581
SYSTEM
Szeged
Q81581
(Q594175,P19,c(Q56061))
action filter_type
action find
entity Q594175
relation P19
type Q56061
[ANSWER] is the birthplace of Rajmund Fodor
['Q594175', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q594175 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Szeged
Szeged is the birthplace of Rajmund Fodor
Szeged
action filter_type
action find
entity Rajmund Fodor
relation place of birth
type administrative territorial entity
['Rajmund Fodor', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Rajmund_Fodor property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594175
P27
Q15617994
USER
Which administrative territory is Rajmund Fodor a civilian of ?
(Q594175,P27,c(Q15617994))
action filter_type
action find
entity Q594175
relation P27
type Q15617994
['Q594175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q594175 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Rajmund Fodor
action filter_type
action find
entity Rajmund Fodor
relation country of citizenship
type designation for an administrative territorial entity
['Rajmund Fodor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Rajmund_Fodor property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q594175,P27,c(Q15617994))
action filter_type
action find
entity Q594175
relation P27
type Q15617994
[ANSWER] is Rajmund Fodor a civilian of
['Q594175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q594175 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Hungary
Hungary is Rajmund Fodor a civilian of
Hungary
action filter_type
action find
entity Rajmund Fodor
relation country of citizenship
type designation for an administrative territorial entity
['Rajmund Fodor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Rajmund_Fodor property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1008
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Côte d'Ivoire ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P530 ?v . ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1008 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?k ) }
Côte d'Ivoire
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:diplomatic_relation ?v . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P530 ?v . ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1008 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?k ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:diplomatic_relation ?v . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q232
P530
Q15617994 Q15617994
USER
And how about Kazakhstan?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q232
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?k = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q232 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?s } }
Kazakhstan
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kazakhstan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?k = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Kazakhstan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q232
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?k = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q232 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?s } }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
151
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kazakhstan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?k = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Kazakhstan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594175
P641
Q349
USER
Which sport did Rajmund Fodor participate in ?
(Q594175,P641,c(Q349))
action filter_type
action find
entity Q594175
relation P641
type Q349
['Q594175', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q594175 property:P641 ?o . ?o rdf:type ontology:Q349 }
Rajmund Fodor
action filter_type
action find
entity Rajmund Fodor
relation sport
type sport
['Rajmund Fodor', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Rajmund_Fodor property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q7707
SYSTEM
water polo
Q7707
(Q594175,P641,c(Q349))
action filter_type
action find
entity Q594175
relation P641
type Q349
Rajmund Fodor participated in [ANSWER]
['Q594175', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q594175 property:P641 ?o . ?o rdf:type ontology:Q349 }
water polo
Rajmund Fodor participated in water polo
water polo
action filter_type
action find
entity Rajmund Fodor
relation sport
type sport
['Rajmund Fodor', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Rajmund_Fodor property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q594175
P21
Q290
USER
What is the sex of that person ?
(Q7707,P21,c(Q290))
action filter_type
action find
entity Q594175
relation P21
type Q290
['Q7707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q594175 property:P21 ?k . ?k rdf:type ontology:Q290 }
Rajmund Fodor
action filter_type
action find
entity Rajmund Fodor
relation gender
type sex
['water polo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Rajmund_Fodor property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7707,P21,c(Q290))
action filter_type
action find
entity Q594175
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q7707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q594175 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Rajmund Fodor
relation gender
type sex
['water polo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Rajmund_Fodor property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594175
P106
Q12737077
USER
Which occupation is the profession of Rajmund Fodor ?
(Q594175,P106,c(Q12737077))
action filter_type
action find
entity Q594175
relation P106
type Q12737077
['Q594175', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q594175 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Rajmund Fodor
action filter_type
action find
entity Rajmund Fodor
relation occupation
type occupation
['Rajmund Fodor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Rajmund_Fodor property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q17524364
SYSTEM
water polo player
Q17524364
(Q594175,P106,c(Q12737077))
action filter_type
action find
entity Q594175
relation P106
type Q12737077
The [ANSWER] is the profession of Rajmund Fodor
['Q594175', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q594175 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
water polo player
The water polo player is the profession of Rajmund Fodor
water polo player
action filter_type
action find
entity Rajmund Fodor
relation occupation
type occupation
['Rajmund Fodor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Rajmund_Fodor property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7707 Q1760972
P425
Q12737077
USER
How many occupations have water polo or Christian archaeology as thier field of occupation ?
(c(Q12737077),P425,Q7707) (c(Q12737077),P425,Q1760972)
action count
action union
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q1760972
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q7707'] [{'concept': 'Q12737077'}, 'P425', 'Q1760972']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P425 ?j . VALUES ( ?j ) { ( resource:Q7707 ) ( resource:Q1760972 ) } }
water polo Christian archaeology
action count
action union
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity Christian archaeology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'water polo'] [{'concept': 'occupation'}, 'field of this occupation', 'Christian archaeology']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:field_of_this_occupation ?j . VALUES ( ?j ) { ( resource:water_polo ) ( resource:Christian_archaeology ) } }
[]
occupation
SYSTEM
3
Q13382191 Q17524364 Q26261971
(c(Q12737077),P425,Q7707) (c(Q12737077),P425,Q1760972)
action count
action union
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q1760972
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q7707'] [{'concept': 'Q12737077'}, 'P425', 'Q1760972']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P425 ?j . VALUES ( ?j ) { ( resource:Q7707 ) ( resource:Q1760972 ) } }
water polo referee water polo player Christian Archaeologist
3
action count
action union
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity Christian archaeology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'water polo'] [{'concept': 'occupation'}, 'field of this occupation', 'Christian archaeology']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:field_of_this_occupation ?j . VALUES ( ?j ) { ( resource:water_polo ) ( resource:Christian_archaeology ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81581
P1376
Q1162835
USER
What has Szeged as its capital ?
(Q81581,P1376,c(Q1162835))
action filter_type
action find
entity Q81581
relation P1376
type Q1162835
['Q81581', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?o WHERE { resource:Q81581 property:P1376 ?o . ?o rdf:type ontology:Q1162835 }
Szeged
action filter_type
action find
entity Szeged
relation capital of
type district of Hungary
['Szeged', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?o WHERE { resource:Szeged property:capital_of ?o . ?o rdf:type ontology:district_of_Hungary }
[]
district of Hungary
Q260215
SYSTEM
Szeged  District
Q260215
(Q81581,P1376,c(Q1162835))
action filter_type
action find
entity Q81581
relation P1376
type Q1162835
District Szeged District has Szeged as its capital
['Q81581', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?o WHERE { resource:Q81581 property:P1376 ?o . ?o rdf:type ontology:Q1162835 }
Szeged  District
District Szeged District has Szeged as its capital
Szeged  District
action filter_type
action find
entity Szeged
relation capital of
type district of Hungary
['Szeged', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?o WHERE { resource:Szeged property:capital_of ?o . ?o rdf:type ontology:district_of_Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81581
P937
Q502895
USER
Who works at that administrative territory ?
(c(Q502895),P937,Q260215)
action filter_type
action find_reverse
entity Q81581
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q260215']
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q81581 . ?i rdf:type ontology:Q502895 }
Szeged
action filter_type
action find_reverse
entity Szeged
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Szeged  District']
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Szeged . ?i rdf:type ontology:common_name }
[]
common name
Q304031 Q525792 Q469963
SYSTEM
Leopold Löw, István Bibó, Béla Balázs
Q304031 Q525792 Q469963
(c(Q502895),P937,Q260215)
action filter_type
action find_reverse
entity Q81581
relation P937
type Q502895
[ANSWERS] work at that administrative territory
[{'concept': 'Q502895'}, 'P937', 'Q260215']
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q81581 . ?i rdf:type ontology:Q502895 }
Leopold Löw István Bibó Béla Balázs
Leopold Löw, István Bibó and Béla Balázs work at that administrative territory
Leopold Löw István Bibó Béla Balázs
action filter_type
action find_reverse
entity Szeged
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Szeged  District']
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Szeged . ?i rdf:type ontology:common_name }
[]