Simple Question (Direct)
Simple Question
Q3218268
P495
Q1048835
USER
Where did Lascars originate ?
(Q3218268,P495,c(Q1048835))
action filter_type
action find
entity Q3218268
relation P495
type Q1048835
['Q3218268', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q3218268 property:P495 ?f }
Lascars
action filter_type
action find
entity Lascars
relation country of origin
type political territorial entity
['Lascars', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Lascars property:country_of_origin ?f }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q3218268,P495,c(Q1048835))
action filter_type
action find
entity Q3218268
relation P495
type Q1048835
Lascars originated in [ANSWER]
['Q3218268', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q3218268 property:P495 ?f }
Germany
Lascars originated in Germany
Germany
action filter_type
action find
entity Lascars
relation country of origin
type political territorial entity
['Lascars', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Lascars property:country_of_origin ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3218268
P161
Q502895
USER
Who starred in that work of art ?
(Q183,P161,c(Q502895))
action filter_type
action find
entity Q3218268
relation P161
type Q502895
['Q183', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3218268 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Lascars
action filter_type
action find
entity Lascars
relation cast member
type common name
['Germany', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Lascars property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q193504 Q540631 Q57118
SYSTEM
Vincent Cassel, Katsuni, Diane Kruger
Q3559579 Q357387 Q16643005 Q57118 Q3021570 Q658664 Q552639 Q3591196 Q15965529 Q193504 Q540631 Q3086968 Q465157 Q242005
(Q183,P161,c(Q502895))
action filter_type
action find
entity Q3218268
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q183', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3218268 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Vincent Desagnat Omar Sy IZM Diane Kruger Delfynn Delage François Levantal Gilles Lellouche Éric Judor Hafid F. Benamar Vincent Cassel Katsuni Frédéric Testot Frédérique Bel Diam's
Vincent Cassel, Katsuni and Diane Kruger starred in that work of art
Vincent Cassel Katsuni Diane Kruger
action filter_type
action find
entity Lascars
relation cast member
type common name
['Germany', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Lascars property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q57118)
[{'concept': 'Q838948'}, 'P161', 'Q57118']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q57118 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Diane Kruger']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Diane_Kruger . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q193504
SYSTEM
Did you mean Vincent Cassel ?
(c(Q838948),P161,Q193504) (c(Q838948),P161,Q540631) (c(Q838948),P161,Q57118)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q193504'] [{'concept': 'Q838948'}, 'P161', 'Q540631'] [{'concept': 'Q838948'}, 'P161', 'Q57118']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q57118 . ?z rdf:type ontology:Q838948 }
Did you mean Vincent Cassel ?
Vincent Cassel
[{'concept': 'work of art'}, 'cast member', 'Vincent Cassel'] [{'concept': 'work of art'}, 'cast member', 'Katsuni'] [{'concept': 'work of art'}, 'cast member', 'Diane Kruger']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Diane_Kruger . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Diane Kruger. Could you tell me the answer for that?
(c(Q838948),P161,Q57118)
Q57118
[{'concept': 'Q838948'}, 'P161', 'Q57118']
[{'concept': 'work of art'}, 'cast member', 'Diane Kruger']
[]
SYSTEM
31
Q1236069 Q732022 Q388360 Q17105404 Q13380366 Q153723 Q661693 Q7717399 Q2579095 Q666182 Q3110266 Q1748143 Q798613 Q3218268 Q19824786 Q309366 Q158759 Q603494 Q3088861 Q1997399 Q649542 Q72090 Q1653341 Q19874547 Q1320026 Q1347019 Q552775 Q20899589 Q186587 Q808110 Q1467522
(c(Q838948),P161,Q57118)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q57118']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q57118 . ?z rdf:type ontology:Q838948 }
Farewell, My Queen Mr. Nobody National Treasure: Book of Secrets Fathers and Daughters Me, Myself and Mum Inglourious Basterds Anything for Her The Better Angels Days of Darkness Inhale Farewell Michel Vaillant Mon Idole Lascars Disorder National Treasure Unknown Wicker Park Les Brigades du Tigre Not for, or Against (Quite the Contrary) Goodbye Bafana Joyeux Noël Un plan parfait The Infiltrator Forces spéciales Copying Beethoven The Host Sky Troy Pieds nus sur les limaces The Hunting Party
31
[{'concept': 'work of art'}, 'cast member', 'Diane Kruger']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Diane_Kruger . ?z rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q183
P495
Q1048835 Q201658 Q2088357
USER
Which political territories are the origins of around the same number of film genres or musical ensembles as Germany ?
(c(Q201658)|c(Q2088357),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q183
relation P495
type Q201658
type Q2088357
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?h = ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P495 resource:Q183 . { { ?p rdf:type ontology:Q201658 } UNION { ?p rdf:type ontology:Q2088357 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?u WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q2088357 ) } } GROUP BY ?u } }
Germany
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Germany
relation country of origin
type film genre
type musical ensemble
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?h = ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:country_of_origin resource:Germany . { { ?p rdf:type ontology:film_genre } UNION { ?p rdf:type ontology:musical_ensemble } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?u WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:musical_ensemble ) } } GROUP BY ?u } }
[]
political territorial entity film genre musical ensemble
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q201658)|c(Q2088357),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q183
relation P495
type Q201658
type Q2088357
[ANSWERS] are the origins of around the same number of film genres or musical ensembles as Germany
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?h = ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P495 resource:Q183 . { { ?p rdf:type ontology:Q201658 } UNION { ?p rdf:type ontology:Q2088357 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?u WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q2088357 ) } } GROUP BY ?u } }
Germany Australia
Germany and Australia are the origins of around the same number of film genres or musical ensembles as Germany
Germany Australia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Germany
relation country of origin
type film genre
type musical ensemble
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?h = ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:country_of_origin resource:Germany . { { ?p rdf:type ontology:film_genre } UNION { ?p rdf:type ontology:musical_ensemble } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?u WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:musical_ensemble ) } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P138
Q288514 Q12280
USER
How many fairs and bridges have Germany as their toponym ?
(c(Q288514),P138,Q183) (c(Q12280),P138,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P138
type Q288514
action filter_type
action find_reverse
entity Q183
relation P138
type Q12280
[{'concept': 'Q288514'}, 'P138', 'Q183'] [{'concept': 'Q12280'}, 'P138', 'Q183']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?x ) { ( ontology:Q288514 ) ( ontology:Q12280 ) } . ?j rdf:type ?x }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation named after
type fair
action filter_type
action find_reverse
entity Germany
relation named after
type bridge
[{'concept': 'fair'}, 'named after', 'Germany'] [{'concept': 'bridge'}, 'named after', 'Germany']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?x ) { ( ontology:fair ) ( ontology:bridge ) } . ?j rdf:type ?x }
[]
fair bridge
SYSTEM
1 fairs and 1 bridges
Q884213 Q205682
(c(Q288514),P138,Q183) (c(Q12280),P138,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P138
type Q288514
action filter_type
action find_reverse
entity Q183
relation P138
type Q12280
[ANSWER]
[{'concept': 'Q288514'}, 'P138', 'Q183'] [{'concept': 'Q12280'}, 'P138', 'Q183']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?x ) { ( ontology:Q288514 ) ( ontology:Q12280 ) } . ?j rdf:type ?x }
Bunte Republik Neustadt Three Countries Bridge
1 fairs and 1 bridges
action count
action union
action filter_type
action find_reverse
entity Germany
relation named after
type fair
action filter_type
action find_reverse
entity Germany
relation named after
type bridge
[{'concept': 'fair'}, 'named after', 'Germany'] [{'concept': 'bridge'}, 'named after', 'Germany']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?x ) { ( ontology:fair ) ( ontology:bridge ) } . ?j rdf:type ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P740
Q215380
USER
Which band was formed at Australia ?
(c(Q215380),P740,Q408)
action filter_type
action find_reverse
entity Q408
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q408']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q408 . ?z rdf:type ontology:Q215380 }
Australia
action filter_type
action find_reverse
entity Australia
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Australia']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Australia . ?z rdf:type ontology:band }
[]
band
Q7318543
SYSTEM
Revive
Q7318543
(c(Q215380),P740,Q408)
action filter_type
action find_reverse
entity Q408
relation P740
type Q215380
Australia [ANSWER] was formed at Australia
[{'concept': 'Q215380'}, 'P740', 'Q408']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q408 . ?z rdf:type ontology:Q215380 }
Revive
Australia Revive was formed at Australia
Revive
action filter_type
action find_reverse
entity Australia
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Australia']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Australia . ?z rdf:type ontology:band }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7318543
P175
Q2031291
USER
Which release presented that band ?
(c(Q2031291),P175,Q7318543)
action filter_type
action find_reverse
entity Q7318543
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q7318543']
SELECT DISTINCT ?s WHERE { ?s property:P175 resource:Q7318543 . ?s rdf:type ontology:Q2031291 }
Revive
action filter_type
action find_reverse
entity Revive
relation performer
type release
[{'concept': 'release'}, 'performer', 'Revive']
SELECT DISTINCT ?s WHERE { ?s property:performer resource:Revive . ?s rdf:type ontology:release }
[]
release
Q4926733
SYSTEM
Blink
Q4926733
(c(Q2031291),P175,Q7318543)
action filter_type
action find_reverse
entity Q7318543
relation P175
type Q2031291
[ANSWER] presented that band
[{'concept': 'Q2031291'}, 'P175', 'Q7318543']
SELECT DISTINCT ?s WHERE { ?s property:P175 resource:Q7318543 . ?s rdf:type ontology:Q2031291 }
Blink
Blink presented that band
Blink
action filter_type
action find_reverse
entity Revive
relation performer
type release
[{'concept': 'release'}, 'performer', 'Revive']
SELECT DISTINCT ?s WHERE { ?s property:performer resource:Revive . ?s rdf:type ontology:release }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7422073 Q193504
P19
Q56061
USER
Which administrative territories were Vincent Cassel or Sarah Austin born ?
OR((Q193504,P19,c(Q56061)), (Q7422073,P19,c(Q56061)))
action filter_type
action union
action find
entity Q193504
relation P19
action find
entity Q7422073
relation P19
type Q56061
{'OR': [['Q193504', 'P19', {'concept': 'Q56061'}], ['Q7422073', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q193504 property:P19 ?e } UNION { resource:Q7422073 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Sarah Austin Vincent Cassel
action filter_type
action union
action find
entity Vincent Cassel
relation place of birth
action find
entity Sarah Austin
relation place of birth
type administrative territorial entity
{'OR': [['Vincent Cassel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sarah Austin', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Vincent_Cassel property:place_of_birth ?e } UNION { resource:Sarah_Austin property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79497 Q90
SYSTEM
Rogers, Paris
Q79497 Q90
OR((Q193504,P19,c(Q56061)), (Q7422073,P19,c(Q56061)))
action filter_type
action union
action find
entity Q193504
relation P19
action find
entity Q7422073
relation P19
type Q56061
Vincent Cassel or Sarah Austin were born in [ANSWERS]
{'OR': [['Q193504', 'P19', {'concept': 'Q56061'}], ['Q7422073', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q193504 property:P19 ?e } UNION { resource:Q7422073 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Rogers Paris
Vincent Cassel or Sarah Austin were born in Rogers and Paris
Rogers Paris
action filter_type
action union
action find
entity Vincent Cassel
relation place of birth
action find
entity Sarah Austin
relation place of birth
type administrative territorial entity
{'OR': [['Vincent Cassel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sarah Austin', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Vincent_Cassel property:place_of_birth ?e } UNION { resource:Sarah_Austin property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories have adopted greater number of holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
holiday administrative territorial entity
Comparative|Count over More/Less|Single entity type|Clarification
Q79497
SYSTEM
Did you mean Rogers ?
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Did you mean Rogers ?
Rogers
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Paris. Could you tell me the answer for that?
(c(Q56061),P417,c(Q1445650))
Q90
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
[]
SYSTEM
5
Q491588 Q495798 Q428018 Q52215 Q433066
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Camporeale Brolo Mölten Tuglie Moos in Passeier
5
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]