Simple Question (Direct)
Simple Question
Q105423
P17
Q15617994
USER
Which administrative territory is Ossimo situated in ?
(Q105423,P17,c(Q15617994))
action filter_type
action find
entity Q105423
relation P17
type Q15617994
['Q105423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q105423 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Ossimo
action filter_type
action find
entity Ossimo
relation country
type designation for an administrative territorial entity
['Ossimo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ossimo property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q105423,P17,c(Q15617994))
action filter_type
action find
entity Q105423
relation P17
type Q15617994
Ossimo is situated in [ANSWER]
['Q105423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q105423 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Italy
Ossimo is situated in Italy
Italy
action filter_type
action find
entity Ossimo
relation country
type designation for an administrative territorial entity
['Ossimo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ossimo property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q38,P163,c(Q14660))
action filter_type
action find
entity Q38
relation P163
type Q14660
['Q38', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q38 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Italy
action filter_type
action find
entity Italy
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Italy property:flag ?o . ?o rdf:type ontology:flag }
[]
flag
Q42876
SYSTEM
Flag of Italy
Q42876
(Q38,P163,c(Q14660))
action filter_type
action find
entity Q38
relation P163
type Q14660
Italy [ANSWER] is associated with that administrative territory
['Q38', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q38 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Flag of Italy
Italy Flag of Italy is associated with that administrative territory
Flag of Italy
action filter_type
action find
entity Italy
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Italy property:flag ?o . ?o rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1001
Q3943414
USER
Which free software license has jurisdiction over Italy ?
(c(Q3943414),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q3943414
[{'concept': 'Q3943414'}, 'P1001', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q38 . ?t rdf:type ontology:Q3943414 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type free software license
[{'concept': 'free software license'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Italy . ?t rdf:type ontology:free_software_license }
[]
free software license
Q16566743
SYSTEM
Italian Open Data License
Q16566743
(c(Q3943414),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q3943414
[ANSWER] has jurisdiction over Italy
[{'concept': 'Q3943414'}, 'P1001', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q38 . ?t rdf:type ontology:Q3943414 }
Italian Open Data License
Italian Open Data License has jurisdiction over Italy
Italian Open Data License
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type free software license
[{'concept': 'free software license'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Italy . ?t rdf:type ontology:free_software_license }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P47
Q15617994
USER
Who share the border with Italy ?
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q38
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q38 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Italy property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39 Q215
SYSTEM
France, Switzerland, Slovenia
Q142 Q39 Q238 Q215
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q38
relation P47
type Q15617994
[ANSWERS] share the border with Italy
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q38 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
France Switzerland San Marino Slovenia
France, Switzerland and Slovenia share the border with Italy
France Switzerland Slovenia
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Italy property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q38
Q1048835
USER
And which political territory?
(Q38,P47,c(Q1048835))
action filter_type
action find
entity Q38
relation P47
type Q1048835
['Q38', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
['Italy', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q38,P47,c(Q1048835))
action filter_type
action find
entity Q38
relation P47
type Q1048835
[ANSWER]
['Q38', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Austria
Austria
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
['Italy', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q40 Q408 Q4424255
P530
Q1048835
USER
Does that political territory have ambassadorial relations with Australia and Smile ?
(Q40,P530,Q408) (Q40,P530,Q4424255)
action is_in
entity Q40
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4424255
relation P530
['Q40', 'P530', 'Q408'] ['Q40', 'P530', 'Q4424255']
ASK WHERE { resource:Q40 property:P530 resource:Q408 . resource:Q40 property:P530 resource:Q4424255 }
Austria Australia Smile
action is_in
entity Austria
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Smile
relation diplomatic relation
['Austria', 'diplomatic relation', 'Australia'] ['Austria', 'diplomatic relation', 'Smile']
ASK WHERE { resource:Austria property:diplomatic_relation resource:Australia . resource:Austria property:diplomatic_relation resource:Smile }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q40,P530,Q408) (Q40,P530,Q4424255)
action is_in
entity Q40
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4424255
relation P530
[ANSWER]
['Q40', 'P530', 'Q408'] ['Q40', 'P530', 'Q4424255']
ASK WHERE { resource:Q40 property:P530 resource:Q408 . resource:Q40 property:P530 resource:Q4424255 }
YES and NO respectively
action is_in
entity Austria
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Smile
relation diplomatic relation
['Austria', 'diplomatic relation', 'Australia'] ['Austria', 'diplomatic relation', 'Smile']
ASK WHERE { resource:Austria property:diplomatic_relation resource:Australia . resource:Austria property:diplomatic_relation resource:Smile }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q42876 Q38
P1001
Q15617994
USER
Does Italy come under the supervision of Flag of Italy ?
(Q42876,P1001,Q38)
action is_in
entity Q38
action find
entity Q42876
relation P1001
['Q42876', 'P1001', 'Q38']
ASK WHERE { resource:Q42876 property:P1001 resource:Q38 }
Flag of Italy Italy
action is_in
entity Italy
action find
entity Flag of Italy
relation applies to jurisdiction
['Flag of Italy', 'applies to jurisdiction', 'Italy']
ASK WHERE { resource:Flag_of_Italy property:applies_to_jurisdiction resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q42876,P1001,Q38)
action is_in
entity Q38
action find
entity Q42876
relation P1001
[ANSWER]
['Q42876', 'P1001', 'Q38']
ASK WHERE { resource:Q42876 property:P1001 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Flag of Italy
relation applies to jurisdiction
['Flag of Italy', 'applies to jurisdiction', 'Italy']
ASK WHERE { resource:Flag_of_Italy property:applies_to_jurisdiction resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q42876 Q131469
P163
Q15617994
USER
How many administrative territories are associated with Flag of Italy or flag of Malta ?
(c(Q15617994),P163,Q42876) (c(Q15617994),P163,Q131469)
action count
action union
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q131469
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q42876'] [{'concept': 'Q15617994'}, 'P163', 'Q131469']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P163 resource:Q42876 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?l property:P163 resource:Q131469 } }
Flag of Italy flag of Malta
action count
action union
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of Malta
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Malta']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:flag resource:Flag_of_Italy . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:flag resource:flag_of_Malta } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q38 Q233
(c(Q15617994),P163,Q42876) (c(Q15617994),P163,Q131469)
action count
action union
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q131469
relation P163
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q42876'] [{'concept': 'Q15617994'}, 'P163', 'Q131469']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P163 resource:Q42876 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?l property:P163 resource:Q131469 } }
Italy Malta
2
action count
action union
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of Malta
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Malta']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:flag resource:Flag_of_Italy . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:flag resource:flag_of_Malta } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q155
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with less number of political territories than Brazil ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q155 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?w ) }
Brazil
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Brazil property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?w ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q155 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?w ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Brazil property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q244
P530
Q15617994 Q1048835
USER
And also tell me about Barbados?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q244 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Barbados
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Barbados property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q244 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
12
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Barbados property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3334083 Q38
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy and are the native countriesof Ndèye Ndiaye ?
AND((Q38,P530,c(Q15617994)), (Q3334083,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3334083
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3334083', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?x . resource:Q3334083 property:P27 ?x }
Ndèye Ndiaye Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ndèye Ndiaye
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ndèye Ndiaye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?x . resource:Ndèye_Ndiaye property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q38,P530,c(Q15617994)), (Q3334083,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3334083
relation P27
type Q15617994
[ANSWER] have a diplomatic relationship with Italy and are the native countriesof Ndèye Ndiaye
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3334083', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?x . resource:Q3334083 property:P27 ?x }
France
France have a diplomatic relationship with Italy and are the native countriesof Ndèye Ndiaye
France
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ndèye Ndiaye
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ndèye Ndiaye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?x . resource:Ndèye_Ndiaye property:country_of_citizenship ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P740
Q2088357
USER
Which are the musical ensembles that originates at Finland ?
(c(Q2088357),P740,Q33)
action filter_type
action find_reverse
entity Q33
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q33']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q33 . ?d rdf:type ontology:Q2088357 }
Finland
action filter_type
action find_reverse
entity Finland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Finland']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Finland . ?d rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q457197 Q743614 Q5260892
SYSTEM
Amberian Dawn, Turmion Kätilöt, Depressed Mode
Q5260892 Q7999772 Q1858610 Q787217 Q847298 Q1500563 Q4356842 Q1361033 Q1787908 Q20251309 Q1080197 Q7971613 Q7230282 Q937711 Q743614 Q5659024 Q3195087 Q457197
(c(Q2088357),P740,Q33)
action filter_type
action find_reverse
entity Q33
relation P740
type Q2088357
The musical ensembles that originates at Finland are the [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q33']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q33 . ?d rdf:type ontology:Q2088357 }
Depressed Mode Wiidakko Naildown Symfonia Tracedawn Sväng ShamRain Northern Kings Reckless Love Arion Kotipelto Wöyh! Poropetra To Separate the Flesh from the Bones Turmion Kätilöt Harmaja Pain Confessor Amberian Dawn
The musical ensembles that originates at Finland are the Amberian Dawn, Turmion Kätilöt and Depressed Mode
Amberian Dawn Turmion Kätilöt Depressed Mode
action filter_type
action find_reverse
entity Finland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Finland']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Finland . ?d rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q457197 Q743614 Q5260892
P264
Q334453
USER
Which divisions sponsored the recording of those musical ensembles ?
(Q457197,P264,c(Q334453)) (Q743614,P264,c(Q334453)) (Q5260892,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
['Q457197', 'P264', {'concept': 'Q334453'}] ['Q743614', 'P264', {'concept': 'Q334453'}] ['Q5260892', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q334453 . ?u property:P264 ?d . VALUES ( ?u ) { ( resource:Q5260892 ) ( resource:Q7999772 ) ( resource:Q1858610 ) } }
Amberian Dawn Turmion Kätilöt Depressed Mode
action filter_type
action find
entity prev_answer
relation record label
type division
['Amberian Dawn', 'record label', {'concept': 'division'}] ['Turmion Kätilöt', 'record label', {'concept': 'division'}] ['Depressed Mode', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:division . ?u property:record_label ?d . VALUES ( ?u ) { ( resource:Depressed_Mode ) ( resource:Wiidakko ) ( resource:Naildown ) } }
[]
division
Q1124153 Q693194 Q1124153
SYSTEM
Spinefarm Records for 1st, 3rd, Napalm Records for 2nd
Q1124153 Q693194 Q1124153 Q3352087
(Q457197,P264,c(Q334453)) (Q743614,P264,c(Q334453)) (Q5260892,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
[ANSWERS]
['Q457197', 'P264', {'concept': 'Q334453'}] ['Q743614', 'P264', {'concept': 'Q334453'}] ['Q5260892', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q334453 . ?u property:P264 ?d . VALUES ( ?u ) { ( resource:Q5260892 ) ( resource:Q7999772 ) ( resource:Q1858610 ) } }
Spinefarm Records Napalm Records Spinefarm Records Firebox Records
Spinefarm Records, Napalm Records and Spinefarm Records sponsored the recording of those musical ensembles
Spinefarm Records Napalm Records Spinefarm Records
action filter_type
action find
entity prev_answer
relation record label
type division
['Amberian Dawn', 'record label', {'concept': 'division'}] ['Turmion Kätilöt', 'record label', {'concept': 'division'}] ['Depressed Mode', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:division . ?u property:record_label ?d . VALUES ( ?u ) { ( resource:Depressed_Mode ) ( resource:Wiidakko ) ( resource:Naildown ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q43229
USER
What were France a member of ?
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P463 ?q . ?q rdf:type ontology:Q43229 }
France
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:France property:member_of ?q . ?q rdf:type ontology:organization }
[]
organization
Q42944 Q151991 Q7825
SYSTEM
European Organization for Nuclear Research, European Southern Observatory, World Trade Organization
Q340195 Q42944 Q191384 Q899770 Q1331152 Q41550 Q656801 Q151991 Q7825 Q161549 Q827525
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
France of the [ANSWERS]
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P463 ?q . ?q rdf:type ontology:Q43229 }
African Development Bank European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Open Government Partnership Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization European Coal and Steel Community International Development Association
France of the European Organization for Nuclear Research, European Southern Observatory and World Trade Organization
European Organization for Nuclear Research European Southern Observatory World Trade Organization
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:France property:member_of ?q . ?q rdf:type ontology:organization }
[]