Simple Question (Direct)
Simple Question
Q3188942
P27
Q15617994
USER
Which administrative territory is Jules Thurmann a civilian of ?
(Q3188942,P27,c(Q15617994))
action filter_type
action find
entity Q3188942
relation P27
type Q15617994
['Q3188942', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3188942 property:P27 ?c }
Jules Thurmann
action filter_type
action find
entity Jules Thurmann
relation country of citizenship
type designation for an administrative territorial entity
['Jules Thurmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jules_Thurmann property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q3188942,P27,c(Q15617994))
action filter_type
action find
entity Q3188942
relation P27
type Q15617994
[ANSWER] is Jules Thurmann a civilian of
['Q3188942', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3188942 property:P27 ?c }
Switzerland
Switzerland is Jules Thurmann a civilian of
Switzerland
action filter_type
action find
entity Jules Thurmann
relation country of citizenship
type designation for an administrative territorial entity
['Jules Thurmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jules_Thurmann property:country_of_citizenship ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3188942
P19
Q486972
USER
Where was Jules Thurmann born ?
(Q3188942,P19,c(Q486972))
action filter_type
action find
entity Q3188942
relation P19
type Q486972
['Q3188942', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q3188942 property:P19 ?c . ?c rdf:type ontology:Q486972 }
Jules Thurmann
action filter_type
action find
entity Jules Thurmann
relation place of birth
type human settlement
['Jules Thurmann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Jules_Thurmann property:place_of_birth ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q150039
SYSTEM
Neuf-Brisach
Q150039
(Q3188942,P19,c(Q486972))
action filter_type
action find
entity Q3188942
relation P19
type Q486972
Jules Thurmann was born in [ANSWER]
['Q3188942', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q3188942 property:P19 ?c . ?c rdf:type ontology:Q486972 }
Neuf-Brisach
Jules Thurmann was born in Neuf-Brisach
Neuf-Brisach
action filter_type
action find
entity Jules Thurmann
relation place of birth
type human settlement
['Jules Thurmann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Jules_Thurmann property:place_of_birth ?c . ?c rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q150039 Q7882519 Q489911
P190
Q56061
USER
Is that human settlement a sister city of Unchalkaddi and Breisach ?
(Q150039,P190,Q7882519) (Q150039,P190,Q489911)
action is_in
entity Q150039
action intersection
action find_reverse
entity Q7882519
relation P190
action find_reverse
entity Q489911
relation P190
['Q150039', 'P190', 'Q7882519'] ['Q150039', 'P190', 'Q489911']
ASK WHERE { resource:Q150039 property:P190 resource:Q7882519 . resource:Q150039 property:P190 resource:Q489911 }
Neuf-Brisach Unchalkaddi Breisach
action is_in
entity Neuf-Brisach
action intersection
action find_reverse
entity Unchalkaddi
relation sister city
action find_reverse
entity Breisach
relation sister city
['Neuf-Brisach', 'sister city', 'Unchalkaddi'] ['Neuf-Brisach', 'sister city', 'Breisach']
ASK WHERE { resource:Neuf-Brisach property:sister_city resource:Unchalkaddi . resource:Neuf-Brisach property:sister_city resource:Breisach }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q150039,P190,Q7882519) (Q150039,P190,Q489911)
action is_in
entity Q150039
action intersection
action find_reverse
entity Q7882519
relation P190
action find_reverse
entity Q489911
relation P190
[ANSWER]
['Q150039', 'P190', 'Q7882519'] ['Q150039', 'P190', 'Q489911']
ASK WHERE { resource:Q150039 property:P190 resource:Q7882519 . resource:Q150039 property:P190 resource:Q489911 }
NO and YES respectively
action is_in
entity Neuf-Brisach
action intersection
action find_reverse
entity Unchalkaddi
relation sister city
action find_reverse
entity Breisach
relation sister city
['Neuf-Brisach', 'sister city', 'Unchalkaddi'] ['Neuf-Brisach', 'sister city', 'Breisach']
ASK WHERE { resource:Neuf-Brisach property:sister_city resource:Unchalkaddi . resource:Neuf-Brisach property:sister_city resource:Breisach }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q39 Q1813066 Q4324467
P47
Q1048835
USER
Is Switzerland next to the border of Pequi, Minas Gerais and Novomarivka ?
(Q39,P47,Q1813066) (Q39,P47,Q4324467)
action is_in
entity Q39
action intersection
action find_reverse
entity Q1813066
relation P47
action find_reverse
entity Q4324467
relation P47
['Q39', 'P47', 'Q1813066'] ['Q39', 'P47', 'Q4324467']
ASK WHERE { resource:Q39 property:P47 resource:Q1813066 . resource:Q39 property:P47 resource:Q4324467 }
Switzerland Pequi, Minas Gerais Novomarivka
action is_in
entity Switzerland
action intersection
action find_reverse
entity Pequi, Minas Gerais
relation shares border with
action find_reverse
entity Novomarivka
relation shares border with
['Switzerland', 'shares border with', 'Pequi, Minas Gerais'] ['Switzerland', 'shares border with', 'Novomarivka']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Pequi,_Minas_Gerais . resource:Switzerland property:shares_border_with resource:Novomarivka }
[]
political territorial entity
SYSTEM
NO
(Q39,P47,Q1813066) (Q39,P47,Q4324467)
action is_in
entity Q39
action intersection
action find_reverse
entity Q1813066
relation P47
action find_reverse
entity Q4324467
relation P47
[ANSWER]
['Q39', 'P47', 'Q1813066'] ['Q39', 'P47', 'Q4324467']
ASK WHERE { resource:Q39 property:P47 resource:Q1813066 . resource:Q39 property:P47 resource:Q4324467 }
No
action is_in
entity Switzerland
action intersection
action find_reverse
entity Pequi, Minas Gerais
relation shares border with
action find_reverse
entity Novomarivka
relation shares border with
['Switzerland', 'shares border with', 'Pequi, Minas Gerais'] ['Switzerland', 'shares border with', 'Novomarivka']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Pequi,_Minas_Gerais . resource:Switzerland property:shares_border_with resource:Novomarivka }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q489911
P19 P21
Q502895
USER
Which people have location of birth at Breisach and have the gender as male ?
AND((c(Q502895),P19,Q489911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q489911
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q489911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P19 resource:Q489911 . ?k property:P21 resource:Q6581097 }
male Breisach
action filter_type
action intersection
action find_reverse
entity Breisach
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Breisach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:place_of_birth resource:Breisach . ?k property:gender resource:male }
[]
common name
Q18386211 Q823798 Q1704400 Q1174528 Q22704236 Q129116 Q1403379 Q101573 Q1731362 Q18219635
SYSTEM
Some of them are Julius von Bismarck, Julian Kern, Josef Anton Bueb, David Geissmar, Franz Sigrist, Oliver Baumann, Felix Brueckmann, Karl Elbs, Carl Gutmann, Johannes Gast
Q22704236 Q1403379 Q123467 Q18386211 Q101573 Q129116 Q1174528 Q1704400 Q18219635 Q823798 Q1731362 Q1928756
AND((c(Q502895),P19,Q489911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q489911
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Breisach and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q489911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P19 resource:Q489911 . ?k property:P21 resource:Q6581097 }
Franz Sigrist Felix Brueckmann Pascal Krauss Julius von Bismarck Karl Elbs Oliver Baumann David Geissmar Josef Anton Bueb Johannes Gast Julian Kern Carl Gutmann Michael Obert
Julius von Bismarck, Julian Kern, Josef Anton Bueb, David Geissmar, Franz Sigrist, Oliver Baumann, Felix Brueckmann, Karl Elbs, Carl Gutmann and Johannes Gast have location of birth at Breisach and have the gender as male
Julius von Bismarck Julian Kern Josef Anton Bueb David Geissmar Franz Sigrist Oliver Baumann Felix Brueckmann Karl Elbs Carl Gutmann Johannes Gast
action filter_type
action intersection
action find_reverse
entity Breisach
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Breisach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:place_of_birth resource:Breisach . ?k property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q70925 Q489911
P190
Q20667921
USER
Which french administrative divisions are sister towns of Breisach or Carnac ?
OR((Q489911,P190,c(Q20667921)), (Q70925,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q489911
relation P190
action find
entity Q70925
relation P190
type Q20667921
{'OR': [['Q489911', 'P190', {'concept': 'Q20667921'}], ['Q70925', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q489911 property:P190 ?z } UNION { resource:Q70925 property:P190 ?z } } . ?z rdf:type ontology:Q20667921 }
Carnac Breisach
action filter_type
action union
action find
entity Breisach
relation sister city
action find
entity Carnac
relation sister city
type type of french administrative division
{'OR': [['Breisach', 'sister city', {'concept': 'type of french administrative division'}], ['Carnac', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Breisach property:sister_city ?z } UNION { resource:Carnac property:sister_city ?z } } . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q530721 Q384516
SYSTEM
La Clusaz, Saint-Louis
Q530721 Q384516
OR((Q489911,P190,c(Q20667921)), (Q70925,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q489911
relation P190
action find
entity Q70925
relation P190
type Q20667921
[ANSWERS] are sister towns of Breisach or Carnac
{'OR': [['Q489911', 'P190', {'concept': 'Q20667921'}], ['Q70925', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q489911 property:P190 ?z } UNION { resource:Q70925 property:P190 ?z } } . ?z rdf:type ontology:Q20667921 }
La Clusaz Saint-Louis
La Clusaz and Saint-Louis are sister towns of Breisach or Carnac
La Clusaz Saint-Louis
action filter_type
action union
action find
entity Breisach
relation sister city
action find
entity Carnac
relation sister city
type type of french administrative division
{'OR': [['Breisach', 'sister city', {'concept': 'type of french administrative division'}], ['Carnac', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Breisach property:sister_city ?z } UNION { resource:Carnac property:sister_city ?z } } . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q530721 Q384516
P190
Q56061
USER
Which administrative territories are the sister cities of La Clusaz and Saint-Louis ?
(Q530721,P190,c(Q56061)) (Q384516,P190,c(Q56061))
action union
action filter_type
action find
entity Q530721
relation P190
type Q56061
action filter_type
action find
entity Q384516
relation P190
type Q56061
['Q530721', 'P190', {'concept': 'Q56061'}] ['Q384516', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { resource:Q384516 property:P190 ?s . ?s rdf:type ontology:Q56061 } UNION { resource:Q530721 property:P190 ?s . ?s rdf:type ontology:Q56061 } }
La Clusaz Saint-Louis
action union
action filter_type
action find
entity La Clusaz
relation sister city
type administrative territorial entity
action filter_type
action find
entity Saint-Louis
relation sister city
type administrative territorial entity
['La Clusaz', 'sister city', {'concept': 'administrative territorial entity'}] ['Saint-Louis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:Saint-Louis property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity } UNION { resource:La_Clusaz property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q2048608 Q489911
SYSTEM
Pama, Burkina Faso, Breisach
Q2048608 Q489911
(Q530721,P190,c(Q56061)) (Q384516,P190,c(Q56061))
action union
action filter_type
action find
entity Q530721
relation P190
type Q56061
action filter_type
action find
entity Q384516
relation P190
type Q56061
[ANSWERS] are the sister cities of La Clusaz and Saint-Louis
['Q530721', 'P190', {'concept': 'Q56061'}] ['Q384516', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { resource:Q384516 property:P190 ?s . ?s rdf:type ontology:Q56061 } UNION { resource:Q530721 property:P190 ?s . ?s rdf:type ontology:Q56061 } }
Pama, Burkina Faso Breisach
Pama, Burkina Faso and Breisach are the sister cities of La Clusaz and Saint-Louis
Pama, Burkina Faso Breisach
action union
action filter_type
action find
entity La Clusaz
relation sister city
type administrative territorial entity
action filter_type
action find
entity Saint-Louis
relation sister city
type administrative territorial entity
['La Clusaz', 'sister city', {'concept': 'administrative territorial entity'}] ['Saint-Louis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:Saint-Louis property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity } UNION { resource:La_Clusaz property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q530721
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q530721,P17,c(Q15617994))
action filter_type
action find
entity Q530721
relation P17
type Q15617994
['Q530721', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q530721 property:P17 ?q }
La Clusaz
action filter_type
action find
entity La Clusaz
relation country
type designation for an administrative territorial entity
['La Clusaz', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:La_Clusaz property:country ?q }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q530721
SYSTEM
Did you mean La Clusaz ?
Q2048608 Q489911
(Q2048608,P17,c(Q15617994)) (Q489911,P17,c(Q15617994))
[ANSWER]
['Q2048608', 'P17', {'concept': 'Q15617994'}] ['Q489911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q530721 property:P17 ?q }
Pama, Burkina Faso Breisach
Did you mean La Clusaz ?
La Clusaz
['Pama, Burkina Faso', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Breisach', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:La_Clusaz property:country ?q }
[]
Simple Question (Coreferenced)
USER
Yes
(Q530721,P17,c(Q15617994))
['Q530721', 'P17', {'concept': 'Q15617994'}]
['La Clusaz', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q530721,P17,c(Q15617994))
action filter_type
action find
entity Q530721
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q530721', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q530721 property:P17 ?q }
France
That french administrative division is located in France
France
action filter_type
action find
entity La Clusaz
relation country
type designation for an administrative territorial entity
['La Clusaz', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:La_Clusaz property:country ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q800
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with lesser number of administrative territories than Costa Rica ?
(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 Q800
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?u ) WHERE { ?y property:P530 ?s . ?y rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q800 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
Costa Rica
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 Costa Rica
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 ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?u ) WHERE { ?y property:diplomatic_relation ?s . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Costa_Rica property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(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 Q800
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?u ) WHERE { ?y property:P530 ?s . ?y rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q800 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
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 Costa Rica
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 ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?u ) WHERE { ?y property:diplomatic_relation ?s . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Costa_Rica property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1011
P530
Q15617994 Q15617994
USER
And also tell me about Cape Verde?
(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 Q1011
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?d ) WHERE { ?e property:P530 ?a . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q1011 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?l ) }
Cape Verde
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 Cape Verde
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 ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?d ) WHERE { ?e property:diplomatic_relation ?a . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Cape_Verde property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
145
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 Q225 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 Q1011
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?d ) WHERE { ?e property:P530 ?a . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q1011 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?l ) }
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 Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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
145
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 Cape Verde
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 ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?d ) WHERE { ?e property:diplomatic_relation ?a . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Cape_Verde property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atmost 94 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 94
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?e ) WHERE { ?r property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } . FILTER ( ?e <= 94 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 94
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?e ) WHERE { ?r property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } . FILTER ( ?e <= 94 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 94
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?e ) WHERE { ?r property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } . FILTER ( ?e <= 94 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 94
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?e ) WHERE { ?r property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } . FILTER ( ?e <= 94 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P740
Q2088357
USER
What are the musical ensembles that were formed at France ?
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q142 . ?w rdf:type ontology:Q2088357 }
France
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:France . ?w rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q606650 Q2482652 Q22951192
SYSTEM
Empyr, Les Discrets, Kids United
Q2482652 Q3232823 Q14455902 Q2013381 Q16930080 Q948804 Q2113827 Q3396185 Q3562922 Q3196402 Q646039 Q845508 Q3238355 Q15052981 Q6533353 Q5205878 Q2869575 Q22951192 Q2982785 Q3498740 Q15198337 Q5934794 Q13945471 Q606650 Q2813204 Q3001954
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
The musical ensembles that were formed at France are Les [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q142 . ?w rdf:type ontology:Q2088357 }
Les Discrets Les Frères Misère Flavel & Neto Ocean Drive The Other Colors One-T Prototypes Poney Express Volo Kidtonik Era Les Hurlements d'Léo Life's Decay Y.A.S. Lethian Dreams DOP Atomic Garden Kids United Collectif Paris-Africa StereoHeroes Détroit Monade The Mess Empyr 1995 Crack ov Dawn
The musical ensembles that were formed at France are Les Empyr, Les Discrets and Kids United
Empyr Les Discrets Kids United
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:France . ?w rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22951192
P264
Q334453
USER
Which division is the record brand of that musical ensemble ?
(Q22951192,P264,c(Q334453))
action filter_type
action find
entity Q22951192
relation P264
type Q334453
['Q22951192', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q334453 . resource:Q22951192 property:P264 ?n }
Kids United
action filter_type
action find
entity Kids United
relation record label
type division
['Kids United', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:division . resource:Kids_United property:record_label ?n }
[]
division
Clarification for simple ques.
Q22951192
SYSTEM
Did you mean Kids United ?
Q606650 Q2482652 Q22951192
(Q606650,P264,c(Q334453)) (Q2482652,P264,c(Q334453)) (Q22951192,P264,c(Q334453))
[ANSWER]
['Q606650', 'P264', {'concept': 'Q334453'}] ['Q2482652', 'P264', {'concept': 'Q334453'}] ['Q22951192', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q334453 . resource:Q22951192 property:P264 ?n }
Empyr Les Discrets Kids United
Did you mean Kids United ?
Kids United
['Empyr', 'record label', {'concept': 'division'}] ['Les Discrets', 'record label', {'concept': 'division'}] ['Kids United', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:division . resource:Kids_United property:record_label ?n }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22951192,P264,c(Q334453))
['Q22951192', 'P264', {'concept': 'Q334453'}]
['Kids United', 'record label', {'concept': 'division'}]
[]
Q3392091
SYSTEM
Play On
Q3392091
(Q22951192,P264,c(Q334453))
action filter_type
action find
entity Q22951192
relation P264
type Q334453
[ANSWER] is the record brand of that musical ensemble
['Q22951192', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q334453 . resource:Q22951192 property:P264 ?n }
Play On
Play On is the record brand of that musical ensemble
Play On
action filter_type
action find
entity Kids United
relation record label
type division
['Kids United', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:division . resource:Kids_United property:record_label ?n }
[]