Simple Question (Direct)
Simple Question
Q2556424
P144
Q234460
USER
Which text is Weiser a fork of ?
(Q2556424,P144,c(Q234460))
action filter_type
action find
entity Q2556424
relation P144
type Q234460
['Q2556424', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?g WHERE { resource:Q2556424 property:P144 ?g . ?g rdf:type ontology:Q234460 }
Weiser
action filter_type
action find
entity Weiser
relation based on
type text
['Weiser', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?g WHERE { resource:Weiser property:based_on ?g . ?g rdf:type ontology:text }
[]
text
Q1238450
SYSTEM
Weiser Dawidek
Q1238450
(Q2556424,P144,c(Q234460))
action filter_type
action find
entity Q2556424
relation P144
type Q234460
Which text is Weiser a fork of
['Q2556424', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?g WHERE { resource:Q2556424 property:P144 ?g . ?g rdf:type ontology:Q234460 }
Weiser Dawidek
Which text is Weiser a fork of
Weiser Dawidek
action filter_type
action find
entity Weiser
relation based on
type text
['Weiser', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?g WHERE { resource:Weiser property:based_on ?g . ?g rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2556424
P344
Q502895
USER
Who is the cinematographer of Weiser ?
(Q2556424,P344,c(Q502895))
action filter_type
action find
entity Q2556424
relation P344
type Q502895
['Q2556424', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2556424 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Weiser
action filter_type
action find
entity Weiser
relation director of photography
type common name
['Weiser', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Weiser property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1790455
SYSTEM
Krzysztof Ptak
Q1790455
(Q2556424,P344,c(Q502895))
action filter_type
action find
entity Q2556424
relation P344
type Q502895
The cinematographer of Weiser is Jan [ANSWER]
['Q2556424', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2556424 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Krzysztof Ptak
The cinematographer of Weiser is Jan Krzysztof Ptak
Krzysztof Ptak
action filter_type
action find
entity Weiser
relation director of photography
type common name
['Weiser', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Weiser property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15710873
P725
Q502895 Q95074
USER
How many fictional characters did greater number of people dub for than Princess Celestia ?
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?c ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q95074 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q15710873 property:P725 ?e . ?e rdf:type ontology:Q95074 } } . FILTER ( ?c > ?h ) }
Princess Celestia
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?c ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:fictional_character . ?i rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Princess_Celestia property:voice_actor ?e . ?e rdf:type ontology:fictional_character } } . FILTER ( ?c > ?h ) }
[]
common name fictional character
SYSTEM
9
Q21847058 Q11623287 Q3256697 Q21837397 Q21837021 Q21837027 Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?c ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q95074 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q15710873 property:P725 ?e . ?e rdf:type ontology:Q95074 } } . FILTER ( ?c > ?h ) }
Yūichi Tachibana Takumi Fujiwara Little Mac Takeshi Nakazato Bunta Fujiwara Ryōsuke Takahashi Samurai Goroh Samus Aran Captain Falcon
9
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?c ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:fictional_character . ?i rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Princess_Celestia property:voice_actor ?e . ?e rdf:type ontology:fictional_character } } . FILTER ( ?c > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11623287
P725
Q502895 Q95074
USER
And what about Takumi Fujiwara?
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q11623287
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q95074 . resource:Q11623287 property:P725 ?v } } . FILTER ( ?y > ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?e property:P725 ?k . ?e rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 } GROUP BY ?e } }
Takumi Fujiwara
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Takumi Fujiwara
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:fictional_character . resource:Takumi_Fujiwara property:voice_actor ?v } } . FILTER ( ?y > ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?e property:voice_actor ?k . ?e rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name } GROUP BY ?e } }
[]
common name fictional character
SYSTEM
3
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q11623287
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q95074 . resource:Q11623287 property:P725 ?v } } . FILTER ( ?y > ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?e property:P725 ?k . ?e rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 } GROUP BY ?e } }
Samurai Goroh Samus Aran Captain Falcon
3
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Takumi Fujiwara
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:fictional_character . resource:Takumi_Fujiwara property:voice_actor ?v } } . FILTER ( ?y > ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?e property:voice_actor ?k . ?e rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8272
P361
Q234460 Q618779 Q7725634
USER
Which texts are around the same number of awards and literary works a component of as Epic of Gilgamesh ?
(c(Q618779)|c(Q7725634),P361,c(Q234460))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q234460
type Q618779
action find_reverse_tuple_counts
relation P361
type Q234460
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8272
relation P361
type Q618779
type Q7725634
[[{'concept': 'Q618779'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q234460'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P361 resource:Q8272 . { VALUES ( ?p ) { ( ontology:Q618779 ) ( ontology:Q7725634 ) } . ?v rdf:type ?p } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P361 ?y . ?y rdf:type ontology:Q234460 . ?f rdf:type ontology:Q618779 } UNION { ?f property:P361 ?y . ?y rdf:type ontology:Q234460 . ?f rdf:type ontology:Q7725634 } } GROUP BY ?y } }
Epic of Gilgamesh
action approx
action union
action find_reverse_tuple_counts
relation part of
type text
type award
action find_reverse_tuple_counts
relation part of
type text
type literary work
action count
action filter_multi_types
action find_reverse
entity Epic of Gilgamesh
relation part of
type award
type literary work
[[{'concept': 'award'}, {'concept': 'literary work'}], 'part of', {'concept': 'text'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:part_of resource:Epic_of_Gilgamesh . { VALUES ( ?p ) { ( ontology:award ) ( ontology:literary_work ) } . ?v rdf:type ?p } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:part_of ?y . ?y rdf:type ontology:text . ?f rdf:type ontology:award } UNION { ?f property:part_of ?y . ?y rdf:type ontology:text . ?f rdf:type ontology:literary_work } } GROUP BY ?y } }
[]
text award literary work
Q9184 Q163297 Q1845
SYSTEM
Genesis, The Stranger, Bible
Q19786 Q128620 Q128608 Q1328652 Q664820 Q1427347 Q145780 Q1226213 Q1845 Q472865 Q8272 Q131175 Q465108 Q7430 Q41490 Q620858 Q1229968 Q9184 Q51613 Q131115 Q5185279 Q216383 Q48203 Q1341631 Q157150 Q774446 Q3062913 Q265283 Q2547287 Q163297 Q318848 Q8269 Q170207 Q1613190 Q258620 Q971171 Q17315989 Q653922 Q656161 Q2966787 Q7366 Q1106236 Q642074 Q80355 Q123808 Q131107 Q1589330 Q408673 Q862758 Q910068 Q1205532
(c(Q618779)|c(Q7725634),P361,c(Q234460))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q234460
type Q618779
action find_reverse_tuple_counts
relation P361
type Q234460
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8272
relation P361
type Q618779
type Q7725634
[ANSWERS] are around the same number of awards and literary works a component of as Epic of Gilgamesh
[[{'concept': 'Q618779'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q234460'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P361 resource:Q8272 . { VALUES ( ?p ) { ( ontology:Q618779 ) ( ontology:Q7725634 ) } . ?v rdf:type ?p } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P361 ?y . ?y rdf:type ontology:Q234460 . ?f rdf:type ontology:Q618779 } UNION { ?f property:P361 ?y . ?y rdf:type ontology:Q234460 . ?f rdf:type ontology:Q7725634 } } GROUP BY ?y } }
Old Testament Epistle to the Galatians Epistle to the Hebrews Exeter Book Bodmer Papyri Flateyjarbók Dead Sea scrolls Epistles Bible The Pink Epic of Gilgamesh Vulgate Classic of Poetry DNA Leviticus Appendix Vergiliana West-östlicher Diwan Genesis Epistle to the Philippians First Epistle to the Thessalonians poem Nevi'im Epistle to the Romans Notebook for Anna Magdalena Bach Carmina Burana Five Megillot Ettuthogai Pauline epistles Westminster Standards The Stranger Evenings on a Farm Near Dikanka The Tale of Genji Biblical apocrypha The Keltiad Trotula Theban Cycle Bodleian Library, Douce 195 Jewish Encyclopedia De re publica Chroniques de Hainaut song Codex Runicus Historical Dictionary of Switzerland First Epistle to the Corinthians Second Epistle to the Corinthians Second Epistle to the Thessalonians Hauksbók Epistle to the Ephesians Book of Rites Sutta Nipāta Thirteen Classics
Genesis, The Stranger and Bible are around the same number of awards and literary works a component of as Epic of Gilgamesh
Genesis The Stranger Bible
action approx
action union
action find_reverse_tuple_counts
relation part of
type text
type award
action find_reverse_tuple_counts
relation part of
type text
type literary work
action count
action filter_multi_types
action find_reverse
entity Epic of Gilgamesh
relation part of
type award
type literary work
[[{'concept': 'award'}, {'concept': 'literary work'}], 'part of', {'concept': 'text'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:part_of resource:Epic_of_Gilgamesh . { VALUES ( ?p ) { ( ontology:award ) ( ontology:literary_work ) } . ?v rdf:type ?p } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:part_of ?y . ?y rdf:type ontology:text . ?f rdf:type ontology:award } UNION { ?f property:part_of ?y . ?y rdf:type ontology:text . ?f rdf:type ontology:literary_work } } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q163297
P50
Q502895
USER
Who penned that text ?
(Q163297,P50,c(Q502895))
action filter_type
action find
entity Q163297
relation P50
type Q502895
['Q163297', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q163297 property:P50 ?s . ?s rdf:type ontology:Q502895 }
The Stranger
action filter_type
action find
entity The Stranger
relation author
type common name
['The Stranger', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Stranger property:author ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9184
SYSTEM
Did you mean Genesis ?
Q9184 Q163297 Q1845
(Q9184,P50,c(Q502895)) (Q163297,P50,c(Q502895)) (Q1845,P50,c(Q502895))
[ANSWER]
['Q9184', 'P50', {'concept': 'Q502895'}] ['Q163297', 'P50', {'concept': 'Q502895'}] ['Q1845', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q163297 property:P50 ?s . ?s rdf:type ontology:Q502895 }
Genesis The Stranger Bible
Did you mean Genesis ?
Genesis
['Genesis', 'author', {'concept': 'common name'}] ['The Stranger', 'author', {'concept': 'common name'}] ['Bible', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Stranger property:author ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Stranger. Could you tell me the answer for that?
(Q163297,P50,c(Q502895))
Q163297
['Q163297', 'P50', {'concept': 'Q502895'}]
['The Stranger', 'author', {'concept': 'common name'}]
[]
Q34670
SYSTEM
Albert Camus
Q34670
(Q163297,P50,c(Q502895))
action filter_type
action find
entity Q163297
relation P50
type Q502895
[ANSWER] penned that text
['Q163297', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q163297 property:P50 ?s . ?s rdf:type ontology:Q502895 }
Albert Camus
Albert Camus penned that text
Albert Camus
action filter_type
action find
entity The Stranger
relation author
type common name
['The Stranger', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Stranger property:author ?s . ?s rdf:type ontology:common_name }
[]