Simple Question (Direct)
Simple Question
Q17019435
P161
Q502895
USER
Which people are in Last Plane to Baalbek ?
(Q17019435,P161,c(Q502895))
action filter_type
action find
entity Q17019435
relation P161
type Q502895
['Q17019435', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q17019435 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Last Plane to Baalbek
action filter_type
action find
entity Last Plane to Baalbek
relation cast member
type common name
['Last Plane to Baalbek', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Last_Plane_to_Baalbek property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q296491 Q472419 Q636733
SYSTEM
George Sanders, Leopoldo Trieste, Jacques Sernas
Q472419 Q296491 Q636733 Q522832 Q261860 Q456171 Q3858784
(Q17019435,P161,c(Q502895))
action filter_type
action find
entity Q17019435
relation P161
type Q502895
[ANSWERS] are in Last Plane to Baalbek
['Q17019435', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q17019435 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Leopoldo Trieste George Sanders Jacques Sernas Folco Lulli Rossana Podestà Yoko Tani Miranda Martino
George Sanders, Leopoldo Trieste and Jacques Sernas are in Last Plane to Baalbek
George Sanders Leopoldo Trieste Jacques Sernas
action filter_type
action find
entity Last Plane to Baalbek
relation cast member
type common name
['Last Plane to Baalbek', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Last_Plane_to_Baalbek property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q472419
P1412
Q34770
USER
Which language does that person speak in ?
(Q472419,P1412,c(Q34770))
action filter_type
action find
entity Q472419
relation P1412
type Q34770
['Q472419', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q472419 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Leopoldo Trieste
action filter_type
action find
entity Leopoldo Trieste
relation languages spoken, written or signed
type language
['Leopoldo Trieste', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Leopoldo_Trieste property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q472419
SYSTEM
Did you mean Leopoldo Trieste ?
Q296491 Q472419 Q636733
(Q296491,P1412,c(Q34770)) (Q472419,P1412,c(Q34770)) (Q636733,P1412,c(Q34770))
[ANSWER]
['Q296491', 'P1412', {'concept': 'Q34770'}] ['Q472419', 'P1412', {'concept': 'Q34770'}] ['Q636733', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q472419 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
George Sanders Leopoldo Trieste Jacques Sernas
Did you mean Leopoldo Trieste ?
Leopoldo Trieste
['George Sanders', 'languages spoken, written or signed', {'concept': 'language'}] ['Leopoldo Trieste', 'languages spoken, written or signed', {'concept': 'language'}] ['Jacques Sernas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Leopoldo_Trieste property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q472419,P1412,c(Q34770))
['Q472419', 'P1412', {'concept': 'Q34770'}]
['Leopoldo Trieste', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q652
SYSTEM
Italian
Q652
(Q472419,P1412,c(Q34770))
action filter_type
action find
entity Q472419
relation P1412
type Q34770
That person speaks an [ANSWER]
['Q472419', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q472419 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Italian
That person speaks an Italian
Italian
action filter_type
action find
entity Leopoldo Trieste
relation languages spoken, written or signed
type language
['Leopoldo Trieste', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Leopoldo_Trieste property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q3619732
P1412
Q502895
USER
Does Antonio Mario La Pergola speak that language ?
(Q3619732,P1412,Q652)
action is_in
entity Q652
action find
entity Q3619732
relation P1412
['Q3619732', 'P1412', 'Q652']
ASK WHERE { resource:Q3619732 property:P1412 resource:Q652 }
Italian Antonio Mario La Pergola
action is_in
entity Italian
action find
entity Antonio Mario La Pergola
relation languages spoken, written or signed
['Antonio Mario La Pergola', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Antonio_Mario_La_Pergola property:languages_spoken,_written_or_signed resource:Italian }
[]
common name
SYSTEM
YES
(Q3619732,P1412,Q652)
action is_in
entity Q652
action find
entity Q3619732
relation P1412
[ANSWER]
['Q3619732', 'P1412', 'Q652']
ASK WHERE { resource:Q3619732 property:P1412 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Antonio Mario La Pergola
relation languages spoken, written or signed
['Antonio Mario La Pergola', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Antonio_Mario_La_Pergola property:languages_spoken,_written_or_signed resource:Italian }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16985551 Q472419
P27
Q15617994
USER
Which administrative territories are Leopoldo Trieste or Marja Luukkonen an inhabitant of ?
OR((Q472419,P27,c(Q15617994)), (Q16985551,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q472419
relation P27
action find
entity Q16985551
relation P27
type Q15617994
{'OR': [['Q472419', 'P27', {'concept': 'Q15617994'}], ['Q16985551', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q16985551 property:P27 ?h } UNION { resource:Q472419 property:P27 ?h } } }
Marja Luukkonen Leopoldo Trieste
action filter_type
action union
action find
entity Leopoldo Trieste
relation country of citizenship
action find
entity Marja Luukkonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leopoldo Trieste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marja Luukkonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Marja_Luukkonen property:country_of_citizenship ?h } UNION { resource:Leopoldo_Trieste property:country_of_citizenship ?h } } }
[]
designation for an administrative territorial entity
Q33 Q38
SYSTEM
Finland, Italy
Q33 Q38
OR((Q472419,P27,c(Q15617994)), (Q16985551,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q472419
relation P27
action find
entity Q16985551
relation P27
type Q15617994
[ANSWERS] are Leopoldo Trieste or Marja Luukkonen an inhabitant of
{'OR': [['Q472419', 'P27', {'concept': 'Q15617994'}], ['Q16985551', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q16985551 property:P27 ?h } UNION { resource:Q472419 property:P27 ?h } } }
Finland Italy
Finland and Italy are Leopoldo Trieste or Marja Luukkonen an inhabitant of
Finland Italy
action filter_type
action union
action find
entity Leopoldo Trieste
relation country of citizenship
action find
entity Marja Luukkonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leopoldo Trieste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marja Luukkonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Marja_Luukkonen property:country_of_citizenship ?h } UNION { resource:Leopoldo_Trieste property:country_of_citizenship ?h } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q107425 Q553036 Q15617994
USER
Which administrative territories have their location as atleast 1 landscapes or natural region of Germanys ?
(c(Q15617994),P706,c(Q107425)|c(Q553036))
action atleast
action union
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action find_tuple_counts
relation P706
type Q15617994
type Q553036
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q107425 ) ( ontology:Q553036 ) } . ?y rdf:type ?h } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:landscape ) ( ontology:natural_region_of_Germany ) } . ?y rdf:type ?h } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
[]
landscape natural region of Germany designation for an administrative territorial entity
Q145 Q489215 Q522992
SYSTEM
United Kingdom, Oberhof, Braunlage
Q489215 Q145 Q628095 Q522992
(c(Q15617994),P706,c(Q107425)|c(Q553036))
action atleast
action union
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action find_tuple_counts
relation P706
type Q15617994
type Q553036
value 1
[ANSWERS] have their location as atleast 1 landscapes or natural region of Germanys
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q107425 ) ( ontology:Q553036 ) } . ?y rdf:type ?h } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
Oberhof United Kingdom Nürburg Braunlage
United Kingdom, Oberhof and Braunlage have their location as atleast 1 landscapes or natural region of Germanys
United Kingdom Oberhof Braunlage
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:landscape ) ( ontology:natural_region_of_Germany ) } . ?y rdf:type ?h } GROUP BY ?k } . FILTER ( ?m >= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q145 Q489215 Q522992
P20
Q502895
USER
Which people have those administrative territories as place of death ?
(c(Q502895),P20,Q145) (c(Q502895),P20,Q489215) (c(Q502895),P20,Q522992)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q145'] [{'concept': 'Q502895'}, 'P20', 'Q489215'] [{'concept': 'Q502895'}, 'P20', 'Q522992']
SELECT DISTINCT ?e WHERE { VALUES ( ?z ) { ( resource:Q489215 ) ( resource:Q145 ) ( resource:Q628095 ) } . ?e rdf:type ontology:Q502895 . ?e property:P20 ?z }
United Kingdom Oberhof Braunlage
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom'] [{'concept': 'common name'}, 'place of death', 'Oberhof'] [{'concept': 'common name'}, 'place of death', 'Braunlage']
SELECT DISTINCT ?e WHERE { VALUES ( ?z ) { ( resource:Oberhof ) ( resource:United_Kingdom ) ( resource:Nürburg ) } . ?e rdf:type ontology:common_name . ?e property:place_of_death ?z }
[]
common name
Q5539480 Q11727985 Q5661723
SYSTEM
George Frederick Stanley, John Sinclair, 1st Baron Pentland, Harold McCusker
Q7364940 Q5512494 Q7817268 Q1359962 Q21463011 Q3430369 Q9250815 Q5539480 Q5540255 Q6306769 Q8018603 Q16016409 Q5539833 Q6830997 Q5661723 Q6220520 Q1749799 Q369526 Q19691583 Q1936169 Q1365993 Q3809424 Q21486114 Q6151168 Q3290343 Q6939267 Q12090836 Q5534717 Q14475998 Q980378 Q5730399 Q23806790 Q14623452 Q633377 Q17402715 Q725880 Q215338 Q6468384 Q249849 Q11779634 Q20030044 Q3087092 Q15407593 Q6231765 Q1626539 Q3087086 Q678500 Q237173 Q3666599 Q1380910 Q20731799 Q21062905 Q8020816 Q6238020 Q4963943 Q555531 Q4197339 Q4977129 Q6768302 Q2442632 Q3714622 Q4734252 Q335542 Q11727985 Q987769 Q6843597 Q9341573 Q186025 Q6144189 Q358754 Q221531 Q9373968 Q509528 Q18187112 Q3688020 Q9145644 Q26769386 Q1396742 Q6414262 Q3990658 Q4896071 Q1359932 Q26271864 Q1929333 Q23562565 Q5492577 Q4974317 Q9342769 Q1540307 Q6243769 Q11754242 Q18954454 Q1387763 Q7147156 Q6846684 Q7794001 Q24718696 Q17355643 Q7613410 Q7351194 Q5721354 Q6015750 Q5538120 Q3023747 Q1515768 Q1701043 Q2582032 Q1693588 Q1306879 Q1793856 Q78153 Q63846 Q1283666 Q71463 Q3083130 Q1458663 Q2575431 Q711751 Q1600967 Q1745868 Q14365821 Q1042184 Q121236 Q2157767
(c(Q502895),P20,Q145) (c(Q502895),P20,Q489215) (c(Q502895),P20,Q522992)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those administrative territories as place of death
[{'concept': 'Q502895'}, 'P20', 'Q145'] [{'concept': 'Q502895'}, 'P20', 'Q489215'] [{'concept': 'Q502895'}, 'P20', 'Q522992']
SELECT DISTINCT ?e WHERE { VALUES ( ?z ) { ( resource:Q489215 ) ( resource:Q145 ) ( resource:Q628095 ) } . ?e rdf:type ontology:Q502895 . ?e property:P20 ?z }
Ronald Hingley G. T. Boag Tom Poulton Ernst Roth Vivian Forbes Harold Walter Bailey Edward Czuruk George Frederick Stanley George Harris, 3rd Baron Harris Julia Strachey William Soltau Davidson John Dair George Goschen, 2nd Viscount Goschen Michael Hastings Harold McCusker John Bancroft Edward William Barton-Wright Margaret Kennedy Stanisław Wilczyński Mina Benson Hubbard Philip Vian John Lodge Cowley Roger Thatcher Jane Birdwood, Baroness Birdwood Dione Lucas Murray Hammick Irving B. Fritz Geoffrey Jones Mieczysław Jonikas Henryk Pietrzak Henry Winslow Woollett James Hodgson Adam Szugajew Robin Irvine Christine Noonan Philip Gidley King Jona von Ustinov Lachhiman Gurung Gerard Lander Mieczysław Adamek Stanisława Paleolog Frederick Bardens Feliks Horecki John Emms Alfred Dundas Taylor Frederick Philbrick Paul Dehn Mary Parker Follett Charles Palmer Ted Moore S. V. Ramamurthy Alex Giannini William de Ropp John Harry McNeaney Brian Hanrahan Paddy Roy Bates Margaretta Eagar Bruce Beeby Mark Judge Tony Imi Douglas Cochrane, 12th Earl of Dundonald Alois Stoeckl Oliver Russell, 2nd Baron Ampthill John Sinclair, 1st Baron Pentland Augustus Frederick Lindley Mieczysław Grydzewski Stanisław Barzdo R. J. Mitchell James Thompson Edward Blyth Stanisław Sosabowski Wiktor Batycki Antonia White Oluremi Oyo Thomas Kitchin Aleksander Kędzior Eugeniusz Rzymowski George Julian Harney Kinsey Peile Thomas Jefferys Beryl Gilroy Ernst Ritter von Marx Dimos Donetis Michael Scott-Joynt John Thomas Richard Brooker Brook Bernacchi Stanisław Patalan Olaf Caroe John La Rose Leon Filary Mary Green Oliver Cheatham Patrick McGowan Mike Elliott Thomas Skinner C. H. Masterman Lydia Webb Steve Moore Robert Wiseman Henry Foley Knight Thomas Austin George Coppard Derek Martinus Gertrude Guillaume-Schack John McLusky Willy Kurth Johann Friedrich Joel Leopold Hofmann Kurt Mederacke Willy Lages Wilhelm Heye Johannes Göderitz Lucie Mannheim Franz Mattenklott Friedrich Carl Untucht Wilhelm Töllner Arthur Ulrichs Heinz Schwitzke Klaus Wilhelm Rath Hubert Gralka Carlo Graaff Gustav Dahrendorf Robert Kabelac
George Frederick Stanley, John Sinclair, 1st Baron Pentland and Harold McCusker have those administrative territories as place of death
George Frederick Stanley John Sinclair, 1st Baron Pentland Harold McCusker
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom'] [{'concept': 'common name'}, 'place of death', 'Oberhof'] [{'concept': 'common name'}, 'place of death', 'Braunlage']
SELECT DISTINCT ?e WHERE { VALUES ( ?z ) { ( resource:Oberhof ) ( resource:United_Kingdom ) ( resource:Nürburg ) } . ?e rdf:type ontology:common_name . ?e property:place_of_death ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5661723
P106
Q12737077
USER
What does that person do for a living ?
(Q5661723,P106,c(Q12737077))
action filter_type
action find
entity Q5661723
relation P106
type Q12737077
['Q5661723', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5661723 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Harold McCusker
action filter_type
action find
entity Harold McCusker
relation occupation
type occupation
['Harold McCusker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Harold_McCusker property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q5539480
SYSTEM
Did you mean George Frederick Stanley ?
Q5539480 Q11727985 Q5661723
(Q5539480,P106,c(Q12737077)) (Q11727985,P106,c(Q12737077)) (Q5661723,P106,c(Q12737077))
[ANSWER]
['Q5539480', 'P106', {'concept': 'Q12737077'}] ['Q11727985', 'P106', {'concept': 'Q12737077'}] ['Q5661723', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5661723 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
George Frederick Stanley John Sinclair, 1st Baron Pentland Harold McCusker
Did you mean George Frederick Stanley ?
George Frederick Stanley
['George Frederick Stanley', 'occupation', {'concept': 'occupation'}] ['John Sinclair, 1st Baron Pentland', 'occupation', {'concept': 'occupation'}] ['Harold McCusker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Harold_McCusker property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Harold McCusker. Could you tell me the answer for that?
(Q5661723,P106,c(Q12737077))
Q5661723
['Q5661723', 'P106', {'concept': 'Q12737077'}]
['Harold McCusker', 'occupation', {'concept': 'occupation'}]
[]
Q82955
SYSTEM
politician
Q82955
(Q5661723,P106,c(Q12737077))
action filter_type
action find
entity Q5661723
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q5661723', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5661723 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Harold McCusker
relation occupation
type occupation
['Harold McCusker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Harold_McCusker property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P276
Q56061
USER
What is situated at Finland ?
(c(Q56061),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q56061
[{'concept': 'Q56061'}, 'P276', 'Q33']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?a property:P276 resource:Q33 }
Finland
action filter_type
action find_reverse
entity Finland
relation location
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'location', 'Finland']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?a property:location resource:Finland }
[]
administrative territorial entity
Q26268011
SYSTEM
Wooden Pasila
Q26268011
(c(Q56061),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q56061
[ANSWER] is situated at Finland
[{'concept': 'Q56061'}, 'P276', 'Q33']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?a property:P276 resource:Q33 }
Wooden Pasila
Wooden Pasila is situated at Finland
Wooden Pasila
action filter_type
action find_reverse
entity Finland
relation location
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'location', 'Finland']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?a property:location resource:Finland }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20261278 Q472419
P161
Q838948
USER
Which works of art stars Leopoldo Trieste or Liv Hansen as actor ?
OR((c(Q838948),P161,Q472419), (c(Q838948),P161,Q20261278))
action filter_type
action union
action find_reverse
entity Q472419
relation P161
action find_reverse
entity Q20261278
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q472419'], [{'concept': 'Q838948'}, 'P161', 'Q20261278']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P161 resource:Q472419 } UNION { ?x property:P161 resource:Q20261278 } } . ?x rdf:type ontology:Q838948 }
Liv Hansen Leopoldo Trieste
action filter_type
action union
action find_reverse
entity Leopoldo Trieste
relation cast member
action find_reverse
entity Liv Hansen
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Leopoldo Trieste'], [{'concept': 'work of art'}, 'cast member', 'Liv Hansen']]}
SELECT DISTINCT ?x WHERE { { { ?x property:cast_member resource:Leopoldo_Trieste } UNION { ?x property:cast_member resource:Liv_Hansen } } . ?x rdf:type ontology:work_of_art }
[]
work of art
Q4003862 Q18397 Q3824240 Q3954181 Q6538200 Q3843914 Q232116 Q1115873 Q1572334 Q3843769
SYSTEM
Some of them are Un giorno in pretura, The White Sheik, The Eye of the Needle, Sedotti e bidonati, Lezioni di violoncello con toccata e fuga, Vergine e di nome Maria, We Still Kill the Old Way, Trastevere, The Joy of Living, Malamore
Q3965942 Q3843914 Q1108721 Q3793628 Q3227148 Q4004171 Q3819615 Q3792931 Q705247 Q1168125 Q232116 Q3821761 Q18397 Q3847724 Q5643199 Q21527555 Q1572334 Q3831476 Q3954181 Q3795000 Q660245 Q587854 Q3706036 Q1168227 Q80204 Q3794884 Q9346404 Q1192783 Q2268902 Q155018 Q184768 Q473014 Q570967 Q13178514 Q3795891 Q6538200 Q3426691 Q1475278 Q3843769 Q3715960 Q2525792 Q1659350 Q1887799 Q3899752 Q3794548 Q3905750 Q1365174 Q3795940 Q3824711 Q3824240 Q3236417 Q3725834 Q4003862 Q18399 Q1115873 Q3794612 Q1054708 Q3713487 Q217685 Q3732809 Q1660701 Q464032 Q1306328 Q586569 Q17019435 Q1304301 Q4003806 Q1629592 Q3684671 Q3794265
OR((c(Q838948),P161,Q472419), (c(Q838948),P161,Q20261278))
action filter_type
action union
action find_reverse
entity Q472419
relation P161
action find_reverse
entity Q20261278
relation P161
type Q838948
[ANSWERS] star Leopoldo Trieste or Liv Hansen as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q472419'], [{'concept': 'Q838948'}, 'P161', 'Q20261278']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P161 resource:Q472419 } UNION { ?x property:P161 resource:Q20261278 } } . ?x rdf:type ontology:Q838948 }
Shoot Loud, Louder... I Don't Understand Vergine e di nome Maria The Sign of Venus Il coraggio White Voices Una cavalla tutta nuda L'ombrellone The Profiteer Delusions of Grandeur Everyone's in Love We Still Kill the Old Way On My Way to the Crusades, I Met a Girl Who... The White Sheik Marianna Ucrìa Hallucination Strip City of Tiny Lights The Joy of Living Private Lessons Sedotti e bidonati Il padrone sono me Don't Look Now Flatfoot in Egypt Destination Piovarolo The Secret of Santa Vittoria Anna Karenina The Moralist Stradivari Le clan des siciliens Where Is Freedom? The Name of the Rose The Godfather Part II Quo Vadis? Momo Web of Deception Il sole buio Lezioni di violoncello con toccata e fuga The Adventures of Gerard The Council of Egypt Malamore Due cuori, una cappella Seduced and Abandoned Twitch of the Death Nerve Pulp Perdutamente tuo... mi firmo Macaluso Carmelo fu Giuseppe The Prince's Manuscript Piso pisello Divorce, Italian Style Il Successo La vacanza The Eye of the Needle A Day for Lionhearts Henry IV Un giorno in pretura I Vitelloni Trastevere Be Sick... It's Free Il Marchese del Grillo Don Bosco Caligula Escalation The Shoes of the Fisherman Cinema Paradiso A Question of Honour The Star Maker Last Plane to Baalbek Un americano a Roma A Hero of Our Times A Farewell to Arms Commissariato di notturna Law of Courage
Un giorno in pretura, The White Sheik, The Eye of the Needle, Sedotti e bidonati, Lezioni di violoncello con toccata e fuga, Vergine e di nome Maria, We Still Kill the Old Way, Trastevere, The Joy of Living and Malamore star Leopoldo Trieste or Liv Hansen as actor
Un giorno in pretura The White Sheik The Eye of the Needle Sedotti e bidonati Lezioni di violoncello con toccata e fuga Vergine e di nome Maria We Still Kill the Old Way Trastevere The Joy of Living Malamore
action filter_type
action union
action find_reverse
entity Leopoldo Trieste
relation cast member
action find_reverse
entity Liv Hansen
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Leopoldo Trieste'], [{'concept': 'work of art'}, 'cast member', 'Liv Hansen']]}
SELECT DISTINCT ?x WHERE { { { ?x property:cast_member resource:Leopoldo_Trieste } UNION { ?x property:cast_member resource:Liv_Hansen } } . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
How many languages adopt atmost 2 alphabets and writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { { ?t property:P282 ?h . ?t rdf:type ontology:Q34770 . ?h rdf:type ontology:Q9779 } UNION { ?t property:P282 ?h . ?t rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } } GROUP BY ?t } . FILTER ( ?x <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { { ?t property:writing_system ?h . ?t rdf:type ontology:language . ?h rdf:type ontology:alphabet } UNION { ?t property:writing_system ?h . ?t rdf:type ontology:language . ?h rdf:type ontology:writing_system } } GROUP BY ?t } . FILTER ( ?x <= 2 ) }
[]
alphabet writing system language
SYSTEM
58
Q7102906 Q182695 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { { ?t property:P282 ?h . ?t rdf:type ontology:Q34770 . ?h rdf:type ontology:Q9779 } UNION { ?t property:P282 ?h . ?t rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } } GROUP BY ?t } . FILTER ( ?x <= 2 ) }
Orizaba Nahuatl Late Old Japanese Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
58
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { { ?t property:writing_system ?h . ?t rdf:type ontology:language . ?h rdf:type ontology:alphabet } UNION { ?t property:writing_system ?h . ?t rdf:type ontology:language . ?h rdf:type ontology:writing_system } } GROUP BY ?t } . FILTER ( ?x <= 2 ) }
[]