Simple Question (Direct)
Simple Question
Q3369081
P40
Q502895
USER
Which person is a child of Patricia Barzyk ?
(Q3369081,P40,c(Q502895))
action filter_type
action find
entity Q3369081
relation P40
type Q502895
['Q3369081', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3369081 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Patricia Barzyk
action filter_type
action find
entity Patricia Barzyk
relation child
type common name
['Patricia Barzyk', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Patricia_Barzyk property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q3473311
SYSTEM
Sarah Barzyk
Q3473311
(Q3369081,P40,c(Q502895))
action filter_type
action find
entity Q3369081
relation P40
type Q502895
The [ANSWER] is a child of Patricia Barzyk
['Q3369081', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3369081 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Sarah Barzyk
The Sarah Barzyk is a child of Patricia Barzyk
Sarah Barzyk
action filter_type
action find
entity Patricia Barzyk
relation child
type common name
['Patricia Barzyk', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Patricia_Barzyk property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3473311
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q3473311)
action filter_type
action find_reverse
entity Q3473311
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3473311']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q3473311 . ?k rdf:type ontology:Q838948 }
Sarah Barzyk
action filter_type
action find_reverse
entity Sarah Barzyk
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sarah Barzyk']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Sarah_Barzyk . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3535714
SYSTEM
Tout est calme
Q3535714
(c(Q838948),P161,Q3473311)
action filter_type
action find_reverse
entity Q3473311
relation P161
type Q838948
That person stars [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3473311']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q3473311 . ?k rdf:type ontology:Q838948 }
Tout est calme
That person stars Tout est calme
Tout est calme
action filter_type
action find_reverse
entity Sarah Barzyk
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sarah Barzyk']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Sarah_Barzyk . ?k rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3535714 Q15972560
P161
Q502895
USER
Did Belle Robertson star in that work of art ?
(Q3535714,P161,Q15972560)
action is_in
entity Q15972560
action find
entity Q3535714
relation P161
['Q3535714', 'P161', 'Q15972560']
ASK WHERE { resource:Q3535714 property:P161 resource:Q15972560 }
Tout est calme Belle Robertson
action is_in
entity Belle Robertson
action find
entity Tout est calme
relation cast member
['Tout est calme', 'cast member', 'Belle Robertson']
ASK WHERE { resource:Tout_est_calme property:cast_member resource:Belle_Robertson }
[]
common name
SYSTEM
NO
(Q3535714,P161,Q15972560)
action is_in
entity Q15972560
action find
entity Q3535714
relation P161
[ANSWER]
['Q3535714', 'P161', 'Q15972560']
ASK WHERE { resource:Q3535714 property:P161 resource:Q15972560 }
No
action is_in
entity Belle Robertson
action find
entity Tout est calme
relation cast member
['Tout est calme', 'cast member', 'Belle Robertson']
ASK WHERE { resource:Tout_est_calme property:cast_member resource:Belle_Robertson }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9094998 Q3473311
P40
Q502895
USER
Which people have Sarah Barzyk or Zhang Lifan as an offspring ?
OR((c(Q502895),P40,Q3473311), (c(Q502895),P40,Q9094998))
action filter_type
action union
action find_reverse
entity Q3473311
relation P40
action find_reverse
entity Q9094998
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q3473311'], [{'concept': 'Q502895'}, 'P40', 'Q9094998']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P40 resource:Q9094998 } UNION { ?w property:P40 resource:Q3473311 } } . ?w rdf:type ontology:Q502895 }
Zhang Lifan Sarah Barzyk
action filter_type
action union
action find_reverse
entity Sarah Barzyk
relation child
action find_reverse
entity Zhang Lifan
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Sarah Barzyk'], [{'concept': 'common name'}, 'child', 'Zhang Lifan']]}
SELECT DISTINCT ?w WHERE { { { ?w property:child resource:Zhang_Lifan } UNION { ?w property:child resource:Sarah_Barzyk } } . ?w rdf:type ontology:common_name }
[]
common name
Q13099862 Q1679969 Q3369081
SYSTEM
Zhang Naiqi, James Aubrey, Patricia Barzyk
Q13099862 Q1679969 Q3369081
OR((c(Q502895),P40,Q3473311), (c(Q502895),P40,Q9094998))
action filter_type
action union
action find_reverse
entity Q3473311
relation P40
action find_reverse
entity Q9094998
relation P40
type Q502895
[ANSWERS] have Sarah Barzyk or Zhang Lifan as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q3473311'], [{'concept': 'Q502895'}, 'P40', 'Q9094998']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P40 resource:Q9094998 } UNION { ?w property:P40 resource:Q3473311 } } . ?w rdf:type ontology:Q502895 }
Zhang Naiqi James Aubrey Patricia Barzyk
Zhang Naiqi, James Aubrey and Patricia Barzyk have Sarah Barzyk or Zhang Lifan as an offspring
Zhang Naiqi James Aubrey Patricia Barzyk
action filter_type
action union
action find_reverse
entity Sarah Barzyk
relation child
action find_reverse
entity Zhang Lifan
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Sarah Barzyk'], [{'concept': 'common name'}, 'child', 'Zhang Lifan']]}
SELECT DISTINCT ?w WHERE { { { ?w property:child resource:Zhang_Lifan } UNION { ?w property:child resource:Sarah_Barzyk } } . ?w rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q28640
USER
How many occupations and professions are the job of that person ?
(Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q13099862,P106,c(Q12737077)) (Q13099862,P106,c(Q28640)) (Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q3369081,P106,c(Q12737077)) (Q3369081,P106,c(Q28640))
['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q13099862', 'P106', {'concept': 'Q12737077'}] ['Q13099862', 'P106', {'concept': 'Q28640'}] ['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q3369081', 'P106', {'concept': 'Q12737077'}] ['Q3369081', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q13099862 property:Q528892 ?z } UNION { resource:Q13099862 property:Q528892 ?y } UNION { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q3369081 property:Q528892 ?z } UNION { resource:Q3369081 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Zhang Naiqi', 'occupation', {'concept': 'occupation'}] ['Zhang Naiqi', 'occupation', {'concept': 'profession'}] ['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Patricia Barzyk', 'occupation', {'concept': 'occupation'}] ['Patricia Barzyk', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Zhang_Naiqi property:occupation ?z } UNION { resource:Zhang_Naiqi property:occupation ?y } UNION { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Patricia_Barzyk property:occupation ?z } UNION { resource:Patricia_Barzyk property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
occupation profession
Quantitative|Count|Mult. entity type|Clarification
Q13099862
SYSTEM
Did you mean Zhang Naiqi ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q13099862 property:Q528892 ?z } UNION { resource:Q13099862 property:Q528892 ?y } UNION { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q3369081 property:Q528892 ?z } UNION { resource:Q3369081 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
Did you mean Zhang Naiqi ?
Zhang Naiqi
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Zhang_Naiqi property:occupation ?z } UNION { resource:Zhang_Naiqi property:occupation ?y } UNION { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Patricia_Barzyk property:occupation ?z } UNION { resource:Patricia_Barzyk property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant James Aubrey. Could you tell me the answer for that?
(Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q13099862,P106,c(Q12737077)) (Q13099862,P106,c(Q28640)) (Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q3369081,P106,c(Q12737077)) (Q3369081,P106,c(Q28640))
Q1679969
['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q13099862', 'P106', {'concept': 'Q12737077'}] ['Q13099862', 'P106', {'concept': 'Q28640'}] ['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q3369081', 'P106', {'concept': 'Q12737077'}] ['Q3369081', 'P106', {'concept': 'Q28640'}]
['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Zhang Naiqi', 'occupation', {'concept': 'occupation'}] ['Zhang Naiqi', 'occupation', {'concept': 'profession'}] ['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Patricia Barzyk', 'occupation', {'concept': 'occupation'}] ['Patricia Barzyk', 'occupation', {'concept': 'profession'}]
[]
SYSTEM
2 occupations and 1 professions
Q10800557 Q33999 Q2259451
(Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q13099862,P106,c(Q12737077)) (Q13099862,P106,c(Q28640)) (Q1679969,P106,c(Q12737077)) (Q1679969,P106,c(Q28640)) (Q3369081,P106,c(Q12737077)) (Q3369081,P106,c(Q28640))
[ANSWER]
['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q13099862', 'P106', {'concept': 'Q12737077'}] ['Q13099862', 'P106', {'concept': 'Q28640'}] ['Q1679969', 'P106', {'concept': 'Q12737077'}] ['Q1679969', 'P106', {'concept': 'Q28640'}] ['Q3369081', 'P106', {'concept': 'Q12737077'}] ['Q3369081', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q13099862 property:Q528892 ?z } UNION { resource:Q13099862 property:Q528892 ?y } UNION { resource:Q1679969 property:Q528892 ?z } UNION { resource:Q1679969 property:Q528892 ?y } UNION { resource:Q3369081 property:Q528892 ?z } UNION { resource:Q3369081 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
film actor actor stage actor
2 occupations and 1 professions
['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Zhang Naiqi', 'occupation', {'concept': 'occupation'}] ['Zhang Naiqi', 'occupation', {'concept': 'profession'}] ['James Aubrey', 'occupation', {'concept': 'occupation'}] ['James Aubrey', 'occupation', {'concept': 'profession'}] ['Patricia Barzyk', 'occupation', {'concept': 'occupation'}] ['Patricia Barzyk', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Zhang_Naiqi property:occupation ?z } UNION { resource:Zhang_Naiqi property:occupation ?y } UNION { resource:James_Aubrey property:occupation ?z } UNION { resource:James_Aubrey property:occupation ?y } UNION { resource:Patricia_Barzyk property:occupation ?z } UNION { resource:Patricia_Barzyk property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2960 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2960
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 2960 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?b ) WHERE { ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?m } GROUP BY ?m } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2960
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 2960 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?b ) WHERE { ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?m } GROUP BY ?m } }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2960
[ANSWERS] are played by around 2960 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 2960 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?b ) WHERE { ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?m } GROUP BY ?m } }
trumpet organ drum kit
Trumpet, organ and drum kit are played by around 2960 people
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2960
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 2960 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?b ) WHERE { ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?m } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3369081
P27
Q15617994
USER
How many administrative territories do Patricia Barzyk belong to ?
(Q3369081,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3369081
relation P27
type Q15617994
['Q3369081', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q3369081 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Patricia Barzyk
action count
action filter_type
action find
entity Patricia Barzyk
relation country of citizenship
type designation for an administrative territorial entity
['Patricia Barzyk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Patricia_Barzyk property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q3369081,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3369081
relation P27
type Q15617994
[ANSWER]
['Q3369081', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q3369081 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Patricia Barzyk
relation country of citizenship
type designation for an administrative territorial entity
['Patricia Barzyk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Patricia_Barzyk property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3369081
P166
Q476300
USER
What was won by that person ?
action filter_type
action find
entity Q3369081
relation P166
type Q476300
SELECT DISTINCT ?h WHERE { resource:Q3369081 property:P166 ?h . ?h rdf:type ontology:Q476300 }
Patricia Barzyk
action filter_type
action find
entity Patricia Barzyk
relation award received
type competition
SELECT DISTINCT ?h WHERE { resource:Patricia_Barzyk property:award_received ?h . ?h rdf:type ontology:competition }
[]
competition
Q1187807
SYSTEM
Miss France
Q1187807
action filter_type
action find
entity Q3369081
relation P166
type Q476300
The [ANSWER] was won by that person
SELECT DISTINCT ?h WHERE { resource:Q3369081 property:P166 ?h . ?h rdf:type ontology:Q476300 }
Miss France
The Miss France was won by that person
Miss France
action filter_type
action find
entity Patricia Barzyk
relation award received
type competition
SELECT DISTINCT ?h WHERE { resource:Patricia_Barzyk property:award_received ?h . ?h rdf:type ontology:competition }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q3369081
P161 P364
Q838948
USER
Which works of art have Patricia Barzyk as actor and were originally created in English language ?
AND((c(Q838948),P161,Q3369081), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3369081
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3369081'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q3369081 . ?v property:P364 resource:Q1860 . ?v rdf:type ontology:Q838948 }
English Patricia Barzyk
action filter_type
action intersection
action find_reverse
entity Patricia Barzyk
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Patricia Barzyk'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Patricia_Barzyk . ?v property:original_language_of_work resource:English . ?v rdf:type ontology:work_of_art }
[]
work of art
Q3320614
SYSTEM
Money
Q3320614
AND((c(Q838948),P161,Q3369081), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3369081
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] have Patricia Barzyk as actor and were originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3369081'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q3369081 . ?v property:P364 resource:Q1860 . ?v rdf:type ontology:Q838948 }
Money
Money have Patricia Barzyk as actor and were originally created in English language
Money
action filter_type
action intersection
action find_reverse
entity Patricia Barzyk
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Patricia Barzyk'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Patricia_Barzyk . ?v property:original_language_of_work resource:English . ?v rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P495
Q15617994 Q1048835
USER
How many administrative territories and political territories are the countries of origin of that work of art ?
(Q3320614,P495,c(Q15617994)) (Q3320614,P495,c(Q1048835)) (Q3320614,P495,c(Q15617994)) (Q3320614,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q3320614
relation P495
type Q15617994
action filter_type
action find
entity Q3320614
relation P495
type Q1048835
['Q3320614', 'P495', {'concept': 'Q15617994'}] ['Q3320614', 'P495', {'concept': 'Q1048835'}] ['Q3320614', 'P495', {'concept': 'Q15617994'}] ['Q3320614', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { resource:Q3320614 property:P495 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q3320614 property:P495 ?x . ?x rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find
entity Money
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Money
relation country of origin
type political territorial entity
['Money', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Money', 'country of origin', {'concept': 'political territorial entity'}] ['Money', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Money', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { resource:Money property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Money property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 1 political territories
Q142 Q16
(Q3320614,P495,c(Q15617994)) (Q3320614,P495,c(Q1048835)) (Q3320614,P495,c(Q15617994)) (Q3320614,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q3320614
relation P495
type Q15617994
action filter_type
action find
entity Q3320614
relation P495
type Q1048835
[ANSWER]
['Q3320614', 'P495', {'concept': 'Q15617994'}] ['Q3320614', 'P495', {'concept': 'Q1048835'}] ['Q3320614', 'P495', {'concept': 'Q15617994'}] ['Q3320614', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { resource:Q3320614 property:P495 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q3320614 property:P495 ?x . ?x rdf:type ontology:Q1048835 } }
France Canada
1 administrative territories and 1 political territories
action count
action union
action filter_type
action find
entity Money
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Money
relation country of origin
type political territorial entity
['Money', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Money', 'country of origin', {'concept': 'political territorial entity'}] ['Money', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Money', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { resource:Money property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Money property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3320614
P57
Q502895
USER
Who was Money directed by ?
(Q3320614,P57,c(Q502895))
action filter_type
action find
entity Q3320614
relation P57
type Q502895
['Q3320614', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3320614 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Money
action filter_type
action find
entity Money
relation director
type common name
['Money', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Money property:director ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3499236
SYSTEM
Steven Hilliard Stern
Q3499236
(Q3320614,P57,c(Q502895))
action filter_type
action find
entity Q3320614
relation P57
type Q502895
Money was directed by [ANSWER]
['Q3320614', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3320614 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Steven Hilliard Stern
Money was directed by Steven Hilliard Stern
Steven Hilliard Stern
action filter_type
action find
entity Money
relation director
type common name
['Money', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Money property:director ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3499236
P58
Q838948
USER
Which work of art has that person as screenwriter ?
(c(Q838948),P58,Q3499236)
action filter_type
action find_reverse
entity Q3499236
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3499236']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q3499236 . ?f rdf:type ontology:Q838948 }
Steven Hilliard Stern
action filter_type
action find_reverse
entity Steven Hilliard Stern
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Steven Hilliard Stern']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Steven_Hilliard_Stern . ?f rdf:type ontology:work_of_art }
[]
work of art
Q3227993
SYSTEM
Running
Q3227993
(c(Q838948),P58,Q3499236)
action filter_type
action find_reverse
entity Q3499236
relation P58
type Q838948
[ANSWER] has that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q3499236']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q3499236 . ?f rdf:type ontology:Q838948 }
Running
Running has that person as screenwriter
Running
action filter_type
action find_reverse
entity Steven Hilliard Stern
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Steven Hilliard Stern']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Steven_Hilliard_Stern . ?f rdf:type ontology:work_of_art }
[]