Simple Question (Direct)
Simple Question
Q1617334
P47
Q1048835
USER
Which political territories have a shared border with O Páramo ?
(Q1617334,P47,c(Q1048835))
action filter_type
action find
entity Q1617334
relation P47
type Q1048835
['Q1617334', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q1617334 property:P47 ?x }
O Páramo
action filter_type
action find
entity O Páramo
relation shares border with
type political territorial entity
['O Páramo', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:O_Páramo property:shares_border_with ?x }
[]
political territorial entity
Q1445304 Q1605449 Q680745
SYSTEM
Láncara, Guntín, O Corgo
Q1445304 Q174833 Q1605449 Q849319 Q680745 Q431456
(Q1617334,P47,c(Q1048835))
action filter_type
action find
entity Q1617334
relation P47
type Q1048835
[ANSWERS] have a shared border with O Páramo
['Q1617334', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q1617334 property:P47 ?x }
Láncara Sarria Guntín Portomarín O Corgo Paradela
Láncara, Guntín and O Corgo have a shared border with O Páramo
Láncara Guntín O Corgo
action filter_type
action find
entity O Páramo
relation shares border with
type political territorial entity
['O Páramo', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:O_Páramo property:shares_border_with ?x }
[]
Clarification
Simple Question|Single Entity|Indirect
Q680745
P6
Q502895
USER
Which person has that political territory as its head of government ?
(Q680745,P6,c(Q502895))
action filter_type
action find
entity Q680745
relation P6
type Q502895
['Q680745', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q680745 property:P6 ?k . ?k rdf:type ontology:Q502895 }
O Corgo
action filter_type
action find
entity O Corgo
relation head of government
type common name
['O Corgo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:O_Corgo property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1605449
SYSTEM
Did you mean Guntín ?
Q1445304 Q1605449 Q680745
(Q1445304,P6,c(Q502895)) (Q1605449,P6,c(Q502895)) (Q680745,P6,c(Q502895))
[ANSWER]
['Q1445304', 'P6', {'concept': 'Q502895'}] ['Q1605449', 'P6', {'concept': 'Q502895'}] ['Q680745', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q680745 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Láncara Guntín O Corgo
Did you mean Guntín ?
Guntín
['Láncara', 'head of government', {'concept': 'common name'}] ['Guntín', 'head of government', {'concept': 'common name'}] ['O Corgo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:O_Corgo property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant O Corgo. Could you tell me the answer for that?
(Q680745,P6,c(Q502895))
Q680745
['Q680745', 'P6', {'concept': 'Q502895'}]
['O Corgo', 'head of government', {'concept': 'common name'}]
[]
Q14088284
SYSTEM
José Antonio Ferreiro González
Q14088284
(Q680745,P6,c(Q502895))
action filter_type
action find
entity Q680745
relation P6
type Q502895
[ANSWER] has that political territory as its head of government
['Q680745', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q680745 property:P6 ?k . ?k rdf:type ontology:Q502895 }
José Antonio Ferreiro González
José Antonio Ferreiro González has that political territory as its head of government
José Antonio Ferreiro González
action filter_type
action find
entity O Corgo
relation head of government
type common name
['O Corgo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:O_Corgo property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 342 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 342
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?p = 342 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 342
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?p = 342 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 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
value 342
[ANSWERS] can approximately 342 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?p = 342 ) }
viola bass guitar 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 trumpet 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 can approximately 342 people perform with
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 342
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?p = 342 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19257317 Q1759986
P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano or Hoge Bergstraat located in ?
OR((Q1759986,P17,c(Q15617994)), (Q19257317,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q19257317
relation P17
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19257317', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?q property:P17 ?n . VALUES ( ?q ) { ( resource:Q1759986 ) ( resource:Q19257317 ) } } . ?n rdf:type ontology:Q15617994 }
Hoge Bergstraat Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Hoge Bergstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hoge Bergstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?q property:country ?n . VALUES ( ?q ) { ( resource:Wurlitzer_electric_piano ) ( resource:Hoge_Bergstraat ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q1759986,P17,c(Q15617994)), (Q19257317,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q19257317
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19257317', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?q property:P17 ?n . VALUES ( ?q ) { ( resource:Q1759986 ) ( resource:Q19257317 ) } } . ?n rdf:type ontology:Q15617994 }
United States of America Netherlands
Which administrative territories are Wurlitzer electric piano or Hoge Bergstraat located in
United States of America Netherlands
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Hoge Bergstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hoge Bergstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?q property:country ?n . VALUES ( ?q ) { ( resource:Wurlitzer_electric_piano ) ( resource:Hoge_Bergstraat ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q927783 Q1178361
P27 P495
Q15617994
USER
Which administrative territories are the origin of davul or are Nicholas Mavrocordatos an inhabitant of ?
OR((Q1178361,P495,c(Q15617994)), (Q927783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q927783
relation P27
type Q15617994
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q927783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1178361 property:P495 ?w } UNION { resource:Q927783 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Nicholas Mavrocordatos davul
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Nicholas Mavrocordatos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Nicholas Mavrocordatos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:davul property:country_of_origin ?w } UNION { resource:Nicholas_Mavrocordatos property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q389004 Q10957559 Q43
SYSTEM
Wallachia, Moldavia, Turkey
Q389004 Q10957559 Q43
OR((Q1178361,P495,c(Q15617994)), (Q927783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q927783
relation P27
type Q15617994
[ANSWERS] are the origin of davul or are Nicholas Mavrocordatos an inhabitant of
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q927783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1178361 property:P495 ?w } UNION { resource:Q927783 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Wallachia Moldavia Turkey
Wallachia, Moldavia and Turkey are the origin of davul or are Nicholas Mavrocordatos an inhabitant of
Wallachia Moldavia Turkey
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Nicholas Mavrocordatos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Nicholas Mavrocordatos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:davul property:country_of_origin ?w } UNION { resource:Nicholas_Mavrocordatos property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q763
P17
Q1048835 Q811430 Q486972
USER
How many political territories are approximately the same number of constructions and human settlements present in as Saint Kitts and Nevis ?
(c(Q811430)|c(Q486972),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q763
relation P17
type Q811430
type Q486972
[[{'concept': 'Q811430'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?t WHERE { VALUES ( ?r ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } . ?d rdf:type ?r } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P17 resource:Q763 . { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } } } } . FILTER ( ?o = ?k ) }
Saint Kitts and Nevis
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
action find_reverse_tuple_counts
relation country
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saint Kitts and Nevis
relation country
type construction
type human settlement
[[{'concept': 'construction'}, {'concept': 'human settlement'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?t WHERE { VALUES ( ?r ) { ( ontology:construction ) ( ontology:human_settlement ) } . ?d rdf:type ?r } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:country resource:Saint_Kitts_and_Nevis . { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:construction ) ( ontology:human_settlement ) } } } } . FILTER ( ?o = ?k ) }
[]
political territorial entity construction human settlement
SYSTEM
63
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q16 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q408 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q811430)|c(Q486972),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q763
relation P17
type Q811430
type Q486972
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?t WHERE { VALUES ( ?r ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } . ?d rdf:type ?r } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P17 resource:Q763 . { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } } } } . FILTER ( ?o = ?k ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Canada Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Australia Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
63
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
action find_reverse_tuple_counts
relation country
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saint Kitts and Nevis
relation country
type construction
type human settlement
[[{'concept': 'construction'}, {'concept': 'human settlement'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?t WHERE { VALUES ( ?r ) { ( ontology:construction ) ( ontology:human_settlement ) } . ?d rdf:type ?r } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:country resource:Saint_Kitts_and_Nevis . { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:construction ) ( ontology:human_settlement ) } } } } . FILTER ( ?o = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q746558
P17
Q1048835 Q811430 Q486972
USER
And also tell me about Emirate of Bukhara?
(c(Q811430)|c(Q486972),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q746558
relation P17
type Q811430
type Q486972
[[{'concept': 'Q811430'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } } GROUP BY ?u } . FILTER ( ?l = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P17 resource:Q746558 . { { ?w rdf:type ontology:Q811430 } UNION { ?w rdf:type ontology:Q486972 } } } } }
Emirate of Bukhara
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
action find_reverse_tuple_counts
relation country
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Emirate of Bukhara
relation country
type construction
type human settlement
[[{'concept': 'construction'}, {'concept': 'human settlement'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:construction ) ( ontology:human_settlement ) } } GROUP BY ?u } . FILTER ( ?l = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:country resource:Emirate_of_Bukhara . { { ?w rdf:type ontology:construction } UNION { ?w rdf:type ontology:human_settlement } } } } }
[]
political territorial entity construction human settlement
SYSTEM
63
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q16 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q408 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q811430)|c(Q486972),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q746558
relation P17
type Q811430
type Q486972
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811430 ) ( ontology:Q486972 ) } } GROUP BY ?u } . FILTER ( ?l = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P17 resource:Q746558 . { { ?w rdf:type ontology:Q811430 } UNION { ?w rdf:type ontology:Q486972 } } } } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Canada Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Australia Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
63
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
action find_reverse_tuple_counts
relation country
type political territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Emirate of Bukhara
relation country
type construction
type human settlement
[[{'concept': 'construction'}, {'concept': 'human settlement'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:construction ) ( ontology:human_settlement ) } } GROUP BY ?u } . FILTER ( ?l = ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:country resource:Emirate_of_Bukhara . { { ?w rdf:type ontology:construction } UNION { ?w rdf:type ontology:human_settlement } } } } }
[]
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 around 33 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?t = 33 ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?t ) WHERE { ?m property:P530 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?m } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?t = 33 ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?t ) WHERE { ?m property:diplomatic_relation ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?t = 33 ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?t ) WHERE { ?m property:P530 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?m } }
Belarus
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?t = 33 ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?t ) WHERE { ?m property:diplomatic_relation ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q927783
P40
Q502895
USER
Who are the children of that one ?
action filter_type
action find
entity Q927783
relation P40
type Q502895
SELECT DISTINCT ?w WHERE { resource:Q927783 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Nicholas Mavrocordatos
action filter_type
action find
entity Nicholas Mavrocordatos
relation child
type common name
SELECT DISTINCT ?w WHERE { resource:Nicholas_Mavrocordatos property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1051934 Q358571
SYSTEM
Constantine Mavrocordatos, Jean II Mavrocordato
Q1051934 Q358571
action filter_type
action find
entity Q927783
relation P40
type Q502895
The children of that one are the [ANSWERS]
SELECT DISTINCT ?w WHERE { resource:Q927783 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Constantine Mavrocordatos Jean II Mavrocordato
The children of that one are the Constantine Mavrocordatos and Jean II Mavrocordato
Constantine Mavrocordatos Jean II Mavrocordato
action filter_type
action find
entity Nicholas Mavrocordatos
relation child
type common name
SELECT DISTINCT ?w WHERE { resource:Nicholas_Mavrocordatos property:child ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13437 Q746558
P19
Q502895
USER
Which people were born at Emirate of Bukhara or Benevento ?
OR((c(Q502895),P19,Q746558), (c(Q502895),P19,Q13437))
action filter_type
action union
action find_reverse
entity Q746558
relation P19
action find_reverse
entity Q13437
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q746558'], [{'concept': 'Q502895'}, 'P19', 'Q13437']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P19 resource:Q746558 } UNION { ?m property:P19 resource:Q13437 } } . ?m rdf:type ontology:Q502895 }
Benevento Emirate of Bukhara
action filter_type
action union
action find_reverse
entity Emirate of Bukhara
relation place of birth
action find_reverse
entity Benevento
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Emirate of Bukhara'], [{'concept': 'common name'}, 'place of birth', 'Benevento']]}
SELECT DISTINCT ?m WHERE { { { ?m property:place_of_birth resource:Emirate_of_Bukhara } UNION { ?m property:place_of_birth resource:Benevento } } . ?m rdf:type ontology:common_name }
[]
common name
Q3764486 Q3608575 Q24699242 Q227724 Q3749370 Q3713779 Q3616079 Q3611462 Q3619134 Q964903
SYSTEM
Some of them are Ginestra Paladino, Alberto Sforza, Angelo Catone, Victor III, Francesca Boscarelli, Donato Piperno, Andrea Trabucco, Alfredo Paolella, Antonio Abete, Alberic of Monte Cassino
Q3840470 Q3874041 Q21832978 Q2538827 Q3765688 Q3762399 Q3619942 Q317964 Q3724433 Q5288899 Q3742960 Q3619419 Q745133 Q3879474 Q948335 Q4007925 Q1226957 Q21006446 Q3616079 Q3723898 Q227724 Q3619134 Q315312 Q3645718 Q3939049 Q101866 Q21832710 Q3740395 Q22740113 Q3849231 Q5109598 Q15243168 Q7363345 Q3619756 Q3972757 Q193754 Q2339701 Q4716308 Q1553484 Q24699242 Q3660378 Q4716470 Q3757107 Q18219689 Q3836818 Q4015428 Q3619438 Q3951058 Q11799159 Q3905357 Q3886183 Q4015081 Q3737993 Q3660241 Q18129519 Q26773031 Q984453 Q4902425 Q3611520 Q3749370 Q20820536 Q2556550 Q3619215 Q3880843 Q21004169 Q3992701 Q3659906 Q905701 Q3694288 Q369607 Q3849061 Q1174111 Q3946172 Q602077 Q16223773 Q3929107 Q710003 Q3892808 Q3606409 Q737786 Q24511002 Q389958 Q964903 Q3608575 Q980005 Q15691396 Q1615617 Q3785210 Q7776970 Q1876277 Q3845573 Q3611462 Q1144235 Q1232246 Q3767919 Q18814494 Q3897161 Q3804384 Q3635343 Q6315100 Q17453259 Q3770204 Q3852556 Q3876213 Q20702835 Q3713779 Q3741929 Q706230 Q3897090 Q2254484 Q4219936 Q558794 Q6756440 Q17266674 Q16525454 Q3750607 Q3742634 Q3750379 Q3635400 Q18565779 Q3946200 Q3893593 Q21995639 Q717980 Q3014535 Q285653 Q3531257 Q3929057 Q3945934 Q727747 Q3764486
OR((c(Q502895),P19,Q746558), (c(Q502895),P19,Q13437))
action filter_type
action union
action find_reverse
entity Q746558
relation P19
action find_reverse
entity Q13437
relation P19
type Q502895
[ANSWERS] were born at Emirate of Bukhara or Benevento
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q746558'], [{'concept': 'Q502895'}, 'P19', 'Q13437']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P19 resource:Q746558 } UNION { ?m property:P19 resource:Q13437 } } . ?m rdf:type ontology:Q502895 }
Luisa Striani Nazzareno Tarantino Alfredo Petrillo Menato Boffa Giorgio Porcaro Giambattista Bosco Lucarelli Antonio Navarra Potito Starace Emilio Iarrusso Dolce Vito – Dream Restaurant Fernando Santosuosso Antonio Cifaldi Lucius Orbilius Pupillus Nunzia De Girolamo Carlo Maria Pedicini Valerio Vicerè Dionisio Laurerio Luca Aquino Andrea Trabucco Emanuele Caggiano Victor III Antonio Abete Januarius Bruno D'Argenio Roberto Pedicini Gregory VIII Marco Cardillo Fausto Pepe Mercurius de Vipera Mario Vetrone Christian Filippella Luca Martinelli Romuald I Antonio Lepore Stefano Tremigliozzi Father Pio Amedeo Ambron Alessandro Bruno Guido Alberti Angelo Catone Carmine Nardone Alessio Curcio Gaetano Rummo Pietro Piperno Loredana Romito Vittorio Marsiglia Antonio Cocchi Saverio Rotondi Oriana De Fazio Pio Colonnello Orso Vito Ievolella Fabrizio D'Aloia Carmelo Imbriani Antonio Sancho de Benevento Luca Martinelli Camillo De Simeoni Biagio Meccariello Alfredo Zazo Francesca Boscarelli Teodorico Caporaso Guaifer of Benevento Antonio Barbieri Oderisio da Benevento Eduardo Baccari Tommaso Antonio Maria Lanzilli Carlo Torre Dino Lombardi Corrado Ocone Salvatore Perugini Mario Rotili Anicius Auchenius Bassus Salvatore Parrillo Antonio Franco Vincenzo Maltempo Raffaele Mainella Carlo Zotti Palmiro Di Dio Agenore Frangipani Giuseppe Moscati Alfonso di Blasio Gaetano de Martini Alberic of Monte Cassino Alberto Sforza Grimoald II of Benevento Umberto Del Basso De Caro Nicola Ciotola Herik Mutarelli Tiberio Pacca Luigi Corino Marcello De Stefano Alfredo Paolella Saint Piatus Falco of Benevento Giovanni Perlingieri Franco De Felice Pasquale Viespoli Italo Cammarota Bartolomeo Camerario Juri De Marco Antonio Iavarone Giuseppe Calicchio Maurizio Ciampi Nicola Formichella Carlo Canna Donato Piperno Federico Torre Niccolò Franco Pasquale Meomartini Domenico de Simone Carlo Chiamenti Sadriddin Ayni Marcello Vitale Piernicola Pedicini Alfredo Pastore Francesco Saverio Caruso Ferdinando Meomartini Francesco Pacca Bartolomeo Pacca il Giovane Giovanni Persico Salvatore Rampone Paola Mauriello Giovanni De Vita Stefania Pirozzi Daniel Perrigaud Bartolomeo Pacca Tommaso D'Apice Raffaele De Caro Salvatore Albino Pietro Koch Ginestra Paladino
Ginestra Paladino, Alberto Sforza, Angelo Catone, Victor III, Francesca Boscarelli, Donato Piperno, Andrea Trabucco, Alfredo Paolella, Antonio Abete and Alberic of Monte Cassino were born at Emirate of Bukhara or Benevento
Ginestra Paladino Alberto Sforza Angelo Catone Victor III Francesca Boscarelli Donato Piperno Andrea Trabucco Alfredo Paolella Antonio Abete Alberic of Monte Cassino
action filter_type
action union
action find_reverse
entity Emirate of Bukhara
relation place of birth
action find_reverse
entity Benevento
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Emirate of Bukhara'], [{'concept': 'common name'}, 'place of birth', 'Benevento']]}
SELECT DISTINCT ?m WHERE { { { ?m property:place_of_birth resource:Emirate_of_Bukhara } UNION { ?m property:place_of_birth resource:Benevento } } . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3458494
P725
Q502895 Q838948
USER
How many works of art did around the same number of people do the dubbing for as A Tree of Palme ?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q3458494
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?l ) WHERE { ?e rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 . ?e property:P725 ?p } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q838948 . resource:Q3458494 property:P725 ?d } } . FILTER ( ?l = ?f ) }
A Tree of Palme
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity A Tree of Palme
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?l ) WHERE { ?e rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name . ?e property:voice_actor ?p } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:work_of_art . resource:A_Tree_of_Palme property:voice_actor ?d } } . FILTER ( ?l = ?f ) }
[]
common name work of art
SYSTEM
80
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q2165639 Q4204793 Q1201022 Q587921 Q1810461 Q387674 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q3458494
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?l ) WHERE { ?e rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 . ?e property:P725 ?p } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q838948 . resource:Q3458494 property:P725 ?d } } . FILTER ( ?l = ?f ) }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire Watership Down History of the Arkanar Massacre Tiger & Bunny Garfield: A Tail of Two Kitties Springtime with Roo Final Fantasy VII: Advent Children Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
80
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity A Tree of Palme
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?l ) WHERE { ?e rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name . ?e property:voice_actor ?p } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:work_of_art . resource:A_Tree_of_Palme property:voice_actor ?d } } . FILTER ( ?l = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1583966
P725
Q502895 Q838948
USER
And what about Underdog?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1583966
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { ?i property:P725 ?y . ?i rdf:type ontology:Q838948 . ?y rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q1583966 property:P725 ?x . ?x rdf:type ontology:Q838948 } } . FILTER ( ?r = ?e ) }
Underdog
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Underdog
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { ?i property:voice_actor ?y . ?i rdf:type ontology:work_of_art . ?y rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Underdog property:voice_actor ?x . ?x rdf:type ontology:work_of_art } } . FILTER ( ?r = ?e ) }
[]
common name work of art
SYSTEM
80
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q2165639 Q4204793 Q1201022 Q587921 Q1810461 Q387674 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1583966
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { ?i property:P725 ?y . ?i rdf:type ontology:Q838948 . ?y rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q1583966 property:P725 ?x . ?x rdf:type ontology:Q838948 } } . FILTER ( ?r = ?e ) }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire Watership Down History of the Arkanar Massacre Tiger & Bunny Garfield: A Tail of Two Kitties Springtime with Roo Final Fantasy VII: Advent Children Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
80
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Underdog
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { ?i property:voice_actor ?y . ?i rdf:type ontology:work_of_art . ?y rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Underdog property:voice_actor ?x . ?x rdf:type ontology:work_of_art } } . FILTER ( ?r = ?e ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1605449
P47 P17
Q1048835
USER
Which political territories share border with Guntín and are situated in Spain ?
AND((c(Q1048835),P47,Q1605449), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1605449
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1605449'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q1605449 . ?a property:P17 resource:Q29 . ?a rdf:type ontology:Q1048835 }
Spain Guntín
action filter_type
action intersection
action find_reverse
entity Guntín
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Guntín'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Guntín . ?a property:country resource:Spain . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q576916 Q1617334 Q849319 Q1122290 Q680745 Q842216
SYSTEM
Friol, O Páramo, Portomarín, Monterroso, O Corgo, Palas de Rei
Q576916 Q1617334 Q849319 Q1122290 Q680745 Q842216
AND((c(Q1048835),P47,Q1605449), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1605449
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWERS] share border with Guntín and are situated in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1605449'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q1605449 . ?a property:P17 resource:Q29 . ?a rdf:type ontology:Q1048835 }
Friol O Páramo Portomarín Monterroso O Corgo Palas de Rei
Friol, O Páramo, Portomarín, Monterroso, O Corgo and Palas de Rei share border with Guntín and are situated in Spain
Friol O Páramo Portomarín Monterroso O Corgo Palas de Rei
action filter_type
action intersection
action find_reverse
entity Guntín
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Guntín'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Guntín . ?a property:country resource:Spain . ?a rdf:type ontology:political_territorial_entity }
[]