Simple Question (Direct)
Simple Question
Q3552030
P57
Q502895
USER
Who was Until the Sea... directed by ?
(Q3552030,P57,c(Q502895))
action filter_type
action find
entity Q3552030
relation P57
type Q502895
['Q3552030', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q3552030 property:P57 ?u }
Until the Sea...
action filter_type
action find
entity Until the Sea...
relation director
type common name
['Until the Sea...', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Until_the_Sea... property:director ?u }
[]
common name
Q2699786
SYSTEM
Colin Campbell
Q2699786
(Q3552030,P57,c(Q502895))
action filter_type
action find
entity Q3552030
relation P57
type Q502895
[ANSWER] was Until the Sea... directed by
['Q3552030', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q3552030 property:P57 ?u }
Colin Campbell
Colin Campbell was Until the Sea... directed by
Colin Campbell
action filter_type
action find
entity Until the Sea...
relation director
type common name
['Until the Sea...', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Until_the_Sea... property:director ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2699786
P248
Q7094076
USER
Which online database is that person mentioned in ?
(Q2699786,P248,c(Q7094076))
action filter_type
action find
entity Q2699786
relation P248
type Q7094076
['Q2699786', 'P248', {'concept': 'Q7094076'}]
SELECT DISTINCT ?l WHERE { resource:Q2699786 property:P248 ?l . ?l rdf:type ontology:Q7094076 }
Colin Campbell
action filter_type
action find
entity Colin Campbell
relation stated in
type online database
['Colin Campbell', 'stated in', {'concept': 'online database'}]
SELECT DISTINCT ?l WHERE { resource:Colin_Campbell property:stated_in ?l . ?l rdf:type ontology:online_database }
[]
online database
Q37312
SYSTEM
Internet Movie Database
Q37312
(Q2699786,P248,c(Q7094076))
action filter_type
action find
entity Q2699786
relation P248
type Q7094076
That person is mentioned in [ANSWER]
['Q2699786', 'P248', {'concept': 'Q7094076'}]
SELECT DISTINCT ?l WHERE { resource:Q2699786 property:P248 ?l . ?l rdf:type ontology:Q7094076 }
Internet Movie Database
That person is mentioned in Internet Movie Database
Internet Movie Database
action filter_type
action find
entity Colin Campbell
relation stated in
type online database
['Colin Campbell', 'stated in', {'concept': 'online database'}]
SELECT DISTINCT ?l WHERE { resource:Colin_Campbell property:stated_in ?l . ?l rdf:type ontology:online_database }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1129422
P1303
Q34379 Q502895
USER
Which musical instruments are played by around the same number of people as morin khuur ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q34379 . resource:Q1129422 property:P1303 ?x } } . FILTER ( ?d = ?y ) }
morin khuur
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:musical_instrument . resource:morin_khuur property:instrument ?x } } . FILTER ( ?d = ?y ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[ANSWERS] are played by around the same number of people as morin khuur
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q34379 . resource:Q1129422 property:P1303 ?x } } . FILTER ( ?d = ?y ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around the same number of people as morin khuur
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:musical_instrument . resource:morin_khuur property:instrument ?x } } . FILTER ( ?d = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q890073
P1303
Q34379 Q502895
USER
And how about Body percussion?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q890073
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?v property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q890073 property:P1303 ?z } } . FILTER ( ?a = ?t ) }
Body percussion
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Body percussion
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?v property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:musical_instrument . resource:Body_percussion property:instrument ?z } } . FILTER ( ?a = ?t ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q890073
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?v property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q890073 property:P1303 ?z } } . FILTER ( ?a = ?t ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Body percussion
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?v property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:musical_instrument . resource:Body_percussion property:instrument ?z } } . FILTER ( ?a = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1071
Q20667921 Q56061 Q838948
USER
How many works of art have exactly 1 french administrative divisions or administrative territories as their location of final assembly ?
(c(Q838948),P1071,c(Q20667921)|c(Q56061))
action count
action equal
action union
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action find_tuple_counts
relation P1071
type Q838948
type Q56061
value 1
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?w ) WHERE { { ?f rdf:type ontology:Q838948 . ?r rdf:type ontology:Q20667921 . ?f property:P1071 ?r } UNION { ?f property:P1071 ?r . ?f rdf:type ontology:Q838948 . ?r rdf:type ontology:Q56061 } } GROUP BY ?f } }
action count
action equal
action union
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?w ) WHERE { { ?f rdf:type ontology:work_of_art . ?r rdf:type ontology:type_of_french_administrative_division . ?f property:location_of_final_assembly ?r } UNION { ?f property:location_of_final_assembly ?r . ?f rdf:type ontology:work_of_art . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } }
[]
type of french administrative division administrative territorial entity work of art
SYSTEM
14
Q17023940 Q6572993 Q3647650 Q20200034 Q17451496 Q9428681 Q23356 Q11826275 Q4785573 Q3555769 Q17347116 Q24178015 Q19017414 Q11816717
(c(Q838948),P1071,c(Q20667921)|c(Q56061))
action count
action equal
action union
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action find_tuple_counts
relation P1071
type Q838948
type Q56061
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?w ) WHERE { { ?f rdf:type ontology:Q838948 . ?r rdf:type ontology:Q20667921 . ?f property:P1071 ?r } UNION { ?f property:P1071 ?r . ?f rdf:type ontology:Q838948 . ?r rdf:type ontology:Q56061 } } GROUP BY ?f } }
Portrait of Dr. Gachet Amphitrite, the wave and the sea birds Bust of Cardinal Richelieu Sphinx Nymph with a Scorpion The Exaltation of the Flower Harbaville Triptych The siesta (after Millet) Archangel ivory Vercingétorix Le Génie de la sculpture dégrossissant le masque de Jupiter The Intruders effigy of Blanche de Champagne First Steps, after Millet
14
action count
action equal
action union
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?w ) WHERE { { ?f rdf:type ontology:work_of_art . ?r rdf:type ontology:type_of_french_administrative_division . ?f property:location_of_final_assembly ?r } UNION { ?f property:location_of_final_assembly ?r . ?f rdf:type ontology:work_of_art . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12478298 Q1759986
P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano or Candinegoro located in ?
OR((Q1759986,P17,c(Q15617994)), (Q12478298,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q12478298
relation P17
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q12478298', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q12478298 property:P17 ?m } UNION { resource:Q1759986 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Candinegoro Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Candinegoro
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Candinegoro', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Candinegoro property:country ?m } UNION { resource:Wurlitzer_electric_piano property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q252
SYSTEM
United States of America, Indonesia
Q30 Q252
OR((Q1759986,P17,c(Q15617994)), (Q12478298,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q12478298
relation P17
type Q15617994
Wurlitzer electric piano or Candinegoro are located in [ANSWERS]
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q12478298', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q12478298 property:P17 ?m } UNION { resource:Q1759986 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
United States of America Indonesia
Wurlitzer electric piano or Candinegoro are located in United States of America and Indonesia
United States of America Indonesia
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Candinegoro
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Candinegoro', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Candinegoro property:country ?m } UNION { resource:Wurlitzer_electric_piano property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q616675 Q1178361
P495 P17
Q15617994
USER
Which administrative territories are the origin of davul or do Bishop's Palace, Kraków belong to ?
OR((Q1178361,P495,c(Q15617994)), (Q616675,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q616675
relation P17
type Q15617994
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q616675', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1178361 property:P495 ?s } UNION { resource:Q616675 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Bishop's Palace, Kraków davul
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Bishop's Palace, Kraków
relation country
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["Bishop's Palace, Kraków", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:davul property:country_of_origin ?s } UNION { resource:Bishop's_Palace,_Kraków property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q36
SYSTEM
Turkey, Poland
Q43 Q36
OR((Q1178361,P495,c(Q15617994)), (Q616675,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q616675
relation P17
type Q15617994
[ANSWERS] are the origin of davul or do Bishop's Palace, Kraków belong to
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q616675', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1178361 property:P495 ?s } UNION { resource:Q616675 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Turkey Poland
Turkey and Poland are the origin of davul or do Bishop's Palace, Kraków belong to
Turkey Poland
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Bishop's Palace, Kraków
relation country
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["Bishop's Palace, Kraków", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:davul property:country_of_origin ?s } UNION { resource:Bishop's_Palace,_Kraków property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q36
SYSTEM
Did you mean Poland ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Poland ?
Poland
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Turkey. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q43
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
157
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
157
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with exactly 5 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?l ) WHERE { ?p rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?p property:P530 ?e } GROUP BY ?p } . FILTER ( ?l = 5 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?l ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?e } GROUP BY ?p } . FILTER ( ?l = 5 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q668 Q711 Q43 Q884 Q347 Q212
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?l ) WHERE { ?p rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?p property:P530 ?e } GROUP BY ?p } . FILTER ( ?l = 5 ) }
India Mongolia Turkey South Korea Liechtenstein Ukraine
6
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?l ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?e } GROUP BY ?p } . FILTER ( ?l = 5 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people have United States of America as their heads of government ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q30 property:P6 ?x . ?x rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:United_States_of_America property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q30 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:United_States_of_America property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]