Simple Question (Direct)
Simple Question
Q11593971
P21
Q290
USER
What is the sex of Takahiro Fukuhama ?
(Q11593971,P21,c(Q290))
action filter_type
action find
entity Q11593971
relation P21
type Q290
['Q11593971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q11593971 property:P21 ?i . ?i rdf:type ontology:Q290 }
Takahiro Fukuhama
action filter_type
action find
entity Takahiro Fukuhama
relation gender
type sex
['Takahiro Fukuhama', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Takahiro_Fukuhama property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11593971,P21,c(Q290))
action filter_type
action find
entity Q11593971
relation P21
type Q290
The sex of Takahiro Fukuhama is a [ANSWER]
['Q11593971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q11593971 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Takahiro Fukuhama is a male
male
action filter_type
action find
entity Takahiro Fukuhama
relation gender
type sex
['Takahiro Fukuhama', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Takahiro_Fukuhama property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who is an alumni of that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P69 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?u WHERE { ?u property:educated_at resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
An alumni of that sex is named [ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P69 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Aaron Parchem
An alumni of that sex is named Aaron Parchem
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?u WHERE { ?u property:educated_at resource:male . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4662307
P1344
Q15900616
USER
How many event sequences did Aaron Parchem take part in ?
(Q4662307,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q4662307 property:P1344 ?d . ?d rdf:type ontology:Q15900616 }
Aaron Parchem
action count
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Aaron_Parchem property:participant_of ?d . ?d rdf:type ontology:event_sequence }
[]
event sequence
SYSTEM
1
Q9672
(Q4662307,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
[ANSWER]
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q4662307 property:P1344 ?d . ?d rdf:type ontology:Q15900616 }
2006 Winter Olympics
1
action count
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Aaron_Parchem property:participant_of ?d . ?d rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5493483
P1344
Q15900616
USER
And what about Françoise Burdet?
(Q5493483,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q5493483
relation P1344
type Q15900616
['Q5493483', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q5493483 property:P1344 ?a . ?a rdf:type ontology:Q15900616 }
Françoise Burdet
action count
action filter_type
action find
entity Françoise Burdet
relation participant of
type event sequence
['Françoise Burdet', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Françoise_Burdet property:participant_of ?a . ?a rdf:type ontology:event_sequence }
[]
event sequence
SYSTEM
1
Q9668
(Q5493483,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q5493483
relation P1344
type Q15900616
[ANSWER]
['Q5493483', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q5493483 property:P1344 ?a . ?a rdf:type ontology:Q15900616 }
2002 Winter Olympics
1
action count
action filter_type
action find
entity Françoise Burdet
relation participant of
type event sequence
['Françoise Burdet', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Françoise_Burdet property:participant_of ?a . ?a rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2846692
Q15900616
USER
And how about Andrew Naylor?
(Q2846692,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q2846692
relation P1344
type Q15900616
['Q2846692', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q15900616 . resource:Q2846692 property:P1344 ?n }
Andrew Naylor
action count
action filter_type
action find
entity Andrew Naylor
relation participant of
type event sequence
['Andrew Naylor', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:event_sequence . resource:Andrew_Naylor property:participant_of ?n }
[]
event sequence
SYSTEM
1
(Q2846692,P1344,c(Q15900616))
action count
action filter_type
action find
entity Q2846692
relation P1344
type Q15900616
[ANSWER]
['Q2846692', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q15900616 . resource:Q2846692 property:P1344 ?n }
1
action count
action filter_type
action find
entity Andrew Naylor
relation participant of
type event sequence
['Andrew Naylor', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:event_sequence . resource:Andrew_Naylor property:participant_of ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q192212
P725
Q502895 Q1001378
USER
How many cinematic techniques did approximately the same number of people dub for as Cars 2 ?
(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 Q192212
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:P725 ?g . ?c rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q192212 property:P725 ?j . ?j rdf:type ontology:Q1001378 } } . FILTER ( ?i = ?e ) }
Cars 2
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 Cars 2
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:voice_actor ?g . ?c rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Cars_2 property:voice_actor ?j . ?j rdf:type ontology:cinematic_technique } } . FILTER ( ?i = ?e ) }
[]
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 Q192212
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:P725 ?g . ?c rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q192212 property:P725 ?j . ?j rdf:type ontology:Q1001378 } } . FILTER ( ?i = ?e ) }
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 Cars 2
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:voice_actor ?g . ?c rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Cars_2 property:voice_actor ?j . ?j rdf:type ontology:cinematic_technique } } . FILTER ( ?i = ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q656396
P725
Q502895 Q1001378
USER
And how about Mickey's Magical Christmas: Snowed in at the House of Mouse?
(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 Q656396
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?e ) WHERE { ?r property:P725 ?g . ?r rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q656396 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . FILTER ( ?e = ?z ) }
Mickey's Magical Christmas: Snowed in at the House of Mouse
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 Mickey's Magical Christmas: Snowed in at the House of Mouse
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?e ) WHERE { ?r property:voice_actor ?g . ?r rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Mickey's_Magical_Christmas:_Snowed_in_at_the_House_of_Mouse property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . FILTER ( ?e = ?z ) }
[]
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 Q656396
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?e ) WHERE { ?r property:P725 ?g . ?r rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q656396 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . FILTER ( ?e = ?z ) }
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 Mickey's Magical Christmas: Snowed in at the House of Mouse
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?e ) WHERE { ?r property:voice_actor ?g . ?r rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Mickey's_Magical_Christmas:_Snowed_in_at_the_House_of_Mouse property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . FILTER ( ?e = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q229437
P941
Q502895 Q234460 Q11424
USER
Which people were greater number of texts or films inspired by than Donatella Versace ?
(c(Q234460)|c(Q11424),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q229437
relation P941
type Q234460
type Q11424
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q234460 ) ( ontology:Q11424 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P941 resource:Q229437 . { { ?f rdf:type ontology:Q11424 } UNION { ?f rdf:type ontology:Q234460 } } } } . FILTER ( ?y > ?q ) }
Donatella Versace
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Donatella Versace
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:text ) ( ontology:film ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:inspired_by resource:Donatella_Versace . { { ?f rdf:type ontology:film } UNION { ?f rdf:type ontology:text } } } } . FILTER ( ?y > ?q ) }
[]
common name text film
Q205002 Q1508997
SYSTEM
Joe Grant, Georges Manolescu
Q205002 Q1508997
(c(Q234460)|c(Q11424),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q229437
relation P941
type Q234460
type Q11424
[ANSWERS] were greater number of texts or films inspired by than Donatella Versace
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q234460 ) ( ontology:Q11424 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P941 resource:Q229437 . { { ?f rdf:type ontology:Q11424 } UNION { ?f rdf:type ontology:Q234460 } } } } . FILTER ( ?y > ?q ) }
Joe Grant Georges Manolescu
Joe Grant and Georges Manolescu were greater number of texts or films inspired by than Donatella Versace
Joe Grant Georges Manolescu
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Donatella Versace
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:text ) ( ontology:film ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:inspired_by resource:Donatella_Versace . { { ?f rdf:type ontology:film } UNION { ?f rdf:type ontology:text } } } } . FILTER ( ?y > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5545355
P941
Q502895 Q234460 Q11424
USER
And what about George Turberville?
(c(Q234460)|c(Q11424),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q5545355
relation P941
type Q234460
type Q11424
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P941 resource:Q5545355 . { { ?f rdf:type ontology:Q11424 } UNION { ?f rdf:type ontology:Q234460 } } } } . FILTER ( ?i > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { { ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 . ?o property:P941 ?h } UNION { ?o property:P941 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q11424 } } GROUP BY ?h } }
George Turberville
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity George Turberville
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:inspired_by resource:George_Turberville . { { ?f rdf:type ontology:film } UNION { ?f rdf:type ontology:text } } } } . FILTER ( ?i > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { { ?h rdf:type ontology:common_name . ?o rdf:type ontology:text . ?o property:inspired_by ?h } UNION { ?o property:inspired_by ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:film } } GROUP BY ?h } }
[]
common name text film
Q205002 Q1508997
SYSTEM
Joe Grant, Georges Manolescu
Q205002 Q1508997
(c(Q234460)|c(Q11424),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q5545355
relation P941
type Q234460
type Q11424
[ANSWERS]
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P941 resource:Q5545355 . { { ?f rdf:type ontology:Q11424 } UNION { ?f rdf:type ontology:Q234460 } } } } . FILTER ( ?i > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { { ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 . ?o property:P941 ?h } UNION { ?o property:P941 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q11424 } } GROUP BY ?h } }
Joe Grant Georges Manolescu
Joe Grant Georges Manolescu
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity George Turberville
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:inspired_by resource:George_Turberville . { { ?f rdf:type ontology:film } UNION { ?f rdf:type ontology:text } } } } . FILTER ( ?i > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { { ?h rdf:type ontology:common_name . ?o rdf:type ontology:text . ?o property:inspired_by ?h } UNION { ?o property:inspired_by ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:film } } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205002
P119
Q43229
USER
Where is the place of burial for Joe Grant located ?
(Q205002,P119,c(Q43229))
action filter_type
action find
entity Q205002
relation P119
type Q43229
['Q205002', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q205002 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Joe Grant
action filter_type
action find
entity Joe Grant
relation place of burial
type organization
['Joe Grant', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Grant property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
organization
Q1437214
SYSTEM
Forest Lawn Memorial Park
Q1437214
(Q205002,P119,c(Q43229))
action filter_type
action find
entity Q205002
relation P119
type Q43229
The place of burial for Joe Grant is located in [ANSWER]
['Q205002', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q205002 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Forest Lawn Memorial Park
The place of burial for Joe Grant is located in Forest Lawn Memorial Park
Forest Lawn Memorial Park
action filter_type
action find
entity Joe Grant
relation place of burial
type organization
['Joe Grant', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Grant property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]