Simple Question (Direct)
Simple Question
Q3158681
P106
Q12737077
USER
Which occupation is the profession of Jacques Delhy ?
(Q3158681,P106,c(Q12737077))
action filter_type
action find
entity Q3158681
relation P106
type Q12737077
['Q3158681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3158681 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jacques Delhy
action filter_type
action find
entity Jacques Delhy
relation occupation
type occupation
['Jacques Delhy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacques_Delhy property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3158681,P106,c(Q12737077))
action filter_type
action find
entity Q3158681
relation P106
type Q12737077
The [ANSWER] is the profession of Jacques Delhy
['Q3158681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3158681 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician
The politician is the profession of Jacques Delhy
politician
action filter_type
action find
entity Jacques Delhy
relation occupation
type occupation
['Jacques Delhy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacques_Delhy property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3158681
P39
Q12737077
USER
What was the position held by Jacques Delhy ?
(Q3158681,P39,c(Q12737077))
action filter_type
action find
entity Q3158681
relation P39
type Q12737077
['Q3158681', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3158681 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Jacques Delhy
action filter_type
action find
entity Jacques Delhy
relation position held
type occupation
['Jacques Delhy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jacques_Delhy property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3158681,P39,c(Q12737077))
action filter_type
action find
entity Q3158681
relation P39
type Q12737077
The position held by Jacques Delhy was a member of the French National Assembly
['Q3158681', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3158681 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Jacques Delhy was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Jacques Delhy
relation position held
type occupation
['Jacques Delhy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jacques_Delhy property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3044918 Q5535
P1001
Q15617994
USER
Does Neuenrade come under the jurisdiction of member of the French National Assembly ?
(Q3044918,P1001,Q5535)
action is_in
entity Q5535
action find
entity Q3044918
relation P1001
['Q3044918', 'P1001', 'Q5535']
ASK WHERE { resource:Q3044918 property:P1001 resource:Q5535 }
member of the French National Assembly Neuenrade
action is_in
entity Neuenrade
action find
entity member of the French National Assembly
relation applies to jurisdiction
['member of the French\xa0National Assembly', 'applies to jurisdiction', 'Neuenrade']
ASK WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction resource:Neuenrade }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3044918,P1001,Q5535)
action is_in
entity Q5535
action find
entity Q3044918
relation P1001
[ANSWER]
['Q3044918', 'P1001', 'Q5535']
ASK WHERE { resource:Q3044918 property:P1001 resource:Q5535 }
No
action is_in
entity Neuenrade
action find
entity member of the French National Assembly
relation applies to jurisdiction
['member of the French\xa0National Assembly', 'applies to jurisdiction', 'Neuenrade']
ASK WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction resource:Neuenrade }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17681 Q5535
P47
Q15617994
USER
Which administrative territories have an adjacent border with Neuenrade or Tagliolo Monferrato ?
OR((c(Q15617994),P47,Q5535), (c(Q15617994),P47,Q17681))
action filter_type
action union
action find_reverse
entity Q5535
relation P47
action find_reverse
entity Q17681
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q5535'], [{'concept': 'Q15617994'}, 'P47', 'Q17681']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P47 resource:Q5535 } UNION { ?s property:P47 resource:Q17681 } } . ?s rdf:type ontology:Q15617994 }
Tagliolo Monferrato Neuenrade
action filter_type
action union
action find_reverse
entity Neuenrade
relation shares border with
action find_reverse
entity Tagliolo Monferrato
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Neuenrade'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tagliolo Monferrato']]}
SELECT DISTINCT ?s WHERE { { { ?s property:shares_border_with resource:Neuenrade } UNION { ?s property:shares_border_with resource:Tagliolo_Monferrato } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17287 Q17268 Q17314 Q17629 Q265325 Q6015 Q17376 Q17671
SYSTEM
Bosio, Belforte Monferrato, Casaleggio Boiro, Ovada, Rossiglione, Sundern, Lerma, Silvano d'Orba
Q17287 Q17268 Q17314 Q17629 Q265325 Q6015 Q17376 Q17671
OR((c(Q15617994),P47,Q5535), (c(Q15617994),P47,Q17681))
action filter_type
action union
action find_reverse
entity Q5535
relation P47
action find_reverse
entity Q17681
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Neuenrade or Tagliolo Monferrato
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q5535'], [{'concept': 'Q15617994'}, 'P47', 'Q17681']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P47 resource:Q5535 } UNION { ?s property:P47 resource:Q17681 } } . ?s rdf:type ontology:Q15617994 }
Bosio Belforte Monferrato Casaleggio Boiro Ovada Rossiglione Sundern Lerma Silvano d'Orba
Bosio, Belforte Monferrato, Casaleggio Boiro, Ovada, Rossiglione, Sundern, Lerma and Silvano d'Orba have an adjacent border with Neuenrade or Tagliolo Monferrato
Bosio Belforte Monferrato Casaleggio Boiro Ovada Rossiglione Sundern Lerma Silvano d'Orba
action filter_type
action union
action find_reverse
entity Neuenrade
relation shares border with
action find_reverse
entity Tagliolo Monferrato
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Neuenrade'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tagliolo Monferrato']]}
SELECT DISTINCT ?s WHERE { { { ?s property:shares_border_with resource:Neuenrade } UNION { ?s property:shares_border_with resource:Tagliolo_Monferrato } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9367 Q5535
P47
Q15617994
USER
Which administrative territories do Neuenrade or Frassinetto share a border with ?
OR((c(Q15617994),P47,Q5535), (c(Q15617994),P47,Q9367))
action filter_type
action union
action find_reverse
entity Q5535
relation P47
action find_reverse
entity Q9367
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q5535'], [{'concept': 'Q15617994'}, 'P47', 'Q9367']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P47 resource:Q5535 } UNION { ?w property:P47 resource:Q9367 } } . ?w rdf:type ontology:Q15617994 }
Frassinetto Neuenrade
action filter_type
action union
action find_reverse
entity Neuenrade
relation shares border with
action find_reverse
entity Frassinetto
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Neuenrade'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Frassinetto']]}
SELECT DISTINCT ?w WHERE { { { ?w property:shares_border_with resource:Neuenrade } UNION { ?w property:shares_border_with resource:Frassinetto } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9059 Q9272 Q9231 Q6015 Q10323 Q10198 Q9400
SYSTEM
Borgiallo, Chiesanuova, Castelnuovo Nigra, Sundern, Traversella, Pont-Canavese, Ingria
Q9059 Q9272 Q9231 Q6015 Q10323 Q10198 Q9400
OR((c(Q15617994),P47,Q5535), (c(Q15617994),P47,Q9367))
action filter_type
action union
action find_reverse
entity Q5535
relation P47
action find_reverse
entity Q9367
relation P47
type Q15617994
Neuenrade or Frassinetto share a border with [ANSWERS]
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q5535'], [{'concept': 'Q15617994'}, 'P47', 'Q9367']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P47 resource:Q5535 } UNION { ?w property:P47 resource:Q9367 } } . ?w rdf:type ontology:Q15617994 }
Borgiallo Chiesanuova Castelnuovo Nigra Sundern Traversella Pont-Canavese Ingria
Neuenrade or Frassinetto share a border with Borgiallo, Chiesanuova, Castelnuovo Nigra, Sundern, Traversella, Pont-Canavese and Ingria
Borgiallo Chiesanuova Castelnuovo Nigra Sundern Traversella Pont-Canavese Ingria
action filter_type
action union
action find_reverse
entity Neuenrade
relation shares border with
action find_reverse
entity Frassinetto
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Neuenrade'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Frassinetto']]}
SELECT DISTINCT ?w WHERE { { { ?w property:shares_border_with resource:Neuenrade } UNION { ?w property:shares_border_with resource:Frassinetto } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q225
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with lesser number of administrative territories than Bosnia and Herzegovina ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 . ?e property:P530 ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q225 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?u ) }
Bosnia and Herzegovina
action count
action less
action find_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 Bosnia and Herzegovina
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 ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Bosnia_and_Herzegovina property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
144
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 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 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 . ?e property:P530 ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q225 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?u ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia 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 Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
144
action count
action less
action find_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 Bosnia and Herzegovina
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 ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Bosnia_and_Herzegovina property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q711
P530
Q15617994 Q15617994
USER
And how about Mongolia?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:P530 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?h } } }
Mongolia
action count
action less
action find_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 Mongolia
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 ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:diplomatic_relation ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?h } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
136
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:P530 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?h } } }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
136
action count
action less
action find_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 Mongolia
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 ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:diplomatic_relation ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?h } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6015
P190
Q15617994
USER
Which administrative territories are sister town of Sundern ?
(c(Q15617994),P190,Q6015)
action filter_type
action find
entity Q6015
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q6015']
SELECT DISTINCT ?w WHERE { resource:Q6015 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Sundern
action filter_type
action find
entity Sundern
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Sundern']
SELECT DISTINCT ?w WHERE { resource:Sundern property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q81749 Q53846
SYSTEM
Schirgiswalde-Kirschau, Calopezzati
Q81749 Q53846
(c(Q15617994),P190,Q6015)
action filter_type
action find
entity Q6015
relation P190
type Q15617994
[ANSWERS] are sister town of Sundern
[{'concept': 'Q15617994'}, 'P190', 'Q6015']
SELECT DISTINCT ?w WHERE { resource:Q6015 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Schirgiswalde-Kirschau Calopezzati
Schirgiswalde-Kirschau and Calopezzati are sister town of Sundern
Schirgiswalde-Kirschau Calopezzati
action filter_type
action find
entity Sundern
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Sundern']
SELECT DISTINCT ?w WHERE { resource:Sundern property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q81749 Q53846
P190
Q15617994
USER
Which administrative territories are partner towns of Schirgiswalde-Kirschau and Calopezzati ?
(Q81749,P190,c(Q15617994)) (Q53846,P190,c(Q15617994))
action union
action filter_type
action find
entity Q81749
relation P190
type Q15617994
action filter_type
action find
entity Q53846
relation P190
type Q15617994
['Q81749', 'P190', {'concept': 'Q15617994'}] ['Q53846', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q81749 property:P190 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q53846 property:P190 ?m . ?m rdf:type ontology:Q15617994 } }
Schirgiswalde-Kirschau Calopezzati
action union
action filter_type
action find
entity Schirgiswalde-Kirschau
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Calopezzati
relation sister city
type designation for an administrative territorial entity
['Schirgiswalde-Kirschau', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Calopezzati', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Schirgiswalde-Kirschau property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Calopezzati property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q532807 Q6015 Q6015
SYSTEM
Denkingen for 1st, Sundern for 2nd, 3rd
Q532807 Q6015 Q6015
(Q81749,P190,c(Q15617994)) (Q53846,P190,c(Q15617994))
action union
action filter_type
action find
entity Q81749
relation P190
type Q15617994
action filter_type
action find
entity Q53846
relation P190
type Q15617994
[ANSWERS]
['Q81749', 'P190', {'concept': 'Q15617994'}] ['Q53846', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q81749 property:P190 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q53846 property:P190 ?m . ?m rdf:type ontology:Q15617994 } }
Denkingen Sundern Sundern
Denkingen, Sundern and Sundern are partner towns of Schirgiswalde-Kirschau and Calopezzati
Denkingen Sundern Sundern
action union
action filter_type
action find
entity Schirgiswalde-Kirschau
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Calopezzati
relation sister city
type designation for an administrative territorial entity
['Schirgiswalde-Kirschau', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Calopezzati', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Schirgiswalde-Kirschau property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Calopezzati property:sister_city ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q532807
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q532807,P30,c(Q2221906))
action filter_type
action find
entity Q532807
relation P30
type Q2221906
['Q532807', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q532807 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Denkingen
action filter_type
action find
entity Denkingen
relation continent
type geographic location
['Denkingen', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Denkingen property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q6015
SYSTEM
Did you mean Sundern ?
Q532807 Q6015 Q6015
(Q532807,P30,c(Q2221906)) (Q6015,P30,c(Q2221906)) (Q6015,P30,c(Q2221906))
[ANSWER]
['Q532807', 'P30', {'concept': 'Q2221906'}] ['Q6015', 'P30', {'concept': 'Q2221906'}] ['Q6015', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q532807 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Denkingen Sundern Sundern
Did you mean Sundern ?
Sundern
['Denkingen', 'continent', {'concept': 'geographic location'}] ['Sundern', 'continent', {'concept': 'geographic location'}] ['Sundern', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Denkingen property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Denkingen. Could you tell me the answer for that?
(Q532807,P30,c(Q2221906))
Q532807
['Q532807', 'P30', {'concept': 'Q2221906'}]
['Denkingen', 'continent', {'concept': 'geographic location'}]
[]
Q46
SYSTEM
Europe
Q46
(Q532807,P30,c(Q2221906))
action filter_type
action find
entity Q532807
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q532807', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q532807 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity Denkingen
relation continent
type geographic location
['Denkingen', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Denkingen property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q532807
P19
Q502895
USER
Which person has place of birth as Denkingen ?
(c(Q502895),P19,Q532807)
action filter_type
action find_reverse
entity Q532807
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q532807']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q532807 . ?c rdf:type ontology:Q502895 }
Denkingen
action filter_type
action find_reverse
entity Denkingen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Denkingen']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Denkingen . ?c rdf:type ontology:common_name }
[]
common name
Q108575
SYSTEM
Marcus Sieger
Q108575
(c(Q502895),P19,Q532807)
action filter_type
action find_reverse
entity Q532807
relation P19
type Q502895
[ANSWER] has place of birth as Denkingen
[{'concept': 'Q502895'}, 'P19', 'Q532807']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q532807 . ?c rdf:type ontology:Q502895 }
Marcus Sieger
Marcus Sieger has place of birth as Denkingen
Marcus Sieger
action filter_type
action find_reverse
entity Denkingen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Denkingen']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Denkingen . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q108575
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q108575,P27,c(Q1048835))
action filter_type
action find
entity Q108575
relation P27
type Q1048835
['Q108575', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q108575 property:P27 ?c }
Marcus Sieger
action filter_type
action find
entity Marcus Sieger
relation country of citizenship
type political territorial entity
['Marcus Sieger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Marcus_Sieger property:country_of_citizenship ?c }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q108575,P27,c(Q1048835))
action filter_type
action find
entity Q108575
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q108575', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q108575 property:P27 ?c }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Marcus Sieger
relation country of citizenship
type political territorial entity
['Marcus Sieger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Marcus_Sieger property:country_of_citizenship ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q4917522 Q142
P530
Q15617994
USER
Does Germany have diplomatic relations with Bishop Consolidated Independent School District and France ?
(Q183,P530,Q4917522) (Q183,P530,Q142)
action is_in
entity Q183
action intersection
action find_reverse
entity Q4917522
relation P530
action find_reverse
entity Q142
relation P530
['Q183', 'P530', 'Q4917522'] ['Q183', 'P530', 'Q142']
ASK WHERE { resource:Q183 property:P530 resource:Q4917522 . resource:Q183 property:P530 resource:Q142 }
Germany Bishop Consolidated Independent School District France
action is_in
entity Germany
action intersection
action find_reverse
entity Bishop Consolidated Independent School District
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['Germany', 'diplomatic relation', 'Bishop Consolidated Independent School District'] ['Germany', 'diplomatic relation', 'France']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Bishop_Consolidated_Independent_School_District . resource:Germany property:diplomatic_relation resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q4917522) (Q183,P530,Q142)
action is_in
entity Q183
action intersection
action find_reverse
entity Q4917522
relation P530
action find_reverse
entity Q142
relation P530
[ANSWER]
['Q183', 'P530', 'Q4917522'] ['Q183', 'P530', 'Q142']
ASK WHERE { resource:Q183 property:P530 resource:Q4917522 . resource:Q183 property:P530 resource:Q142 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Bishop Consolidated Independent School District
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['Germany', 'diplomatic relation', 'Bishop Consolidated Independent School District'] ['Germany', 'diplomatic relation', 'France']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Bishop_Consolidated_Independent_School_District . resource:Germany property:diplomatic_relation resource:France }
[]