Simple Question (Direct)
Simple Question
Q60745
P1196
Q1914636
USER
Which activity best describes with circumstances of death of Holger Meins ?
(Q60745,P1196,c(Q1914636))
action filter_type
action find
entity Q60745
relation P1196
type Q1914636
['Q60745', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q60745 property:P1196 ?u . ?u rdf:type ontology:Q1914636 }
Holger Meins
action filter_type
action find
entity Holger Meins
relation manner of death
type activity
['Holger Meins', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:Holger_Meins property:manner_of_death ?u . ?u rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q60745,P1196,c(Q1914636))
action filter_type
action find
entity Q60745
relation P1196
type Q1914636
The [ANSWER] best describes with circumstances of death of Holger Meins
['Q60745', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q60745 property:P1196 ?u . ?u rdf:type ontology:Q1914636 }
suicide
The suicide best describes with circumstances of death of Holger Meins
suicide
action filter_type
action find
entity Holger Meins
relation manner of death
type activity
['Holger Meins', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:Holger_Meins property:manner_of_death ?u . ?u rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60745
P20
Q15617994
USER
Which administrative territory is the place of death of Holger Meins ?
(Q60745,P20,c(Q15617994))
action filter_type
action find
entity Q60745
relation P20
type Q15617994
['Q60745', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q60745 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Holger Meins
action filter_type
action find
entity Holger Meins
relation place of death
type designation for an administrative territorial entity
['Holger Meins', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Holger_Meins property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q559514
SYSTEM
Wittlich
Q559514
(Q60745,P20,c(Q15617994))
action filter_type
action find
entity Q60745
relation P20
type Q15617994
[ANSWER] is the place of death of Holger Meins
['Q60745', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q60745 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Wittlich
Wittlich is the place of death of Holger Meins
Wittlich
action filter_type
action find
entity Holger Meins
relation place of death
type designation for an administrative territorial entity
['Holger Meins', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Holger_Meins property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4117944
Q15617994
USER
And what about Pope Matthew I of Alexandria?
(Q4117944,P20,c(Q15617994))
action filter_type
action find
entity Q4117944
relation P20
type Q15617994
['Q4117944', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4117944 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Pope Matthew I of Alexandria
action filter_type
action find
entity Pope Matthew I of Alexandria
relation place of death
type designation for an administrative territorial entity
['Pope Matthew I of Alexandria', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pope_Matthew_I_of_Alexandria property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q4117944,P20,c(Q15617994))
action filter_type
action find
entity Q4117944
relation P20
type Q15617994
[ANSWER]
['Q4117944', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4117944 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Egypt
Egypt
action filter_type
action find
entity Pope Matthew I of Alexandria
relation place of death
type designation for an administrative territorial entity
['Pope Matthew I of Alexandria', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pope_Matthew_I_of_Alexandria property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q79 Q4236126 Q4277923
P530
Q1048835
USER
Does that administrative territory have ambassadorial relations with Kotliarevske and Malynove ?
(Q79,P530,Q4236126) (Q79,P530,Q4277923)
action is_in
entity Q79
action intersection
action find_reverse
entity Q4236126
relation P530
action find_reverse
entity Q4277923
relation P530
['Q79', 'P530', 'Q4236126'] ['Q79', 'P530', 'Q4277923']
ASK WHERE { resource:Q79 property:P530 resource:Q4236126 . resource:Q79 property:P530 resource:Q4277923 }
Egypt Kotliarevske Malynove
action is_in
entity Egypt
action intersection
action find_reverse
entity Kotliarevske
relation diplomatic relation
action find_reverse
entity Malynove
relation diplomatic relation
['Egypt', 'diplomatic relation', 'Kotliarevske'] ['Egypt', 'diplomatic relation', 'Malynove']
ASK WHERE { resource:Egypt property:diplomatic_relation resource:Kotliarevske . resource:Egypt property:diplomatic_relation resource:Malynove }
[]
political territorial entity
SYSTEM
NO
(Q79,P530,Q4236126) (Q79,P530,Q4277923)
action is_in
entity Q79
action intersection
action find_reverse
entity Q4236126
relation P530
action find_reverse
entity Q4277923
relation P530
[ANSWER]
['Q79', 'P530', 'Q4236126'] ['Q79', 'P530', 'Q4277923']
ASK WHERE { resource:Q79 property:P530 resource:Q4236126 . resource:Q79 property:P530 resource:Q4277923 }
No
action is_in
entity Egypt
action intersection
action find_reverse
entity Kotliarevske
relation diplomatic relation
action find_reverse
entity Malynove
relation diplomatic relation
['Egypt', 'diplomatic relation', 'Kotliarevske'] ['Egypt', 'diplomatic relation', 'Malynove']
ASK WHERE { resource:Egypt property:diplomatic_relation resource:Kotliarevske . resource:Egypt property:diplomatic_relation resource:Malynove }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
Which administrative territories are the narrative locations of around 51 applications or collectables ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 51
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P840 ?t . ?z rdf:type ontology:Q166142 . ?t rdf:type ontology:Q15617994 } UNION { ?z property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?t } . FILTER ( ?f = 51 ) }
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 51
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:narrative_location ?t . ?z rdf:type ontology:application . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?t } . FILTER ( ?f = 51 ) }
[]
designation for an administrative territorial entity application collectable
Q155 Q30 Q55
SYSTEM
Brazil, United States of America, Netherlands
Q55 Q41 Q155 Q796 Q889 Q881 Q33 Q30 Q96
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 51
[ANSWERS] are the narrative locations of around 51 applications or collectables
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P840 ?t . ?z rdf:type ontology:Q166142 . ?t rdf:type ontology:Q15617994 } UNION { ?z property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?t } . FILTER ( ?f = 51 ) }
Netherlands Greece Brazil Iraq Afghanistan Vietnam Finland United States of America Mexico
Brazil, United States of America and Netherlands are the narrative locations of around 51 applications or collectables
Brazil United States of America Netherlands
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 51
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:narrative_location ?t . ?z rdf:type ontology:application . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?t } . FILTER ( ?f = 51 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q161694
P530
Q15617994
USER
Do Gradoli have ambassadorial relations with those ones ?
(Q161694,P530,Q155) (Q161694,P530,Q30) (Q161694,P530,Q55)
action is_in
entity prev_answer
action find
entity Q161694
relation P530
['Q161694', 'P530', 'Q155'] ['Q161694', 'P530', 'Q30'] ['Q161694', 'P530', 'Q55']
ASK WHERE { resource:Q161694 property:P530 ?y . VALUES ( ?y ) { ( resource:Q55 ) ( resource:Q41 ) ( resource:Q155 ) } }
Gradoli
action is_in
entity prev_answer
action find
entity Gradoli
relation diplomatic relation
['Gradoli', 'diplomatic relation', 'Brazil'] ['Gradoli', 'diplomatic relation', 'United States of America'] ['Gradoli', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Gradoli property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Netherlands ) ( resource:Greece ) ( resource:Brazil ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q161694,P530,Q155) (Q161694,P530,Q30) (Q161694,P530,Q55)
action is_in
entity prev_answer
action find
entity Q161694
relation P530
[ANSWER]
['Q161694', 'P530', 'Q155'] ['Q161694', 'P530', 'Q30'] ['Q161694', 'P530', 'Q55']
ASK WHERE { resource:Q161694 property:P530 ?y . VALUES ( ?y ) { ( resource:Q55 ) ( resource:Q41 ) ( resource:Q155 ) } }
No
action is_in
entity prev_answer
action find
entity Gradoli
relation diplomatic relation
['Gradoli', 'diplomatic relation', 'Brazil'] ['Gradoli', 'diplomatic relation', 'United States of America'] ['Gradoli', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Gradoli property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Netherlands ) ( resource:Greece ) ( resource:Brazil ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is used as the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q8142 . resource:Q30 property:P38 ?i }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:currency . resource:United_States_of_America property:currency ?i }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is used as the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q8142 . resource:Q30 property:P38 ?i }
United States dollar
United States dollar is used as the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:currency . resource:United_States_of_America property:currency ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P272
Q838948
USER
Which work of art had United States of America as the production company ?
(c(Q838948),P272,Q30)
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P272 resource:Q30 . ?j rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:production_company resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1424889
SYSTEM
Crustacés et Coquillages
Q1424889
(c(Q838948),P272,Q30)
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
And [ANSWER] had United States of America as the production company
[{'concept': 'Q838948'}, 'P272', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P272 resource:Q30 . ?j rdf:type ontology:Q838948 }
Crustacés et Coquillages
And Crustacés et Coquillages had United States of America as the production company
Crustacés et Coquillages
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:production_company resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1424889
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q1424889,P58,c(Q502895))
action filter_type
action find
entity Q1424889
relation P58
type Q502895
['Q1424889', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q1424889 property:P58 ?h }
Crustacés et Coquillages
action filter_type
action find
entity Crustacés et Coquillages
relation screenwriter
type common name
['Crustacés et Coquillages', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Crustacés_et_Coquillages property:screenwriter ?h }
[]
common name
Q1757186 Q1889351
SYSTEM
Jacques Martineau, Olivier Ducastel
Q1757186 Q1889351
(Q1424889,P58,c(Q502895))
action filter_type
action find
entity Q1424889
relation P58
type Q502895
[ANSWERS] served as the screenwriter for that work of art
['Q1424889', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q1424889 property:P58 ?h }
Jacques Martineau Olivier Ducastel
Jacques Martineau and Olivier Ducastel served as the screenwriter for that work of art
Jacques Martineau Olivier Ducastel
action filter_type
action find
entity Crustacés et Coquillages
relation screenwriter
type common name
['Crustacés et Coquillages', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Crustacés_et_Coquillages property:screenwriter ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1757196
P57
Q838948
USER
Do Born in 68 have those people as their director ?
(Q1757196,P57,Q1757186) (Q1757196,P57,Q1889351)
action is_in
entity prev_answer
action find
entity Q1757196
relation P57
['Q1757196', 'P57', 'Q1757186'] ['Q1757196', 'P57', 'Q1889351']
ASK WHERE { resource:Q1757196 property:P57 ?l . VALUES ( ?l ) { ( resource:Q1757186 ) ( resource:Q1889351 ) } }
Born in 68
action is_in
entity prev_answer
action find
entity Born in 68
relation director
['Born in 68', 'director', 'Jacques Martineau'] ['Born in 68', 'director', 'Olivier Ducastel']
ASK WHERE { resource:Born_in_68 property:director ?l . VALUES ( ?l ) { ( resource:Jacques_Martineau ) ( resource:Olivier_Ducastel ) } }
[]
work of art
SYSTEM
YES
(Q1757196,P57,Q1757186) (Q1757196,P57,Q1889351)
action is_in
entity prev_answer
action find
entity Q1757196
relation P57
[ANSWER]
['Q1757196', 'P57', 'Q1757186'] ['Q1757196', 'P57', 'Q1889351']
ASK WHERE { resource:Q1757196 property:P57 ?l . VALUES ( ?l ) { ( resource:Q1757186 ) ( resource:Q1889351 ) } }
Yes
action is_in
entity prev_answer
action find
entity Born in 68
relation director
['Born in 68', 'director', 'Jacques Martineau'] ['Born in 68', 'director', 'Olivier Ducastel']
ASK WHERE { resource:Born_in_68 property:director ?l . VALUES ( ?l ) { ( resource:Jacques_Martineau ) ( resource:Olivier_Ducastel ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q983092 Q1757186
P57
Q838948
USER
Which works of art are Jacques Martineau or David Butler a director of ?
OR((c(Q838948),P57,Q1757186), (c(Q838948),P57,Q983092))
action filter_type
action union
action find_reverse
entity Q1757186
relation P57
action find_reverse
entity Q983092
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q1757186'], [{'concept': 'Q838948'}, 'P57', 'Q983092']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . { { ?u property:P57 resource:Q1757186 } UNION { ?u property:P57 resource:Q983092 } } }
David Butler Jacques Martineau
action filter_type
action union
action find_reverse
entity Jacques Martineau
relation director
action find_reverse
entity David Butler
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Jacques Martineau'], [{'concept': 'work of art'}, 'director', 'David Butler']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . { { ?u property:director resource:Jacques_Martineau } UNION { ?u property:director resource:David_Butler } } }
[]
work of art
Q1764674 Q7640731 Q2646648 Q2542242 Q3786037 Q1757196 Q2411903 Q1439722 Q3203089 Q21527617
SYSTEM
Some of them are The Littlest Rebel, Sunny Side Up, Ali Baba Goes to Town, Road to Morocco, They Got Me Covered, Born in 68, Drôle de Félix, My Life on Ice, Caught in the Draft, Doubting Thomas
Q1580373 Q7760739 Q3283474 Q3110283 Q21527700 Q7640731 Q3280639 Q7858989 Q2248695 Q371295 Q1150581 Q2389107 Q3430677 Q20073193 Q2646648 Q18625644 Q17060828 Q1983355 Q7125081 Q3786037 Q3210647 Q3647570 Q1523560 Q3202242 Q7769294 Q1653171 Q5571555 Q2371533 Q3837969 Q20649837 Q21527736 Q21998244 Q12125003 Q432567 Q18149574 Q1228404 Q2468435 Q4656074 Q4949171 Q7858990 Q2411903 Q7711010 Q21527617 Q1757196 Q2542242 Q8056452 Q6392306 Q3203089 Q5005824 Q1304891 Q3057812 Q5476823 Q2384699 Q7203495 Q5757017 Q7993098 Q7736506 Q18632965 Q18636449 Q586782 Q3204891 Q3176248 Q6311180 Q2472295 Q1424889 Q1305706 Q1764674 Q6245383 Q1439722
OR((c(Q838948),P57,Q1757186), (c(Q838948),P57,Q983092))
action filter_type
action union
action find_reverse
entity Q1757186
relation P57
action find_reverse
entity Q983092
relation P57
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q1757186'], [{'concept': 'Q838948'}, 'P57', 'Q983092']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . { { ?u property:P57 resource:Q1757186 } UNION { ?u property:P57 resource:Q983092 } } }
Look for the Silver Lining The Right Approach The Story of Seabiscuit Thank Your Lucky Stars Handy Andy Sunny Side Up You're a Sweetheart Two Guys from Milwaukee The Little Colonel Pigskin Parade Kentucky Bright Eyes King Richard and the Crusaders White Fang Ali Baba Goes to Town High School Hero My Weakness Salute Painting the Clouds with Sunshine They Got Me Covered By the Light of the Silvery Moon Business and Pleasure Just Imagine Family Tree The Time, the Place and the Girl Tea for Two Glory The Command The Daughter of Rosie O'Grady Down to Earth Hold Me Tight Paris 05:59 If I Had My Way The Princess and the Pirate East Side of Heaven Calamity Jane Captain January A Connecticut Yankee Bottoms Up Two Guys from Texas Drôle de Félix That's Right You're Wrong Doubting Thomas Born in 68 Road to Morocco You'll Find Out Kentucky Moonshine Caught in the Draft C'mon, Let's Live a Little San Antonio Lullaby of Broadway Fox Movietone Follies of 1929 My Wild Irish Rose Playmates High Society Blues Where's Charley? The Girl He Left Behind Win That Girl Have a Heart April in Paris Shine On, Harvest Moon The Perfect Guy Jump into Hell Delicious Crustacés et Coquillages It's a Great Feeling The Littlest Rebel John Loves Mary My Life on Ice
My Life on Ice, caught in the Draft and Doubting Thomas are Jacques Martineau or David Butler a director of
The Littlest Rebel Sunny Side Up Ali Baba Goes to Town Road to Morocco They Got Me Covered Born in 68 Drôle de Félix My Life on Ice Caught in the Draft Doubting Thomas
action filter_type
action union
action find_reverse
entity Jacques Martineau
relation director
action find_reverse
entity David Butler
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Jacques Martineau'], [{'concept': 'work of art'}, 'director', 'David Butler']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . { { ?u property:director resource:Jacques_Martineau } UNION { ?u property:director resource:David_Butler } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works are set up by min number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?b ) WHERE { ?a rdf:type ontology:Q386724 . ?q rdf:type ontology:Q838948 . ?a property:P1445 ?q } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?h property:P1445 ?m . ?h rdf:type ontology:Q386724 . ?m rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?g = ?w ) }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?b ) WHERE { ?a rdf:type ontology:work . ?q rdf:type ontology:work_of_art . ?a property:fictional_universe_described_in ?q } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?h property:fictional_universe_described_in ?m . ?h rdf:type ontology:work . ?m rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?g = ?w ) }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWERS] are set up by min number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?b ) WHERE { ?a rdf:type ontology:Q386724 . ?q rdf:type ontology:Q838948 . ?a property:P1445 ?q } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?h property:P1445 ?m . ?h rdf:type ontology:Q386724 . ?m rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?g = ?w ) }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate are set up by min number of works of art
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?b ) WHERE { ?a rdf:type ontology:work . ?q rdf:type ontology:work_of_art . ?a property:fictional_universe_described_in ?q } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?g ) WHERE { ?h property:fictional_universe_described_in ?m . ?h rdf:type ontology:work . ?m rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?g = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q1914636 Q191067 Q2342494
USER
How many activities were the main subjects in the work atleast 3 articles or collectables ?
(c(Q191067)|c(Q2342494),P921,c(Q1914636))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q191067
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q2342494
value 3
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?b } . FILTER ( ?j >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type activity
type article
action find_reverse_tuple_counts
relation main subject
type activity
type collectable
value 3
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?b } . FILTER ( ?j >= 3 ) }
[]
activity article collectable
SYSTEM
3
Q12271 Q638 Q8162
(c(Q191067)|c(Q2342494),P921,c(Q1914636))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q191067
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q2342494
value 3
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?b } . FILTER ( ?j >= 3 ) }
architecture music linguistics
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type activity
type article
action find_reverse_tuple_counts
relation main subject
type activity
type collectable
value 3
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?b } . FILTER ( ?j >= 3 ) }
[]