Simple Question (Direct)
Simple Question
Q6048600
P937
Q56061
USER
Which is the work location of Octaviano Obregón ?
(Q6048600,P937,c(Q56061))
action filter_type
action find
entity Q6048600
relation P937
type Q56061
['Q6048600', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6048600 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Octaviano Obregón
action filter_type
action find
entity Octaviano Obregón
relation work location
type administrative territorial entity
['Octaviano Obregón', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Octaviano_Obregón property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q6048600,P937,c(Q56061))
action filter_type
action find
entity Q6048600
relation P937
type Q56061
[ANSWER] is the work location of Octaviano Obregón
['Q6048600', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6048600 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Madrid
Madrid is the work location of Octaviano Obregón
Madrid
action filter_type
action find
entity Octaviano Obregón
relation work location
type administrative territorial entity
['Octaviano Obregón', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Octaviano_Obregón property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q2807,P6,c(Q502895))
action filter_type
action find
entity Q2807
relation P6
type Q502895
['Q2807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2807 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Madrid
action filter_type
action find
entity Madrid
relation head of government
type common name
['Madrid', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Madrid property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1344166 Q467829 Q3186388
SYSTEM
Enrique Tierno Galván, Alberto Ruiz-Gallardón, José Luis Álvarez
Q9025210 Q2748778 Q1344166 Q467829 Q41266 Q3391346 Q19592761 Q2733245 Q2827364 Q5992655 Q3186388
(Q2807,P6,c(Q502895))
action filter_type
action find
entity Q2807
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q2807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2807 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Luis María Huete José María Álvarez del Manzano Enrique Tierno Galván Alberto Ruiz-Gallardón Ana Botella Juan de Arespacochaga Manuela Carmena Juan Barranco Gallardo Agustín Rodríguez Sahagún Manuel Cobo José Luis Álvarez
Enrique Tierno Galván, Alberto Ruiz-Gallardón and José Luis Álvarez are that administrative territory the head of goverment of
Enrique Tierno Galván Alberto Ruiz-Gallardón José Luis Álvarez
action filter_type
action find
entity Madrid
relation head of government
type common name
['Madrid', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Madrid property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1344166 Q467829 Q3186388
P102
Q7278
USER
Which parties do those people belong to ?
(Q1344166,P102,c(Q7278)) (Q467829,P102,c(Q7278)) (Q3186388,P102,c(Q7278))
action filter_type
action find
entity prev_answer
relation P102
type Q7278
['Q1344166', 'P102', {'concept': 'Q7278'}] ['Q467829', 'P102', {'concept': 'Q7278'}] ['Q3186388', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { ?u property:P102 ?f . ?f rdf:type ontology:Q7278 . VALUES ( ?u ) { ( resource:Q9025210 ) ( resource:Q2748778 ) ( resource:Q1344166 ) } }
Enrique Tierno Galván Alberto Ruiz-Gallardón José Luis Álvarez
action filter_type
action find
entity prev_answer
relation member of political party
type political party
['Enrique Tierno Galván', 'member of political party', {'concept': 'political party'}] ['Alberto Ruiz-Gallardón', 'member of political party', {'concept': 'political party'}] ['José Luis Álvarez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { ?u property:member_of_political_party ?f . ?f rdf:type ontology:political_party . VALUES ( ?u ) { ( resource:Luis_María_Huete ) ( resource:José_María_Álvarez_del_Manzano ) ( resource:Enrique_Tierno_Galván ) } }
[]
political party
Q138198 Q185088 Q549209
SYSTEM
Spanish Socialist Workers' Party, People's Party, Union of the Democratic Centre
Q138198 Q185088 Q549209
(Q1344166,P102,c(Q7278)) (Q467829,P102,c(Q7278)) (Q3186388,P102,c(Q7278))
action filter_type
action find
entity prev_answer
relation P102
type Q7278
Those people belong to [ANSWERS]
['Q1344166', 'P102', {'concept': 'Q7278'}] ['Q467829', 'P102', {'concept': 'Q7278'}] ['Q3186388', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { ?u property:P102 ?f . ?f rdf:type ontology:Q7278 . VALUES ( ?u ) { ( resource:Q9025210 ) ( resource:Q2748778 ) ( resource:Q1344166 ) } }
Spanish Socialist Workers' Party People's Party Union of the Democratic Centre
Those people belong to Spanish Socialist Workers' Party, People's Party and Union of the Democratic Centre
Spanish Socialist Workers' Party People's Party Union of the Democratic Centre
action filter_type
action find
entity prev_answer
relation member of political party
type political party
['Enrique Tierno Galván', 'member of political party', {'concept': 'political party'}] ['Alberto Ruiz-Gallardón', 'member of political party', {'concept': 'political party'}] ['José Luis Álvarez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { ?u property:member_of_political_party ?f . ?f rdf:type ontology:political_party . VALUES ( ?u ) { ( resource:Luis_María_Huete ) ( resource:José_María_Álvarez_del_Manzano ) ( resource:Enrique_Tierno_Galván ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P162
Q838948
USER
Which works of art have been produced by Madrid ?
(c(Q838948),P162,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q2807']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P162 resource:Q2807 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Madrid']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:producer resource:Madrid }
[]
work of art
Q3837414 Q3020023
SYSTEM
The Blues of Pop Street, Il marito
Q3837414 Q3020023
(c(Q838948),P162,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P162
type Q838948
[ANSWERS] have been produced by Madrid
[{'concept': 'Q838948'}, 'P162', 'Q2807']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P162 resource:Q2807 }
The Blues of Pop Street Il marito
The Blues of Pop Street and Il marito have been produced by Madrid
The Blues of Pop Street Il marito
action filter_type
action find_reverse
entity Madrid
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Madrid']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:producer resource:Madrid }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3837414 Q3020023
P57
Q502895
USER
Who directed those works of art ?
(Q3837414,P57,c(Q502895)) (Q3020023,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q3837414', 'P57', {'concept': 'Q502895'}] ['Q3020023', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?f property:P57 ?n . VALUES ( ?f ) { ( resource:Q3837414 ) ( resource:Q3020023 ) } }
The Blues of Pop Street Il marito
action filter_type
action find
entity prev_answer
relation director
type common name
['The Blues of Pop Street', 'director', {'concept': 'common name'}] ['Il marito', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?f property:director ?n . VALUES ( ?f ) { ( resource:The_Blues_of_Pop_Street ) ( resource:Il_marito ) } }
[]
common name
Q353758 Q433290 Q53023
SYSTEM
Jesús Franco, Gianni Puccini, Nanni Loy
Q353758 Q433290 Q53023
(Q3837414,P57,c(Q502895)) (Q3020023,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS] directed those works of art
['Q3837414', 'P57', {'concept': 'Q502895'}] ['Q3020023', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?f property:P57 ?n . VALUES ( ?f ) { ( resource:Q3837414 ) ( resource:Q3020023 ) } }
Jesús Franco Gianni Puccini Nanni Loy
Jesús Franco, Gianni Puccini and Nanni Loy directed those works of art
Jesús Franco Gianni Puccini Nanni Loy
action filter_type
action find
entity prev_answer
relation director
type common name
['The Blues of Pop Street', 'director', {'concept': 'common name'}] ['Il marito', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?f property:director ?n . VALUES ( ?f ) { ( resource:The_Blues_of_Pop_Street ) ( resource:Il_marito ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3837414
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q3837414,P58,c(Q502895))
action filter_type
action find
entity Q3837414
relation P58
type Q502895
['Q3837414', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q3837414 property:P58 ?z }
The Blues of Pop Street
action filter_type
action find
entity The Blues of Pop Street
relation screenwriter
type common name
['The Blues of Pop Street', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:The_Blues_of_Pop_Street property:screenwriter ?z }
[]
common name
Clarification for simple ques.
Q3837414
SYSTEM
Did you mean The Blues of Pop Street ?
Q353758 Q433290 Q53023
(Q353758,P58,c(Q502895)) (Q433290,P58,c(Q502895)) (Q53023,P58,c(Q502895))
[ANSWER]
['Q353758', 'P58', {'concept': 'Q502895'}] ['Q433290', 'P58', {'concept': 'Q502895'}] ['Q53023', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q3837414 property:P58 ?z }
Jesús Franco Gianni Puccini Nanni Loy
Did you mean The Blues of Pop Street ?
The Blues of Pop Street
['Jesús Franco', 'screenwriter', {'concept': 'common name'}] ['Gianni Puccini', 'screenwriter', {'concept': 'common name'}] ['Nanni Loy', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:The_Blues_of_Pop_Street property:screenwriter ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3837414,P58,c(Q502895))
['Q3837414', 'P58', {'concept': 'Q502895'}]
['The Blues of Pop Street', 'screenwriter', {'concept': 'common name'}]
[]
Q353758
SYSTEM
Jesús Franco
Q353758
(Q3837414,P58,c(Q502895))
action filter_type
action find
entity Q3837414
relation P58
type Q502895
The screenwriter for that work of art was [ANSWER]
['Q3837414', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q3837414 property:P58 ?z }
Jesús Franco
The screenwriter for that work of art was Jesús Franco
Jesús Franco
action filter_type
action find
entity The Blues of Pop Street
relation screenwriter
type common name
['The Blues of Pop Street', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:The_Blues_of_Pop_Street property:screenwriter ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q353758 Q386714
P58
Q838948
USER
Is that person a screenwriter of Count Dracula ?
(Q386714,P58,Q353758)
action is_in
entity Q353758
action find
entity Q386714
relation P58
['Q386714', 'P58', 'Q353758']
ASK WHERE { resource:Q386714 property:P58 resource:Q353758 }
Jesús Franco Count Dracula
action is_in
entity Jesús Franco
action find
entity Count Dracula
relation screenwriter
['Count Dracula', 'screenwriter', 'Jesús Franco']
ASK WHERE { resource:Count_Dracula property:screenwriter resource:Jesús_Franco }
[]
work of art
SYSTEM
YES
(Q386714,P58,Q353758)
action is_in
entity Q353758
action find
entity Q386714
relation P58
[ANSWER]
['Q386714', 'P58', 'Q353758']
ASK WHERE { resource:Q386714 property:P58 resource:Q353758 }
Yes
action is_in
entity Jesús Franco
action find
entity Count Dracula
relation screenwriter
['Count Dracula', 'screenwriter', 'Jesús Franco']
ASK WHERE { resource:Count_Dracula property:screenwriter resource:Jesús_Franco }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q53023 Q1798622
P27
Q15617994
USER
Is Nanni Loy an inhabitant of governorate ?
(Q53023,P27,Q1798622)
action is_in
entity Q1798622
action find
entity Q53023
relation P27
['Q53023', 'P27', 'Q1798622']
ASK WHERE { resource:Q53023 property:P27 resource:Q1798622 }
Nanni Loy governorate
action is_in
entity governorate
action find
entity Nanni Loy
relation country of citizenship
['Nanni Loy', 'country of citizenship', 'governorate']
ASK WHERE { resource:Nanni_Loy property:country_of_citizenship resource:governorate }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q53023,P27,Q1798622)
action is_in
entity Q1798622
action find
entity Q53023
relation P27
[ANSWER]
['Q53023', 'P27', 'Q1798622']
ASK WHERE { resource:Q53023 property:P27 resource:Q1798622 }
No
action is_in
entity governorate
action find
entity Nanni Loy
relation country of citizenship
['Nanni Loy', 'country of citizenship', 'governorate']
ASK WHERE { resource:Nanni_Loy property:country_of_citizenship resource:governorate }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1024685
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as cabasa ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P1303 ?o . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q1024685 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?n = ?y ) }
cabasa
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:instrument ?o . ?z rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:cabasa property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?y ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P1303 ?o . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q1024685 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?n = ?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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:instrument ?o . ?z rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:cabasa property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q53023
P19
Q56061
USER
How many administrative territories are the birthplace of Nanni Loy ?
(Q53023,P19,c(Q56061))
action count
action filter_type
action find
entity Q53023
relation P19
type Q56061
['Q53023', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q53023 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Nanni Loy
action count
action filter_type
action find
entity Nanni Loy
relation place of birth
type administrative territorial entity
['Nanni Loy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Nanni_Loy property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1897
(Q53023,P19,c(Q56061))
action count
action filter_type
action find
entity Q53023
relation P19
type Q56061
[ANSWER]
['Q53023', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q53023 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Cagliari
1
action count
action filter_type
action find
entity Nanni Loy
relation place of birth
type administrative territorial entity
['Nanni Loy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Nanni_Loy property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1498793
Q56061
USER
And how about Geir Andre Erlandsen?
(Q1498793,P19,c(Q56061))
action count
action filter_type
action find
entity Q1498793
relation P19
type Q56061
['Q1498793', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q1498793 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Geir Andre Erlandsen
action count
action filter_type
action find
entity Geir Andre Erlandsen
relation place of birth
type administrative territorial entity
['Geir Andre Erlandsen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Geir_Andre_Erlandsen property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q1498793,P19,c(Q56061))
action count
action filter_type
action find
entity Q1498793
relation P19
type Q56061
[ANSWER]
['Q1498793', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q1498793 property:P19 ?z . ?z rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Geir Andre Erlandsen
relation place of birth
type administrative territorial entity
['Geir Andre Erlandsen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Geir_Andre_Erlandsen property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15620419
P725
Q502895 Q6619679
USER
How many fictional humanoids have been dubbed by more number of people than Elsa ?
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15620419
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?x ) WHERE { ?z rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 . ?z property:P725 ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:Q6619679 . resource:Q15620419 property:P725 ?b } } . FILTER ( ?x > ?o ) }
Elsa
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Elsa
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?x ) WHERE { ?z rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name . ?z property:voice_actor ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:fictional_humanoid . resource:Elsa property:voice_actor ?b } } . FILTER ( ?x > ?o ) }
[]
common name fictional humanoid
SYSTEM
20
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15620419
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?x ) WHERE { ?z rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 . ?z property:P725 ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:Q6619679 . resource:Q15620419 property:P725 ?b } } . FILTER ( ?x > ?o ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
20
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Elsa
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?x ) WHERE { ?z rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name . ?z property:voice_actor ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:fictional_humanoid . resource:Elsa property:voice_actor ?b } } . FILTER ( ?x > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11479883
P725
Q502895 Q6619679
USER
And also tell me about Mami Tomoe?
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q11479883
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?e property:P725 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q6619679 } GROUP BY ?e } . FILTER ( ?i > ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q11479883 property:P725 ?m . ?m rdf:type ontology:Q6619679 } } }
Mami Tomoe
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mami Tomoe
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?e property:voice_actor ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:fictional_humanoid } GROUP BY ?e } . FILTER ( ?i > ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Mami_Tomoe property:voice_actor ?m . ?m rdf:type ontology:fictional_humanoid } } }
[]
common name fictional humanoid
SYSTEM
7
Q15707554 Q994344 Q11677249 Q11382982 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q11479883
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?e property:P725 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q6619679 } GROUP BY ?e } . FILTER ( ?i > ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q11479883 property:P725 ?m . ?m rdf:type ontology:Q6619679 } } }
Apple Bloom Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Homura Akemi Naruto Uzumaki Granny Smith
7
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mami Tomoe
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?e property:voice_actor ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:fictional_humanoid } GROUP BY ?e } . FILTER ( ?i > ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Mami_Tomoe property:voice_actor ?m . ?m rdf:type ontology:fictional_humanoid } } }
[]