Simple Question (Direct)
Simple Question
Q7564466
P735
Q82799
USER
What is forename of Souleymane Sylla ?
(Q7564466,P735,c(Q82799))
action filter_type
action find
entity Q7564466
relation P735
type Q82799
['Q7564466', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q7564466 property:P735 ?o }
Souleymane Sylla
action filter_type
action find
entity Souleymane Sylla
relation given name
type name
['Souleymane Sylla', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Souleymane_Sylla property:given_name ?o }
[]
name
Q2304036
SYSTEM
Souleymane
Q2304036
(Q7564466,P735,c(Q82799))
action filter_type
action find
entity Q7564466
relation P735
type Q82799
Forename of [ANSWER] Sylla is of [ANSWER]
['Q7564466', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q7564466 property:P735 ?o }
Souleymane
Forename of Souleymane Sylla is of Souleymane
Souleymane
action filter_type
action find
entity Souleymane Sylla
relation given name
type name
['Souleymane Sylla', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Souleymane_Sylla property:given_name ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7564466
P21
Q290
USER
What is the sex of Souleymane Sylla ?
(Q7564466,P21,c(Q290))
action filter_type
action find
entity Q7564466
relation P21
type Q290
['Q7564466', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7564466 property:P21 ?b . ?b rdf:type ontology:Q290 }
Souleymane Sylla
action filter_type
action find
entity Souleymane Sylla
relation gender
type sex
['Souleymane Sylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Souleymane_Sylla property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7564466,P21,c(Q290))
action filter_type
action find
entity Q7564466
relation P21
type Q290
The sex of Souleymane Sylla is the [ANSWER]
['Q7564466', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7564466 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Souleymane Sylla is the male
male
action filter_type
action find
entity Souleymane Sylla
relation gender
type sex
['Souleymane Sylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Souleymane_Sylla property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7564466
P641
Q349
USER
Which sport was Souleymane Sylla a part of ?
(Q7564466,P641,c(Q349))
action filter_type
action find
entity Q7564466
relation P641
type Q349
['Q7564466', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7564466 property:P641 ?m . ?m rdf:type ontology:Q349 }
Souleymane Sylla
action filter_type
action find
entity Souleymane Sylla
relation sport
type sport
['Souleymane Sylla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Souleymane_Sylla property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7564466,P641,c(Q349))
action filter_type
action find
entity Q7564466
relation P641
type Q349
Which sport was Souleymane Sylla a part of
['Q7564466', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7564466 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Which sport was Souleymane Sylla a part of
association football
action filter_type
action find
entity Souleymane Sylla
relation sport
type sport
['Souleymane Sylla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Souleymane_Sylla property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7564466
P27
Q15617994
USER
Which administrative territory is Souleymane Sylla an inhabitant of ?
(Q7564466,P27,c(Q15617994))
action filter_type
action find
entity Q7564466
relation P27
type Q15617994
['Q7564466', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7564466 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Souleymane Sylla
action filter_type
action find
entity Souleymane Sylla
relation country of citizenship
type designation for an administrative territorial entity
['Souleymane Sylla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Souleymane_Sylla property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1006
SYSTEM
Guinea
Q1006
(Q7564466,P27,c(Q15617994))
action filter_type
action find
entity Q7564466
relation P27
type Q15617994
[ANSWER] is Souleymane Sylla an inhabitant of
['Q7564466', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7564466 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Guinea
Guinea is Souleymane Sylla an inhabitant of
Guinea
action filter_type
action find
entity Souleymane Sylla
relation country of citizenship
type designation for an administrative territorial entity
['Souleymane Sylla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Souleymane_Sylla property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1006
P1001
Q1292279
USER
Which political borders apply to jurisdiction over that administrative territory ?
(c(Q1292279),P1001,Q1006)
action filter_type
action find_reverse
entity Q1006
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q1006']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q1006 . ?f rdf:type ontology:Q1292279 }
Guinea
action filter_type
action find_reverse
entity Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Guinea . ?f rdf:type ontology:political_border }
[]
political border
Q3088888 Q682804 Q3088930
SYSTEM
Côte d'Ivoire–Guinea border, Guinea–Guinea-Bissau border, Guinea–Mali border
Q3088888 Q682804 Q3088930 Q3088932 Q3088927 Q3088929
(c(Q1292279),P1001,Q1006)
action filter_type
action find_reverse
entity Q1006
relation P1001
type Q1292279
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q1292279'}, 'P1001', 'Q1006']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q1006 . ?f rdf:type ontology:Q1292279 }
Côte d'Ivoire–Guinea border Guinea–Guinea-Bissau border Guinea–Mali border Guinea–Senegal border Guinea–Sierra Leone border Guinea–Liberia border
Côte d'Ivoire–Guinea border, Guinea–Guinea-Bissau border and Guinea–Mali border apply to jurisdiction over that administrative territory
Côte d'Ivoire–Guinea border Guinea–Guinea-Bissau border Guinea–Mali border
action filter_type
action find_reverse
entity Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Guinea . ?f rdf:type ontology:political_border }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q657 Q1006
P1001
Q1292279
USER
Or Chad?
OR((c(Q1292279),P1001,Q1006), (c(Q1292279),P1001,Q657))
action filter_type
action union
action find_reverse
entity Q1006
relation P1001
action find_reverse
entity Q657
relation P1001
type Q1292279
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q1006'], [{'concept': 'Q1292279'}, 'P1001', 'Q657']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1292279 . { ?o property:P1001 ?g . VALUES ( ?g ) { ( resource:Q1006 ) ( resource:Q657 ) } } }
Chad Guinea
action filter_type
action union
action find_reverse
entity Guinea
relation applies to jurisdiction
action find_reverse
entity Chad
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Chad']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_border . { ?o property:applies_to_jurisdiction ?g . VALUES ( ?g ) { ( resource:Guinea ) ( resource:Chad ) } } }
[]
political border
Q682804 Q3088969 Q3089174 Q3088932 Q3088929 Q3089051 Q3088930 Q3088888 Q3088927 Q3089176
SYSTEM
Some of them are Guinea–Guinea-Bissau border, Central African Republic–Chad border, Chad–Niger border, Guinea–Senegal border, Guinea–Liberia border, Cameroon–Chad border, Guinea–Mali border, Côte d'Ivoire–Guinea border, Guinea–Sierra Leone border, Chad–Nigeria border
Q3088888 Q3088946 Q3088969 Q682804 Q3089051 Q3088930 Q3088932 Q3089188 Q3088927 Q3088929 Q3089176 Q3089174
OR((c(Q1292279),P1001,Q1006), (c(Q1292279),P1001,Q657))
action filter_type
action union
action find_reverse
entity Q1006
relation P1001
action find_reverse
entity Q657
relation P1001
type Q1292279
[ANSWERS]
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q1006'], [{'concept': 'Q1292279'}, 'P1001', 'Q657']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1292279 . { ?o property:P1001 ?g . VALUES ( ?g ) { ( resource:Q1006 ) ( resource:Q657 ) } } }
Côte d'Ivoire–Guinea border Chad–Libya border Central African Republic–Chad border Guinea–Guinea-Bissau border Cameroon–Chad border Guinea–Mali border Guinea–Senegal border Chad–Sudan border Guinea–Sierra Leone border Guinea–Liberia border Chad–Nigeria border Chad–Niger border
Guinea–Guinea-Bissau border Central African Republic–Chad border Chad–Niger border Guinea–Senegal border Guinea–Liberia border Cameroon–Chad border Guinea–Mali border Côte d'Ivoire–Guinea border Guinea–Sierra Leone border Chad–Nigeria border
action filter_type
action union
action find_reverse
entity Guinea
relation applies to jurisdiction
action find_reverse
entity Chad
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Chad']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_border . { ?o property:applies_to_jurisdiction ?g . VALUES ( ?g ) { ( resource:Guinea ) ( resource:Chad ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1006
P1532
Q1194951 Q6979593
USER
How many national sports teams or national association football teams play for Guinea ?
(c(Q1194951),P1532,Q1006) (c(Q6979593),P1532,Q1006)
action count
action union
action filter_type
action find_reverse
entity Q1006
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q1006
relation P1532
type Q6979593
[{'concept': 'Q1194951'}, 'P1532', 'Q1006'] [{'concept': 'Q6979593'}, 'P1532', 'Q1006']
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1194951 ) ( ontology:Q6979593 ) } }
Guinea
action count
action union
action filter_type
action find_reverse
entity Guinea
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Guinea
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Guinea'] [{'concept': 'national association football team'}, 'country for sport', 'Guinea']
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:national_sports_team ) ( ontology:national_association_football_team ) } }
[]
national sports team national association football team
SYSTEM
2
Q1813717 Q235411
(c(Q1194951),P1532,Q1006) (c(Q6979593),P1532,Q1006)
action count
action union
action filter_type
action find_reverse
entity Q1006
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q1006
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q1006'] [{'concept': 'Q6979593'}, 'P1532', 'Q1006']
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1194951 ) ( ontology:Q6979593 ) } }
Guinea women's national football team Guinea national football team
2
action count
action union
action filter_type
action find_reverse
entity Guinea
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Guinea
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Guinea'] [{'concept': 'national association football team'}, 'country for sport', 'Guinea']
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:national_sports_team ) ( ontology:national_association_football_team ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q9275849
P1001
Q56061 Q1048835 Q1292279
USER
Which political borders have jurisdiction over more number of administrative territories or political territories than Latvia–Poland border ?
(c(Q1292279),P1001,c(Q56061)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action count
action filter_multi_types
action find
entity Q9275849
relation P1001
type Q56061
type Q1048835
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?y rdf:type ?x } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } } . resource:Q9275849 property:P1001 ?v } } . FILTER ( ?t > ?i ) }
Latvia–Poland border
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action count
action filter_multi_types
action find
entity Latvia–Poland border
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?y rdf:type ?x } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . resource:Latvia–Poland_border property:applies_to_jurisdiction ?v } } . FILTER ( ?t > ?i ) }
[]
administrative territorial entity political territorial entity political border
Q3088733 Q17355600 Q3088698
SYSTEM
Australia–France border, France–Saint Kitts and Nevis border, Belgium–Germany border
Q3088900 Q16025014 Q17351351 Q14905346 Q1991324 Q3089067 Q2457112 Q17351769 Q17351763 Q17351760 Q17351767 Q17351764 Q17351765 Q26833576 Q26833575 Q15214996 Q2311003 Q1991275 Q17355600 Q119515 Q17351736 Q1991986 Q3088742 Q3088744 Q3088698 Q2749188 Q17351756 Q17351814 Q17351816 Q17351817 Q17351811 Q1991943 Q17351790 Q3089046 Q3089042 Q3088708 Q16024884 Q17351719 Q17351713 Q17351712 Q17351711 Q17351710 Q17351714 Q17351326 Q16025247 Q1991486 Q16025208 Q16025205 Q17351825 Q17351824 Q17351826 Q17351822 Q17351829 Q17351828 Q1991225 Q3088914 Q17351707 Q3088775 Q17351743 Q2412103 Q1991956 Q1991810 Q3088956 Q3089076 Q2457562 Q2422197 Q17351708 Q17351709 Q17351704 Q17351705 Q17351796 Q3088733 Q17351834 Q21685994
(c(Q1292279),P1001,c(Q56061)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action count
action filter_multi_types
action find
entity Q9275849
relation P1001
type Q56061
type Q1048835
[ANSWERS] have jurisdiction over more number of administrative territories or political territories than Latvia–Poland border
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?y rdf:type ?x } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } } . resource:Q9275849 property:P1001 ?v } } . FILTER ( ?t > ?i ) }
France–New Zealand border Canada–Denmark border Antigua and Barbuda–United Kingdom border Denmark–Poland border Austria–Liechtenstein border Denmark–Iceland border Czech Republic–Germany border Honduras–Jamaica border Grenada–Saint Vincent and the Grenadines border Gabon–São Tomé and Príncipe border Haiti–Jamaica border Grenada–Trinidad and Tobago border Grenada–Venezuela border France–Jersey border France–Guernsey border Germany–Poland border Colombia–Jamaica border Austria–Slovakia border France–Saint Kitts and Nevis border Canada–United States border Cuba–Jamaica border Austria–Germany border Austria–Czech Republic border Austria–Slovenia border Belgium–Germany border Equatorial Guinea–Gabon border Fiji–Solomon Islands border Netherlands–Saint Kitts and Nevis border New Zealand–Samoa border New Zealand–Tonga border Micronesia–Papua New Guinea border Austria–Hungary border Jamaica–United Kingdom border Canada–France Maritime Boundary Case Cameroon–Gabon border Germany–Luxembourg border Australia–Papua New Guinea border Barbados–Saint Vincent and the Grenadines border Bahamas–United Kingdom border Bahamas–Haiti border Bahamas–Cuba border Australia–Solomon Islands border Bahamas–United States border Antigua and Barbuda–France border Germany–Sweden border Austria–Switzerland border Denmark–United Kingdom border Germany–United Kingdom border Saint Kitts and Nevis–Venezuela border Saint Kitts and Nevis–United Kingdom border Saint Lucia–Saint Vincent and the Grenadines border Papua New Guinea–Solomon Islands border Saint Vincent and the Grenadines–Venezuela border Saint Vincent and the Grenadines–Trinidad and Tobago border France–Germany border France–Solomon Islands border Australia–East Timor border Indonesia–Papua New Guinea border Denmark–Norway border Indonesia–Singapore border Austria–Italy border Germany–Switzerland border Malaysia–Singapore border Gabon–Republic of the Congo border Italy–Vatican City border Denmark–Germany border Australia–Indonesia border Australia–New Zealand border Angola–Gabon border Antigua and Barbuda–Saint Kitts and Nevis border Kiribati–New Zealand border Australia–France border Solomon Islands–Vanuatu border Denmark–Sweden border
Australia–France border, France–Saint Kitts and Nevis border and Belgium–Germany border have jurisdiction over more number of administrative territories or political territories than Latvia–Poland border
Australia–France border France–Saint Kitts and Nevis border Belgium–Germany border
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action count
action filter_multi_types
action find
entity Latvia–Poland border
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?y rdf:type ?x } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . resource:Latvia–Poland_border property:applies_to_jurisdiction ?v } } . FILTER ( ?t > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16025257
P1001
Q56061 Q1048835 Q1292279
USER
And what about Lithuania–Sweden border?
(c(Q1292279),P1001,c(Q56061)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action count
action filter_multi_types
action find
entity Q16025257
relation P1001
type Q56061
type Q1048835
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q16025257 property:P1001 ?i . { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { { ?e rdf:type ontology:Q1292279 . ?z rdf:type ontology:Q56061 . ?e property:P1001 ?z } UNION { ?e property:P1001 ?z . ?e rdf:type ontology:Q1292279 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?e } }
Lithuania–Sweden border
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action count
action filter_multi_types
action find
entity Lithuania–Sweden border
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Lithuania–Sweden_border property:applies_to_jurisdiction ?i . { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { { ?e rdf:type ontology:political_border . ?z rdf:type ontology:administrative_territorial_entity . ?e property:applies_to_jurisdiction ?z } UNION { ?e property:applies_to_jurisdiction ?z . ?e rdf:type ontology:political_border . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?e } }
[]
administrative territorial entity political territorial entity political border
Q3088733 Q17355600 Q3088698
SYSTEM
Australia–France border, France–Saint Kitts and Nevis border, Belgium–Germany border
Q3088900 Q16025014 Q17351351 Q14905346 Q1991324 Q3089067 Q2457112 Q17351769 Q17351763 Q17351760 Q17351767 Q17351764 Q17351765 Q26833576 Q26833575 Q15214996 Q2311003 Q1991275 Q17355600 Q119515 Q17351736 Q1991986 Q3088742 Q3088744 Q3088698 Q2749188 Q17351756 Q17351814 Q17351816 Q17351817 Q17351811 Q1991943 Q17351790 Q3089046 Q3089042 Q3088708 Q16024884 Q17351719 Q17351713 Q17351712 Q17351711 Q17351710 Q17351714 Q17351326 Q16025247 Q1991486 Q16025208 Q16025205 Q17351825 Q17351824 Q17351826 Q17351822 Q17351829 Q17351828 Q1991225 Q3088914 Q17351707 Q3088775 Q17351743 Q2412103 Q1991956 Q1991810 Q3088956 Q3089076 Q2457562 Q2422197 Q17351708 Q17351709 Q17351704 Q17351705 Q17351796 Q3088733 Q17351834 Q21685994
(c(Q1292279),P1001,c(Q56061)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action count
action filter_multi_types
action find
entity Q16025257
relation P1001
type Q56061
type Q1048835
[ANSWERS]
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q16025257 property:P1001 ?i . { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { { ?e rdf:type ontology:Q1292279 . ?z rdf:type ontology:Q56061 . ?e property:P1001 ?z } UNION { ?e property:P1001 ?z . ?e rdf:type ontology:Q1292279 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?e } }
France–New Zealand border Canada–Denmark border Antigua and Barbuda–United Kingdom border Denmark–Poland border Austria–Liechtenstein border Denmark–Iceland border Czech Republic–Germany border Honduras–Jamaica border Grenada–Saint Vincent and the Grenadines border Gabon–São Tomé and Príncipe border Haiti–Jamaica border Grenada–Trinidad and Tobago border Grenada–Venezuela border France–Jersey border France–Guernsey border Germany–Poland border Colombia–Jamaica border Austria–Slovakia border France–Saint Kitts and Nevis border Canada–United States border Cuba–Jamaica border Austria–Germany border Austria–Czech Republic border Austria–Slovenia border Belgium–Germany border Equatorial Guinea–Gabon border Fiji–Solomon Islands border Netherlands–Saint Kitts and Nevis border New Zealand–Samoa border New Zealand–Tonga border Micronesia–Papua New Guinea border Austria–Hungary border Jamaica–United Kingdom border Canada–France Maritime Boundary Case Cameroon–Gabon border Germany–Luxembourg border Australia–Papua New Guinea border Barbados–Saint Vincent and the Grenadines border Bahamas–United Kingdom border Bahamas–Haiti border Bahamas–Cuba border Australia–Solomon Islands border Bahamas–United States border Antigua and Barbuda–France border Germany–Sweden border Austria–Switzerland border Denmark–United Kingdom border Germany–United Kingdom border Saint Kitts and Nevis–Venezuela border Saint Kitts and Nevis–United Kingdom border Saint Lucia–Saint Vincent and the Grenadines border Papua New Guinea–Solomon Islands border Saint Vincent and the Grenadines–Venezuela border Saint Vincent and the Grenadines–Trinidad and Tobago border France–Germany border France–Solomon Islands border Australia–East Timor border Indonesia–Papua New Guinea border Denmark–Norway border Indonesia–Singapore border Austria–Italy border Germany–Switzerland border Malaysia–Singapore border Gabon–Republic of the Congo border Italy–Vatican City border Denmark–Germany border Australia–Indonesia border Australia–New Zealand border Angola–Gabon border Antigua and Barbuda–Saint Kitts and Nevis border Kiribati–New Zealand border Australia–France border Solomon Islands–Vanuatu border Denmark–Sweden border
Australia–France border France–Saint Kitts and Nevis border Belgium–Germany border
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action count
action filter_multi_types
action find
entity Lithuania–Sweden border
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Lithuania–Sweden_border property:applies_to_jurisdiction ?i . { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { { ?e rdf:type ontology:political_border . ?z rdf:type ontology:administrative_territorial_entity . ?e property:applies_to_jurisdiction ?z } UNION { ?e property:applies_to_jurisdiction ?z . ?e rdf:type ontology:political_border . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q12737077 Q151885 Q82799
USER
How many names are the eponym of exactly 1 occupations or concepts ?
(c(Q82799),P138,c(Q12737077)|c(Q151885))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action find_tuple_counts
relation P138
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?a WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?j rdf:type ?g } GROUP BY ?a } . FILTER ( ?q = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type name
type occupation
action find_tuple_counts
relation named after
type name
type concept
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'occupation'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?a WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:concept ) } . ?j rdf:type ?g } GROUP BY ?a } . FILTER ( ?q = 1 ) }
[]
occupation concept name
SYSTEM
23
Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q13626156 Q16860286 Q16865812 Q1755217 Q24689291 Q16148136 Q19899706
(c(Q82799),P138,c(Q12737077)|c(Q151885))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action find_tuple_counts
relation P138
type Q82799
type Q151885
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?a WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?j rdf:type ?g } GROUP BY ?a } . FILTER ( ?q = 1 ) }
Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Ackermann Boucher Couture Magowan Vigneron Archer Sawyer
23
action count
action equal
action union
action find_tuple_counts
relation named after
type name
type occupation
action find_tuple_counts
relation named after
type name
type concept
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'occupation'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?a WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:concept ) } . ?j rdf:type ?g } GROUP BY ?a } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1006
P35
Q502895
USER
Which person has the highest formal authority in Guinea ?
(Q1006,P35,c(Q502895))
action filter_type
action find
entity Q1006
relation P35
type Q502895
['Q1006', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1006 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Guinea
action filter_type
action find
entity Guinea
relation head of state
type common name
['Guinea', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Guinea property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q4413
SYSTEM
Alpha Condé
Q4413
(Q1006,P35,c(Q502895))
action filter_type
action find
entity Q1006
relation P35
type Q502895
[ANSWER] has the highest formal authority in Guinea
['Q1006', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1006 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Alpha Condé
Alpha Condé has the highest formal authority in Guinea
Alpha Condé
action filter_type
action find
entity Guinea
relation head of state
type common name
['Guinea', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Guinea property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q211
Q502895
USER
And what about Latvia?
(Q211,P35,c(Q502895))
action filter_type
action find
entity Q211
relation P35
type Q502895
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q211 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Latvia
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Latvia property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
common name
Q57506 Q2416022
SYSTEM
Andris Bērziņš, Raimonds Vējonis
Q57506 Q2416022
(Q211,P35,c(Q502895))
action filter_type
action find
entity Q211
relation P35
type Q502895
[ANSWERS]
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q211 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Andris Bērziņš Raimonds Vējonis
Andris Bērziņš Raimonds Vējonis
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Latvia property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]