Simple Question (Direct)
Simple Question
Q3793014
P495
Q15617994
USER
What is the country of origin of Return of Halleluja ?
(Q3793014,P495,c(Q15617994))
action filter_type
action find
entity Q3793014
relation P495
type Q15617994
['Q3793014', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3793014 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
Return of Halleluja
action filter_type
action find
entity Return of Halleluja
relation country of origin
type designation for an administrative territorial entity
['Return of Halleluja', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Return_of_Halleluja property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3793014,P495,c(Q15617994))
action filter_type
action find
entity Q3793014
relation P495
type Q15617994
The country of origin of Return of Halleluja is in [ANSWER]
['Q3793014', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3793014 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
Italy
The country of origin of Return of Halleluja is in Italy
Italy
action filter_type
action find
entity Return of Halleluja
relation country of origin
type designation for an administrative territorial entity
['Return of Halleluja', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Return_of_Halleluja property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3793014
P58
Q502895
USER
Who wrote the screenplay for Return of Halleluja ?
(Q3793014,P58,c(Q502895))
action filter_type
action find
entity Q3793014
relation P58
type Q502895
['Q3793014', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3793014 property:P58 ?h }
Return of Halleluja
action filter_type
action find
entity Return of Halleluja
relation screenwriter
type common name
['Return of Halleluja', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Return_of_Halleluja property:screenwriter ?h }
[]
common name
Q3768144 Q1589490
SYSTEM
Giovanni Simonelli, Tito Carpi
Q3768144 Q1589490
(Q3793014,P58,c(Q502895))
action filter_type
action find
entity Q3793014
relation P58
type Q502895
[ANSWERS] wrote the screenplay for Return of Halleluja
['Q3793014', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3793014 property:P58 ?h }
Giovanni Simonelli Tito Carpi
Giovanni Simonelli and Tito Carpi wrote the screenplay for Return of Halleluja
Giovanni Simonelli Tito Carpi
action filter_type
action find
entity Return of Halleluja
relation screenwriter
type common name
['Return of Halleluja', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Return_of_Halleluja property:screenwriter ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3427710
P58
Q838948
USER
Are those people a screenwriter of The Looking Glass War ?
(Q3427710,P58,Q3768144) (Q3427710,P58,Q1589490)
action is_in
entity prev_answer
action find
entity Q3427710
relation P58
['Q3427710', 'P58', 'Q3768144'] ['Q3427710', 'P58', 'Q1589490']
ASK WHERE { resource:Q3427710 property:P58 ?l . VALUES ( ?l ) { ( resource:Q3768144 ) ( resource:Q1589490 ) } }
The Looking Glass War
action is_in
entity prev_answer
action find
entity The Looking Glass War
relation screenwriter
['The Looking Glass War', 'screenwriter', 'Giovanni Simonelli'] ['The Looking Glass War', 'screenwriter', 'Tito Carpi']
ASK WHERE { resource:The_Looking_Glass_War property:screenwriter ?l . VALUES ( ?l ) { ( resource:Giovanni_Simonelli ) ( resource:Tito_Carpi ) } }
[]
work of art
SYSTEM
NO
(Q3427710,P58,Q3768144) (Q3427710,P58,Q1589490)
action is_in
entity prev_answer
action find
entity Q3427710
relation P58
[ANSWER]
['Q3427710', 'P58', 'Q3768144'] ['Q3427710', 'P58', 'Q1589490']
ASK WHERE { resource:Q3427710 property:P58 ?l . VALUES ( ?l ) { ( resource:Q3768144 ) ( resource:Q1589490 ) } }
No
action is_in
entity prev_answer
action find
entity The Looking Glass War
relation screenwriter
['The Looking Glass War', 'screenwriter', 'Giovanni Simonelli'] ['The Looking Glass War', 'screenwriter', 'Tito Carpi']
ASK WHERE { resource:The_Looking_Glass_War property:screenwriter ?l . VALUES ( ?l ) { ( resource:Giovanni_Simonelli ) ( resource:Tito_Carpi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P47
Q20667921
USER
Which french administrative division does Italy share a border with ?
(c(Q20667921),P47,Q38)
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q38']
SELECT DISTINCT ?n WHERE { ?n property:P47 resource:Q38 . ?n rdf:type ontology:Q20667921 }
Italy
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Italy']
SELECT DISTINCT ?n WHERE { ?n property:shares_border_with resource:Italy . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q18338206
SYSTEM
Auvergne-Rhône-Alpes
Q18338206
(c(Q20667921),P47,Q38)
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
Italy shares a border with the [ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q38']
SELECT DISTINCT ?n WHERE { ?n property:P47 resource:Q38 . ?n rdf:type ontology:Q20667921 }
Auvergne-Rhône-Alpes
Italy shares a border with the Auvergne-Rhône-Alpes
Auvergne-Rhône-Alpes
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Italy']
SELECT DISTINCT ?n WHERE { ?n property:shares_border_with resource:Italy . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3793014
P57
Q502895
USER
Which person served as the directed of Return of Halleluja ?
(Q3793014,P57,c(Q502895))
action filter_type
action find
entity Q3793014
relation P57
type Q502895
['Q3793014', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3793014 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Return of Halleluja
action filter_type
action find
entity Return of Halleluja
relation director
type common name
['Return of Halleluja', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Return_of_Halleluja property:director ?c . ?c rdf:type ontology:common_name }
[]
common name
Q348364
SYSTEM
Giuliano Carnimeo
Q348364
(Q3793014,P57,c(Q502895))
action filter_type
action find
entity Q3793014
relation P57
type Q502895
[ANSWER] served as the directed of Return of Halleluja
['Q3793014', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3793014 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Giuliano Carnimeo
Giuliano Carnimeo served as the directed of Return of Halleluja
Giuliano Carnimeo
action filter_type
action find
entity Return of Halleluja
relation director
type common name
['Return of Halleluja', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Return_of_Halleluja property:director ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3768144
P1412
Q34770
USER
How many languages are Giovanni Simonelli capable of writing ?
(Q3768144,P1412,c(Q34770))
action count
action filter_type
action find
entity Q3768144
relation P1412
type Q34770
['Q3768144', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q3768144 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Giovanni Simonelli
action count
action filter_type
action find
entity Giovanni Simonelli
relation languages spoken, written or signed
type language
['Giovanni Simonelli', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Giovanni_Simonelli property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
SYSTEM
1
Q652
(Q3768144,P1412,c(Q34770))
action count
action filter_type
action find
entity Q3768144
relation P1412
type Q34770
[ANSWER]
['Q3768144', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q3768144 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Italian
1
action count
action filter_type
action find
entity Giovanni Simonelli
relation languages spoken, written or signed
type language
['Giovanni Simonelli', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Giovanni_Simonelli property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3768144
P2554
Q838948
USER
Which work of art has Giovanni Simonelli as the creator of production designs ?
(c(Q838948),P2554,Q3768144)
action filter_type
action find_reverse
entity Q3768144
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q3768144']
SELECT DISTINCT ?e WHERE { ?e property:P2554 resource:Q3768144 . ?e rdf:type ontology:Q838948 }
Giovanni Simonelli
action filter_type
action find_reverse
entity Giovanni Simonelli
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Giovanni Simonelli']
SELECT DISTINCT ?e WHERE { ?e property:production_designer resource:Giovanni_Simonelli . ?e rdf:type ontology:work_of_art }
[]
work of art
Q1220014
SYSTEM
The Ark of the Sun God
Q1220014
(c(Q838948),P2554,Q3768144)
action filter_type
action find_reverse
entity Q3768144
relation P2554
type Q838948
[ANSWER] has Giovanni Simonelli as the creator of production designs
[{'concept': 'Q838948'}, 'P2554', 'Q3768144']
SELECT DISTINCT ?e WHERE { ?e property:P2554 resource:Q3768144 . ?e rdf:type ontology:Q838948 }
The Ark of the Sun God
The Ark of the Sun God has Giovanni Simonelli as the creator of production designs
The Ark of the Sun God
action filter_type
action find_reverse
entity Giovanni Simonelli
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Giovanni Simonelli']
SELECT DISTINCT ?e WHERE { ?e property:production_designer resource:Giovanni_Simonelli . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3768144
P106
Q28640
USER
What do that person do for a living ?
(Q1220014,P106,c(Q28640))
action filter_type
action find
entity Q3768144
relation P106
type Q28640
['Q1220014', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q3768144 property:P106 ?p . ?p rdf:type ontology:Q28640 }
Giovanni Simonelli
action filter_type
action find
entity Giovanni Simonelli
relation occupation
type profession
['The Ark of the Sun God', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Giovanni_Simonelli property:occupation ?p . ?p rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q1220014,P106,c(Q28640))
action filter_type
action find
entity Q3768144
relation P106
type Q28640
That person do the [ANSWERS] for a living
['Q1220014', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q3768144 property:P106 ?p . ?p rdf:type ontology:Q28640 }
film director screenwriter
That person do the film director and screenwriter for a living
film director screenwriter
action filter_type
action find
entity Giovanni Simonelli
relation occupation
type profession
['The Ark of the Sun God', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Giovanni_Simonelli property:occupation ?p . ?p rdf:type ontology:profession }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q1269299
USER
Which business organizations are the parent company of around 2 professions ?
(c(Q1269299),P355,c(Q28640))
action approx
action find_tuple_counts
relation P355
type Q1269299
type Q28640
value 2
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?w ) WHERE { ?k property:P355 ?v . ?k rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q28640 } GROUP BY ?k } . FILTER ( ?w = 2 ) }
action approx
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
value 2
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?w ) WHERE { ?k property:subsidiary ?v . ?k rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:profession } GROUP BY ?k } . FILTER ( ?w = 2 ) }
[]
profession type of business entity
Q2283 Q1576915
SYSTEM
Microsoft, Koei Tecmo Holdings
Q2283 Q1576915
(c(Q1269299),P355,c(Q28640))
action approx
action find_tuple_counts
relation P355
type Q1269299
type Q28640
value 2
[ANSWERS] are the parent company of around 2 professions
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?w ) WHERE { ?k property:P355 ?v . ?k rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q28640 } GROUP BY ?k } . FILTER ( ?w = 2 ) }
Microsoft Koei Tecmo Holdings
Microsoft and Koei Tecmo Holdings are the parent company of around 2 professions
Microsoft Koei Tecmo Holdings
action approx
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
value 2
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?w ) WHERE { ?k property:subsidiary ?v . ?k rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:profession } GROUP BY ?k } . FILTER ( ?w = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2283
P127
Q43229 Q502895
USER
How many organizations and people owned Microsoft ?
(Q2283,P127,c(Q43229)) (Q2283,P127,c(Q502895))
action count
action union
action filter_type
action find
entity Q2283
relation P127
type Q43229
action filter_type
action find
entity Q2283
relation P127
type Q502895
['Q2283', 'P127', {'concept': 'Q43229'}] ['Q2283', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { resource:Q2283 property:P127 ?p . ?p rdf:type ontology:Q43229 } UNION { resource:Q2283 property:P127 ?p . ?p rdf:type ontology:Q502895 } }
Microsoft
action count
action union
action filter_type
action find
entity Microsoft
relation owned by
type organization
action filter_type
action find
entity Microsoft
relation owned by
type common name
['Microsoft', 'owned by', {'concept': 'organization'}] ['Microsoft', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { resource:Microsoft property:owned_by ?p . ?p rdf:type ontology:organization } UNION { resource:Microsoft property:owned_by ?p . ?p rdf:type ontology:common_name } }
[]
organization common name
SYSTEM
3 organizations and 2 people
Q505275 Q2037125 Q849363 Q181162 Q5284
(Q2283,P127,c(Q43229)) (Q2283,P127,c(Q502895))
action count
action union
action filter_type
action find
entity Q2283
relation P127
type Q43229
action filter_type
action find
entity Q2283
relation P127
type Q502895
[ANSWER]
['Q2283', 'P127', {'concept': 'Q43229'}] ['Q2283', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { resource:Q2283 property:P127 ?p . ?p rdf:type ontology:Q43229 } UNION { resource:Q2283 property:P127 ?p . ?p rdf:type ontology:Q502895 } }
Capital Group Companies State Street Corporation The Vanguard Group Steve Ballmer Bill Gates
3 organizations and 2 people
action count
action union
action filter_type
action find
entity Microsoft
relation owned by
type organization
action filter_type
action find
entity Microsoft
relation owned by
type common name
['Microsoft', 'owned by', {'concept': 'organization'}] ['Microsoft', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { resource:Microsoft property:owned_by ?p . ?p rdf:type ontology:organization } UNION { resource:Microsoft property:owned_by ?p . ?p rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q1267889 Q355304 Q15617994
USER
How many administrative territories are located in around 1 waterways and watercourses ?
(c(Q15617994),P706,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q355304
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?w WHERE { { ?w property:P706 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1267889 } UNION { ?w property:P706 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q355304 } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?w WHERE { { ?w property:located_on_terrain_feature ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:waterway } UNION { ?w property:located_on_terrain_feature ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:watercourse } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
5
Q216422 Q5000224 Q104192 Q565749 Q7561974
(c(Q15617994),P706,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q355304
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?w WHERE { { ?w property:P706 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1267889 } UNION { ?w property:P706 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q355304 } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
Samsø Burnt River, Ontario Kleinmachnow Erden Sonning Eye
5
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?w WHERE { { ?w property:located_on_terrain_feature ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:waterway } UNION { ?w property:located_on_terrain_feature ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:watercourse } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
[]