Simple Question (Direct)
Simple Question
Q11955317
P27
Q15617994
USER
Which administrative territory does Xavier Roig i Castelló belong to ?
(Q11955317,P27,c(Q15617994))
action filter_type
action find
entity Q11955317
relation P27
type Q15617994
['Q11955317', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11955317 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Xavier Roig i Castelló
action filter_type
action find
entity Xavier Roig i Castelló
relation country of citizenship
type designation for an administrative territorial entity
['Xavier Roig i Castelló', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Xavier_Roig_i_Castelló property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q11955317,P27,c(Q15617994))
action filter_type
action find
entity Q11955317
relation P27
type Q15617994
Xavier Roig i Castelló belongs a [ANSWER]
['Q11955317', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11955317 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Spain
Xavier Roig i Castelló belongs a Spain
Spain
action filter_type
action find
entity Xavier Roig i Castelló
relation country of citizenship
type designation for an administrative territorial entity
['Xavier Roig i Castelló', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Xavier_Roig_i_Castelló property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11955317
P106
Q12737077
USER
What are the job of that person ?
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q11955317
relation P106
type Q12737077
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q11955317 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Xavier Roig i Castelló
action filter_type
action find
entity Xavier Roig i Castelló
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Xavier_Roig_i_Castelló property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q81096 Q43845 Q36180
SYSTEM
engineer, businessperson, writer
Q81096 Q43845 Q36180
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q11955317
relation P106
type Q12737077
The job of that person are an [ANSWERS]
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q11955317 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
engineer businessperson writer
The job of that person are an engineer, businessperson and writer
engineer businessperson writer
action filter_type
action find
entity Xavier Roig i Castelló
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Xavier_Roig_i_Castelló property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15993641
P106
Q502895
USER
Do Richard Weingardt have career as those occupations ?
(Q15993641,P106,Q81096) (Q15993641,P106,Q43845) (Q15993641,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q15993641
relation P106
['Q15993641', 'P106', 'Q81096'] ['Q15993641', 'P106', 'Q43845'] ['Q15993641', 'P106', 'Q36180']
ASK WHERE { resource:Q15993641 property:P106 ?e . VALUES ( ?e ) { ( resource:Q81096 ) ( resource:Q43845 ) ( resource:Q36180 ) } }
Richard Weingardt
action is_in
entity prev_answer
action find
entity Richard Weingardt
relation occupation
['Richard Weingardt', 'occupation', 'engineer'] ['Richard Weingardt', 'occupation', 'businessperson'] ['Richard Weingardt', 'occupation', 'writer']
ASK WHERE { resource:Richard_Weingardt property:occupation ?e . VALUES ( ?e ) { ( resource:engineer ) ( resource:businessperson ) ( resource:writer ) } }
[]
common name
SYSTEM
YES
(Q15993641,P106,Q81096) (Q15993641,P106,Q43845) (Q15993641,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q15993641
relation P106
[ANSWER]
['Q15993641', 'P106', 'Q81096'] ['Q15993641', 'P106', 'Q43845'] ['Q15993641', 'P106', 'Q36180']
ASK WHERE { resource:Q15993641 property:P106 ?e . VALUES ( ?e ) { ( resource:Q81096 ) ( resource:Q43845 ) ( resource:Q36180 ) } }
Yes
action is_in
entity prev_answer
action find
entity Richard Weingardt
relation occupation
['Richard Weingardt', 'occupation', 'engineer'] ['Richard Weingardt', 'occupation', 'businessperson'] ['Richard Weingardt', 'occupation', 'writer']
ASK WHERE { resource:Richard_Weingardt property:occupation ?e . VALUES ( ?e ) { ( resource:engineer ) ( resource:businessperson ) ( resource:writer ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15993641
P108
Q3918
USER
Which university employs that person ?
action filter_type
action find
entity Q15993641
relation P108
type Q3918
SELECT DISTINCT ?j WHERE { resource:Q15993641 property:P108 ?j . ?j rdf:type ontology:Q3918 }
Richard Weingardt
action filter_type
action find
entity Richard Weingardt
relation employer
type university
SELECT DISTINCT ?j WHERE { resource:Richard_Weingardt property:employer ?j . ?j rdf:type ontology:university }
[]
university
Q49213
SYSTEM
University of Texas at Austin
Q49213
action filter_type
action find
entity Q15993641
relation P108
type Q3918
[ANSWER] employs that person
SELECT DISTINCT ?j WHERE { resource:Q15993641 property:P108 ?j . ?j rdf:type ontology:Q3918 }
University of Texas at Austin
University of Texas at Austin employs that person
University of Texas at Austin
action filter_type
action find
entity Richard Weingardt
relation employer
type university
SELECT DISTINCT ?j WHERE { resource:Richard_Weingardt property:employer ?j . ?j rdf:type ontology:university }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q201658 Q838948
USER
Which administrative territories did around 6216 film genres or works of art originate ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 6216
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 6216 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?o WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?b rdf:type ?t } GROUP BY ?o } }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 6216
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 6216 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?o WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?b rdf:type ?t } GROUP BY ?o } }
[]
designation for an administrative territorial entity film genre work of art
Q38 Q142 Q145
SYSTEM
Italy, France, United Kingdom
Q142 Q145 Q38 Q17
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 6216
Around 6216 film genres or works of art originated in [ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 6216 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?o WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?b rdf:type ?t } GROUP BY ?o } }
France United Kingdom Italy Japan
Around 6216 film genres or works of art originated in Italy, France and United Kingdom
Italy France United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 6216
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 6216 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?o WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?b rdf:type ?t } GROUP BY ?o } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q348210
P495
Q838948
USER
Did Tosca originate in those administrative territories ?
(Q348210,P495,Q38) (Q348210,P495,Q142) (Q348210,P495,Q145)
action is_in
entity prev_answer
action find
entity Q348210
relation P495
['Q348210', 'P495', 'Q38'] ['Q348210', 'P495', 'Q142'] ['Q348210', 'P495', 'Q145']
ASK WHERE { VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q348210 property:P495 ?d }
Tosca
action is_in
entity prev_answer
action find
entity Tosca
relation country of origin
['Tosca', 'country of origin', 'Italy'] ['Tosca', 'country of origin', 'France'] ['Tosca', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?d ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:Tosca property:country_of_origin ?d }
[]
work of art
SYSTEM
YES
(Q348210,P495,Q38) (Q348210,P495,Q142) (Q348210,P495,Q145)
action is_in
entity prev_answer
action find
entity Q348210
relation P495
[ANSWER]
['Q348210', 'P495', 'Q38'] ['Q348210', 'P495', 'Q142'] ['Q348210', 'P495', 'Q145']
ASK WHERE { VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q348210 property:P495 ?d }
Yes
action is_in
entity prev_answer
action find
entity Tosca
relation country of origin
['Tosca', 'country of origin', 'Italy'] ['Tosca', 'country of origin', 'France'] ['Tosca', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?d ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:Tosca property:country_of_origin ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q148
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with more number of administrative territories than People's Republic of China ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q148 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?t ) WHERE { ?c property:P530 ?g . ?c rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?c } }
People's Republic of China
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?t ) WHERE { ?c property:diplomatic_relation ?g . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
14
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q148 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?t ) WHERE { ?c property:P530 ?g . ?c rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?c } }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
14
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?t ) WHERE { ?c property:diplomatic_relation ?g . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q219
P530
Q15617994 Q15617994
USER
And how about Bulgaria?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q219 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?t ) }
Bulgaria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Bulgaria property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q219 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?t ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Bulgaria property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?t ) }
[]