Simple Question (Direct)
Simple Question
Q1353835
P27
Q15617994
USER
Which administrative territory is Erik Blomqvist an inhabitant of ?
(Q1353835,P27,c(Q15617994))
action filter_type
action find
entity Q1353835
relation P27
type Q15617994
['Q1353835', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1353835 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Erik Blomqvist
action filter_type
action find
entity Erik Blomqvist
relation country of citizenship
type designation for an administrative territorial entity
['Erik Blomqvist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Erik_Blomqvist property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q1353835,P27,c(Q15617994))
action filter_type
action find
entity Q1353835
relation P27
type Q15617994
[ANSWER] is Erik Blomqvist an inhabitant of
['Q1353835', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1353835 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Sweden
Sweden is Erik Blomqvist an inhabitant of
Sweden
action filter_type
action find
entity Erik Blomqvist
relation country of citizenship
type designation for an administrative territorial entity
['Erik Blomqvist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Erik_Blomqvist property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353835
P734
Q82799
USER
Who has the surname Erik Blomqvist ?
(Q1353835,P734,c(Q82799))
action filter_type
action find
entity Q1353835
relation P734
type Q82799
['Q1353835', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q1353835 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Erik Blomqvist
action filter_type
action find
entity Erik Blomqvist
relation family name
type name
['Erik Blomqvist', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Erik_Blomqvist property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q23656861
SYSTEM
Blomqvist
Q23656861
(Q1353835,P734,c(Q82799))
action filter_type
action find
entity Q1353835
relation P734
type Q82799
[ANSWER] has the surname Erik [ANSWER]
['Q1353835', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q1353835 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Blomqvist
Blomqvist has the surname Erik Blomqvist
Blomqvist
action filter_type
action find
entity Erik Blomqvist
relation family name
type name
['Erik Blomqvist', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Erik_Blomqvist property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7373376
Q82799
USER
And how about Roy Smith?
(Q7373376,P734,c(Q82799))
action filter_type
action find
entity Q7373376
relation P734
type Q82799
['Q7373376', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7373376 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Roy Smith
action filter_type
action find
entity Roy Smith
relation family name
type name
['Roy Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Roy_Smith property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q7373376,P734,c(Q82799))
action filter_type
action find
entity Q7373376
relation P734
type Q82799
[ANSWER]
['Q7373376', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7373376 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Smith
Smith
action filter_type
action find
entity Roy Smith
relation family name
type name
['Roy Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Roy_Smith property:family_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have tactful political relations with Sweden ?
(c(Q1048835),P530,Q34) (c(Q15617994),P530,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q34']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q34 } UNION { ?n property:P530 resource:Q34 . ?n rdf:type ontology:Q15617994 } }
Sweden
action count
action union
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Sweden } UNION { ?n property:diplomatic_relation resource:Sweden . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 4 administrative territories
Q184 Q183 Q408 Q16 Q928 Q38 Q902
(c(Q1048835),P530,Q34) (c(Q15617994),P530,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q34']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q34 } UNION { ?n property:P530 resource:Q34 . ?n rdf:type ontology:Q15617994 } }
Belarus Germany Australia Canada Philippines Italy Bangladesh
3 political territories and 4 administrative territories
action count
action union
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Sweden } UNION { ?n property:diplomatic_relation resource:Sweden . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q25167
P407
Q34770 Q82799
USER
Which languages are greater number of names in than Bokmål ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25167
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?y } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q25167 property:P407 ?m . ?m rdf:type ontology:Q34770 } } }
Bokmål
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Bokmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?y } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Bokmål property:language_of_work_or_name ?m . ?m rdf:type ontology:language } } }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25167
relation P407
type Q34770
[ANSWERS] are greater number of names in than Bokmål
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?y } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q25167 property:P407 ?m . ?m rdf:type ontology:Q34770 } } }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are greater number of names in than Bokmål
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Bokmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?y } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Bokmål property:language_of_work_or_name ?m . ?m rdf:type ontology:language } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1860 Q397 Q9056
P407
Q7725634
USER
Which literary works use those ones as language ?
(c(Q7725634),P407,Q1860) (c(Q7725634),P407,Q397) (c(Q7725634),P407,Q9056)
action filter_type
action find_reverse
entity prev_answer
relation P407
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q1860'] [{'concept': 'Q7725634'}, 'P407', 'Q397'] [{'concept': 'Q7725634'}, 'P407', 'Q9056']
SELECT DISTINCT ?b WHERE { ?b property:P407 ?q . VALUES ( ?q ) { ( resource:Q1860 ) ( resource:Q8785 ) ( resource:Q1321 ) } . ?b rdf:type ontology:Q7725634 }
English Latin Czech
action filter_type
action find_reverse
entity prev_answer
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'English'] [{'concept': 'literary work'}, 'language of work or name', 'Latin'] [{'concept': 'literary work'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?b WHERE { ?b property:language_of_work_or_name ?q . VALUES ( ?q ) { ( resource:English ) ( resource:Armenian ) ( resource:Spanish ) } . ?b rdf:type ontology:literary_work }
[]
literary work
Q22249625 Q4928860 Q380825
SYSTEM
At Memphis Station, Blue Bayou, Thriller
Q2679326 Q2260402 Q1921383 Q2257959 Q19048014 Q2027936 Q4068801 Q7721407 Q924657 Q21038194 Q11973189 Q3520554 Q1131761 Q1326000 Q22916092 Q5990361 Q923359 Q814212 Q25078106 Q1324384 Q1072741 Q27660414 Q1314091 Q232206 Q22336205 Q18928771 Q25078135 Q760350 Q18085203 Q7765262 Q5419457 Q2028257 Q7908800 Q19358345 Q633376 Q4463074 Q1137020 Q7785162 Q18922454 Q7749999 Q1187321 Q26270893 Q25558 Q1616910 Q21287676 Q21287672 Q17138567 Q21287668 Q6919622 Q889240 Q7334669 Q2476190 Q27037419 Q593978 Q2009848 Q1676224 Q20800508 Q25078036 Q19263052 Q21287627 Q380825 Q5856638 Q19242944 Q5028908 Q25078000 Q16996354 Q19091696 Q4018684 Q25078073 Q1575153 Q109026 Q4949773 Q21287682 Q25101409 Q21287992 Q650884 Q1165305 Q19103248 Q3501212 Q21283498 Q2866642 Q1828805 Q21438649 Q542497 Q642170 Q7334756 Q22607638 Q921458 Q1086652 Q7541463 Q1049271 Q3351931 Q19158918 Q4928860 Q15907412 Q16826455 Q938656 Q1628696 Q21287936 Q19362937 Q7990739 Q7971073 Q10518612 Q19507764 Q1146122 Q15272117 Q19081037 Q6946371 Q74038 Q7516463 Q21539855 Q210218 Q23726780 Q2525778 Q775791 Q19517346 Q7073385 Q21287883 Q25077971 Q25077973 Q25077972 Q3471801 Q22599681 Q25077961 Q1407640 Q19360901 Q22964724 Q1407276 Q1128775 Q23058769 Q7621111 Q1242262 Q167545 Q27210603 Q27210275 Q4929858 Q3045024 Q1535296 Q666856 Q21283228 Q5576668 Q21287809 Q10290000 Q21203631 Q17151241 Q6945619 Q7559085 Q18360321 Q7720088 Q1046717 Q22596013 Q11510350 Q9095908 Q19348230 Q1031911 Q7644424 Q22249625 Q4999494 Q20010984 Q19892044 Q546203 Q1124334 Q4045134 Q205921 Q5201754 Q27313478 Q19526620 Q5065652
(c(Q7725634),P407,Q1860) (c(Q7725634),P407,Q397) (c(Q7725634),P407,Q9056)
action filter_type
action find_reverse
entity prev_answer
relation P407
type Q7725634
[ANSWERS] use those ones as language
[{'concept': 'Q7725634'}, 'P407', 'Q1860'] [{'concept': 'Q7725634'}, 'P407', 'Q397'] [{'concept': 'Q7725634'}, 'P407', 'Q9056']
SELECT DISTINCT ?b WHERE { ?b property:P407 ?q . VALUES ( ?q ) { ( resource:Q1860 ) ( resource:Q8785 ) ( resource:Q1321 ) } . ?b rdf:type ontology:Q7725634 }
White Light/White Heat Planet Caravan Music I Just Can't Wait to Be King Hospital Barge Auguries of Innocence Down by the Riverside The Carnival Is Over Puppet on a String Lines Inscribed upon a Cup Formed from a Skull Guldhornene The Deer's Cry White Christmas A Whole New World I Still Do If I Could Choose The Unforgiven Before I Forget The Only Way Out In My Life Childe Harold's Pilgrimage Circle of Life We Shall Overcome Zwei kleine Italiener Solstice Song One Thing I Should Have Done St. George and the Dragon And You and I Baptism The Song of the Shirt Excelsior Colors of the Wind Vainglory I'm Alive It's So Easy Trilogy of desire Erotica Thirteen Time to Shine The Man With the Hoe Only a Northern Song Waterloo Road Infinity Hey Bulldog The Flame of Sun My Salvation The Arrow and the Song I Feel the Rain The Forgotten Happy Xmas (War Is Over) Ring-A-Ding Girl Abide with Me PPAP (Pen-Pineapple-Apple-Pen) Sledgehammer Martha My Dear I'm the Man Hold Tight Smile This Time Show Me the Way Thriller The 2nd Law: Unsustainable Darkness (Byron) Can't Help Lovin' Dat Man Daddy's Home The Line Rain We Used to Be Friends Gunga Din Polly Circle of Life Boum-Badaboum Horizon They're moving Father's grave to build a sewer The Light of Dreams Blew Eye of the Tiger There was a young lady in white The Anthem The Dean's Answer to The Rebus Asimbonanga The Man I Love Authors Like a Virgin About a Girl Rings Around the Moon Columbus Odorono What's Another Year Slough Liar Cheek to Cheek Devil Pray Blue Bayou Bad Things Cherry Red One Uno Rivers of Time Playing with Numbers What'll I Do Warum nur, warum? Have You Met Miss Jones? Here for You I'm Beginning to See the Light I See Fire Joseph Warren My Shining Hour Diamonds Silver Threads and Golden Needles Boys like You Beat It Silent Night The Thing That Should Not Be Fly on the Wings of Love A Million Voices O vento mudou Run in a Way Who'll Be the Next in Line Bitter Pill Chelsea Smile How Does That Grab You? The wandering Girl Never Let You Down They Can't Take That Away from Me A Monster Like Me Sing It Away Hung Up Vogue Walk on Water Straighten Up and Fly Right Don't Get Around Much Anymore Happy Birthday to You Ye Sons of Freedom, Wake to Glory La Marseillaise (Patterson) Blue Sky What Now My Love These Boots Are Made for Walkin' I Will Always Love You A Rebus Godiva Try to Make It Your Own Give Me a Reason Wild Some Enchanted Evening My Head's in Mississippi Som en dröm Torsten the Bareback Saint The Bridge of Sighs Paint It Black The red Tree Get Lucky Whisper Love Injected Can You Feel the Love Tonight Supper Time At Memphis Station Burn Take Me With You All Over the World Eclogues Locus iste Nec gemino bellum Trojanum orditur ab ovo Philosophiae Naturalis Principia Mathematica Czech Lute Marseilléza John Brown na šibenici Tisíckráte pozdravujem Tebe
At Memphis Station, Blue Bayou and Thriller use those ones as language
At Memphis Station Blue Bayou Thriller
action filter_type
action find_reverse
entity prev_answer
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'English'] [{'concept': 'literary work'}, 'language of work or name', 'Latin'] [{'concept': 'literary work'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?b WHERE { ?b property:language_of_work_or_name ?q . VALUES ( ?q ) { ( resource:English ) ( resource:Armenian ) ( resource:Spanish ) } . ?b rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22249625 Q4928860 Q380825
P407
Q34770
USER
What are the languages of work for At Memphis Station, Blue Bayou and Thriller ?
(Q22249625,P407,c(Q34770)) (Q4928860,P407,c(Q34770)) (Q380825,P407,c(Q34770))
action union
action filter_type
action find
entity Q22249625
relation P407
type Q34770
action filter_type
action find
entity Q4928860
relation P407
type Q34770
action filter_type
action find
entity Q380825
relation P407
type Q34770
['Q22249625', 'P407', {'concept': 'Q34770'}] ['Q4928860', 'P407', {'concept': 'Q34770'}] ['Q380825', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?f property:P407 ?i . VALUES ( ?f ) { ( resource:Q22249625 ) ( resource:Q4928860 ) } }
At Memphis Station Blue Bayou Thriller
action union
action filter_type
action find
entity At Memphis Station
relation language of work or name
type language
action filter_type
action find
entity Blue Bayou
relation language of work or name
type language
action filter_type
action find
entity Thriller
relation language of work or name
type language
['At Memphis Station', 'language of work or name', {'concept': 'language'}] ['Blue Bayou', 'language of work or name', {'concept': 'language'}] ['Thriller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?f property:language_of_work_or_name ?i . VALUES ( ?f ) { ( resource:At_Memphis_Station ) ( resource:Blue_Bayou ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q652 Q1860 Q1860
(Q22249625,P407,c(Q34770)) (Q4928860,P407,c(Q34770)) (Q380825,P407,c(Q34770))
action union
action filter_type
action find
entity Q22249625
relation P407
type Q34770
action filter_type
action find
entity Q4928860
relation P407
type Q34770
action filter_type
action find
entity Q380825
relation P407
type Q34770
The languages of work for At Memphis Station , Blue Bayou and Thriller are in [ANSWER], [ANSWER] and [ANSWER]
['Q22249625', 'P407', {'concept': 'Q34770'}] ['Q4928860', 'P407', {'concept': 'Q34770'}] ['Q380825', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?f property:P407 ?i . VALUES ( ?f ) { ( resource:Q22249625 ) ( resource:Q4928860 ) } }
English Italian English English
The languages of work for At Memphis Station , Blue Bayou and Thriller are in English, English and English
English English English
action union
action filter_type
action find
entity At Memphis Station
relation language of work or name
type language
action filter_type
action find
entity Blue Bayou
relation language of work or name
type language
action filter_type
action find
entity Thriller
relation language of work or name
type language
['At Memphis Station', 'language of work or name', {'concept': 'language'}] ['Blue Bayou', 'language of work or name', {'concept': 'language'}] ['Thriller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?f property:language_of_work_or_name ?i . VALUES ( ?f ) { ( resource:At_Memphis_Station ) ( resource:Blue_Bayou ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P463
Q2567147 Q874405
USER
How many rapid reaction forces and social groups were Sweden a member of ?
(Q34,P463,c(Q2567147)) (Q34,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q2567147
action filter_type
action find
entity Q34
relation P463
type Q874405
['Q34', 'P463', {'concept': 'Q2567147'}] ['Q34', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ontology:Q2567147 . resource:Q34 property:P463 ?i } UNION { resource:Q34 property:P463 ?i . ?i rdf:type ontology:Q874405 } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
action filter_type
action find
entity Sweden
relation member of
type social group
['Sweden', 'member of', {'concept': 'rapid reaction force'}] ['Sweden', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ontology:rapid_reaction_force . resource:Sweden property:member_of ?i } UNION { resource:Sweden property:member_of ?i . ?i rdf:type ontology:social_group } }
[]
rapid reaction force social group
SYSTEM
1 rapid reaction forces and 2 social groups
Q782942 Q1998131 Q8908
(Q34,P463,c(Q2567147)) (Q34,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q2567147
action filter_type
action find
entity Q34
relation P463
type Q874405
[ANSWER]
['Q34', 'P463', {'concept': 'Q2567147'}] ['Q34', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ontology:Q2567147 . resource:Q34 property:P463 ?i } UNION { resource:Q34 property:P463 ?i . ?i rdf:type ontology:Q874405 } }
Australia Group Nordic Battle Group Council of Europe
1 rapid reaction forces and 2 social groups
action count
action union
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
action filter_type
action find
entity Sweden
relation member of
type social group
['Sweden', 'member of', {'concept': 'rapid reaction force'}] ['Sweden', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ontology:rapid_reaction_force . resource:Sweden property:member_of ?i } UNION { resource:Sweden property:member_of ?i . ?i rdf:type ontology:social_group } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q380825
P58
Q502895
USER
How many people wrote the script for Thriller ?
(Q380825,P58,c(Q502895))
action count
action filter_type
action find
entity Q380825
relation P58
type Q502895
['Q380825', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q380825 property:P58 ?d }
Thriller
action count
action filter_type
action find
entity Thriller
relation screenwriter
type common name
['Thriller', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:common_name . resource:Thriller property:screenwriter ?d }
[]
common name
SYSTEM
2
Q2831 Q51564
(Q380825,P58,c(Q502895))
action count
action filter_type
action find
entity Q380825
relation P58
type Q502895
[ANSWER]
['Q380825', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q380825 property:P58 ?d }
Michael Jackson John Landis
2
action count
action filter_type
action find
entity Thriller
relation screenwriter
type common name
['Thriller', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:common_name . resource:Thriller property:screenwriter ?d }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3423723
Q502895
USER
And how about Night Must Fall?
(Q3423723,P58,c(Q502895))
action count
action filter_type
action find
entity Q3423723
relation P58
type Q502895
['Q3423723', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q3423723 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Night Must Fall
action count
action filter_type
action find
entity Night Must Fall
relation screenwriter
type common name
['Night Must Fall', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Night_Must_Fall property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q3423723,P58,c(Q502895))
action count
action filter_type
action find
entity Q3423723
relation P58
type Q502895
[ANSWER]
['Q3423723', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q3423723 property:P58 ?f . ?f rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Night Must Fall
relation screenwriter
type common name
['Night Must Fall', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Night_Must_Fall property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]