Simple Question (Direct)
Simple Question
Q3106361
P734
Q82799
USER
Which name is associated with Gilles Lemaire ?
(Q3106361,P734,c(Q82799))
action filter_type
action find
entity Q3106361
relation P734
type Q82799
['Q3106361', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q3106361 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Gilles Lemaire
action filter_type
action find
entity Gilles Lemaire
relation family name
type name
['Gilles Lemaire', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Gilles_Lemaire property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q21507830
SYSTEM
Lemaire
Q21507830
(Q3106361,P734,c(Q82799))
action filter_type
action find
entity Q3106361
relation P734
type Q82799
Le [ANSWER] is associated with Gilles [ANSWER]
['Q3106361', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q3106361 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Lemaire
Le Lemaire is associated with Gilles Lemaire
Lemaire
action filter_type
action find
entity Gilles Lemaire
relation family name
type name
['Gilles Lemaire', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Gilles_Lemaire property:family_name ?m . ?m rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1828366 Q3106361
P161
Q838948
USER
Which works of art have Gilles Lemaire or Komal in their star cast ?
OR((c(Q838948),P161,Q3106361), (c(Q838948),P161,Q1828366))
action filter_type
action union
action find_reverse
entity Q3106361
relation P161
action find_reverse
entity Q1828366
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q3106361'], [{'concept': 'Q838948'}, 'P161', 'Q1828366']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Q3106361 ) ( resource:Q1828366 ) } . ?l property:P161 ?w } . ?l rdf:type ontology:Q838948 }
Komal Gilles Lemaire
action filter_type
action union
action find_reverse
entity Gilles Lemaire
relation cast member
action find_reverse
entity Komal
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gilles Lemaire'], [{'concept': 'work of art'}, 'cast member', 'Komal']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Gilles_Lemaire ) ( resource:Komal ) } . ?l property:cast_member ?w } . ?l rdf:type ontology:work_of_art }
[]
work of art
Q18379125 Q5929103 Q5589911 Q26158107 Q16028904 Q18389647 Q21032721 Q4782243 Q3713621 Q6817966
SYSTEM
Some of them are Namo Boothatma, Hudugaata, Govindaya Namaha, Deal Raja, Salaud, on t'aime, Pungi Daasa, Lodde, Aptharakshaka, Lakshmi, Meravanige
Q26158107 Q21032721 Q6817966 Q4782243 Q16028904 Q7918125 Q19627439 Q18389647 Q3713621 Q5589911 Q5929103 Q6349888 Q21869485 Q18379125 Q5590114 Q7280214
OR((c(Q838948),P161,Q3106361), (c(Q838948),P161,Q1828366))
action filter_type
action union
action find_reverse
entity Q3106361
relation P161
action find_reverse
entity Q1828366
relation P161
type Q838948
[ANSWERS] have Gilles Lemaire or Komal in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q3106361'], [{'concept': 'Q838948'}, 'P161', 'Q1828366']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Q3106361 ) ( resource:Q1828366 ) } . ?l property:P161 ?w } . ?l rdf:type ontology:Q838948 }
Deal Raja Lodde Meravanige Aptharakshaka Salaud, on t'aime Veera Goa Pungi Daasa Lakshmi Govindaya Namaha Hudugaata Kal Manja Kathe Chitrakathe Nirdeshana Puttanna Namo Boothatma Gowramma Radhan Ganda
Namo Boothatma, Hudugaata, Govindaya Namaha, Deal Raja, Salaud, on t'aime, Pungi Daasa, Lodde, Aptharakshaka, Lakshmi and Meravanige have Gilles Lemaire or Komal in their star cast
Namo Boothatma Hudugaata Govindaya Namaha Deal Raja Salaud, on t'aime Pungi Daasa Lodde Aptharakshaka Lakshmi Meravanige
action filter_type
action union
action find_reverse
entity Gilles Lemaire
relation cast member
action find_reverse
entity Komal
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gilles Lemaire'], [{'concept': 'work of art'}, 'cast member', 'Komal']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Gilles_Lemaire ) ( resource:Komal ) } . ?l property:cast_member ?w } . ?l rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of atleast 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?h rdf:type ontology:Q838948 } GROUP BY ?w } }
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:fabrication_method ?w . ?w rdf:type ontology:technics . ?h rdf:type ontology:work_of_art } GROUP BY ?w } }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for the assembly of atleast 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?h rdf:type ontology:Q838948 } GROUP BY ?w } }
gilding collage
Gilding and collage are used for the assembly of atleast 1 work of art
gilding collage
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:fabrication_method ?w . ?w rdf:type ontology:technics . ?h rdf:type ontology:work_of_art } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3106361 Q53662
P161
Q838948
USER
How many works of art do Gilles Lemaire or Laika star in ?
(c(Q838948),P161,Q3106361) (c(Q838948),P161,Q53662)
action count
action union
action filter_type
action find_reverse
entity Q3106361
relation P161
type Q838948
action filter_type
action find_reverse
entity Q53662
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3106361'] [{'concept': 'Q838948'}, 'P161', 'Q53662']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?w ) { ( resource:Q3106361 ) ( resource:Q53662 ) } . ?l property:P161 ?w }
Gilles Lemaire Laika
action count
action union
action filter_type
action find_reverse
entity Gilles Lemaire
relation cast member
type work of art
action filter_type
action find_reverse
entity Laika
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gilles Lemaire'] [{'concept': 'work of art'}, 'cast member', 'Laika']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?w ) { ( resource:Gilles_Lemaire ) ( resource:Laika ) } . ?l property:cast_member ?w }
[]
work of art
SYSTEM
2
Q2754899 Q16028904
(c(Q838948),P161,Q3106361) (c(Q838948),P161,Q53662)
action count
action union
action filter_type
action find_reverse
entity Q3106361
relation P161
type Q838948
action filter_type
action find_reverse
entity Q53662
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3106361'] [{'concept': 'Q838948'}, 'P161', 'Q53662']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?w ) { ( resource:Q3106361 ) ( resource:Q53662 ) } . ?l property:P161 ?w }
The Bohemian Life Salaud, on t'aime
2
action count
action union
action filter_type
action find_reverse
entity Gilles Lemaire
relation cast member
type work of art
action filter_type
action find_reverse
entity Laika
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gilles Lemaire'] [{'concept': 'work of art'}, 'cast member', 'Laika']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?w ) { ( resource:Gilles_Lemaire ) ( resource:Laika ) } . ?l property:cast_member ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3106361
P102
Q7210356
USER
Which parties are that person affiliated with ?
action filter_type
action find
entity Q3106361
relation P102
type Q7210356
SELECT DISTINCT ?f WHERE { resource:Q3106361 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Gilles Lemaire
action filter_type
action find
entity Gilles Lemaire
relation member of political party
type political organization
SELECT DISTINCT ?f WHERE { resource:Gilles_Lemaire property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q862828 Q743390
SYSTEM
Unified Socialist Party, The Greens
Q862828 Q743390
action filter_type
action find
entity Q3106361
relation P102
type Q7210356
That person are affiliated with [ANSWERS]
SELECT DISTINCT ?f WHERE { resource:Q3106361 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Unified Socialist Party The Greens
That person are affiliated with Unified Socialist Party and The Greens
Unified Socialist Party The Greens
action filter_type
action find
entity Gilles Lemaire
relation member of political party
type political organization
SELECT DISTINCT ?f WHERE { resource:Gilles_Lemaire property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3014955
P102
Q502895
USER
Are Danielle Auroi members of those political organizations ?
(Q3014955,P102,Q862828) (Q3014955,P102,Q743390)
action is_in
entity prev_answer
action find
entity Q3014955
relation P102
['Q3014955', 'P102', 'Q862828'] ['Q3014955', 'P102', 'Q743390']
ASK WHERE { resource:Q3014955 property:P102 ?u . VALUES ( ?u ) { ( resource:Q862828 ) ( resource:Q743390 ) } }
Danielle Auroi
action is_in
entity prev_answer
action find
entity Danielle Auroi
relation member of political party
['Danielle Auroi', 'member of political party', 'Unified Socialist Party'] ['Danielle Auroi', 'member of political party', 'The Greens']
ASK WHERE { resource:Danielle_Auroi property:member_of_political_party ?u . VALUES ( ?u ) { ( resource:Unified_Socialist_Party ) ( resource:The_Greens ) } }
[]
common name
SYSTEM
YES
(Q3014955,P102,Q862828) (Q3014955,P102,Q743390)
action is_in
entity prev_answer
action find
entity Q3014955
relation P102
[ANSWER]
['Q3014955', 'P102', 'Q862828'] ['Q3014955', 'P102', 'Q743390']
ASK WHERE { resource:Q3014955 property:P102 ?u . VALUES ( ?u ) { ( resource:Q862828 ) ( resource:Q743390 ) } }
Yes
action is_in
entity prev_answer
action find
entity Danielle Auroi
relation member of political party
['Danielle Auroi', 'member of political party', 'Unified Socialist Party'] ['Danielle Auroi', 'member of political party', 'The Greens']
ASK WHERE { resource:Danielle_Auroi property:member_of_political_party ?u . VALUES ( ?u ) { ( resource:Unified_Socialist_Party ) ( resource:The_Greens ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3713621 Q11130
P495
Q15617994
USER
Did Lakshmi originate Bad Sassendorf ?
(Q3713621,P495,Q11130)
action is_in
entity Q11130
action find
entity Q3713621
relation P495
['Q3713621', 'P495', 'Q11130']
ASK WHERE { resource:Q3713621 property:P495 resource:Q11130 }
Lakshmi Bad Sassendorf
action is_in
entity Bad Sassendorf
action find
entity Lakshmi
relation country of origin
['Lakshmi', 'country of origin', 'Bad Sassendorf']
ASK WHERE { resource:Lakshmi property:country_of_origin resource:Bad_Sassendorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3713621,P495,Q11130)
action is_in
entity Q11130
action find
entity Q3713621
relation P495
[ANSWER]
['Q3713621', 'P495', 'Q11130']
ASK WHERE { resource:Q3713621 property:P495 resource:Q11130 }
No
action is_in
entity Bad Sassendorf
action find
entity Lakshmi
relation country of origin
['Lakshmi', 'country of origin', 'Bad Sassendorf']
ASK WHERE { resource:Lakshmi property:country_of_origin resource:Bad_Sassendorf }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1233203
P674
Q95074 Q15619164 Q838948
USER
How many works of art are greater number of fictional characters and abstract beings a character of than Herakles' Children ?
(c(Q838948),P674,c(Q95074)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q95074
action find_tuple_counts
relation P674
type Q838948
type Q15619164
action count
action filter_multi_types
action find
entity Q1233203
relation P674
type Q95074
type Q15619164
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q95074'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r property:P674 ?j . ?r rdf:type ontology:Q838948 . ?j rdf:type ontology:Q95074 } UNION { ?r property:P674 ?j . ?r rdf:type ontology:Q838948 . ?j rdf:type ontology:Q15619164 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q1233203 property:P674 ?m . { VALUES ( ?k ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?m rdf:type ?k } } } . FILTER ( ?o > ?b ) }
Herakles' Children
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type fictional character
action find_tuple_counts
relation characters
type work of art
type abstract being
action count
action filter_multi_types
action find
entity Herakles' Children
relation characters
type fictional character
type abstract being
[{'concept': 'work of art'}, 'characters', [{'concept': 'fictional character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r property:characters ?j . ?r rdf:type ontology:work_of_art . ?j rdf:type ontology:fictional_character } UNION { ?r property:characters ?j . ?r rdf:type ontology:work_of_art . ?j rdf:type ontology:abstract_being } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Herakles'_Children property:characters ?m . { VALUES ( ?k ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?m rdf:type ?k } } } . FILTER ( ?o > ?b ) }
[]
fictional character abstract being work of art
SYSTEM
39
Q309048 Q86440 Q20736738 Q13393950 Q7230176 Q1216139 Q3226385 Q3230758 Q1254421 Q2312519 Q969098 Q1764277 Q206400 Q846870 Q945342 Q3481943 Q568928 Q2911576 Q29478 Q632743 Q2864475 Q14772351 Q15005 Q332387 Q705232 Q3483718 Q758588 Q1368693 Q4146306 Q498150 Q1476152 Q26833 Q5380161 Q7752052 Q2634066 Q4796620 Q1224659 Q3515611 Q587921
(c(Q838948),P674,c(Q95074)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q95074
action find_tuple_counts
relation P674
type Q838948
type Q15619164
action count
action filter_multi_types
action find
entity Q1233203
relation P674
type Q95074
type Q15619164
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q95074'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r property:P674 ?j . ?r rdf:type ontology:Q838948 . ?j rdf:type ontology:Q95074 } UNION { ?r property:P674 ?j . ?r rdf:type ontology:Q838948 . ?j rdf:type ontology:Q15619164 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q1233203 property:P674 ?m . { VALUES ( ?k ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?m rdf:type ?k } } } . FILTER ( ?o > ?b ) }
King Kong The Tempest Kullervo My Little Pony: Equestria Girls Porky and Gabby The Suppliants Arsène Lupin Returns The Adventures of Arsène Lupin Dracula Home Phèdre Taras Bulba The Merchant of Venice Prometheus Bound Trachiniae Sherlock Holmes Garfield: The Movie Bossemans et Coppenolle Faust The Barber of Seville Arsene Lupin, Detective Batman v Superman: Dawn of Justice Woe from Wit The Taming of the Shrew Arsène Lupin Signé Arsène Lupin Arsene Lupin vs. Arsene Lupin GeGeGe no Kitarō An Ardent Heart Taras Bulba Waxwork II: Lost in Time Othello Enter Arsène Lupin The Monkey King Treasure Island Arsène Lupin Digimon Adventure: Bokura no War Game! Taras Bulba Garfield: A Tail of Two Kitties
39
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type fictional character
action find_tuple_counts
relation characters
type work of art
type abstract being
action count
action filter_multi_types
action find
entity Herakles' Children
relation characters
type fictional character
type abstract being
[{'concept': 'work of art'}, 'characters', [{'concept': 'fictional character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r property:characters ?j . ?r rdf:type ontology:work_of_art . ?j rdf:type ontology:fictional_character } UNION { ?r property:characters ?j . ?r rdf:type ontology:work_of_art . ?j rdf:type ontology:abstract_being } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Herakles'_Children property:characters ?m . { VALUES ( ?k ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?m rdf:type ?k } } } . FILTER ( ?o > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3713621
P840
Q515
USER
Which city is the narrative location of Lakshmi ?
(Q3713621,P840,c(Q515))
action filter_type
action find
entity Q3713621
relation P840
type Q515
['Q3713621', 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q3713621 property:P840 ?l . ?l rdf:type ontology:Q515 }
Lakshmi
action filter_type
action find
entity Lakshmi
relation narrative location
type city
['Lakshmi', 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Lakshmi property:narrative_location ?l . ?l rdf:type ontology:city }
[]
city
Q1355
SYSTEM
Bangalore
Q1355
(Q3713621,P840,c(Q515))
action filter_type
action find
entity Q3713621
relation P840
type Q515
[ANSWER] is the narrative location of Lakshmi
['Q3713621', 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q3713621 property:P840 ?l . ?l rdf:type ontology:Q515 }
Bangalore
Bangalore is the narrative location of Lakshmi
Bangalore
action filter_type
action find
entity Lakshmi
relation narrative location
type city
['Lakshmi', 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Lakshmi property:narrative_location ?l . ?l rdf:type ontology:city }
[]