Simple Question (Direct)
Simple Question
Q326042
P19
Q20667921
USER
Which french administrative division was Raoul Giraudo born at ?
(Q326042,P19,c(Q20667921))
action filter_type
action find
entity Q326042
relation P19
type Q20667921
['Q326042', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q326042 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Raoul Giraudo
action filter_type
action find
entity Raoul Giraudo
relation place of birth
type type of french administrative division
['Raoul Giraudo', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Raoul_Giraudo property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q47465
SYSTEM
Aix-en-Provence
Q47465
(Q326042,P19,c(Q20667921))
action filter_type
action find
entity Q326042
relation P19
type Q20667921
Raoul Giraudo was born in [ANSWER]
['Q326042', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q326042 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Aix-en-Provence
Raoul Giraudo was born in Aix-en-Provence
Aix-en-Provence
action filter_type
action find
entity Raoul Giraudo
relation place of birth
type type of french administrative division
['Raoul Giraudo', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Raoul_Giraudo property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47465
P915
Q838948
USER
Which works of art had that french administrative division as their location of filming ?
(c(Q838948),P915,Q47465)
action filter_type
action find_reverse
entity Q47465
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q47465']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q47465 . ?u rdf:type ontology:Q838948 }
Aix-en-Provence
action filter_type
action find_reverse
entity Aix-en-Provence
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Aix-en-Provence']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:Aix-en-Provence . ?u rdf:type ontology:work_of_art }
[]
work of art
Q190588 Q1194500 Q768966
SYSTEM
Love Actually, The Horseman on the Roof, Beyond the Clouds
Q1962170 Q2986014 Q140607 Q819972 Q282064 Q3223795 Q3208739 Q2362458 Q185528 Q190588 Q261415 Q3461110 Q1194500 Q1218525 Q15283352 Q3538034 Q768966 Q1168045 Q1144330 Q2921501 Q905959
(c(Q838948),P915,Q47465)
action filter_type
action find_reverse
entity Q47465
relation P915
type Q838948
[ANSWERS] had that french administrative division as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q47465']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q47465 . ?u rdf:type ontology:Q838948 }
Lucky Pierre Comme des frères The gendarme to stroll The Transporter The Three Brothers Le Juge Fayard dit Le Shériff The Woman Cop Bella ciao Web of Passion Love Actually My Mother's Castle Sade The Horseman on the Roof Le Grand Voyage Becoming Traviata A View of Love Beyond the Clouds Mississippi Mermaid Bienvenue chez les Ch'tis Boudu My Father's Glory
Love Actually, The Horseman on the Roof and Beyond the Clouds had that french administrative division as their location of filming
Love Actually The Horseman on the Roof Beyond the Clouds
action filter_type
action find_reverse
entity Aix-en-Provence
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Aix-en-Provence']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:Aix-en-Provence . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47465
P17
Q15617994
USER
Which administrative territory is Aix-en-Provence located in ?
(Q47465,P17,c(Q15617994))
action filter_type
action find
entity Q47465
relation P17
type Q15617994
['Q47465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q47465 property:P17 ?x }
Aix-en-Provence
action filter_type
action find
entity Aix-en-Provence
relation country
type designation for an administrative territorial entity
['Aix-en-Provence', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aix-en-Provence property:country ?x }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q47465,P17,c(Q15617994))
action filter_type
action find
entity Q47465
relation P17
type Q15617994
Which administrative territory is Aix-en-Provence located in
['Q47465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q47465 property:P17 ?x }
France
Which administrative territory is Aix-en-Provence located in
France
action filter_type
action find
entity Aix-en-Provence
relation country
type designation for an administrative territorial entity
['Aix-en-Provence', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aix-en-Provence property:country ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q20108
P530
Q15617994
USER
Does Isasca have diplomatic relations with that one ?
(Q142,P530,Q20108)
action is_in
entity Q20108
action find
entity Q142
relation P530
['Q142', 'P530', 'Q20108']
ASK WHERE { resource:Q142 property:P530 resource:Q20108 }
France Isasca
action is_in
entity Isasca
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Isasca']
ASK WHERE { resource:France property:diplomatic_relation resource:Isasca }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q142,P530,Q20108)
action is_in
entity Q20108
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q20108']
ASK WHERE { resource:Q142 property:P530 resource:Q20108 }
No
action is_in
entity Isasca
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Isasca']
ASK WHERE { resource:France property:diplomatic_relation resource:Isasca }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q47465 Q28218 Q5712325
P190
Q56061
USER
Is Aix-en-Provence partner town of Baton Rouge and Hemmatabad, Alborz ?
(Q47465,P190,Q28218) (Q47465,P190,Q5712325)
action is_in
entity Q47465
action intersection
action find_reverse
entity Q28218
relation P190
action find_reverse
entity Q5712325
relation P190
['Q47465', 'P190', 'Q28218'] ['Q47465', 'P190', 'Q5712325']
ASK WHERE { resource:Q47465 property:P190 resource:Q28218 . resource:Q47465 property:P190 resource:Q5712325 }
Aix-en-Provence Baton Rouge Hemmatabad, Alborz
action is_in
entity Aix-en-Provence
action intersection
action find_reverse
entity Baton Rouge
relation sister city
action find_reverse
entity Hemmatabad, Alborz
relation sister city
['Aix-en-Provence', 'sister city', 'Baton Rouge'] ['Aix-en-Provence', 'sister city', 'Hemmatabad, Alborz']
ASK WHERE { resource:Aix-en-Provence property:sister_city resource:Baton_Rouge . resource:Aix-en-Provence property:sister_city resource:Hemmatabad,_Alborz }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q47465,P190,Q28218) (Q47465,P190,Q5712325)
action is_in
entity Q47465
action intersection
action find_reverse
entity Q28218
relation P190
action find_reverse
entity Q5712325
relation P190
[ANSWER]
['Q47465', 'P190', 'Q28218'] ['Q47465', 'P190', 'Q5712325']
ASK WHERE { resource:Q47465 property:P190 resource:Q28218 . resource:Q47465 property:P190 resource:Q5712325 }
YES and NO respectively
action is_in
entity Aix-en-Provence
action intersection
action find_reverse
entity Baton Rouge
relation sister city
action find_reverse
entity Hemmatabad, Alborz
relation sister city
['Aix-en-Provence', 'sister city', 'Baton Rouge'] ['Aix-en-Provence', 'sister city', 'Hemmatabad, Alborz']
ASK WHERE { resource:Aix-en-Provence property:sister_city resource:Baton_Rouge . resource:Aix-en-Provence property:sister_city resource:Hemmatabad,_Alborz }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q768966 Q38
P495
Q15617994
USER
Is Italy the country of origin of Beyond the Clouds ?
(Q768966,P495,Q38)
action is_in
entity Q38
action find
entity Q768966
relation P495
['Q768966', 'P495', 'Q38']
ASK WHERE { resource:Q768966 property:P495 resource:Q38 }
Beyond the Clouds Italy
action is_in
entity Italy
action find
entity Beyond the Clouds
relation country of origin
['Beyond the Clouds', 'country of origin', 'Italy']
ASK WHERE { resource:Beyond_the_Clouds property:country_of_origin resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q768966,P495,Q38)
action is_in
entity Q38
action find
entity Q768966
relation P495
[ANSWER]
['Q768966', 'P495', 'Q38']
ASK WHERE { resource:Q768966 property:P495 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Beyond the Clouds
relation country of origin
['Beyond the Clouds', 'country of origin', 'Italy']
ASK WHERE { resource:Beyond_the_Clouds property:country_of_origin resource:Italy }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3044918 Q47465
P39 P20
Q502895
USER
Which people have Aix-en-Provence as the location of death and were appointed for the position of member of the French National Assembly ?
AND((c(Q502895),P20,Q47465), (c(Q502895),P39,Q3044918))
action filter_type
action intersection
action find_reverse
entity Q47465
relation P20
action find_reverse
entity Q3044918
relation P39
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q47465'], [{'concept': 'Q502895'}, 'P39', 'Q3044918']]}
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q47465 . ?v property:P39 resource:Q3044918 . ?v rdf:type ontology:Q502895 }
member of the French National Assembly Aix-en-Provence
action filter_type
action intersection
action find_reverse
entity Aix-en-Provence
relation place of death
action find_reverse
entity member of the French National Assembly
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Aix-en-Provence'], [{'concept': 'common name'}, 'position held', 'member of the French\xa0National Assembly']]}
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Aix-en-Provence . ?v property:position_held resource:member_of_the_French National_Assembly . ?v rdf:type ontology:common_name }
[]
common name
Q15968768 Q1871919 Q2842396 Q3141994 Q8317174 Q15968386 Q3588718 Q16798482 Q2827143 Q2847697
SYSTEM
Some of them are François-Joseph de Magnan, Louis Philibert, Ambroise Mottet, Hubert Dupont-Fauville, André Thourel, Jean-Baptiste Fortoul, Émile Rigaud, René Hostache, Agricol Moureau, André Dupont
Q2842396 Q16025839 Q2827143 Q15968768 Q16526065 Q8317174 Q15968941 Q3383531 Q3141994 Q3292529 Q2958450 Q1871919 Q15968386 Q3588718 Q2847697 Q3190849 Q16798482 Q2926603 Q2834173 Q3171948
AND((c(Q502895),P20,Q47465), (c(Q502895),P39,Q3044918))
action filter_type
action intersection
action find_reverse
entity Q47465
relation P20
action find_reverse
entity Q3044918
relation P39
type Q502895
[ANSWERS] have Aix-en-Provence as the location of death and were appointed for the position of member of the French National Assembly
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q47465'], [{'concept': 'Q502895'}, 'P39', 'Q3044918']]}
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q47465 . ?v property:P39 resource:Q3044918 . ?v rdf:type ontology:Q502895 }
Ambroise Mottet Gustave Heirieis Agricol Moureau François-Joseph de Magnan Alfred Biscarlet André Thourel Victor Clappier Pierre-Toussaint Durand de Maillane Hubert Dupont-Fauville Marie François-Bénard Charles Auray Louis Philibert Jean-Baptiste Fortoul Émile Rigaud André Dupont Jérôme Champion de Cicé René Hostache Bruno-Philibert Audier-Massillon Alexandre de Fauris de Saint-Vincens Jean Espariat
François-Joseph de Magnan, Louis Philibert, Ambroise Mottet, Hubert Dupont-Fauville, André Thourel, Jean-Baptiste Fortoul, Émile Rigaud, René Hostache, Agricol Moureau and André Dupont have Aix-en-Provence as the location of death and were appointed for the position of member of the French National Assembly
François-Joseph de Magnan Louis Philibert Ambroise Mottet Hubert Dupont-Fauville André Thourel Jean-Baptiste Fortoul Émile Rigaud René Hostache Agricol Moureau André Dupont
action filter_type
action intersection
action find_reverse
entity Aix-en-Provence
relation place of death
action find_reverse
entity member of the French National Assembly
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Aix-en-Provence'], [{'concept': 'common name'}, 'position held', 'member of the French\xa0National Assembly']]}
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Aix-en-Provence . ?v property:position_held resource:member_of_the_French National_Assembly . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q5398426 Q838948
USER
Which works of art do exactly 5 television series or works of art extend upon ?
(c(Q5398426)|c(Q838948),P144,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q838948
value 5
[[{'concept': 'Q5398426'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?j = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:P144 ?f . ?f rdf:type ontology:Q838948 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P144 ?f . ?f rdf:type ontology:Q838948 . ?e rdf:type ontology:Q5398426 } } GROUP BY ?f } }
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type work of art
value 5
[[{'concept': 'television series'}, {'concept': 'work of art'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?j = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:based_on ?f . ?f rdf:type ontology:work_of_art . ?e rdf:type ontology:work_of_art } UNION { ?e property:based_on ?f . ?f rdf:type ontology:work_of_art . ?e rdf:type ontology:television_series } } GROUP BY ?f } }
[]
work of art television series work of art
Q130283 Q26833
SYSTEM
Macbeth, Othello
Q130283 Q26833
(c(Q5398426)|c(Q838948),P144,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q838948
value 5
[ANSWERS] exactly 5 television series or works of art extend upon
[[{'concept': 'Q5398426'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?j = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:P144 ?f . ?f rdf:type ontology:Q838948 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P144 ?f . ?f rdf:type ontology:Q838948 . ?e rdf:type ontology:Q5398426 } } GROUP BY ?f } }
Macbeth Othello
Macbeth and Othello exactly 5 television series or works of art extend upon
Macbeth Othello
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type work of art
value 5
[[{'concept': 'television series'}, {'concept': 'work of art'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?j = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:based_on ?f . ?f rdf:type ontology:work_of_art . ?e rdf:type ontology:work_of_art } UNION { ?e property:based_on ?f . ?f rdf:type ontology:work_of_art . ?e rdf:type ontology:television_series } } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7341151
P800
Q502895
USER
Are Robert "Bob" Ault author of those works of art ?
(Q7341151,P800,Q130283) (Q7341151,P800,Q26833)
action is_in
entity prev_answer
action find
entity Q7341151
relation P800
['Q7341151', 'P800', 'Q130283'] ['Q7341151', 'P800', 'Q26833']
ASK WHERE { VALUES ( ?i ) { ( resource:Q130283 ) ( resource:Q26833 ) } . resource:Q7341151 property:P800 ?i }
Robert "Bob" Ault
action is_in
entity prev_answer
action find
entity Robert "Bob" Ault
relation notable work
['Robert "Bob" Ault', 'notable work', 'Macbeth'] ['Robert "Bob" Ault', 'notable work', 'Othello']
ASK WHERE { VALUES ( ?i ) { ( resource:Macbeth ) ( resource:Othello ) } . resource:Robert_"Bob"_Ault property:notable_work ?i }
[]
common name
SYSTEM
NO
(Q7341151,P800,Q130283) (Q7341151,P800,Q26833)
action is_in
entity prev_answer
action find
entity Q7341151
relation P800
[ANSWER]
['Q7341151', 'P800', 'Q130283'] ['Q7341151', 'P800', 'Q26833']
ASK WHERE { VALUES ( ?i ) { ( resource:Q130283 ) ( resource:Q26833 ) } . resource:Q7341151 property:P800 ?i }
No
action is_in
entity prev_answer
action find
entity Robert "Bob" Ault
relation notable work
['Robert "Bob" Ault', 'notable work', 'Macbeth'] ['Robert "Bob" Ault', 'notable work', 'Othello']
ASK WHERE { VALUES ( ?i ) { ( resource:Macbeth ) ( resource:Othello ) } . resource:Robert_"Bob"_Ault property:notable_work ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15731902
P1445
Q838948 Q386724
USER
Which works are set up by around the same number of works of art as Aladdin media franchise ?
(c(Q386724),P1445,c(Q838948))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q15731902 property:P1445 ?r . ?r rdf:type ontology:Q386724 } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?k property:P1445 ?o . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q838948 } GROUP BY ?k } }
Aladdin media franchise
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?r . ?r rdf:type ontology:work } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?k property:fictional_universe_described_in ?o . ?k rdf:type ontology:work . ?o rdf:type ontology:work_of_art } GROUP BY ?k } }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[ANSWERS] are set up by around the same number of works of art as Aladdin media franchise
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q15731902 property:P1445 ?r . ?r rdf:type ontology:Q386724 } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?k property:P1445 ?o . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q838948 } GROUP BY ?k } }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate are set up by around the same number of works of art as Aladdin media franchise
Shrek Aladdin media franchise Stargate
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?r . ?r rdf:type ontology:work } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?k property:fictional_universe_described_in ?o . ?k rdf:type ontology:work . ?o rdf:type ontology:work_of_art } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15731902
P1080
Q15832079
USER
Which fictional bird appears in that work ?
(c(Q15832079),P1080,Q1203222) (c(Q15832079),P1080,Q15731902) (c(Q15832079),P1080,Q11927)
action filter_type
action find_reverse
entity Q15731902
relation P1080
type Q15832079
[{'concept': 'Q15832079'}, 'P1080', 'Q1203222'] [{'concept': 'Q15832079'}, 'P1080', 'Q15731902'] [{'concept': 'Q15832079'}, 'P1080', 'Q11927']
SELECT DISTINCT ?z WHERE { ?z property:P1080 resource:Q15731902 . ?z rdf:type ontology:Q15832079 }
Aladdin media franchise
action filter_type
action find_reverse
entity Aladdin media franchise
relation from fictional universe
type fictional bird
[{'concept': 'fictional bird'}, 'from fictional universe', 'Shrek'] [{'concept': 'fictional bird'}, 'from fictional universe', 'Aladdin media franchise'] [{'concept': 'fictional bird'}, 'from fictional universe', 'Stargate']
SELECT DISTINCT ?z WHERE { ?z property:from_fictional_universe resource:Aladdin_media_franchise . ?z rdf:type ontology:fictional_bird }
[]
fictional bird
Q2635399
SYSTEM
Iago
Q2635399
(c(Q15832079),P1080,Q1203222) (c(Q15832079),P1080,Q15731902) (c(Q15832079),P1080,Q11927)
action filter_type
action find_reverse
entity Q15731902
relation P1080
type Q15832079
[ANSWER] appears in that work
[{'concept': 'Q15832079'}, 'P1080', 'Q1203222'] [{'concept': 'Q15832079'}, 'P1080', 'Q15731902'] [{'concept': 'Q15832079'}, 'P1080', 'Q11927']
SELECT DISTINCT ?z WHERE { ?z property:P1080 resource:Q15731902 . ?z rdf:type ontology:Q15832079 }
Iago
Iago appears in that work
Iago
action filter_type
action find_reverse
entity Aladdin media franchise
relation from fictional universe
type fictional bird
[{'concept': 'fictional bird'}, 'from fictional universe', 'Shrek'] [{'concept': 'fictional bird'}, 'from fictional universe', 'Aladdin media franchise'] [{'concept': 'fictional bird'}, 'from fictional universe', 'Stargate']
SELECT DISTINCT ?z WHERE { ?z property:from_fictional_universe resource:Aladdin_media_franchise . ?z rdf:type ontology:fictional_bird }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2635399 Q27636389 Q27430106
P941
Q95074
USER
Does that fictional bird have Diablo and Orville as source of inspiration ?
(Q2635399,P941,Q27636389) (Q2635399,P941,Q27430106)
action is_in
entity Q2635399
action intersection
action find_reverse
entity Q27636389
relation P941
action find_reverse
entity Q27430106
relation P941
['Q2635399', 'P941', 'Q27636389'] ['Q2635399', 'P941', 'Q27430106']
ASK WHERE { resource:Q2635399 property:P941 resource:Q27430106 . resource:Q2635399 property:P941 resource:Q27636389 }
Iago Diablo Orville
action is_in
entity Iago
action intersection
action find_reverse
entity Diablo
relation inspired by
action find_reverse
entity Orville
relation inspired by
['Iago', 'inspired by', 'Diablo'] ['Iago', 'inspired by', 'Orville']
ASK WHERE { resource:Iago property:inspired_by resource:Orville . resource:Iago property:inspired_by resource:Diablo }
[]
fictional character
SYSTEM
YES and NO respectively
(Q2635399,P941,Q27636389) (Q2635399,P941,Q27430106)
action is_in
entity Q2635399
action intersection
action find_reverse
entity Q27636389
relation P941
action find_reverse
entity Q27430106
relation P941
[ANSWER]
['Q2635399', 'P941', 'Q27636389'] ['Q2635399', 'P941', 'Q27430106']
ASK WHERE { resource:Q2635399 property:P941 resource:Q27430106 . resource:Q2635399 property:P941 resource:Q27636389 }
YES and NO respectively
action is_in
entity Iago
action intersection
action find_reverse
entity Diablo
relation inspired by
action find_reverse
entity Orville
relation inspired by
['Iago', 'inspired by', 'Diablo'] ['Iago', 'inspired by', 'Orville']
ASK WHERE { resource:Iago property:inspired_by resource:Orville . resource:Iago property:inspired_by resource:Diablo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2847697 Q47465 Q539865
P20
Q20667921
USER
Did André Dupont die in Aix-en-Provence and Gioux ?
(Q2847697,P20,Q47465) (Q2847697,P20,Q539865)
action is_in
entity Q2847697
action intersection
action find_reverse
entity Q47465
relation P20
action find_reverse
entity Q539865
relation P20
['Q2847697', 'P20', 'Q47465'] ['Q2847697', 'P20', 'Q539865']
ASK WHERE { resource:Q2847697 property:P20 resource:Q47465 . resource:Q2847697 property:P20 resource:Q539865 }
André Dupont Aix-en-Provence Gioux
action is_in
entity André Dupont
action intersection
action find_reverse
entity Aix-en-Provence
relation place of death
action find_reverse
entity Gioux
relation place of death
['André Dupont', 'place of death', 'Aix-en-Provence'] ['André Dupont', 'place of death', 'Gioux']
ASK WHERE { resource:André_Dupont property:place_of_death resource:Aix-en-Provence . resource:André_Dupont property:place_of_death resource:Gioux }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q2847697,P20,Q47465) (Q2847697,P20,Q539865)
action is_in
entity Q2847697
action intersection
action find_reverse
entity Q47465
relation P20
action find_reverse
entity Q539865
relation P20
[ANSWER]
['Q2847697', 'P20', 'Q47465'] ['Q2847697', 'P20', 'Q539865']
ASK WHERE { resource:Q2847697 property:P20 resource:Q47465 . resource:Q2847697 property:P20 resource:Q539865 }
YES and NO respectively
action is_in
entity André Dupont
action intersection
action find_reverse
entity Aix-en-Provence
relation place of death
action find_reverse
entity Gioux
relation place of death
['André Dupont', 'place of death', 'Aix-en-Provence'] ['André Dupont', 'place of death', 'Gioux']
ASK WHERE { resource:André_Dupont property:place_of_death resource:Aix-en-Provence . resource:André_Dupont property:place_of_death resource:Gioux }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3446978
P1445
Q2342494 Q386724
USER
How many collectables portray the ideas of fictional universe lesser number of works than Pirates of the Caribbean: The Price of Freedom ?
(c(Q386724),P1445,c(Q2342494))
action count
action less
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
action count
action filter_type
action find_reverse
entity Q3446978
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P1445 ?r . ?r rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q386724 } GROUP BY ?r } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P1445 resource:Q3446978 . ?c rdf:type ontology:Q386724 } } }
Pirates of the Caribbean: The Price of Freedom
action count
action less
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
action count
action filter_type
action find_reverse
entity Pirates of the Caribbean: The Price of Freedom
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:fictional_universe_described_in ?r . ?r rdf:type ontology:collectable . ?h rdf:type ontology:work } GROUP BY ?r } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_The_Price_of_Freedom . ?c rdf:type ontology:work } } }
[]
collectable work
SYSTEM
81
Q74362 Q5307431 Q4154349 Q503921 Q2464217 Q580361 Q503793 Q5306736 Q4501246 Q302832 Q1990751 Q194424 Q7738458 Q47598 Q17001721 Q16466017 Q5306775 Q4024239 Q18062234 Q47209 Q503974 Q7601035 Q79762 Q503325 Q331804 Q151337 Q1505793 Q330826 Q331651 Q340401 Q330898 Q261728 Q2452138 Q503476 Q8031874 Q192258 Q7741197 Q17746256 Q8030203 Q17746254 Q17746255 Q3224307 Q332388 Q756866 Q80817 Q340607 Q3507541 Q302026 Q502724 Q1250366 Q17989172 Q46887 Q16466026 Q23014819 Q74287 Q309019 Q8027613 Q332581 Q6083546 Q13403351 Q502579 Q339923 Q684818 Q8032576 Q15228 Q17059929 Q181488 Q3212482 Q16995885 Q492207 Q43361 Q2627716 Q46758 Q16953491 Q502633 Q18003141 Q502032 Q46751 Q467139 Q165068 Q4372933
(c(Q386724),P1445,c(Q2342494))
action count
action less
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
action count
action filter_type
action find_reverse
entity Q3446978
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P1445 ?r . ?r rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q386724 } GROUP BY ?r } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P1445 resource:Q3446978 . ?c rdf:type ontology:Q386724 } } }
Excession Drift Far Rainbow The War of the Jewels Elantris The Lost World Morgoth's Ring Dreams of Empire Dragon Keeper Resident Evil: Caliban Cove Resident Evil: City of the Dead Fantastic Beasts and Where to Find Them The Guide to the Territories of Halla Harry Potter and the Prisoner of Azkaban Ancillary Justice Serenity Dreamstone Moon Resident Evil: Zero Hour In the Shadow of the Invisible King Harry Potter and the Chamber of Secrets The Peoples of Middle-earth Star Trek The Silmarillion The War of the Ring The Adventures of Tom Bombadil The State of the Art Ringworld Ainulindalë The Children of Húrin The Book of Lost Tales Valaquenta Consider Phlebas Resident Evil: Underworld Sauron Defeated Wonderland Quidditch Through the Ages The Hydrogen Sonata Book Three of the Travelers Wolfsbane Book One of the Travelers Book Two of the Travelers The Courtship of Princess Leia The Two Towers Jurassic Park Harry Potter and the Order of the Phoenix The Lays of Beleriand Noon: 22nd Century Surface Detail The Treason of Isengard The Emerald City of Oz Ancillary Sword Harry Potter and the Half-Blood Prince My Own Kind of Freedom Wakfu The Hobbit Unfinished Tales Wishing Well The Return of the King Island of Death Warbreaker The Lost Road and Other Writings Use of Weapons Matter Wooden Heart The Lord of the Rings The Binding Stone Gulliver's Travels The Road to Dune Lando Calrissian and the Starcave of ThonBoka Starship Troopers Harry Potter and the Philosopher's Stone Darth Maul: Shadow Hunter Harry Potter and the Deathly Hallows The 34th Rule The Return of the Shadow Ancillary Mercy The Shaping of Middle-earth Harry Potter and the Goblet of Fire The Player of Games The Tales of Beedle the Bard Escape Attempt
81
action count
action less
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
action count
action filter_type
action find_reverse
entity Pirates of the Caribbean: The Price of Freedom
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:fictional_universe_described_in ?r . ?r rdf:type ontology:collectable . ?h rdf:type ontology:work } GROUP BY ?r } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_The_Price_of_Freedom . ?c rdf:type ontology:work } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q920424
P1445
Q2342494 Q386724
USER
And what about Shrek!?
(c(Q386724),P1445,c(Q2342494))
action count
action less
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
action count
action filter_type
action find_reverse
entity Q920424
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P1445 ?x . ?x rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P1445 resource:Q920424 . ?d rdf:type ontology:Q386724 } } . FILTER ( ?e < ?q ) }
Shrek!
action count
action less
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
action count
action filter_type
action find_reverse
entity Shrek!
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:fictional_universe_described_in ?x . ?x rdf:type ontology:collectable . ?f rdf:type ontology:work } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:fictional_universe_described_in resource:Shrek! . ?d rdf:type ontology:work } } . FILTER ( ?e < ?q ) }
[]
collectable work
SYSTEM
81
Q74362 Q5307431 Q4154349 Q503921 Q2464217 Q580361 Q503793 Q5306736 Q4501246 Q302832 Q1990751 Q194424 Q7738458 Q47598 Q17001721 Q16466017 Q5306775 Q4024239 Q18062234 Q47209 Q503974 Q7601035 Q79762 Q503325 Q331804 Q151337 Q1505793 Q330826 Q331651 Q340401 Q330898 Q261728 Q2452138 Q503476 Q8031874 Q192258 Q7741197 Q17746256 Q8030203 Q17746254 Q17746255 Q3224307 Q332388 Q756866 Q80817 Q340607 Q3507541 Q302026 Q502724 Q1250366 Q17989172 Q46887 Q16466026 Q23014819 Q74287 Q309019 Q8027613 Q332581 Q6083546 Q13403351 Q502579 Q339923 Q684818 Q8032576 Q15228 Q17059929 Q181488 Q3212482 Q16995885 Q492207 Q43361 Q2627716 Q46758 Q16953491 Q502633 Q18003141 Q502032 Q46751 Q467139 Q165068 Q4372933
(c(Q386724),P1445,c(Q2342494))
action count
action less
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
action count
action filter_type
action find_reverse
entity Q920424
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P1445 ?x . ?x rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P1445 resource:Q920424 . ?d rdf:type ontology:Q386724 } } . FILTER ( ?e < ?q ) }
Excession Drift Far Rainbow The War of the Jewels Elantris The Lost World Morgoth's Ring Dreams of Empire Dragon Keeper Resident Evil: Caliban Cove Resident Evil: City of the Dead Fantastic Beasts and Where to Find Them The Guide to the Territories of Halla Harry Potter and the Prisoner of Azkaban Ancillary Justice Serenity Dreamstone Moon Resident Evil: Zero Hour In the Shadow of the Invisible King Harry Potter and the Chamber of Secrets The Peoples of Middle-earth Star Trek The Silmarillion The War of the Ring The Adventures of Tom Bombadil The State of the Art Ringworld Ainulindalë The Children of Húrin The Book of Lost Tales Valaquenta Consider Phlebas Resident Evil: Underworld Sauron Defeated Wonderland Quidditch Through the Ages The Hydrogen Sonata Book Three of the Travelers Wolfsbane Book One of the Travelers Book Two of the Travelers The Courtship of Princess Leia The Two Towers Jurassic Park Harry Potter and the Order of the Phoenix The Lays of Beleriand Noon: 22nd Century Surface Detail The Treason of Isengard The Emerald City of Oz Ancillary Sword Harry Potter and the Half-Blood Prince My Own Kind of Freedom Wakfu The Hobbit Unfinished Tales Wishing Well The Return of the King Island of Death Warbreaker The Lost Road and Other Writings Use of Weapons Matter Wooden Heart The Lord of the Rings The Binding Stone Gulliver's Travels The Road to Dune Lando Calrissian and the Starcave of ThonBoka Starship Troopers Harry Potter and the Philosopher's Stone Darth Maul: Shadow Hunter Harry Potter and the Deathly Hallows The 34th Rule The Return of the Shadow Ancillary Mercy The Shaping of Middle-earth Harry Potter and the Goblet of Fire The Player of Games The Tales of Beedle the Bard Escape Attempt
81
action count
action less
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
action count
action filter_type
action find_reverse
entity Shrek!
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:fictional_universe_described_in ?x . ?x rdf:type ontology:collectable . ?f rdf:type ontology:work } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:fictional_universe_described_in resource:Shrek! . ?d rdf:type ontology:work } } . FILTER ( ?e < ?q ) }
[]