Simple Question (Direct)
Simple Question
Q1608835
P21
Q290
USER
What is the sex of Herbert Müller ?
(Q1608835,P21,c(Q290))
action filter_type
action find
entity Q1608835
relation P21
type Q290
['Q1608835', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1608835 property:P21 ?y . ?y rdf:type ontology:Q290 }
Herbert Müller
action filter_type
action find
entity Herbert Müller
relation gender
type sex
['Herbert Müller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Herbert_Müller property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1608835,P21,c(Q290))
action filter_type
action find
entity Q1608835
relation P21
type Q290
The sex of Herbert Müller is a [ANSWER]
['Q1608835', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1608835 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Herbert Müller is a male
male
action filter_type
action find
entity Herbert Müller
relation gender
type sex
['Herbert Müller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Herbert_Müller property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1608835
P710
Q1499496
USER
What event were Herbert Müller a participant of ?
(c(Q1499496),P710,Q1608835)
action filter_type
action find_reverse
entity Q1608835
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q1608835']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1608835 . ?x rdf:type ontology:Q1499496 }
Herbert Müller
action filter_type
action find_reverse
entity Herbert Müller
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Herbert Müller']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Herbert_Müller . ?x rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110 Q314532
SYSTEM
German presidential election, 1999, German presidential election, 2004
Q451110 Q314532
(c(Q1499496),P710,Q1608835)
action filter_type
action find_reverse
entity Q1608835
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q1608835']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1608835 . ?x rdf:type ontology:Q1499496 }
German presidential election, 1999 German presidential election, 2004
Herbert Müller were in German presidential election, 1999 and German presidential election, 2004
German presidential election, 1999 German presidential election, 2004
action filter_type
action find_reverse
entity Herbert Müller
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Herbert Müller']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Herbert_Müller . ?x rdf:type ontology:German_presidential_election }
[]
Clarification
Simple Question|Single Entity|Indirect
Q314532
P991
Q502895
USER
Which person was the elected candidate from that German presidential election ?
(Q314532,P991,c(Q502895))
action filter_type
action find
entity Q314532
relation P991
type Q502895
['Q314532', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q314532 property:P991 ?i . ?i rdf:type ontology:Q502895 }
German presidential election, 2004
action filter_type
action find
entity German presidential election, 2004
relation successful candidate
type common name
['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:German_presidential_election,_2004 property:successful_candidate ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q314532
SYSTEM
Did you mean German presidential election, 2004 ?
Q451110 Q314532
(Q451110,P991,c(Q502895)) (Q314532,P991,c(Q502895))
[ANSWER]
['Q451110', 'P991', {'concept': 'Q502895'}] ['Q314532', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q314532 property:P991 ?i . ?i rdf:type ontology:Q502895 }
German presidential election, 1999 German presidential election, 2004
Did you mean German presidential election, 2004 ?
German presidential election, 2004
['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:German_presidential_election,_2004 property:successful_candidate ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q314532,P991,c(Q502895))
['Q314532', 'P991', {'concept': 'Q502895'}]
['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}]
[]
Q2542
SYSTEM
Horst Köhler
Q2542
(Q314532,P991,c(Q502895))
action filter_type
action find
entity Q314532
relation P991
type Q502895
[ANSWER] was the elected candidate from that German presidential election
['Q314532', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q314532 property:P991 ?i . ?i rdf:type ontology:Q502895 }
Horst Köhler
Horst Köhler was the elected candidate from that German presidential election
Horst Köhler
action filter_type
action find
entity German presidential election, 2004
relation successful candidate
type common name
['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:German_presidential_election,_2004 property:successful_candidate ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2542
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q2542)
action filter_type
action find
entity Q2542
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2542']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q2542 property:P26 ?f }
Horst Köhler
action filter_type
action find
entity Horst Köhler
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Horst Köhler']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Horst_Köhler property:spouse ?f }
[]
common name
Q69129
SYSTEM
Eva Köhler
Q69129
(c(Q502895),P26,Q2542)
action filter_type
action find
entity Q2542
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q2542']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q2542 property:P26 ?f }
Eva Köhler
Eva Köhler is married to that one
Eva Köhler
action filter_type
action find
entity Horst Köhler
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Horst Köhler']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Horst_Köhler property:spouse ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314532
P17
Q1048835
USER
Which political territory does German presidential election, 2004 belong to ?
(Q314532,P17,c(Q1048835))
action filter_type
action find
entity Q314532
relation P17
type Q1048835
['Q314532', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q314532 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
German presidential election, 2004
action filter_type
action find
entity German presidential election, 2004
relation country
type political territorial entity
['German presidential election, 2004', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:German_presidential_election,_2004 property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q314532,P17,c(Q1048835))
action filter_type
action find
entity Q314532
relation P17
type Q1048835
[ANSWER] German presidential election, 2004 belongs to
['Q314532', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q314532 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Germany
Germany German presidential election, 2004 belongs to
Germany
action filter_type
action find
entity German presidential election, 2004
relation country
type political territorial entity
['German presidential election, 2004', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:German_presidential_election,_2004 property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21939834
Q1048835
USER
And what about Flagstaff Mountain?
(Q21939834,P17,c(Q1048835))
action filter_type
action find
entity Q21939834
relation P17
type Q1048835
['Q21939834', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21939834 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Flagstaff Mountain
action filter_type
action find
entity Flagstaff Mountain
relation country
type political territorial entity
['Flagstaff Mountain', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Flagstaff_Mountain property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21939834,P17,c(Q1048835))
action filter_type
action find
entity Q21939834
relation P17
type Q1048835
[ANSWER]
['Q21939834', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21939834 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Flagstaff Mountain
relation country
type political territorial entity
['Flagstaff Mountain', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Flagstaff_Mountain property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q408 Q7347376 Q10310250
P6
Q502895
USER
Does that political territory have its government headed by Robert Marshall and José Pacheko ?
(Q408,P6,Q7347376) (Q408,P6,Q10310250)
action is_in
entity Q408
action intersection
action find_reverse
entity Q7347376
relation P6
action find_reverse
entity Q10310250
relation P6
['Q408', 'P6', 'Q7347376'] ['Q408', 'P6', 'Q10310250']
ASK WHERE { resource:Q408 property:P6 resource:Q7347376 . resource:Q408 property:P6 resource:Q10310250 }
Australia Robert Marshall José Pacheko
action is_in
entity Australia
action intersection
action find_reverse
entity Robert Marshall
relation head of government
action find_reverse
entity José Pacheko
relation head of government
['Australia', 'head of government', 'Robert Marshall'] ['Australia', 'head of government', 'José Pacheko']
ASK WHERE { resource:Australia property:head_of_government resource:Robert_Marshall . resource:Australia property:head_of_government resource:José_Pacheko }
[]
common name
SYSTEM
NO
(Q408,P6,Q7347376) (Q408,P6,Q10310250)
action is_in
entity Q408
action intersection
action find_reverse
entity Q7347376
relation P6
action find_reverse
entity Q10310250
relation P6
[ANSWER]
['Q408', 'P6', 'Q7347376'] ['Q408', 'P6', 'Q10310250']
ASK WHERE { resource:Q408 property:P6 resource:Q7347376 . resource:Q408 property:P6 resource:Q10310250 }
No
action is_in
entity Australia
action intersection
action find_reverse
entity Robert Marshall
relation head of government
action find_reverse
entity José Pacheko
relation head of government
['Australia', 'head of government', 'Robert Marshall'] ['Australia', 'head of government', 'José Pacheko']
ASK WHERE { resource:Australia property:head_of_government resource:Robert_Marshall . resource:Australia property:head_of_government resource:José_Pacheko }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P530
Q56061 Q161243
USER
How many administrative territories and dependent territories have diplomatic relationships with Australia ?
(Q408,P530,c(Q56061)) (Q408,P530,c(Q161243))
action count
action union
action filter_type
action find
entity Q408
relation P530
type Q56061
action filter_type
action find
entity Q408
relation P530
type Q161243
['Q408', 'P530', {'concept': 'Q56061'}] ['Q408', 'P530', {'concept': 'Q161243'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q161243 } UNION { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q56061 } }
Australia
action count
action union
action filter_type
action find
entity Australia
relation diplomatic relation
type administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type dependent territory
['Australia', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'dependent territory'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:dependent_territory } UNION { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity dependent territory
SYSTEM
1 administrative territories and 1 dependent territories
Q334 Q30971
(Q408,P530,c(Q56061)) (Q408,P530,c(Q161243))
action count
action union
action filter_type
action find
entity Q408
relation P530
type Q56061
action filter_type
action find
entity Q408
relation P530
type Q161243
[ANSWER]
['Q408', 'P530', {'concept': 'Q56061'}] ['Q408', 'P530', {'concept': 'Q161243'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q161243 } UNION { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q56061 } }
Singapore French Polynesia
1 administrative territories and 1 dependent territories
action count
action union
action filter_type
action find
entity Australia
relation diplomatic relation
type administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type dependent territory
['Australia', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'dependent territory'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:dependent_territory } UNION { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q818383
P1313
Q12737077
USER
How many occupations are fulfilled by Germany or Cabranes ?
(Q183,P1313,c(Q12737077)) (Q818383,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q183
relation P1313
type Q12737077
action filter_type
action find
entity Q818383
relation P1313
type Q12737077
['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q818383', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?t ) { ( resource:Q818383 ) ( resource:Q183 ) } . ?t property:P1313 ?v }
Germany Cabranes
action count
action union
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
action filter_type
action find
entity Cabranes
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Cabranes', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?t ) { ( resource:Cabranes ) ( resource:Germany ) } . ?t property:office_held_by_head_of_government ?v }
[]
occupation
SYSTEM
2
Q4970706 Q26700636
(Q183,P1313,c(Q12737077)) (Q818383,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q183
relation P1313
type Q12737077
action filter_type
action find
entity Q818383
relation P1313
type Q12737077
[ANSWER]
['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q818383', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?t ) { ( resource:Q818383 ) ( resource:Q183 ) } . ?t property:P1313 ?v }
Federal Chancellor of Germany mayor of Cabranes
2
action count
action union
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
action filter_type
action find
entity Cabranes
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Cabranes', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?t ) { ( resource:Cabranes ) ( resource:Germany ) } . ?t property:office_held_by_head_of_government ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4567899 Q10310250
P27
Q15617994
USER
Which administrative territories are the native countriesof José Pacheko or Peter Theodor Holst ?
OR((Q10310250,P27,c(Q15617994)), (Q4567899,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10310250
relation P27
action find
entity Q4567899
relation P27
type Q15617994
{'OR': [['Q10310250', 'P27', {'concept': 'Q15617994'}], ['Q4567899', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q10310250 ) ( resource:Q4567899 ) } . ?v property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Peter Theodor Holst José Pacheko
action filter_type
action union
action find
entity José Pacheko
relation country of citizenship
action find
entity Peter Theodor Holst
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Pacheko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Theodor Holst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:José_Pacheko ) ( resource:Peter_Theodor_Holst ) } . ?v property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q45
SYSTEM
Norway, Portugal
Q20 Q45
OR((Q10310250,P27,c(Q15617994)), (Q4567899,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10310250
relation P27
action find
entity Q4567899
relation P27
type Q15617994
[ANSWERS] are the native countriesof José Pacheko or Peter Theodor Holst
{'OR': [['Q10310250', 'P27', {'concept': 'Q15617994'}], ['Q4567899', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q10310250 ) ( resource:Q4567899 ) } . ?v property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Norway Portugal
Norway and Portugal are the native countriesof José Pacheko or Peter Theodor Holst
Norway Portugal
action filter_type
action union
action find
entity José Pacheko
relation country of citizenship
action find
entity Peter Theodor Holst
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Pacheko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Theodor Holst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:José_Pacheko ) ( resource:Peter_Theodor_Holst ) } . ?v property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with atmost 46 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 46
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?w <= 46 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?w <= 46 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 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 Q17 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 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 46
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?w <= 46 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Japan 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 Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?w <= 46 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P610
Q14524493
USER
What is the highest point of Norway ?
(Q20,P610,c(Q14524493))
action filter_type
action find
entity Q20
relation P610
type Q14524493
['Q20', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q20 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
Norway
action filter_type
action find
entity Norway
relation highest point
type terrain
['Norway', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:Norway property:highest_point ?f . ?f rdf:type ontology:terrain }
[]
terrain
Q203942
SYSTEM
Galdhøpiggen
Q203942
(Q20,P610,c(Q14524493))
action filter_type
action find
entity Q20
relation P610
type Q14524493
The highest point of Norway is the [ANSWER]
['Q20', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q20 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
Galdhøpiggen
The highest point of Norway is the Galdhøpiggen
Galdhøpiggen
action filter_type
action find
entity Norway
relation highest point
type terrain
['Norway', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:Norway property:highest_point ?f . ?f rdf:type ontology:terrain }
[]