Simple Question (Direct)
Simple Question
Q495828
P106
Q12737077
USER
Which occupations are the professions of Andreas Arzruni ?
(Q495828,P106,c(Q12737077))
action filter_type
action find
entity Q495828
relation P106
type Q12737077
['Q495828', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q495828 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Andreas Arzruni
action filter_type
action find
entity Andreas Arzruni
relation occupation
type occupation
['Andreas Arzruni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Andreas_Arzruni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1622272 Q13416354
SYSTEM
university teacher, mineralogist
Q1622272 Q13416354
(Q495828,P106,c(Q12737077))
action filter_type
action find
entity Q495828
relation P106
type Q12737077
The professions of Andreas Arzruni are a [ANSWERS]
['Q495828', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q495828 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
university teacher mineralogist
The professions of Andreas Arzruni are a university teacher and mineralogist
university teacher mineralogist
action filter_type
action find
entity Andreas Arzruni
relation occupation
type occupation
['Andreas Arzruni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Andreas_Arzruni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13416354
P425
Q336
USER
Which science is associated with the field of occupation mineralogist ?
(Q13416354,P425,c(Q336))
action filter_type
action find
entity Q13416354
relation P425
type Q336
['Q13416354', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { resource:Q13416354 property:P425 ?m . ?m rdf:type ontology:Q336 }
mineralogist
action filter_type
action find
entity mineralogist
relation field of this occupation
type science
['mineralogist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { resource:mineralogist property:field_of_this_occupation ?m . ?m rdf:type ontology:science }
[]
science
Q83353
SYSTEM
mineralogy
Q83353
(Q13416354,P425,c(Q336))
action filter_type
action find
entity Q13416354
relation P425
type Q336
Ogy [ANSWER] is associated with the field of occupation mineralogist
['Q13416354', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { resource:Q13416354 property:P425 ?m . ?m rdf:type ontology:Q336 }
mineralogy
Ogy mineralogy is associated with the field of occupation mineralogist
mineralogy
action filter_type
action find
entity mineralogist
relation field of this occupation
type science
['mineralogist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { resource:mineralogist property:field_of_this_occupation ?m . ?m rdf:type ontology:science }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q83353 Q23069751 Q15989296
P361
Q1914636
USER
Is mineralogy a component of Woordenlijst Nederlandse Taal (2005) and Complete Works of Voltaire (Œuvres complètes de Voltaire) ?
(Q83353,P361,Q23069751) (Q83353,P361,Q15989296)
action is_in
entity Q83353
action intersection
action find_reverse
entity Q23069751
relation P361
action find_reverse
entity Q15989296
relation P361
['Q83353', 'P361', 'Q23069751'] ['Q83353', 'P361', 'Q15989296']
ASK WHERE { resource:Q83353 property:P361 resource:Q23069751 . resource:Q83353 property:P361 resource:Q15989296 }
mineralogy Woordenlijst Nederlandse Taal (2005) Complete Works of Voltaire (Œuvres complètes de Voltaire)
action is_in
entity mineralogy
action intersection
action find_reverse
entity Woordenlijst Nederlandse Taal (2005)
relation part of
action find_reverse
entity Complete Works of Voltaire (Œuvres complètes de Voltaire)
relation part of
['mineralogy', 'part of', 'Woordenlijst Nederlandse Taal (2005)'] ['mineralogy', 'part of', 'Complete Works of Voltaire (Œuvres complètes de Voltaire)']
ASK WHERE { resource:mineralogy property:part_of resource:Woordenlijst_Nederlandse_Taal_(2005) . resource:mineralogy property:part_of resource:Complete_Works_of_Voltaire_(Œuvres_complètes_de_Voltaire) }
[]
activity
SYSTEM
NO
(Q83353,P361,Q23069751) (Q83353,P361,Q15989296)
action is_in
entity Q83353
action intersection
action find_reverse
entity Q23069751
relation P361
action find_reverse
entity Q15989296
relation P361
[ANSWER]
['Q83353', 'P361', 'Q23069751'] ['Q83353', 'P361', 'Q15989296']
ASK WHERE { resource:Q83353 property:P361 resource:Q23069751 . resource:Q83353 property:P361 resource:Q15989296 }
No
action is_in
entity mineralogy
action intersection
action find_reverse
entity Woordenlijst Nederlandse Taal (2005)
relation part of
action find_reverse
entity Complete Works of Voltaire (Œuvres complètes de Voltaire)
relation part of
['mineralogy', 'part of', 'Woordenlijst Nederlandse Taal (2005)'] ['mineralogy', 'part of', 'Complete Works of Voltaire (Œuvres complètes de Voltaire)']
ASK WHERE { resource:mineralogy property:part_of resource:Woordenlijst_Nederlandse_Taal_(2005) . resource:mineralogy property:part_of resource:Complete_Works_of_Voltaire_(Œuvres_complètes_de_Voltaire) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1427465 Q495828
P937
Q56061
USER
Which administrative territories did Andreas Arzruni or Urs Haeberlin work ?
OR((Q495828,P937,c(Q56061)), (Q1427465,P937,c(Q56061)))
action filter_type
action union
action find
entity Q495828
relation P937
action find
entity Q1427465
relation P937
type Q56061
{'OR': [['Q495828', 'P937', {'concept': 'Q56061'}], ['Q1427465', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { ?h property:P937 ?t . VALUES ( ?h ) { ( resource:Q495828 ) ( resource:Q1427465 ) } } . ?t rdf:type ontology:Q56061 }
Urs Haeberlin Andreas Arzruni
action filter_type
action union
action find
entity Andreas Arzruni
relation work location
action find
entity Urs Haeberlin
relation work location
type administrative territorial entity
{'OR': [['Andreas Arzruni', 'work location', {'concept': 'administrative territorial entity'}], ['Urs Haeberlin', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?h property:work_location ?t . VALUES ( ?h ) { ( resource:Andreas_Arzruni ) ( resource:Urs_Haeberlin ) } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3834 Q36378 Q1017
SYSTEM
Konstanz, Fribourg, Aachen
Q3834 Q36378 Q1017
OR((Q495828,P937,c(Q56061)), (Q1427465,P937,c(Q56061)))
action filter_type
action union
action find
entity Q495828
relation P937
action find
entity Q1427465
relation P937
type Q56061
Andreas Arzruni or Urs Haeberlin worked in [ANSWERS]
{'OR': [['Q495828', 'P937', {'concept': 'Q56061'}], ['Q1427465', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { ?h property:P937 ?t . VALUES ( ?h ) { ( resource:Q495828 ) ( resource:Q1427465 ) } } . ?t rdf:type ontology:Q56061 }
Konstanz Fribourg Aachen
Andreas Arzruni or Urs Haeberlin worked in Konstanz, Fribourg and Aachen
Konstanz Fribourg Aachen
action filter_type
action union
action find
entity Andreas Arzruni
relation work location
action find
entity Urs Haeberlin
relation work location
type administrative territorial entity
{'OR': [['Andreas Arzruni', 'work location', {'concept': 'administrative territorial entity'}], ['Urs Haeberlin', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?h property:work_location ?t . VALUES ( ?h ) { ( resource:Andreas_Arzruni ) ( resource:Urs_Haeberlin ) } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1017
P190
Q56061
USER
How many administrative territories are the sister cities of Aachen ?
(Q1017,P190,c(Q56061))
action count
action filter_type
action find
entity Q1017
relation P190
type Q56061
['Q1017', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q1017 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Aachen
action count
action filter_type
action find
entity Aachen
relation sister city
type administrative territorial entity
['Aachen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Aachen property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
6
Q3992 Q2592 Q41876 Q2141 Q5836 Q5465
(Q1017,P190,c(Q56061))
action count
action filter_type
action find
entity Q1017
relation P190
type Q56061
[ANSWER]
['Q1017', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q1017 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Liège Kostroma Reims Halifax Toledo Cape Town
6
action count
action filter_type
action find
entity Aachen
relation sister city
type administrative territorial entity
['Aachen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Aachen property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q490782
P190
Q56061
USER
And what about San Mauro Castelverde?
(Q490782,P190,c(Q56061))
action count
action filter_type
action find
entity Q490782
relation P190
type Q56061
['Q490782', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q490782 property:P190 ?b . ?b rdf:type ontology:Q56061 }
San Mauro Castelverde
action count
action filter_type
action find
entity San Mauro Castelverde
relation sister city
type administrative territorial entity
['San Mauro Castelverde', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:San_Mauro_Castelverde property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q828782 Q2014213
(Q490782,P190,c(Q56061))
action count
action filter_type
action find
entity Q490782
relation P190
type Q56061
[ANSWER]
['Q490782', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q490782 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Quilmes Rush
2
action count
action filter_type
action find
entity San Mauro Castelverde
relation sister city
type administrative territorial entity
['San Mauro Castelverde', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:San_Mauro_Castelverde property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q185289
Q56061
USER
And what about Pernik?
(Q185289,P190,c(Q56061))
action count
action filter_type
action find
entity Q185289
relation P190
type Q56061
['Q185289', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q185289 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Pernik
action count
action filter_type
action find
entity Pernik
relation sister city
type administrative territorial entity
['Pernik', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Pernik property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
(Q185289,P190,c(Q56061))
action count
action filter_type
action find
entity Q185289
relation P190
type Q56061
[ANSWER]
['Q185289', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q185289 property:P190 ?b . ?b rdf:type ontology:Q56061 }
15
action count
action filter_type
action find
entity Pernik
relation sister city
type administrative territorial entity
['Pernik', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Pernik property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185289
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
action filter_type
action find
entity Q185289
relation P17
type Q15617994
SELECT DISTINCT ?x WHERE { resource:Q185289 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Pernik
action filter_type
action find
entity Pernik
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Pernik property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
action filter_type
action find
entity Q185289
relation P17
type Q15617994
That administrative territory is in [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q185289 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Bulgaria
That administrative territory is in Bulgaria
Bulgaria
action filter_type
action find
entity Pernik
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Pernik property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q786
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Dominican Republic ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q786 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?u ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P530 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Dominican Republic
action count
action greater
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 Dominican Republic
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 ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?u ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:diplomatic_relation ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q786 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?u ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P530 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 Dominican Republic
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 ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?u ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:diplomatic_relation ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q783
P530
Q15617994 Q15617994
USER
And how about Honduras?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q783 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?t ) }
Honduras
action count
action greater
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 Honduras
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 ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Honduras property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q783 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?t ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 Honduras
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 ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Honduras property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q219 Q817349
P47
Q1048835
USER
How many political territories are next to the border of Bulgaria or Benitachell / El Poble Nou de Benitatxell ?
(c(Q1048835),P47,Q219) (c(Q1048835),P47,Q817349)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q817349
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q219'] [{'concept': 'Q1048835'}, 'P47', 'Q817349']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P47 ?b . VALUES ( ?b ) { ( resource:Q219 ) ( resource:Q817349 ) } }
Bulgaria Benitachell / El Poble Nou de Benitatxell
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Benitachell / El Poble Nou de Benitatxell
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bulgaria'] [{'concept': 'political territorial entity'}, 'shares border with', 'Benitachell / El Poble Nou de Benitatxell']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Bulgaria ) ( resource:Benitachell_/_El_Poble_Nou_de_Benitatxell ) } }
[]
political territorial entity
SYSTEM
2
Q521633 Q851020
(c(Q1048835),P47,Q219) (c(Q1048835),P47,Q817349)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q817349
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q219'] [{'concept': 'Q1048835'}, 'P47', 'Q817349']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P47 ?b . VALUES ( ?b ) { ( resource:Q219 ) ( resource:Q817349 ) } }
Teulada, Spain Xàbia
2
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Benitachell / El Poble Nou de Benitatxell
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bulgaria'] [{'concept': 'political territorial entity'}, 'shares border with', 'Benitachell / El Poble Nou de Benitatxell']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Bulgaria ) ( resource:Benitachell_/_El_Poble_Nou_de_Benitatxell ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219
P551
Q502895
USER
Which people live in that administrative territory ?
action filter_type
action find_reverse
entity Q219
relation P551
type Q502895
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P551 resource:Q219 }
Bulgaria
action filter_type
action find_reverse
entity Bulgaria
relation residence
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:residence resource:Bulgaria }
[]
common name
Q5395957 Q22343728 Q4718098
SYSTEM
Erukhan, Christiana Louizu, Alexandar Komanov
Q5395957 Q5210914 Q4718098 Q22343728 Q13512704
action filter_type
action find_reverse
entity Q219
relation P551
type Q502895
[ANSWERS] live in that administrative territory
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P551 resource:Q219 }
Erukhan Dalia Zafirova Alexandar Komanov Christiana Louizu Nadejda Vassileva
Erukhan, Christiana Louizu and Alexandar Komanov live in that administrative territory
Erukhan Christiana Louizu Alexandar Komanov
action filter_type
action find_reverse
entity Bulgaria
relation residence
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:residence resource:Bulgaria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1017
P6
Q502895
USER
What people are Aachen the head of goverment of ?
(Q1017,P6,c(Q502895))
action filter_type
action find
entity Q1017
relation P6
type Q502895
['Q1017', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1017 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Aachen
action filter_type
action find
entity Aachen
relation head of government
type common name
['Aachen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Aachen property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q98368 Q97988 Q1777457
SYSTEM
Kurt Malangré, Jürgen Linden, Albert Maas
Q98368 Q1893149 Q97988 Q1611480 Q1777457
(Q1017,P6,c(Q502895))
action filter_type
action find
entity Q1017
relation P6
type Q502895
[ANSWERS] are Aachen the head of goverment of
['Q1017', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1017 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Kurt Malangré Marcel Philipp Jürgen Linden Hermann Heusch Albert Maas
Kurt Malangré, Jürgen Linden and Albert Maas are Aachen the head of goverment of
Kurt Malangré Jürgen Linden Albert Maas
action filter_type
action find
entity Aachen
relation head of government
type common name
['Aachen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Aachen property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q97988
P710
Q1499496
USER
What event did that person particiate in ?
(c(Q1499496),P710,Q97988)
action filter_type
action find_reverse
entity Q97988
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q97988']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q97988 . ?h rdf:type ontology:Q1499496 }
Jürgen Linden
action filter_type
action find_reverse
entity Jürgen Linden
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jürgen Linden']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:Jürgen_Linden . ?h rdf:type ontology:German_presidential_election }
[]
German presidential election
Clarification for simple ques.
Q97988
SYSTEM
Did you mean Jürgen Linden ?
Q98368 Q97988 Q1777457
(c(Q1499496),P710,Q98368) (c(Q1499496),P710,Q97988) (c(Q1499496),P710,Q1777457)
[ANSWER]
[{'concept': 'Q1499496'}, 'P710', 'Q98368'] [{'concept': 'Q1499496'}, 'P710', 'Q97988'] [{'concept': 'Q1499496'}, 'P710', 'Q1777457']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q97988 . ?h rdf:type ontology:Q1499496 }
Kurt Malangré Jürgen Linden Albert Maas
Did you mean Jürgen Linden ?
Jürgen Linden
[{'concept': 'German presidential election'}, 'participant', 'Kurt Malangré'] [{'concept': 'German presidential election'}, 'participant', 'Jürgen Linden'] [{'concept': 'German presidential election'}, 'participant', 'Albert Maas']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:Jürgen_Linden . ?h rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1499496),P710,Q97988)
[{'concept': 'Q1499496'}, 'P710', 'Q97988']
[{'concept': 'German presidential election'}, 'participant', 'Jürgen Linden']
[]
Q451110
SYSTEM
German presidential election, 1999
Q451110
(c(Q1499496),P710,Q97988)
action filter_type
action find_reverse
entity Q97988
relation P710
type Q1499496
That person particiated in [ANSWER]
[{'concept': 'Q1499496'}, 'P710', 'Q97988']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q97988 . ?h rdf:type ontology:Q1499496 }
German presidential election, 1999
That person particiated in German presidential election, 1999
German presidential election, 1999
action filter_type
action find_reverse
entity Jürgen Linden
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jürgen Linden']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:Jürgen_Linden . ?h rdf:type ontology:German_presidential_election }
[]