Simple Question (Direct)
Simple Question
Q722202
P19
Q56061
USER
Where was Yoram Kaniuk born ?
(Q722202,P19,c(Q56061))
action filter_type
action find
entity Q722202
relation P19
type Q56061
['Q722202', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q722202 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Yoram Kaniuk
action filter_type
action find
entity Yoram Kaniuk
relation place of birth
type administrative territorial entity
['Yoram Kaniuk', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Yoram_Kaniuk property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935
SYSTEM
Tel Aviv
Q33935
(Q722202,P19,c(Q56061))
action filter_type
action find
entity Q722202
relation P19
type Q56061
Yoram Kaniuk was born in [ANSWER]
['Q722202', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q722202 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Tel Aviv
Yoram Kaniuk was born in Tel Aviv
Tel Aviv
action filter_type
action find
entity Yoram Kaniuk
relation place of birth
type administrative territorial entity
['Yoram Kaniuk', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Yoram_Kaniuk property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33935
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q33935,P6,c(Q502895))
action filter_type
action find
entity Q33935
relation P6
type Q502895
['Q33935', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q33935 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Tel Aviv
action filter_type
action find
entity Tel Aviv
relation head of government
type common name
['Tel Aviv', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tel_Aviv property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q114760
SYSTEM
Ron Huldai
Q114760
(Q33935,P6,c(Q502895))
action filter_type
action find
entity Q33935
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q33935', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q33935 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Ron Huldai
Ron Huldai is that administrative territory the head of goverment of
Ron Huldai
action filter_type
action find
entity Tel Aviv
relation head of government
type common name
['Tel Aviv', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tel_Aviv property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q114760 Q4998937 Q801
P27
Q15617994
USER
Is that person a native of Burke County School District and Israel ?
(Q114760,P27,Q4998937) (Q114760,P27,Q801)
action is_in
entity Q114760
action intersection
action find_reverse
entity Q4998937
relation P27
action find_reverse
entity Q801
relation P27
['Q114760', 'P27', 'Q4998937'] ['Q114760', 'P27', 'Q801']
ASK WHERE { resource:Q114760 property:P27 resource:Q4998937 . resource:Q114760 property:P27 resource:Q801 }
Ron Huldai Burke County School District Israel
action is_in
entity Ron Huldai
action intersection
action find_reverse
entity Burke County School District
relation country of citizenship
action find_reverse
entity Israel
relation country of citizenship
['Ron Huldai', 'country of citizenship', 'Burke County School District'] ['Ron Huldai', 'country of citizenship', 'Israel']
ASK WHERE { resource:Ron_Huldai property:country_of_citizenship resource:Burke_County_School_District . resource:Ron_Huldai property:country_of_citizenship resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q114760,P27,Q4998937) (Q114760,P27,Q801)
action is_in
entity Q114760
action intersection
action find_reverse
entity Q4998937
relation P27
action find_reverse
entity Q801
relation P27
[ANSWER]
['Q114760', 'P27', 'Q4998937'] ['Q114760', 'P27', 'Q801']
ASK WHERE { resource:Q114760 property:P27 resource:Q4998937 . resource:Q114760 property:P27 resource:Q801 }
NO and YES respectively
action is_in
entity Ron Huldai
action intersection
action find_reverse
entity Burke County School District
relation country of citizenship
action find_reverse
entity Israel
relation country of citizenship
['Ron Huldai', 'country of citizenship', 'Burke County School District'] ['Ron Huldai', 'country of citizenship', 'Israel']
ASK WHERE { resource:Ron_Huldai property:country_of_citizenship resource:Burke_County_School_District . resource:Ron_Huldai property:country_of_citizenship resource:Israel }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2214384 Q801
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Israel and are Salim Sayegh a civilian of ?
AND((Q801,P530,c(Q15617994)), (Q2214384,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q801
relation P530
action find
entity Q2214384
relation P27
type Q15617994
{'AND': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q2214384', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q2214384 property:P27 ?d . resource:Q801 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Salim Sayegh Israel
action filter_type
action intersection
action find
entity Israel
relation diplomatic relation
action find
entity Salim Sayegh
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Salim Sayegh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Salim_Sayegh property:country_of_citizenship ?d . resource:Israel property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q810
SYSTEM
Jordan
Q810
AND((Q801,P530,c(Q15617994)), (Q2214384,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q801
relation P530
action find
entity Q2214384
relation P27
type Q15617994
[ANSWER] have a diplomatic relationship with Israel and are Salim Sayegh a civilian of
{'AND': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q2214384', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q2214384 property:P27 ?d . resource:Q801 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Jordan
Jordan have a diplomatic relationship with Israel and are Salim Sayegh a civilian of
Jordan
action filter_type
action intersection
action find
entity Israel
relation diplomatic relation
action find
entity Salim Sayegh
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Salim Sayegh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Salim_Sayegh property:country_of_citizenship ?d . resource:Israel property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q810 Q8049880
P27
Q502895
USER
Is Yasser Al-Rawashdeh a native of that administrative territory ?
(Q8049880,P27,Q810)
action is_in
entity Q810
action find
entity Q8049880
relation P27
['Q8049880', 'P27', 'Q810']
ASK WHERE { resource:Q8049880 property:P27 resource:Q810 }
Jordan Yasser Al-Rawashdeh
action is_in
entity Jordan
action find
entity Yasser Al-Rawashdeh
relation country of citizenship
['Yasser Al-Rawashdeh', 'country of citizenship', 'Jordan']
ASK WHERE { resource:Yasser_Al-Rawashdeh property:country_of_citizenship resource:Jordan }
[]
common name
SYSTEM
YES
(Q8049880,P27,Q810)
action is_in
entity Q810
action find
entity Q8049880
relation P27
[ANSWER]
['Q8049880', 'P27', 'Q810']
ASK WHERE { resource:Q8049880 property:P27 resource:Q810 }
Yes
action is_in
entity Jordan
action find
entity Yasser Al-Rawashdeh
relation country of citizenship
['Yasser Al-Rawashdeh', 'country of citizenship', 'Jordan']
ASK WHERE { resource:Yasser_Al-Rawashdeh property:country_of_citizenship resource:Jordan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q810
P1001
Q874405
USER
Which social group has jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q810
relation P1001
type Q874405
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q810 . ?f rdf:type ontology:Q874405 }
Jordan
action filter_type
action find_reverse
entity Jordan
relation applies to jurisdiction
type social group
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Jordan . ?f rdf:type ontology:social_group }
[]
social group
Q1794628
SYSTEM
Custodian of the Holy Land
Q1794628
action filter_type
action find_reverse
entity Q810
relation P1001
type Q874405
[ANSWER] has jurisdiction over that administrative territory
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q810 . ?f rdf:type ontology:Q874405 }
Custodian of the Holy Land
Custodian of the Holy Land has jurisdiction over that administrative territory
Custodian of the Holy Land
action filter_type
action find_reverse
entity Jordan
relation applies to jurisdiction
type social group
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Jordan . ?f rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1794628
P417
Q502895
USER
Which person is the patron saint of that social group ?
(Q1794628,P417,c(Q502895))
action filter_type
action find
entity Q1794628
relation P417
type Q502895
['Q1794628', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1794628 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Custodian of the Holy Land
action filter_type
action find
entity Custodian of the Holy Land
relation patron saint
type common name
['Custodian of the Holy Land', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Custodian_of_the_Holy_Land property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
common name
Q167477
SYSTEM
Anthony of Padua
Q167477
(Q1794628,P417,c(Q502895))
action filter_type
action find
entity Q1794628
relation P417
type Q502895
[ANSWER] is the patron saint of that social group
['Q1794628', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1794628 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Anthony of Padua
Anthony of Padua is the patron saint of that social group
Anthony of Padua
action filter_type
action find
entity Custodian of the Holy Land
relation patron saint
type common name
['Custodian of the Holy Land', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Custodian_of_the_Holy_Land property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q15617994 Q12737077 Q15617994
USER
How many administrative territories have exactly 1 administrative territories and occupations as the type of government ?
(c(Q15617994),P122,c(Q15617994)|c(Q12737077))
action count
action equal
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?o WHERE { { ?o property:P122 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } UNION { ?o property:P122 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 } } GROUP BY ?o } . FILTER ( ?n = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?o WHERE { { ?o property:basic_form_of_government ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:basic_form_of_government ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation } } GROUP BY ?o } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity occupation designation for an administrative territorial entity
SYSTEM
6
Q541991 Q889 Q689837 Q815731 Q228 Q1483510
(c(Q15617994),P122,c(Q15617994)|c(Q12737077))
action count
action equal
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?o WHERE { { ?o property:P122 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } UNION { ?o property:P122 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 } } GROUP BY ?o } . FILTER ( ?n = 1 ) }
Hummelfeld Afghanistan Spanish Sahara Principality of Bulgaria Andorra Principality of Wales
6
action count
action equal
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?o WHERE { { ?o property:basic_form_of_government ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:basic_form_of_government ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation } } GROUP BY ?o } . FILTER ( ?n = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26715049
P725
Q502895 Q386724
USER
How many works did more number of people do the dubbing for than Peter y el dragón ?
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?i ) WHERE { ?p property:P725 ?q . ?p rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q26715049 property:P725 ?o . ?o rdf:type ontology:Q386724 } } . FILTER ( ?i > ?m ) }
Peter y el dragón
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?i ) WHERE { ?p property:voice_actor ?q . ?p rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Peter_y_el_dragón property:voice_actor ?o . ?o rdf:type ontology:work } } . FILTER ( ?i > ?m ) }
[]
common name work
SYSTEM
12
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?i ) WHERE { ?p property:P725 ?q . ?p rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q26715049 property:P725 ?o . ?o rdf:type ontology:Q386724 } } . FILTER ( ?i > ?m ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?i ) WHERE { ?p property:voice_actor ?q . ?p rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Peter_y_el_dragón property:voice_actor ?o . ?o rdf:type ontology:work } } . FILTER ( ?i > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q26701981
P725
Q502895 Q386724
USER
And how about Hércules y el grifo?
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26701981
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?a ) WHERE { ?s property:P725 ?r . ?s rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q386724 . resource:Q26701981 property:P725 ?k } } . FILTER ( ?a > ?g ) }
Hércules y el grifo
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el grifo
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?a ) WHERE { ?s property:voice_actor ?r . ?s rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:work . resource:Hércules_y_el_grifo property:voice_actor ?k } } . FILTER ( ?a > ?g ) }
[]
common name work
SYSTEM
5
Q26331781 Q23752771 Q26712000 Q26301623 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26701981
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?a ) WHERE { ?s property:P725 ?r . ?s rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q386724 . resource:Q26701981 property:P725 ?k } } . FILTER ( ?a > ?g ) }
Hércules y el examen de conducir Iron Man Hércules y los Tecno-Griegos Hércules y el primer día de escuela Iron Man 2
5
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el grifo
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?a ) WHERE { ?s property:voice_actor ?r . ?s rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:work . resource:Hércules_y_el_grifo property:voice_actor ?k } } . FILTER ( ?a > ?g ) }
[]