Simple Question (Direct)
Simple Question
Q115822
P106
Q12737077
USER
Which occupations are the professions of Johann David Wyss ?
(Q115822,P106,c(Q12737077))
action filter_type
action find
entity Q115822
relation P106
type Q12737077
['Q115822', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q115822 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Johann David Wyss
action filter_type
action find
entity Johann David Wyss
relation occupation
type occupation
['Johann David Wyss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Johann_David_Wyss property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180
SYSTEM
children's writer, writer
Q4853732 Q36180
(Q115822,P106,c(Q12737077))
action filter_type
action find
entity Q115822
relation P106
type Q12737077
The professions of Johann David are the [ANSWERS]
['Q115822', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q115822 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
children's writer writer
The professions of Johann David are the children's writer and writer
children's writer writer
action filter_type
action find
entity Johann David Wyss
relation occupation
type occupation
['Johann David Wyss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Johann_David_Wyss property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q115822
P50
Q571
USER
Which books are written by Johann David Wyss ?
(c(Q571),P50,Q115822)
action filter_type
action find_reverse
entity Q115822
relation P50
type Q571
[{'concept': 'Q571'}, 'P50', 'Q115822']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q571 . ?j property:P50 resource:Q115822 }
Johann David Wyss
action filter_type
action find_reverse
entity Johann David Wyss
relation author
type book
[{'concept': 'book'}, 'author', 'Johann David Wyss']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:book . ?j property:author resource:Johann_David_Wyss }
[]
book
Q19100453 Q19100459
SYSTEM
The Swiss Family Robinson, The Swiss Family Robinson
Q19100453 Q19100459
(c(Q571),P50,Q115822)
action filter_type
action find_reverse
entity Q115822
relation P50
type Q571
[ANSWERS] are written by Johann David Wyss
[{'concept': 'Q571'}, 'P50', 'Q115822']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q571 . ?j property:P50 resource:Q115822 }
The Swiss Family Robinson The Swiss Family Robinson
The Swiss Family Robinson and The Swiss Family Robinson are written by Johann David Wyss
The Swiss Family Robinson The Swiss Family Robinson
action filter_type
action find_reverse
entity Johann David Wyss
relation author
type book
[{'concept': 'book'}, 'author', 'Johann David Wyss']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:book . ?j property:author resource:Johann_David_Wyss }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19100453
P629
Q2342494
USER
What is that book an edition or translation of ?
(Q19100453,P629,c(Q2342494))
action filter_type
action find
entity Q19100453
relation P629
type Q2342494
['Q19100453', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q19100453 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
The Swiss Family Robinson
action filter_type
action find
entity The Swiss Family Robinson
relation edition or translation of
type collectable
['The Swiss Family Robinson', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:The_Swiss_Family_Robinson property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q19100453
SYSTEM
Did you mean The Swiss Family Robinson ?
Q19100453 Q19100459
(Q19100453,P629,c(Q2342494)) (Q19100459,P629,c(Q2342494))
[ANSWER]
['Q19100453', 'P629', {'concept': 'Q2342494'}] ['Q19100459', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q19100453 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
The Swiss Family Robinson The Swiss Family Robinson
Did you mean The Swiss Family Robinson ?
The Swiss Family Robinson
['The Swiss Family Robinson', 'edition or translation of', {'concept': 'collectable'}] ['The Swiss Family Robinson', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:The_Swiss_Family_Robinson property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19100453,P629,c(Q2342494))
['Q19100453', 'P629', {'concept': 'Q2342494'}]
['The Swiss Family Robinson', 'edition or translation of', {'concept': 'collectable'}]
[]
Q665715
SYSTEM
The Swiss Family Robinson
Q665715
(Q19100453,P629,c(Q2342494))
action filter_type
action find
entity Q19100453
relation P629
type Q2342494
That book an edition or translation of is [ANSWER]
['Q19100453', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q19100453 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
The Swiss Family Robinson
That book an edition or translation of is The Swiss Family Robinson
The Swiss Family Robinson
action filter_type
action find
entity The Swiss Family Robinson
relation edition or translation of
type collectable
['The Swiss Family Robinson', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:The_Swiss_Family_Robinson property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q665715 Q39 Q652480
P495
Q15617994
USER
Did that collectable originated in Switzerland and Kennemerland ?
(Q665715,P495,Q39) (Q665715,P495,Q652480)
action is_in
entity Q665715
action intersection
action find_reverse
entity Q39
relation P495
action find_reverse
entity Q652480
relation P495
['Q665715', 'P495', 'Q39'] ['Q665715', 'P495', 'Q652480']
ASK WHERE { resource:Q665715 property:P495 resource:Q39 . resource:Q665715 property:P495 resource:Q652480 }
The Swiss Family Robinson Switzerland Kennemerland
action is_in
entity The Swiss Family Robinson
action intersection
action find_reverse
entity Switzerland
relation country of origin
action find_reverse
entity Kennemerland
relation country of origin
['The Swiss Family Robinson', 'country of origin', 'Switzerland'] ['The Swiss Family Robinson', 'country of origin', 'Kennemerland']
ASK WHERE { resource:The_Swiss_Family_Robinson property:country_of_origin resource:Switzerland . resource:The_Swiss_Family_Robinson property:country_of_origin resource:Kennemerland }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q665715,P495,Q39) (Q665715,P495,Q652480)
action is_in
entity Q665715
action intersection
action find_reverse
entity Q39
relation P495
action find_reverse
entity Q652480
relation P495
[ANSWER]
['Q665715', 'P495', 'Q39'] ['Q665715', 'P495', 'Q652480']
ASK WHERE { resource:Q665715 property:P495 resource:Q39 . resource:Q665715 property:P495 resource:Q652480 }
YES and NO respectively
action is_in
entity The Swiss Family Robinson
action intersection
action find_reverse
entity Switzerland
relation country of origin
action find_reverse
entity Kennemerland
relation country of origin
['The Swiss Family Robinson', 'country of origin', 'Switzerland'] ['The Swiss Family Robinson', 'country of origin', 'Kennemerland']
ASK WHERE { resource:The_Swiss_Family_Robinson property:country_of_origin resource:Switzerland . resource:The_Swiss_Family_Robinson property:country_of_origin resource:Kennemerland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19100459 Q115822
P50
Q502895
USER
Did Johann David Wyss authore The Swiss Family Robinson ?
(Q19100459,P50,Q115822)
action is_in
entity Q115822
action find
entity Q19100459
relation P50
['Q19100459', 'P50', 'Q115822']
ASK WHERE { resource:Q19100459 property:P50 resource:Q115822 }
The Swiss Family Robinson Johann David Wyss
action is_in
entity Johann David Wyss
action find
entity The Swiss Family Robinson
relation author
['The Swiss Family Robinson', 'author', 'Johann David Wyss']
ASK WHERE { resource:The_Swiss_Family_Robinson property:author resource:Johann_David_Wyss }
[]
common name
SYSTEM
YES
(Q19100459,P50,Q115822)
action is_in
entity Q115822
action find
entity Q19100459
relation P50
[ANSWER]
['Q19100459', 'P50', 'Q115822']
ASK WHERE { resource:Q19100459 property:P50 resource:Q115822 }
Yes
action is_in
entity Johann David Wyss
action find
entity The Swiss Family Robinson
relation author
['The Swiss Family Robinson', 'author', 'Johann David Wyss']
ASK WHERE { resource:The_Swiss_Family_Robinson property:author resource:Johann_David_Wyss }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19100453
P407
Q34770
USER
Which language is The Swiss Family Robinson composed in ?
(Q19100453,P407,c(Q34770))
action filter_type
action find
entity Q19100453
relation P407
type Q34770
['Q19100453', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q19100453 property:P407 ?g . ?g rdf:type ontology:Q34770 }
The Swiss Family Robinson
action filter_type
action find
entity The Swiss Family Robinson
relation language of work or name
type language
['The Swiss Family Robinson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:The_Swiss_Family_Robinson property:language_of_work_or_name ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q19100453,P407,c(Q34770))
action filter_type
action find
entity Q19100453
relation P407
type Q34770
The Swiss Family Robinson is composed in [ANSWER]
['Q19100453', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q19100453 property:P407 ?g . ?g rdf:type ontology:Q34770 }
English
The Swiss Family Robinson is composed in English
English
action filter_type
action find
entity The Swiss Family Robinson
relation language of work or name
type language
['The Swiss Family Robinson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:The_Swiss_Family_Robinson property:language_of_work_or_name ?g . ?g rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12330002 Q19100453
P161 P50
Q502895
USER
Which people were the writers of The Swiss Family Robinson or starred in Oldboys ?
OR((Q19100453,P50,c(Q502895)), (Q12330002,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19100453
relation P50
action find
entity Q12330002
relation P161
type Q502895
{'OR': [['Q19100453', 'P50', {'concept': 'Q502895'}], ['Q12330002', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q19100453 property:P50 ?h } UNION { resource:Q12330002 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Oldboys The Swiss Family Robinson
action filter_type
action union
action find
entity The Swiss Family Robinson
relation author
action find
entity Oldboys
relation cast member
type common name
{'OR': [['The Swiss Family Robinson', 'author', {'concept': 'common name'}], ['Oldboys', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Swiss_Family_Robinson property:author ?h } UNION { resource:Oldboys property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q1801272 Q12309780 Q6187841 Q12333598 Q7295091 Q5603361 Q323563 Q12324188 Q1731306 Q6178884
SYSTEM
Some of them are Laura Christensen, Elith Nykjær Jørgensen, Nikolaj Steen, Robert Hansen, Rasmus Bjerg, Ralph Carlsson, Ole Thestrup, Leif Sylvester Petersen, Shanti Roney, Henrik Sjöman
Q1789215 Q12324188 Q1801272 Q6187841 Q7295091 Q12333598 Q2559831 Q115822 Q1731306 Q7031574 Q12309780 Q5603361 Q6178884 Q323563
OR((Q19100453,P50,c(Q502895)), (Q12330002,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19100453
relation P50
action find
entity Q12330002
relation P161
type Q502895
[ANSWERS] were the writers of The Swiss Family Robinson or starred in Oldboys
{'OR': [['Q19100453', 'P50', {'concept': 'Q502895'}], ['Q12330002', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q19100453 property:P50 ?h } UNION { resource:Q12330002 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Kristian Halken Leif Sylvester Petersen Laura Christensen Nikolaj Steen Rasmus Bjerg Robert Hansen Bodil Jørgensen Johann David Wyss Shanti Roney Niels Skousen Elith Nykjær Jørgensen Ralph Carlsson Henrik Sjöman Ole Thestrup
Laura Christensen, Elith Nykjær Jørgensen, Nikolaj Steen, Robert Hansen, Rasmus Bjerg, Ralph Carlsson, Ole Thestrup, Leif Sylvester Petersen, Shanti Roney and Henrik Sjöman were the writers of The Swiss Family Robinson or starred in Oldboys
Laura Christensen Elith Nykjær Jørgensen Nikolaj Steen Robert Hansen Rasmus Bjerg Ralph Carlsson Ole Thestrup Leif Sylvester Petersen Shanti Roney Henrik Sjöman
action filter_type
action union
action find
entity The Swiss Family Robinson
relation author
action find
entity Oldboys
relation cast member
type common name
{'OR': [['The Swiss Family Robinson', 'author', {'concept': 'common name'}], ['Oldboys', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Swiss_Family_Robinson property:author ?h } UNION { resource:Oldboys property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q246283
P725
Q502895 Q1001378
USER
How many cinematic techniques did around the same number of people do the dubbing for as Frozen ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?h ) WHERE { ?x property:P725 ?k . ?k rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1001378 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q1001378 . resource:Q246283 property:P725 ?v } } . FILTER ( ?h = ?m ) }
Frozen
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?h ) WHERE { ?x property:voice_actor ?k . ?k rdf:type ontology:common_name . ?x rdf:type ontology:cinematic_technique } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:cinematic_technique . resource:Frozen property:voice_actor ?v } } . FILTER ( ?h = ?m ) }
[]
common name cinematic technique
SYSTEM
42
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?h ) WHERE { ?x property:P725 ?k . ?k rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1001378 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q1001378 . resource:Q246283 property:P725 ?v } } . FILTER ( ?h = ?m ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
42
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?h ) WHERE { ?x property:voice_actor ?k . ?k rdf:type ontology:common_name . ?x rdf:type ontology:cinematic_technique } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:cinematic_technique . resource:Frozen property:voice_actor ?v } } . FILTER ( ?h = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3623997
P725
Q502895 Q1001378
USER
And how about FernGully 2: The Magical Rescue?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q3623997
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q3623997 property:P725 ?q . ?q rdf:type ontology:Q1001378 } } . FILTER ( ?w = ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?w ) WHERE { ?m property:P725 ?k . ?m rdf:type ontology:Q1001378 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } }
FernGully 2: The Magical Rescue
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity FernGully 2: The Magical Rescue
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:FernGully_2:_The_Magical_Rescue property:voice_actor ?q . ?q rdf:type ontology:cinematic_technique } } . FILTER ( ?w = ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?w ) WHERE { ?m property:voice_actor ?k . ?m rdf:type ontology:cinematic_technique . ?k rdf:type ontology:common_name } GROUP BY ?m } }
[]
common name cinematic technique
SYSTEM
41
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q3623997
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q3623997 property:P725 ?q . ?q rdf:type ontology:Q1001378 } } . FILTER ( ?w = ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?w ) WHERE { ?m property:P725 ?k . ?m rdf:type ontology:Q1001378 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
41
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity FernGully 2: The Magical Rescue
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:FernGully_2:_The_Magical_Rescue property:voice_actor ?q . ?q rdf:type ontology:cinematic_technique } } . FILTER ( ?w = ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?w ) WHERE { ?m property:voice_actor ?k . ?m rdf:type ontology:cinematic_technique . ?k rdf:type ontology:common_name } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art have been dubbed by exactly 30 people ?
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?t property:P725 ?m . ?t rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?y = 30 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?t property:voice_actor ?m . ?t rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?y = 30 ) }
[]
common name work of art
SYSTEM
1
Q19263748
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?t property:P725 ?m . ?t rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?y = 30 ) }
The Anthem of the Heart
1
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?t property:voice_actor ?m . ?t rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?y = 30 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5603361
P734
Q82799
USER
Who is associated with Ralph Carlsson ?
(Q5603361,P734,c(Q82799))
action filter_type
action find
entity Q5603361
relation P734
type Q82799
['Q5603361', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5603361 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Ralph Carlsson
action filter_type
action find
entity Ralph Carlsson
relation family name
type name
['Ralph Carlsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ralph_Carlsson property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q21492117
SYSTEM
Carlsson
Q21492117
(Q5603361,P734,c(Q82799))
action filter_type
action find
entity Q5603361
relation P734
type Q82799
Carl [ANSWER] is associated with Ralph [ANSWER]
['Q5603361', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5603361 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Carlsson
Carl Carlsson is associated with Ralph Carlsson
Carlsson
action filter_type
action find
entity Ralph Carlsson
relation family name
type name
['Ralph Carlsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ralph_Carlsson property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5603361
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ralph Carlsson ?
(Q5603361,P27,c(Q15617994))
action filter_type
action find
entity Q5603361
relation P27
type Q15617994
['Q5603361', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5603361 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ralph Carlsson
action filter_type
action find
entity Ralph Carlsson
relation country of citizenship
type designation for an administrative territorial entity
['Ralph Carlsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ralph_Carlsson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5603361,P27,c(Q15617994))
action filter_type
action find
entity Q5603361
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ralph Carlsson
['Q5603361', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5603361 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Sweden
Sweden is the country of citizenship of Ralph Carlsson
Sweden
action filter_type
action find
entity Ralph Carlsson
relation country of citizenship
type designation for an administrative territorial entity
['Ralph Carlsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ralph_Carlsson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]