Simple Question (Direct)
Simple Question
Q5301078
P364
Q34770
USER
Which language was used originally for the creation of Dough Boys ?
(Q5301078,P364,c(Q34770))
action filter_type
action find
entity Q5301078
relation P364
type Q34770
['Q5301078', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5301078 property:P364 ?l . ?l rdf:type ontology:Q34770 }
Dough Boys
action filter_type
action find
entity Dough Boys
relation original language of work
type language
['Dough Boys', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Dough_Boys property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5301078,P364,c(Q34770))
action filter_type
action find
entity Q5301078
relation P364
type Q34770
[ANSWER] was used originally for the creation of Dough Boys
['Q5301078', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5301078 property:P364 ?l . ?l rdf:type ontology:Q34770 }
English
English was used originally for the creation of Dough Boys
English
action filter_type
action find
entity Dough Boys
relation original language of work
type language
['Dough Boys', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Dough_Boys property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5301078
P162
Q502895
USER
Who is the creator of Dough Boys ?
(Q5301078,P162,c(Q502895))
action filter_type
action find
entity Q5301078
relation P162
type Q502895
['Q5301078', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5301078 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Dough Boys
action filter_type
action find
entity Dough Boys
relation producer
type common name
['Dough Boys', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Dough_Boys property:producer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q7241830
SYSTEM
Preston A. Whitmore II
Q7241830
(Q5301078,P162,c(Q502895))
action filter_type
action find
entity Q5301078
relation P162
type Q502895
The creator of Dough Boys is [ANSWER]
['Q5301078', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5301078 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Preston A. Whitmore II
The creator of Dough Boys is Preston A. Whitmore II
Preston A. Whitmore II
action filter_type
action find
entity Dough Boys
relation producer
type common name
['Dough Boys', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Dough_Boys property:producer ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1981401
Q502895
USER
And also tell me about The Night?
(Q1981401,P162,c(Q502895))
action filter_type
action find
entity Q1981401
relation P162
type Q502895
['Q1981401', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1981401 property:P162 ?s . ?s rdf:type ontology:Q502895 }
The Night
action filter_type
action find
entity The Night
relation producer
type common name
['The Night', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Night property:producer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q74908
SYSTEM
Dan Donegan
Q74908
(Q1981401,P162,c(Q502895))
action filter_type
action find
entity Q1981401
relation P162
type Q502895
[ANSWER]
['Q1981401', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1981401 property:P162 ?s . ?s rdf:type ontology:Q502895 }
Dan Donegan
Dan Donegan
action filter_type
action find
entity The Night
relation producer
type common name
['The Night', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Night property:producer ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages use exactly 2 writing systems or notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { { ?j rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 . ?j property:P282 ?f } UNION { ?j property:P282 ?f . ?j rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?j } }
action equal
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { { ?j rdf:type ontology:language . ?f rdf:type ontology:writing_system . ?j property:writing_system ?f } UNION { ?j property:writing_system ?f . ?j rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?j } }
[]
writing system notation language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[ANSWER] use exactly 2 writing systems or notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { { ?j rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 . ?j property:P282 ?f } UNION { ?j property:P282 ?f . ?j rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?j } }
Avestan
Avestan use exactly 2 writing systems or notations as the writing system
Avestan
action equal
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { { ?j rdf:type ontology:language . ?f rdf:type ontology:writing_system . ?j property:writing_system ?f } UNION { ?j property:writing_system ?f . ?j rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29572 Q23312600 Q1771716
P282
Q2001982
USER
Does Avestan utilize Numidian and Pahlavi scripts as the writing system ?
(Q29572,P282,Q23312600) (Q29572,P282,Q1771716)
action is_in
entity Q29572
action intersection
action find_reverse
entity Q23312600
relation P282
action find_reverse
entity Q1771716
relation P282
['Q29572', 'P282', 'Q23312600'] ['Q29572', 'P282', 'Q1771716']
ASK WHERE { resource:Q29572 property:P282 resource:Q23312600 . resource:Q29572 property:P282 resource:Q1771716 }
Avestan Numidian Pahlavi scripts
action is_in
entity Avestan
action intersection
action find_reverse
entity Numidian
relation writing system
action find_reverse
entity Pahlavi scripts
relation writing system
['Avestan', 'writing system', 'Numidian'] ['Avestan', 'writing system', 'Pahlavi scripts']
ASK WHERE { resource:Avestan property:writing_system resource:Numidian . resource:Avestan property:writing_system resource:Pahlavi_scripts }
[]
notation
SYSTEM
NO and YES respectively
(Q29572,P282,Q23312600) (Q29572,P282,Q1771716)
action is_in
entity Q29572
action intersection
action find_reverse
entity Q23312600
relation P282
action find_reverse
entity Q1771716
relation P282
[ANSWER]
['Q29572', 'P282', 'Q23312600'] ['Q29572', 'P282', 'Q1771716']
ASK WHERE { resource:Q29572 property:P282 resource:Q23312600 . resource:Q29572 property:P282 resource:Q1771716 }
NO and YES respectively
action is_in
entity Avestan
action intersection
action find_reverse
entity Numidian
relation writing system
action find_reverse
entity Pahlavi scripts
relation writing system
['Avestan', 'writing system', 'Numidian'] ['Avestan', 'writing system', 'Pahlavi scripts']
ASK WHERE { resource:Avestan property:writing_system resource:Numidian . resource:Avestan property:writing_system resource:Pahlavi_scripts }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q74908
P112
Q2088357
USER
Which musical ensembles were founded by Dan Donegan ?
(c(Q2088357),P112,Q74908)
action filter_type
action find_reverse
entity Q74908
relation P112
type Q2088357
[{'concept': 'Q2088357'}, 'P112', 'Q74908']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q74908 . ?p rdf:type ontology:Q2088357 }
Dan Donegan
action filter_type
action find_reverse
entity Dan Donegan
relation founder
type musical ensemble
[{'concept': 'musical ensemble'}, 'founder', 'Dan Donegan']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Dan_Donegan . ?p rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q131366 Q7914311
SYSTEM
Disturbed, Vandal
Q131366 Q7914311
(c(Q2088357),P112,Q74908)
action filter_type
action find_reverse
entity Q74908
relation P112
type Q2088357
[ANSWERS] were founded by Dan Donegan
[{'concept': 'Q2088357'}, 'P112', 'Q74908']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q74908 . ?p rdf:type ontology:Q2088357 }
Disturbed Vandal
Disturbed and Vandal were founded by Dan Donegan
Disturbed Vandal
action filter_type
action find_reverse
entity Dan Donegan
relation founder
type musical ensemble
[{'concept': 'musical ensemble'}, 'founder', 'Dan Donegan']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Dan_Donegan . ?p rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q74908
P1303
Q34379
USER
Which musical instrument is played by that person ?
(Q131366,P1303,c(Q34379)) (Q7914311,P1303,c(Q34379))
action filter_type
action find
entity Q74908
relation P1303
type Q34379
['Q131366', 'P1303', {'concept': 'Q34379'}] ['Q7914311', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { resource:Q74908 property:P1303 ?r . ?r rdf:type ontology:Q34379 }
Dan Donegan
action filter_type
action find
entity Dan Donegan
relation instrument
type musical instrument
['Disturbed', 'instrument', {'concept': 'musical instrument'}] ['Vandal', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { resource:Dan_Donegan property:instrument ?r . ?r rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q131366,P1303,c(Q34379)) (Q7914311,P1303,c(Q34379))
action filter_type
action find
entity Q74908
relation P1303
type Q34379
[ANSWER] is played by that person
['Q131366', 'P1303', {'concept': 'Q34379'}] ['Q7914311', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { resource:Q74908 property:P1303 ?r . ?r rdf:type ontology:Q34379 }
violin
Violin is played by that person
violin
action filter_type
action find
entity Dan Donegan
relation instrument
type musical instrument
['Disturbed', 'instrument', {'concept': 'musical instrument'}] ['Vandal', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { resource:Dan_Donegan property:instrument ?r . ?r rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2302151
P180
Q34379 Q1792379
USER
Which art genres depict approximately the same number of musical instruments as animal painting ?
(c(Q1792379),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q2302151
relation P180
type Q1792379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q34379 . ?q rdf:type ontology:Q1792379 . ?q property:P180 ?b } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q1792379 . resource:Q2302151 property:P180 ?c } } . FILTER ( ?h = ?o ) }
animal painting
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity animal painting
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:musical_instrument . ?q rdf:type ontology:art_genre . ?q property:depicts ?b } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:art_genre . resource:animal_painting property:depicts ?c } } . FILTER ( ?h = ?o ) }
[]
musical instrument art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q2302151
relation P180
type Q1792379
[ANSWERS] depict approximately the same number of musical instruments as animal painting
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q34379 . ?q rdf:type ontology:Q1792379 . ?q property:P180 ?b } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q1792379 . resource:Q2302151 property:P180 ?c } } . FILTER ( ?h = ?o ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire depict approximately the same number of musical instruments as animal painting
Self-Portrait with Monkey Above and Below The Ring of Fire
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity animal painting
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:musical_instrument . ?q rdf:type ontology:art_genre . ?q property:depicts ?b } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:art_genre . resource:animal_painting property:depicts ?c } } . FILTER ( ?h = ?o ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P170
Q502895
USER
How many people are the creators of that art genre ?
(Q5712848,P170,c(Q502895))
['Q5712848', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5712848 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Self-Portrait_with_Monkey property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4668641
SYSTEM
Did you mean Above and Below ?
(Q5712848,P170,c(Q502895)) (Q4668641,P170,c(Q502895)) (Q3207118,P170,c(Q502895))
[ANSWER]
['Q5712848', 'P170', {'concept': 'Q502895'}] ['Q4668641', 'P170', {'concept': 'Q502895'}] ['Q3207118', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5712848 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Above and Below ?
Above and Below
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}] ['Above and Below', 'creator', {'concept': 'common name'}] ['The Ring of Fire', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Self-Portrait_with_Monkey property:creator ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Self-Portrait with Monkey. Could you tell me the answer for that?
(Q5712848,P170,c(Q502895))
Q5712848
['Q5712848', 'P170', {'concept': 'Q502895'}]
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}]
[]
SYSTEM
1
Q5588
(Q5712848,P170,c(Q502895))
[ANSWER]
['Q5712848', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5712848 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Frida Kahlo
1
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Self-Portrait_with_Monkey property:creator ?z . ?z rdf:type ontology:common_name }
[]