Simple Question (Direct)
Simple Question
Q7173283
P19
Q56061
USER
Where was Peter Cipriano born ?
(Q7173283,P19,c(Q56061))
action filter_type
action find
entity Q7173283
relation P19
type Q56061
['Q7173283', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7173283 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Peter Cipriano
action filter_type
action find
entity Peter Cipriano
relation place of birth
type administrative territorial entity
['Peter Cipriano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Cipriano property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26339
SYSTEM
Jersey City
Q26339
(Q7173283,P19,c(Q56061))
action filter_type
action find
entity Q7173283
relation P19
type Q56061
Peter Cipriano was born in [ANSWER]
['Q7173283', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7173283 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Jersey City
Peter Cipriano was born in Jersey City
Jersey City
action filter_type
action find
entity Peter Cipriano
relation place of birth
type administrative territorial entity
['Peter Cipriano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Cipriano property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7173283
P641
Q349
USER
Which sport did Peter Cipriano participate in ?
(Q7173283,P641,c(Q349))
action filter_type
action find
entity Q7173283
relation P641
type Q349
['Q7173283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q7173283 property:P641 ?e . ?e rdf:type ontology:Q349 }
Peter Cipriano
action filter_type
action find
entity Peter Cipriano
relation sport
type sport
['Peter Cipriano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Peter_Cipriano property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q7173283,P641,c(Q349))
action filter_type
action find
entity Q7173283
relation P641
type Q349
Peter Cipriano participated in [ANSWER]
['Q7173283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q7173283 property:P641 ?e . ?e rdf:type ontology:Q349 }
basketball
Peter Cipriano participated in basketball
basketball
action filter_type
action find
entity Peter Cipriano
relation sport
type sport
['Peter Cipriano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Peter_Cipriano property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26339
P190
Q2074737
USER
Which municipalities of Spain are sister towns of Jersey City ?
(Q26339,P190,c(Q2074737))
action filter_type
action find
entity Q26339
relation P190
type Q2074737
['Q26339', 'P190', {'concept': 'Q2074737'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2074737 . resource:Q26339 property:P190 ?n }
Jersey City
action filter_type
action find
entity Jersey City
relation sister city
type municipality of Spain
['Jersey City', 'sister city', {'concept': 'municipality of Spain'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:municipality_of_Spain . resource:Jersey_City property:sister_city ?n }
[]
municipality of Spain
Q818368 Q14317
SYSTEM
San Martín del Rey Aurelio, Oviedo
Q818368 Q14317
(Q26339,P190,c(Q2074737))
action filter_type
action find
entity Q26339
relation P190
type Q2074737
[ANSWERS] are sister towns of Jersey City
['Q26339', 'P190', {'concept': 'Q2074737'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2074737 . resource:Q26339 property:P190 ?n }
San Martín del Rey Aurelio Oviedo
San Martín del Rey Aurelio and Oviedo are sister towns of Jersey City
San Martín del Rey Aurelio Oviedo
action filter_type
action find
entity Jersey City
relation sister city
type municipality of Spain
['Jersey City', 'sister city', {'concept': 'municipality of Spain'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:municipality_of_Spain . resource:Jersey_City property:sister_city ?n }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q26339
Q1048835
USER
And which political territory?
(Q26339,P190,c(Q1048835))
action filter_type
action find
entity Q26339
relation P190
type Q1048835
['Q26339', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q26339 property:P190 ?o . ?o rdf:type ontology:Q1048835 }
Jersey City
action filter_type
action find
entity Jersey City
relation sister city
type political territorial entity
['Jersey City', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jersey_City property:sister_city ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q168376
SYSTEM
Vitória
Q168376
(Q26339,P190,c(Q1048835))
action filter_type
action find
entity Q26339
relation P190
type Q1048835
[ANSWER]
['Q26339', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q26339 property:P190 ?o . ?o rdf:type ontology:Q1048835 }
Vitória
Vitória
action filter_type
action find
entity Jersey City
relation sister city
type political territorial entity
['Jersey City', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jersey_City property:sister_city ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with max number of political territories ?
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?q ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?h } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?l ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?k property:P530 ?c } GROUP BY ?k } . FILTER ( ?l = ?a ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?q ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?h } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?l ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . FILTER ( ?l = ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] have diplomatic relations with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?q ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?h } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?l ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?k property:P530 ?c } GROUP BY ?k } . FILTER ( ?l = ?a ) }
Italy
Italy have diplomatic relations with max number of political territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?q ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?h } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?l ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . FILTER ( ?l = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q7725634
USER
Which administrative territories are the origin of greater number of film genres or literary works than that administrative territory ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q201658
type Q7725634
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } UNION { ?d property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q201658 } } GROUP BY ?r } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P495 resource:Q38 . { { ?t rdf:type ontology:Q201658 } UNION { ?t rdf:type ontology:Q7725634 } } } } }
action greater
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 literary work
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type film genre
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } UNION { ?d property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:film_genre } } GROUP BY ?r } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:country_of_origin resource:Italy . { { ?t rdf:type ontology:film_genre } UNION { ?t rdf:type ontology:literary_work } } } } }
[]
designation for an administrative territorial entity film genre literary work
Q30 Q142 Q145
SYSTEM
United States of America, France, United Kingdom
Q142 Q145 Q30 Q34
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q201658
type Q7725634
[ANSWERS] are the origin of greater number of film genres or literary works than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } UNION { ?d property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q201658 } } GROUP BY ?r } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P495 resource:Q38 . { { ?t rdf:type ontology:Q201658 } UNION { ?t rdf:type ontology:Q7725634 } } } } }
France United Kingdom United States of America Sweden
United States of America, France and United Kingdom are the origin of greater number of film genres or literary works than that administrative territory
United States of America France United Kingdom
action greater
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 literary work
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type film genre
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } UNION { ?d property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:film_genre } } GROUP BY ?r } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:country_of_origin resource:Italy . { { ?t rdf:type ontology:film_genre } UNION { ?t rdf:type ontology:literary_work } } } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10335546
P495
Q838948
USER
Do Narradores de Javé have those administrative territories as their place of origin ?
(Q10335546,P495,Q30) (Q10335546,P495,Q142) (Q10335546,P495,Q145)
action is_in
entity prev_answer
action find
entity Q10335546
relation P495
['Q10335546', 'P495', 'Q30'] ['Q10335546', 'P495', 'Q142'] ['Q10335546', 'P495', 'Q145']
ASK WHERE { resource:Q10335546 property:P495 ?f . VALUES ( ?f ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q30 ) } }
Narradores de Javé
action is_in
entity prev_answer
action find
entity Narradores de Javé
relation country of origin
['Narradores de Javé', 'country of origin', 'United States of America'] ['Narradores de Javé', 'country of origin', 'France'] ['Narradores de Javé', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Narradores_de_Javé property:country_of_origin ?f . VALUES ( ?f ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
work of art
SYSTEM
NO
(Q10335546,P495,Q30) (Q10335546,P495,Q142) (Q10335546,P495,Q145)
action is_in
entity prev_answer
action find
entity Q10335546
relation P495
[ANSWER]
['Q10335546', 'P495', 'Q30'] ['Q10335546', 'P495', 'Q142'] ['Q10335546', 'P495', 'Q145']
ASK WHERE { resource:Q10335546 property:P495 ?f . VALUES ( ?f ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Narradores de Javé
relation country of origin
['Narradores de Javé', 'country of origin', 'United States of America'] ['Narradores de Javé', 'country of origin', 'France'] ['Narradores de Javé', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Narradores_de_Javé property:country_of_origin ?f . VALUES ( ?f ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
Which flag is associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P163 ?g . ?g rdf:type ontology:Q14660 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The [ANSWER] is associated with United Kingdom
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P163 ?g . ?g rdf:type ontology:Q14660 }
flag of the United Kingdom
The flag of the United Kingdom is associated with United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:flag ?g . ?g rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P272
Q838948
USER
Which work of art had United Kingdom as the production company ?
(c(Q838948),P272,Q145)
action filter_type
action find_reverse
entity Q145
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q145']
SELECT DISTINCT ?l WHERE { ?l property:P272 resource:Q145 . ?l rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United Kingdom']
SELECT DISTINCT ?l WHERE { ?l property:production_company resource:United_Kingdom . ?l rdf:type ontology:work_of_art }
[]
work of art
Q7774772
SYSTEM
The Widow
Q7774772
(c(Q838948),P272,Q145)
action filter_type
action find_reverse
entity Q145
relation P272
type Q838948
[ANSWER] had United Kingdom as the production company
[{'concept': 'Q838948'}, 'P272', 'Q145']
SELECT DISTINCT ?l WHERE { ?l property:P272 resource:Q145 . ?l rdf:type ontology:Q838948 }
The Widow
The Widow had United Kingdom as the production company
The Widow
action filter_type
action find_reverse
entity United Kingdom
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United Kingdom']
SELECT DISTINCT ?l WHERE { ?l property:production_company resource:United_Kingdom . ?l rdf:type ontology:work_of_art }
[]