Simple Question (Direct)
Simple Question
Q3133440
P166
Q618779
USER
What were won by Herbert Brücker ?
(Q3133440,P166,c(Q618779))
action filter_type
action find
entity Q3133440
relation P166
type Q618779
['Q3133440', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3133440 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Herbert Brücker
action filter_type
action find
entity Herbert Brücker
relation award received
type award
['Herbert Brücker', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Herbert_Brücker property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q833376 Q2547676
SYSTEM
Distinguished Service Cross, Croix de guerre 1939–1945
Q833376 Q2547676
(Q3133440,P166,c(Q618779))
action filter_type
action find
entity Q3133440
relation P166
type Q618779
Germany [ANSWERS] were won by Herbert Brücker
['Q3133440', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3133440 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Distinguished Service Cross Croix de guerre 1939–1945
Germany Distinguished Service Cross and Croix de guerre 1939–1945 were won by Herbert Brücker
Distinguished Service Cross Croix de guerre 1939–1945
action filter_type
action find
entity Herbert Brücker
relation award received
type award
['Herbert Brücker', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Herbert_Brücker property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3133440
P106
Q12737077
USER
What is the job of Herbert Brücker ?
(Q3133440,P106,c(Q12737077))
action filter_type
action find
entity Q3133440
relation P106
type Q12737077
['Q3133440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3133440 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Herbert Brücker
action filter_type
action find
entity Herbert Brücker
relation occupation
type occupation
['Herbert Brücker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Herbert_Brücker property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q9352089
SYSTEM
spy
Q9352089
(Q3133440,P106,c(Q12737077))
action filter_type
action find
entity Q3133440
relation P106
type Q12737077
The job of Herbert Brücker is a [ANSWER]
['Q3133440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3133440 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
spy
The job of Herbert Brücker is a spy
spy
action filter_type
action find
entity Herbert Brücker
relation occupation
type occupation
['Herbert Brücker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Herbert_Brücker property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7387342
Q12737077
USER
And how about S. A. M. Wood?
(Q7387342,P106,c(Q12737077))
action filter_type
action find
entity Q7387342
relation P106
type Q12737077
['Q7387342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q7387342 property:P106 ?i }
S. A. M. Wood
action filter_type
action find
entity S. A. M. Wood
relation occupation
type occupation
['S. A. M. Wood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:S._A._M._Wood property:occupation ?i }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7387342,P106,c(Q12737077))
action filter_type
action find
entity Q7387342
relation P106
type Q12737077
[ANSWER]
['Q7387342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q7387342 property:P106 ?i }
politician
politician
action filter_type
action find
entity S. A. M. Wood
relation occupation
type occupation
['S. A. M. Wood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:S._A._M._Wood property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7387342
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q7387342
relation P1412
type Q34770
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q7387342 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
S. A. M. Wood
action filter_type
action find
entity S. A. M. Wood
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:S._A._M._Wood property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q7387342
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q7387342 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
English
English is that person capable of writing
English
action filter_type
action find
entity S. A. M. Wood
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:S._A._M._Wood property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q13405127
P282
Q9779 Q34770
USER
How many alphabets are the writing systems used for approximately the same number of languages as Rusyn alphabet ?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q13405127
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q13405127 property:P282 ?t . ?t rdf:type ontology:Q9779 } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?f rdf:type ontology:Q9779 . ?m rdf:type ontology:Q34770 . ?m property:P282 ?f } GROUP BY ?f } }
Rusyn alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Rusyn alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Rusyn_alphabet property:writing_system ?t . ?t rdf:type ontology:alphabet } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?f rdf:type ontology:alphabet . ?m rdf:type ontology:language . ?m property:writing_system ?f } GROUP BY ?f } }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q13405127
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q13405127 property:P282 ?t . ?t rdf:type ontology:Q9779 } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?f rdf:type ontology:Q9779 . ?m rdf:type ontology:Q34770 . ?m property:P282 ?f } GROUP BY ?f } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Rusyn alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Rusyn_alphabet property:writing_system ?t . ?t rdf:type ontology:alphabet } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?f rdf:type ontology:alphabet . ?m rdf:type ontology:language . ?m property:writing_system ?f } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q442244
P282
Q9779 Q34770
USER
And how about Early Cyrillic alphabet?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q442244
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P282 ?a . ?a rdf:type ontology:Q9779 . ?x rdf:type ontology:Q34770 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g rdf:type ontology:Q9779 . resource:Q442244 property:P282 ?g } } . FILTER ( ?y = ?s ) }
Early Cyrillic alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Early Cyrillic alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:writing_system ?a . ?a rdf:type ontology:alphabet . ?x rdf:type ontology:language } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g rdf:type ontology:alphabet . resource:Early_Cyrillic_alphabet property:writing_system ?g } } . FILTER ( ?y = ?s ) }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q442244
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P282 ?a . ?a rdf:type ontology:Q9779 . ?x rdf:type ontology:Q34770 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g rdf:type ontology:Q9779 . resource:Q442244 property:P282 ?g } } . FILTER ( ?y = ?s ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Early Cyrillic alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:writing_system ?a . ?a rdf:type ontology:alphabet . ?x rdf:type ontology:language } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g rdf:type ontology:alphabet . resource:Early_Cyrillic_alphabet property:writing_system ?g } } . FILTER ( ?y = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P123
Q166142
USER
Which applications were issued by English ?
(c(Q166142),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q1860']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q1860 . ?m rdf:type ontology:Q166142 }
English
action filter_type
action find_reverse
entity English
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'English']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:English . ?m rdf:type ontology:application }
[]
application
Q7847513 Q308159 Q286737
SYSTEM
True Remembrance, Narcissu: Side 2nd, The Path
Q7847513 Q308159 Q286737
(c(Q166142),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
[ANSWERS] were issued by English
[{'concept': 'Q166142'}, 'P123', 'Q1860']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q1860 . ?m rdf:type ontology:Q166142 }
True Remembrance Narcissu: Side 2nd The Path
True Remembrance, Narcissu: Side 2nd and The Path were issued by English
True Remembrance Narcissu: Side 2nd The Path
action filter_type
action find_reverse
entity English
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'English']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:English . ?m rdf:type ontology:application }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7847513
P479
Q1183543
USER
What was used to input that application ?
(Q7847513,P479,c(Q1183543))
action filter_type
action find
entity Q7847513
relation P479
type Q1183543
['Q7847513', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1183543 . resource:Q7847513 property:P479 ?g }
True Remembrance
action filter_type
action find
entity True Remembrance
relation input device
type device
['True Remembrance', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:device . resource:True_Remembrance property:input_device ?g }
[]
device
Clarification for simple ques.
Q308159
SYSTEM
Did you mean Narcissu: Side 2nd ?
Q7847513 Q308159 Q286737
(Q7847513,P479,c(Q1183543)) (Q308159,P479,c(Q1183543)) (Q286737,P479,c(Q1183543))
[ANSWER]
['Q7847513', 'P479', {'concept': 'Q1183543'}] ['Q308159', 'P479', {'concept': 'Q1183543'}] ['Q286737', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1183543 . resource:Q7847513 property:P479 ?g }
True Remembrance Narcissu: Side 2nd The Path
Did you mean Narcissu: Side 2nd ?
Narcissu: Side 2nd
['True Remembrance', 'input device', {'concept': 'device'}] ['Narcissu: Side 2nd', 'input device', {'concept': 'device'}] ['The Path', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:device . resource:True_Remembrance property:input_device ?g }
[]
Simple Question (Coreferenced)
USER
No, I meant True Remembrance. Could you tell me the answer for that?
(Q7847513,P479,c(Q1183543))
Q7847513
['Q7847513', 'P479', {'concept': 'Q1183543'}]
['True Remembrance', 'input device', {'concept': 'device'}]
[]
Q250
SYSTEM
computer keyboard
Q250
(Q7847513,P479,c(Q1183543))
action filter_type
action find
entity Q7847513
relation P479
type Q1183543
[ANSWER] was used to input that application
['Q7847513', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1183543 . resource:Q7847513 property:P479 ?g }
computer keyboard
Computer keyboard was used to input that application
computer keyboard
action filter_type
action find
entity True Remembrance
relation input device
type device
['True Remembrance', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:device . resource:True_Remembrance property:input_device ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q6619679 Q502895 Q166142
USER
How many applications are atmost 3 fictional humanoids or people a character of ?
(c(Q166142),P674,c(Q6619679)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q166142
type Q6619679
action find_tuple_counts
relation P674
type Q166142
type Q502895
value 3
[{'concept': 'Q166142'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?a <= 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { { ?f property:P674 ?b . ?b rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q166142 } UNION { ?f property:P674 ?b . ?f rdf:type ontology:Q166142 . ?b rdf:type ontology:Q502895 } } GROUP BY ?f } }
action count
action atmost
action union
action find_tuple_counts
relation characters
type application
type fictional humanoid
action find_tuple_counts
relation characters
type application
type common name
value 3
[{'concept': 'application'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?a <= 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { { ?f property:characters ?b . ?b rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:application } UNION { ?f property:characters ?b . ?f rdf:type ontology:application . ?b rdf:type ontology:common_name } } GROUP BY ?f } }
[]
fictional humanoid common name application
SYSTEM
77
Q20737889 Q735613 Q94842 Q1955277 Q1757876 Q2532009 Q2362073 Q94460 Q2383167 Q878492 Q377242 Q1194825 Q853143 Q1123794 Q17157041 Q533304 Q1061560 Q1346174 Q725057 Q2836836 Q736040 Q274897 Q1129452 Q854479 Q3542471 Q907508 Q2529000 Q732943 Q94640 Q953890 Q83265 Q3030325 Q170489 Q733992 Q642107 Q1198580 Q94671 Q88759 Q1045765 Q2252689 Q11340891 Q2278385 Q317620 Q474573 Q19772510 Q668568 Q6586317 Q1139501 Q1248594 Q276217 Q535940 Q94778 Q847638 Q94830 Q94797 Q94871 Q648099 Q3611748 Q279446 Q37123 Q11168 Q739654 Q816451 Q753511 Q23008476 Q275960 Q1014915 Q4564573 Q213911 Q575505 Q817369 Q457957 Q17452 Q639619 Q1247366 Q24300 Q149106
(c(Q166142),P674,c(Q6619679)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q166142
type Q6619679
action find_tuple_counts
relation P674
type Q166142
type Q502895
value 3
[ANSWER]
[{'concept': 'Q166142'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?a <= 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { { ?f property:P674 ?b . ?b rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q166142 } UNION { ?f property:P674 ?b . ?f rdf:type ontology:Q166142 . ?b rdf:type ontology:Q502895 } } GROUP BY ?f } }
Mafia III The Legend of Zelda: Twilight Princess Grand Theft Auto: The Ballad of Gay Tony Tom Clancy's Splinter Cell: Blacklist Tomb Raider Wrecking Crew Dr. Robotnik's Mean Bean Machine Grand Theft Auto 2 Mother 3 Tom Clancy's Splinter Cell: Double Agent Tom Clancy's Splinter Cell Super Metroid Super Mario World Tomb Raider III Captain Toad: Treasure Tracker Tom Clancy's Splinter Cell: Chaos Theory Super Mario Kart Infamous Mass Effect 2 Alien Resurrection Max Payne 3 Portal God of War III Super Mario Bros. 2 Tux, of Math Command Tom Clancy's Splinter Cell: Conviction EarthBound The Legend of Zelda: Majora's Mask Grand Theft Auto: Vice City Stories Alien Trilogy Grand Theft Auto: San Andreas Disney's Magical Quest 3 Starring Mickey & Donald Super Mario Galaxy Resident Evil 2 Deus Ex: Human Revolution Dr. Mario Grand Theft Auto: Vice City Bubble Bobble Super Mario World 2: Yoshi's Island God of War II Mami no Dokidoki Tiro Finale Sherlock Holmes versus Arsène Lupin Tomb Raider Final Fantasy IX Deus Ex: Mankind Divided Tomb Raider: The Last Revelation Mega Man Scarface: The World Is Yours Resident Evil Halo: Combat Evolved Final Fantasy VI Grand Theft Auto: Liberty City Stories Planescape: Torment Grand Theft Auto: The Lost and Damned Grand Theft Auto IV Grand Theft Auto: Chinatown Wars Grand Theft Auto Alien Portal 2 Sonic the Hedgehog Super Mario Bros. Assassin's Creed: Revelations Tomb Raider II Mass Effect 3 The Legend of Zelda: Twilight Princess HD Mass Effect BurgerTime Garfield The Legend of Zelda: Ocarina of Time Alan Wake God of War Impossible Mission Grand Theft Auto V Super Mario Bros. 3 The Da Vinci Code Infamous 2 Grand Theft Auto III
77
action count
action atmost
action union
action find_tuple_counts
relation characters
type application
type fictional humanoid
action find_tuple_counts
relation characters
type application
type common name
value 3
[{'concept': 'application'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { FILTER ( ?a <= 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { { ?f property:characters ?b . ?b rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:application } UNION { ?f property:characters ?b . ?f rdf:type ontology:application . ?b rdf:type ontology:common_name } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2547676
P361
Q198
USER
Which war is Croix de guerre 1939–1945 a part of ?
(Q2547676,P361,c(Q198))
action filter_type
action find
entity Q2547676
relation P361
type Q198
['Q2547676', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q2547676 property:P361 ?k . ?k rdf:type ontology:Q198 }
Croix de guerre 1939–1945
action filter_type
action find
entity Croix de guerre 1939–1945
relation part of
type war
['Croix de guerre 1939–1945', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Croix_de_guerre_1939–1945 property:part_of ?k . ?k rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q2547676,P361,c(Q198))
action filter_type
action find
entity Q2547676
relation P361
type Q198
In [ANSWER] is Croix de guerre 1939–1945 a part of
['Q2547676', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q2547676 property:P361 ?k . ?k rdf:type ontology:Q198 }
World War II
In World War II is Croix de guerre 1939–1945 a part of
World War II
action filter_type
action find
entity Croix de guerre 1939–1945
relation part of
type war
['Croix de guerre 1939–1945', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Croix_de_guerre_1939–1945 property:part_of ?k . ?k rdf:type ontology:war }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
How many awards were exactly 6 people or works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 6
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { FILTER ( ?n = 6 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?j rdf:type ?r } GROUP BY ?m } }
action count
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 6
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { FILTER ( ?n = 6 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?j rdf:type ?r } GROUP BY ?m } }
[]
award common name work of art
SYSTEM
27
Q5243450 Q17986500 Q5280674 Q19858080 Q4896742 Q20714679 Q5305716 Q2603311 Q24034706 Q16918963 Q4649808 Q4806629 Q1757366 Q6952065 Q4896791 Q4376980 Q1535133 Q5593805 Q5530638 Q4896614 Q17011874 Q5593825 Q2603349 Q1714069 Q1259330 Q19819292 Q3403230
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 6
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { FILTER ( ?n = 6 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?j rdf:type ?r } GROUP BY ?m } }
Daytime Emmy Award for Outstanding Morning Program Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie Directors Guild of America Award for Outstanding Directing – Drama Series Favorite Pop/Rock Album Best Moment ESPY Award Primetime Emmy Award for Outstanding Miniseries Drama Desk Award for Outstanding Lyrics Zee Cine Award for Best Actor – Female VES Award for Outstanding Created Environment in a Live Action Feature Motion Picture NAACP Image Award for Outstanding Literary Work AACTA Award for Best Editing Asian Film Award for Best Actor Saturn Award for Best Music NAACP Image Award for Outstanding Music Video Best Record-Breaking Performance ESPY Award Genie Award for Best Screenplay Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel Grammy Award for Best Gospel Choir or Chorus Album Gemini Award for Best Comedy Program or Series Best Comeback Athlete ESPY Award NAACP Image Award for Outstanding Duo or Group Grammy Award for Best Large Jazz Ensemble Album Zee Cine Award for Best Film Jussi Award for Best Leading Actress NAACP Image Award for Outstanding Album Genie Award for Best Actress in a Supporting Role Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special
27
action count
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 6
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { FILTER ( ?n = 6 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?j rdf:type ?r } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q286737
P86
Q502895
USER
How many people composed The Path ?
(Q286737,P86,c(Q502895))
action count
action filter_type
action find
entity Q286737
relation P86
type Q502895
['Q286737', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q286737 property:P86 ?m }
The Path
action count
action filter_type
action find
entity The Path
relation composer
type common name
['The Path', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:common_name . resource:The_Path property:composer ?m }
[]
common name
SYSTEM
1
Q448842
(Q286737,P86,c(Q502895))
action count
action filter_type
action find
entity Q286737
relation P86
type Q502895
[ANSWER]
['Q286737', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q286737 property:P86 ?m }
Jarboe
1
action count
action filter_type
action find
entity The Path
relation composer
type common name
['The Path', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:common_name . resource:The_Path property:composer ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17377836
P86
Q502895
USER
And what about Firefly?
(Q17377836,P86,c(Q502895))
action count
action filter_type
action find
entity Q17377836
relation P86
type Q502895
['Q17377836', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q17377836 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Firefly
action count
action filter_type
action find
entity Firefly
relation composer
type common name
['Firefly', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Firefly property:composer ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1634230
(Q17377836,P86,c(Q502895))
action count
action filter_type
action find
entity Q17377836
relation P86
type Q502895
[ANSWER]
['Q17377836', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q17377836 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Greg Edmonson
1
action count
action filter_type
action find
entity Firefly
relation composer
type common name
['Firefly', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Firefly property:composer ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q9158482
Q502895
USER
And also tell me about Apna Asmaan?
(Q9158482,P86,c(Q502895))
action count
action filter_type
action find
entity Q9158482
relation P86
type Q502895
['Q9158482', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q9158482 property:P86 ?u }
Apna Asmaan
action count
action filter_type
action find
entity Apna Asmaan
relation composer
type common name
['Apna Asmaan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . resource:Apna_Asmaan property:composer ?u }
[]
common name
SYSTEM
1
(Q9158482,P86,c(Q502895))
action count
action filter_type
action find
entity Q9158482
relation P86
type Q502895
[ANSWER]
['Q9158482', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q9158482 property:P86 ?u }
1
action count
action filter_type
action find
entity Apna Asmaan
relation composer
type common name
['Apna Asmaan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . resource:Apna_Asmaan property:composer ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
How many awards were atleast 115 people and works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 115
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?v WHERE { { ?v rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 . ?c property:P1411 ?v } UNION { ?c property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?c rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?r >= 115 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 115
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?v WHERE { { ?v rdf:type ontology:award . ?c rdf:type ontology:work_of_art . ?c property:nominated_for ?v } UNION { ?c property:nominated_for ?v . ?v rdf:type ontology:award . ?c rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?r >= 115 ) }
[]
award common name work of art
SYSTEM
14
Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q37922 Q627778 Q13449461 Q185299 Q1474410 Q24137 Q3993187
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 115
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?v WHERE { { ?v rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 . ?c property:P1411 ?v } UNION { ?c property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?c rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?r >= 115 ) }
Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Nobel Prize in Literature Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play César Award for Best Director Tony Award for Best Costume Design
14
action count
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 115
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?v WHERE { { ?v rdf:type ontology:award . ?c rdf:type ontology:work_of_art . ?c property:nominated_for ?v } UNION { ?c property:nominated_for ?v . ?v rdf:type ontology:award . ?c rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?r >= 115 ) }
[]