Simple Question (Direct)
Simple Question
Q48144
P190
Q56061
USER
Which administrative territory is sister town of Mira ?
(Q48144,P190,c(Q56061))
action filter_type
action find
entity Q48144
relation P190
type Q56061
['Q48144', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q48144 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Mira
action filter_type
action find
entity Mira
relation sister city
type administrative territorial entity
['Mira', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mira property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q803990
SYSTEM
Beit Sahour
Q803990
(Q48144,P190,c(Q56061))
action filter_type
action find
entity Q48144
relation P190
type Q56061
[ANSWER] is sister town of Mira
['Q48144', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q48144 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Beit Sahour
Beit Sahour is sister town of Mira
Beit Sahour
action filter_type
action find
entity Mira
relation sister city
type administrative territorial entity
['Mira', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mira property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q803990
P19
Q502895
USER
Who were born at that administrative territory ?
(c(Q502895),P19,Q803990)
action filter_type
action find_reverse
entity Q803990
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q803990']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q803990 . ?j rdf:type ontology:Q502895 }
Beit Sahour
action filter_type
action find_reverse
entity Beit Sahour
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beit Sahour']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Beit_Sahour . ?j rdf:type ontology:common_name }
[]
common name
Q5506878 Q2530042
SYSTEM
Fuad Kokaly, Sandi Hilal
Q5506878 Q2530042
(c(Q502895),P19,Q803990)
action filter_type
action find_reverse
entity Q803990
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q803990']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q803990 . ?j rdf:type ontology:Q502895 }
Fuad Kokaly Sandi Hilal
Fuad Kokaly and Sandi Hilal were born at that administrative territory
Fuad Kokaly Sandi Hilal
action filter_type
action find_reverse
entity Beit Sahour
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beit Sahour']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Beit_Sahour . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques had around 16 people as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 16
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:P725 ?n . ?d rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?v = 16 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 16
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:voice_actor ?n . ?d rdf:type ontology:cinematic_technique . ?n rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?v = 16 ) }
[]
common name cinematic technique
SYSTEM
22
Q656998 Q6505964 Q120367 Q1093555 Q15270742 Q27229786 Q2329413 Q6144664 Q392530 Q192212 Q182153 Q15728879 Q2388653 Q246283 Q244434 Q18647981 Q191803 Q171048 Q15140309 Q4243413 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 16
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:P725 ?n . ?d rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?v = 16 ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Barbie as the Princess and the Pauper Inside Out Treasure Planet Cars 2 Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen Lady and the Tramp II: Scamp's Adventure Moana The Lion King II: Simba's Pride Toy Story Emil & Ida i Lönneberga Ku! Kin-dza-dza Laura's Star Surf's Up
22
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 16
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:voice_actor ?n . ?d rdf:type ontology:cinematic_technique . ?n rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?v = 16 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can exactly 2 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?x property:P1303 ?j } GROUP BY ?j } }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?x property:instrument ?j } GROUP BY ?j } }
[]
musical instrument common name
SYSTEM
8
Q201129 Q424017 Q3574843 Q182718 Q862501 Q537750 Q1300012 Q483994
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?x property:P1303 ?j } GROUP BY ?j } }
lyre acoustic bass guitar tonbak Nyckelharpa ondes Martenot Djembe toy piano Kazoo
8
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?x property:instrument ?j } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q320341
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as celesta ?
(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 Q320341
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q320341 property:P1303 ?n } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?z } }
celesta
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity celesta
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:musical_instrument . resource:celesta property:instrument ?n } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?z } }
[]
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 Q320341
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as celesta
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q320341 property:P1303 ?n } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?z } }
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 can approximately the same number of people perform with as celesta
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 celesta
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:musical_instrument . resource:celesta property:instrument ?n } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q213100
P1303
Q34379 Q502895
USER
And how about tabla?
(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 Q213100
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?u ) WHERE { ?v rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?v } GROUP BY ?v } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q213100 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } }
tabla
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?u ) WHERE { ?v rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?v } GROUP BY ?v } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:tabla property:instrument ?e . ?e rdf:type ontology:musical_instrument } } }
[]
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 Q213100
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?u ) WHERE { ?v rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?v } GROUP BY ?v } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q213100 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } }
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 tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?u ) WHERE { ?v rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?v } GROUP BY ?v } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:tabla property:instrument ?e . ?e rdf:type ontology:musical_instrument } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1178361
P21 P1303
Q502895
USER
Which people plays davul and are a male ?
AND((c(Q502895),P1303,Q1178361), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1178361
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q1178361'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P1303 resource:Q1178361 . ?z property:P21 resource:Q6581097 }
male davul
action filter_type
action intersection
action find_reverse
entity davul
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'davul'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:instrument resource:davul . ?z property:gender resource:male }
[]
common name
Q343394
SYSTEM
İbrahim Tatlıses
Q343394
AND((c(Q502895),P1303,Q1178361), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1178361
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] plays davul and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q1178361'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P1303 resource:Q1178361 . ?z property:P21 resource:Q6581097 }
İbrahim Tatlıses
İbrahim Tatlıses plays davul and are a male
İbrahim Tatlıses
action filter_type
action intersection
action find_reverse
entity davul
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'davul'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:instrument resource:davul . ?z property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works have been dubbed by max number of people ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?o property:P725 ?z . ?o rdf:type ontology:Q386724 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?w ) WHERE { ?m property:P725 ?g . ?m rdf:type ontology:Q386724 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?w = ?c ) }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?o property:voice_actor ?z . ?o rdf:type ontology:work . ?z rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?w ) WHERE { ?m property:voice_actor ?g . ?m rdf:type ontology:work . ?g rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?w = ?c ) }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?o property:P725 ?z . ?o rdf:type ontology:Q386724 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?w ) WHERE { ?m property:P725 ?g . ?m rdf:type ontology:Q386724 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?w = ?c ) }
Hércules y el examen de conducir
Hércules y el examen de conducir have been dubbed by max number of people
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?o property:voice_actor ?z . ?o rdf:type ontology:work . ?z rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?w ) WHERE { ?m property:voice_actor ?g . ?m rdf:type ontology:work . ?g rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?w = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24652378 Q5506878
P19
Q56061
USER
Which administrative territories are the birthplace of Fuad Kokaly or Rogério Contreiras Simões ?
OR((Q5506878,P19,c(Q56061)), (Q24652378,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5506878
relation P19
action find
entity Q24652378
relation P19
type Q56061
{'OR': [['Q5506878', 'P19', {'concept': 'Q56061'}], ['Q24652378', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . { VALUES ( ?v ) { ( resource:Q5506878 ) ( resource:Q24652378 ) } . ?v property:P19 ?c } }
Rogério Contreiras Simões Fuad Kokaly
action filter_type
action union
action find
entity Fuad Kokaly
relation place of birth
action find
entity Rogério Contreiras Simões
relation place of birth
type administrative territorial entity
{'OR': [['Fuad Kokaly', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rogério Contreiras Simões', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . { VALUES ( ?v ) { ( resource:Fuad_Kokaly ) ( resource:Rogério_Contreiras_Simões ) } . ?v property:place_of_birth ?c } }
[]
administrative territorial entity
Q803990 Q551696
SYSTEM
Beit Sahour, Castro Verde Municipality
Q803990 Q551696
OR((Q5506878,P19,c(Q56061)), (Q24652378,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5506878
relation P19
action find
entity Q24652378
relation P19
type Q56061
[ANSWERS] are the birthplace of Fuad Kokaly or Rogério Contreiras Simões
{'OR': [['Q5506878', 'P19', {'concept': 'Q56061'}], ['Q24652378', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . { VALUES ( ?v ) { ( resource:Q5506878 ) ( resource:Q24652378 ) } . ?v property:P19 ?c } }
Beit Sahour Castro Verde Municipality
Beit Sahour and Castro Verde Municipality are the birthplace of Fuad Kokaly or Rogério Contreiras Simões
Beit Sahour Castro Verde Municipality
action filter_type
action union
action find
entity Fuad Kokaly
relation place of birth
action find
entity Rogério Contreiras Simões
relation place of birth
type administrative territorial entity
{'OR': [['Fuad Kokaly', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rogério Contreiras Simões', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . { VALUES ( ?v ) { ( resource:Fuad_Kokaly ) ( resource:Rogério_Contreiras_Simões ) } . ?v property:place_of_birth ?c } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1087689 Q803990
P47 P190
Q20667921
USER
Which french administrative divisions are twin cities of Beit Sahour or are adjacent to Canavaggia ?
OR((Q803990,P190,c(Q20667921)), (Q1087689,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q803990
relation P190
action find
entity Q1087689
relation P47
type Q20667921
{'OR': [['Q803990', 'P190', {'concept': 'Q20667921'}], ['Q1087689', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q803990 property:P190 ?x } UNION { resource:Q1087689 property:P47 ?x } } . ?x rdf:type ontology:Q20667921 }
Canavaggia Beit Sahour
action filter_type
action union
action find
entity Beit Sahour
relation sister city
action find
entity Canavaggia
relation shares border with
type type of french administrative division
{'OR': [['Beit Sahour', 'sister city', {'concept': 'type of french administrative division'}], ['Canavaggia', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Beit_Sahour property:sister_city ?x } UNION { resource:Canavaggia property:shares_border_with ?x } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q239078 Q1976 Q677880 Q201982 Q270675 Q271095 Q670899 Q1087903 Q631214 Q13596
SYSTEM
Some of them are Romans-sur-Isère, Givors, Lento, Clichy, Morosaglia, Castello-di-Rostino, Valle-di-Rostino, Castifao, Pietralba, Vaulx-en-Velin
Q631214 Q201982 Q670899 Q271095 Q1087903 Q1976 Q270675 Q677880 Q239078 Q429148 Q13596
OR((Q803990,P190,c(Q20667921)), (Q1087689,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q803990
relation P190
action find
entity Q1087689
relation P47
type Q20667921
[ANSWERS] are twin cities of Beit Sahour or are adjacent to Canavaggia
{'OR': [['Q803990', 'P190', {'concept': 'Q20667921'}], ['Q1087689', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q803990 property:P190 ?x } UNION { resource:Q1087689 property:P47 ?x } } . ?x rdf:type ontology:Q20667921 }
Pietralba Clichy Valle-di-Rostino Castello-di-Rostino Castifao Givors Morosaglia Lento Romans-sur-Isère Moltifao Vaulx-en-Velin
Romans-sur-Isère, Givors, Lento, Clichy, Morosaglia, Castello-di-Rostino, Valle-di-Rostino, Castifao, Pietralba and Vaulx-en-Velin are twin cities of Beit Sahour or are adjacent to Canavaggia
Romans-sur-Isère Givors Lento Clichy Morosaglia Castello-di-Rostino Valle-di-Rostino Castifao Pietralba Vaulx-en-Velin
action filter_type
action union
action find
entity Beit Sahour
relation sister city
action find
entity Canavaggia
relation shares border with
type type of french administrative division
{'OR': [['Beit Sahour', 'sister city', {'concept': 'type of french administrative division'}], ['Canavaggia', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Beit_Sahour property:sister_city ?x } UNION { resource:Canavaggia property:shares_border_with ?x } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q803990
P190 P17
Q15617994
USER
Which administrative territories are twin city of Beit Sahour and are located in Italy ?
AND((c(Q15617994),P190,Q803990), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q803990
relation P190
action find_reverse
entity Q38
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P190', 'Q803990'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?c WHERE { ?c property:P17 resource:Q38 . ?c property:P190 resource:Q803990 . ?c rdf:type ontology:Q15617994 }
Italy Beit Sahour
action filter_type
action intersection
action find_reverse
entity Beit Sahour
relation sister city
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Beit Sahour'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?c WHERE { ?c property:country resource:Italy . ?c property:sister_city resource:Beit_Sahour . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q102780 Q52063 Q82789 Q48144 Q13376 Q111226 Q102555 Q102716
SYSTEM
Serravalle Pistoiese, Anghiari, Pelago, Mira, Pistoia, Quattro Castella, Agliana, Quarrata
Q102780 Q52063 Q82789 Q48144 Q13376 Q111226 Q102555 Q102716
AND((c(Q15617994),P190,Q803990), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q803990
relation P190
action find_reverse
entity Q38
relation P17
type Q15617994
[ANSWERS] are twin city of Beit Sahour and are located in Italy
{'AND': [[{'concept': 'Q15617994'}, 'P190', 'Q803990'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?c WHERE { ?c property:P17 resource:Q38 . ?c property:P190 resource:Q803990 . ?c rdf:type ontology:Q15617994 }
Serravalle Pistoiese Anghiari Pelago Mira Pistoia Quattro Castella Agliana Quarrata
Serravalle Pistoiese, Anghiari, Pelago, Mira, Pistoia, Quattro Castella, Agliana and Quarrata are twin city of Beit Sahour and are located in Italy
Serravalle Pistoiese Anghiari Pelago Mira Pistoia Quattro Castella Agliana Quarrata
action filter_type
action intersection
action find_reverse
entity Beit Sahour
relation sister city
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Beit Sahour'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?c WHERE { ?c property:country resource:Italy . ?c property:sister_city resource:Beit_Sahour . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]