Simple Question (Direct)
Simple Question
Q298424
P190
Q15617994
USER
Which administrative territory is the sister city of Pergine Valsugana ?
(Q298424,P190,c(Q15617994))
action filter_type
action find
entity Q298424
relation P190
type Q15617994
['Q298424', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q298424 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Pergine Valsugana
action filter_type
action find
entity Pergine Valsugana
relation sister city
type designation for an administrative territorial entity
['Pergine Valsugana', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Pergine_Valsugana property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52092
SYSTEM
Pergine Valdarno
Q52092
(Q298424,P190,c(Q15617994))
action filter_type
action find
entity Q298424
relation P190
type Q15617994
[ANSWER] is the sister city of Pergine Valsugana
['Q298424', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q298424 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Pergine Valdarno
Pergine Valdarno is the sister city of Pergine Valsugana
Pergine Valdarno
action filter_type
action find
entity Pergine Valsugana
relation sister city
type designation for an administrative territorial entity
['Pergine Valsugana', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Pergine_Valsugana property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q52092
P19
Q502895
USER
Which people were born at that administrative territory ?
(c(Q502895),P19,Q52092)
action filter_type
action find_reverse
entity Q52092
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q52092']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q52092 . ?j rdf:type ontology:Q502895 }
Pergine Valdarno
action filter_type
action find_reverse
entity Pergine Valdarno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pergine Valdarno']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Pergine_Valdarno . ?j rdf:type ontology:common_name }
[]
common name
Q3750500 Q3665408
SYSTEM
Francesco Priscianese, Cesare Del Torto
Q3750500 Q3665408
(c(Q502895),P19,Q52092)
action filter_type
action find_reverse
entity Q52092
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q52092']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q52092 . ?j rdf:type ontology:Q502895 }
Francesco Priscianese Cesare Del Torto
Francesco Priscianese and Cesare Del Torto were born at that administrative territory
Francesco Priscianese Cesare Del Torto
action filter_type
action find_reverse
entity Pergine Valdarno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pergine Valdarno']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Pergine_Valdarno . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6739642
P725
Q502895 Q1001378
USER
How many cinematic techniques had approximately the same number of people as the dubbing artist as Making Stars ?
(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 Q6739642
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?y property:P725 ?e . ?y rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?p = ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q6739642 property:P725 ?k . ?k rdf:type ontology:Q1001378 } } }
Making Stars
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 Making Stars
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?y property:voice_actor ?e . ?y rdf:type ontology:cinematic_technique . ?e rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?p = ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Making_Stars property:voice_actor ?k . ?k rdf:type ontology:cinematic_technique } } }
[]
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 Q6739642
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?y property:P725 ?e . ?y rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?p = ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q6739642 property:P725 ?k . ?k rdf:type ontology:Q1001378 } } }
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 Making Stars
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?y property:voice_actor ?e . ?y rdf:type ontology:cinematic_technique . ?e rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?p = ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Making_Stars property:voice_actor ?k . ?k rdf:type ontology:cinematic_technique } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4243413
P725
Q502895 Q1001378
USER
And also tell me about Ku! Kin-dza-dza?
(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 Q4243413
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q4243413 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a property:P725 ?f . ?a rdf:type ontology:Q1001378 . ?f rdf:type ontology:Q502895 } GROUP BY ?a } }
Ku! Kin-dza-dza
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 Ku! Kin-dza-dza
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Ku!_Kin-dza-dza property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a property:voice_actor ?f . ?a rdf:type ontology:cinematic_technique . ?f rdf:type ontology:common_name } GROUP BY ?a } }
[]
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 Q4243413
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q4243413 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a property:P725 ?f . ?a rdf:type ontology:Q1001378 . ?f rdf:type ontology:Q502895 } GROUP BY ?a } }
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 Ku! Kin-dza-dza
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Ku!_Kin-dza-dza property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { ?a property:voice_actor ?f . ?a rdf:type ontology:cinematic_technique . ?f rdf:type ontology:common_name } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17321589 Q3750500
P19
Q15617994
USER
Which administrative territories were Francesco Priscianese or Fabio Galli born ?
OR((Q3750500,P19,c(Q15617994)), (Q17321589,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3750500
relation P19
action find
entity Q17321589
relation P19
type Q15617994
{'OR': [['Q3750500', 'P19', {'concept': 'Q15617994'}], ['Q17321589', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q3750500 ) ( resource:Q17321589 ) } . ?u property:P19 ?a } . ?a rdf:type ontology:Q15617994 }
Fabio Galli Francesco Priscianese
action filter_type
action union
action find
entity Francesco Priscianese
relation place of birth
action find
entity Fabio Galli
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Francesco Priscianese', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Fabio Galli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Francesco_Priscianese ) ( resource:Fabio_Galli ) } . ?u property:place_of_birth ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6231 Q52092
SYSTEM
Cremona, Pergine Valdarno
Q6231 Q52092
OR((Q3750500,P19,c(Q15617994)), (Q17321589,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3750500
relation P19
action find
entity Q17321589
relation P19
type Q15617994
[ANSWERS] were Francesco Priscianese or Fabio Galli born
{'OR': [['Q3750500', 'P19', {'concept': 'Q15617994'}], ['Q17321589', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q3750500 ) ( resource:Q17321589 ) } . ?u property:P19 ?a } . ?a rdf:type ontology:Q15617994 }
Cremona Pergine Valdarno
Cremona and Pergine Valdarno were Francesco Priscianese or Fabio Galli born
Cremona Pergine Valdarno
action filter_type
action union
action find
entity Francesco Priscianese
relation place of birth
action find
entity Fabio Galli
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Francesco Priscianese', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Fabio Galli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Francesco_Priscianese ) ( resource:Fabio_Galli ) } . ?u property:place_of_birth ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]