Simple Question (Direct)
Simple Question
Q2560797
P937
Q486972
USER
Which human settlement is the work location of Werner Arens ?
(Q2560797,P937,c(Q486972))
action filter_type
action find
entity Q2560797
relation P937
type Q486972
['Q2560797', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q2560797 property:P937 ?k . ?k rdf:type ontology:Q486972 }
Werner Arens
action filter_type
action find
entity Werner Arens
relation work location
type human settlement
['Werner Arens', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Werner_Arens property:work_location ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q2916
SYSTEM
Osnabrück
Q2916
(Q2560797,P937,c(Q486972))
action filter_type
action find
entity Q2560797
relation P937
type Q486972
[ANSWER] is the work location of Werner Arens
['Q2560797', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q2560797 property:P937 ?k . ?k rdf:type ontology:Q486972 }
Osnabrück
Osnabrück is the work location of Werner Arens
Osnabrück
action filter_type
action find
entity Werner Arens
relation work location
type human settlement
['Werner Arens', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Werner_Arens property:work_location ?k . ?k rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2560797
P166
Q618779
USER
Which award was that person awarded with ?
(Q2916,P166,c(Q618779))
action filter_type
action find
entity Q2560797
relation P166
type Q618779
['Q2916', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q2560797 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Werner Arens
action filter_type
action find
entity Werner Arens
relation award received
type award
['Osnabrück', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Werner_Arens property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q836057
SYSTEM
Equestrian Order of the Holy Sepulchre
Q836057
(Q2916,P166,c(Q618779))
action filter_type
action find
entity Q2560797
relation P166
type Q618779
That person was awarded the [ANSWER]
['Q2916', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q2560797 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Equestrian Order of the Holy Sepulchre
That person was awarded the Equestrian Order of the Holy Sepulchre
Equestrian Order of the Holy Sepulchre
action filter_type
action find
entity Werner Arens
relation award received
type award
['Osnabrück', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Werner_Arens property:award_received ?a . ?a rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4154984
P1441
Q234460 Q15416 Q502895
USER
Which people appear in more number of texts or television programs than Kai Darab ?
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q4154984
relation P1441
type Q234460
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ontology:Q234460 . ?c rdf:type ontology:Q502895 . ?c property:P1441 ?k } UNION { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15416 . ?c property:P1441 ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { { ?o rdf:type ontology:Q234460 } UNION { ?o rdf:type ontology:Q15416 } } . resource:Q4154984 property:P1441 ?o } } . FILTER ( ?t > ?e ) }
Kai Darab
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Kai Darab
relation present in work
type text
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ontology:text . ?c rdf:type ontology:common_name . ?c property:present_in_work ?k } UNION { ?c rdf:type ontology:common_name . ?k rdf:type ontology:television_program . ?c property:present_in_work ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { { ?o rdf:type ontology:text } UNION { ?o rdf:type ontology:television_program } } . resource:Kai_Darab property:present_in_work ?o } } . FILTER ( ?t > ?e ) }
[]
text television program common name
Q41370 Q9181 Q37085
SYSTEM
David, Abraham, Solomon
Q41863 Q1143157 Q1341397 Q194064 Q466687 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q221514 Q30914 Q937827 Q4057937 Q214648 Q18699312 Q211663 Q176125 Q8423 Q1938388 Q2040793 Q125102 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q1353836 Q807236 Q2256348 Q1686571 Q1675214 Q188794 Q844433 Q28730 Q200902 Q3798672 Q126689 Q9077 Q145746 Q463934 Q721295 Q1403627 Q1133523 Q1133337 Q41370 Q200637 Q3259530 Q81422 Q3187975 Q2116944 Q3783913 Q946939 Q888890 Q1771358 Q272277 Q460763 Q205372 Q717814 Q830183 Q6577515 Q63070 Q7493584 Q1300996 Q851686 Q1333225 Q40662 Q206238 Q400294 Q922184 Q156328 Q3785031 Q1768161 Q6323112 Q171724 Q550255 Q889694 Q8027483 Q816397 Q2038223 Q264699 Q313415 Q360378 Q363660 Q665541 Q1516550 Q840401 Q37085 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q1542853 Q184273 Q107626 Q205365 Q32295 Q477527 Q18699310 Q62788 Q313421 Q313423 Q362021 Q262766 Q9181 Q225198 Q313228 Q536485 Q273517 Q3752551 Q671872 Q16845969 Q192785 Q308320 Q1030008 Q319049 Q18699300 Q18699268 Q229702 Q574641 Q2590260 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q4154984
relation P1441
type Q234460
type Q15416
[ANSWERS] appear in more number of texts or television programs than Kai Darab
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ontology:Q234460 . ?c rdf:type ontology:Q502895 . ?c property:P1441 ?k } UNION { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15416 . ?c property:P1441 ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { { ?o rdf:type ontology:Q234460 } UNION { ?o rdf:type ontology:Q15416 } } . resource:Q4154984 property:P1441 ?o } } . FILTER ( ?t > ?e ) }
Halga Jair Michal Ezekiel Damaris Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Manoah Ahaz Delilah Adoniram Samson Jacob Rehoboam Gideon Cyrus the Great Miriam Reu Necho II Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Hrothgar Barak Shealtiel Jehu Ithamar Isaiah Kenan Saul Shem Ingeld Jehoshaphat Moses Joseph Athaliah Jezebel Hrethel Jephthah Abner David Japheth Loretta Jones Noah Judith Wealhþeow Heardred Phut Nahor Salomon Bathsheba Benjamin Absalom Hadadezer Eve Samuel Mary Magdalene Sheleph Ehud Mephibosheth Elon John the Baptist Elisha Ahitophel Caleb Manasseh of Judah Heoroweard Islamic views on Abraham Nahor Daniel J. William Fulbright Hygelac Wise woman of Abel Ben-Hadad I Amminadab Wil Wheaton Asa of Judah Adonijah Elimelek Hosea Shamgar Laban Solomon Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Alphaeus Zedekiah Seth Cain Michael J. Massimino Amram Matthan Jethro Abel Amon of Judah Eli Junia Abraham Belshazzar Josiah Othniel Abijah of Judah Freawaru Isaac Hygd Goliath Abdon Tamar Jeconiah Eleazar Zadok Ham Balaam Ahijah the Shilonite Baruch ben Neriah Judah Amaziah of Judah
David, Abraham and Solomon appear in more number of texts or television programs than Kai Darab
David Abraham Solomon
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Kai Darab
relation present in work
type text
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { { ?k rdf:type ontology:text . ?c rdf:type ontology:common_name . ?c property:present_in_work ?k } UNION { ?c rdf:type ontology:common_name . ?k rdf:type ontology:television_program . ?c property:present_in_work ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { { ?o rdf:type ontology:text } UNION { ?o rdf:type ontology:television_program } } . resource:Kai_Darab property:present_in_work ?o } } . FILTER ( ?t > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1030008
P1441
Q234460 Q15416 Q502895
USER
And how about Tamar?
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q1030008
relation P1441
type Q234460
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q1030008 property:P1441 ?h . { VALUES ( ?f ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } . ?h rdf:type ?f } } } . FILTER ( ?e > ?o ) }
Tamar
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Tamar
relation present in work
type text
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Tamar property:present_in_work ?h . { VALUES ( ?f ) { ( ontology:text ) ( ontology:television_program ) } . ?h rdf:type ?f } } } . FILTER ( ?e > ?o ) }
[]
text television program common name
Q41370 Q9181 Q9077
SYSTEM
David, Abraham, Moses
Q1353836 Q9077 Q41370 Q81422 Q32295 Q9181
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q1030008
relation P1441
type Q234460
type Q15416
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q1030008 property:P1441 ?h . { VALUES ( ?f ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } . ?h rdf:type ?f } } } . FILTER ( ?e > ?o ) }
Hrothgar Moses David Noah Michael J. Massimino Abraham
David Abraham Moses
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Tamar
relation present in work
type text
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Tamar property:present_in_work ?h . { VALUES ( ?f ) { ( ontology:text ) ( ontology:television_program ) } . ?h rdf:type ?f } } } . FILTER ( ?e > ?o ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q2342494
USER
How many collectables contain that person ?
(Q9181,P1441,c(Q2342494))
['Q9181', 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q227001 property:P1441 ?z . ?z rdf:type ontology:Q2342494 }
['Abraham', 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abraham property:present_in_work ?z . ?z rdf:type ontology:collectable }
[]
collectable
Quantitative|Count|Single entity type|Clarification
Q9077
SYSTEM
Did you mean Moses ?
(Q41370,P1441,c(Q2342494)) (Q9181,P1441,c(Q2342494)) (Q9077,P1441,c(Q2342494))
[ANSWER]
['Q41370', 'P1441', {'concept': 'Q2342494'}] ['Q9181', 'P1441', {'concept': 'Q2342494'}] ['Q9077', 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q227001 property:P1441 ?z . ?z rdf:type ontology:Q2342494 }
Did you mean Moses ?
Moses
['David', 'present in work', {'concept': 'collectable'}] ['Abraham', 'present in work', {'concept': 'collectable'}] ['Moses', 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abraham property:present_in_work ?z . ?z rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Abraham. Could you tell me the answer for that?
(Q9181,P1441,c(Q2342494))
Q9181
['Q9181', 'P1441', {'concept': 'Q2342494'}]
['Abraham', 'present in work', {'concept': 'collectable'}]
[]
SYSTEM
3
Q459842 Q131068 Q2917980
(Q9181,P1441,c(Q2342494))
[ANSWER]
['Q9181', 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q227001 property:P1441 ?z . ?z rdf:type ontology:Q2342494 }
Book of Mormon Book of Esther Midrash Rabba
3
['Abraham', 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abraham property:present_in_work ?z . ?z rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11320196
P725
Q502895 Q5398426
USER
Which television series have been dubbed by more number of people than D-Frag! ?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q11320196
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q11320196 property:P725 ?a . ?a rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?z ) WHERE { ?s property:P725 ?d . ?s rdf:type ontology:Q5398426 . ?d rdf:type ontology:Q502895 } GROUP BY ?s } }
D-Frag!
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity D-Frag!
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:D-Frag! property:voice_actor ?a . ?a rdf:type ontology:television_series } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?z ) WHERE { ?s property:voice_actor ?d . ?s rdf:type ontology:television_series . ?d rdf:type ontology:common_name } GROUP BY ?s } }
[]
common name television series
Q881797 Q662 Q386361
SYSTEM
YuruYuri, Neon Genesis Evangelion, Devil May Cry: The Animated Series
Q602721 Q662 Q199073 Q881797 Q211183 Q1335290 Q498079 Q386361 Q483535 Q3280971 Q1339165 Q921440 Q5364072 Q15392994 Q1617849 Q1657773 Q2498954 Q281062 Q4185849 Q2756865
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q11320196
relation P725
type Q5398426
[ANSWERS] have been dubbed by more number of people than D-Frag!
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q11320196 property:P725 ?a . ?a rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?z ) WHERE { ?s property:P725 ?d . ?s rdf:type ontology:Q5398426 . ?d rdf:type ontology:Q502895 } GROUP BY ?s } }
Shugo Chara! Neon Genesis Evangelion Tokyo Ravens YuruYuri Tamako Market Medaka Box Pretty Rhythm Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai Love Live! Hyōka Seitokai Yakuindomo Non Non Biyori Prison School High School DxD Inu x Boku SS The Ambition of Oda Nobuna The Qwaser of Stigmata Gokujyo NG Knight Lamune & 40
YuruYuri, Neon Genesis Evangelion and Devil May Cry: The Animated Series have been dubbed by more number of people than D-Frag!
YuruYuri Neon Genesis Evangelion Devil May Cry: The Animated Series
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity D-Frag!
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:D-Frag! property:voice_actor ?a . ?a rdf:type ontology:television_series } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?z ) WHERE { ?s property:voice_actor ?d . ?s rdf:type ontology:television_series . ?d rdf:type ontology:common_name } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2916
P159
Q19335303 Q43229
USER
How many German business organizations or organizations have HQ at Osnabrück ?
(c(Q19335303),P159,Q2916) (c(Q43229),P159,Q2916)
action count
action union
action filter_type
action find_reverse
entity Q2916
relation P159
type Q19335303
action filter_type
action find_reverse
entity Q2916
relation P159
type Q43229
[{'concept': 'Q19335303'}, 'P159', 'Q2916'] [{'concept': 'Q43229'}, 'P159', 'Q2916']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P159 resource:Q2916 . ?e rdf:type ontology:Q19335303 } UNION { ?e property:P159 resource:Q2916 . ?e rdf:type ontology:Q43229 } }
Osnabrück
action count
action union
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type type of business entity in Germany
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type organization
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Osnabrück'] [{'concept': 'organization'}, 'headquarters location', 'Osnabrück']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:headquarters_location resource:Osnabrück . ?e rdf:type ontology:type_of_business_entity_in_Germany } UNION { ?e property:headquarters_location resource:Osnabrück . ?e rdf:type ontology:organization } }
[]
type of business entity in Germany organization
SYSTEM
8
Q2051237 Q698588 Q1602898 Q1742764 Q1131390 Q314293 Q1018272 Q1817649
(c(Q19335303),P159,Q2916) (c(Q43229),P159,Q2916)
action count
action union
action filter_type
action find_reverse
entity Q2916
relation P159
type Q19335303
action filter_type
action find_reverse
entity Q2916
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q19335303'}, 'P159', 'Q2916'] [{'concept': 'Q43229'}, 'P159', 'Q2916']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P159 resource:Q2916 . ?e rdf:type ontology:Q19335303 } UNION { ?e property:P159 resource:Q2916 . ?e rdf:type ontology:Q43229 } }
Paracelsus-Kliniken Deutschland GmbH & Co. KGaA Karmann Hellmann Worldwide Logistics Sievert Coppenrath & Wiese NordWestBahn Buw Holding Lengermann und Trieschmann
8
action count
action union
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type type of business entity in Germany
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type organization
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Osnabrück'] [{'concept': 'organization'}, 'headquarters location', 'Osnabrück']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:headquarters_location resource:Osnabrück . ?e rdf:type ontology:type_of_business_entity_in_Germany } UNION { ?e property:headquarters_location resource:Osnabrück . ?e rdf:type ontology:organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41370
P802
Q502895
USER
Which person was a pupil of David ?
(c(Q502895),P802,Q41370)
action filter_type
action find_reverse
entity Q41370
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q41370']
SELECT DISTINCT ?n WHERE { ?n property:P802 resource:Q41370 . ?n rdf:type ontology:Q502895 }
David
action filter_type
action find_reverse
entity David
relation student
type common name
[{'concept': 'common name'}, 'student', 'David']
SELECT DISTINCT ?n WHERE { ?n property:student resource:David . ?n rdf:type ontology:common_name }
[]
common name
Q6577515
SYSTEM
Samuel
Q6577515
(c(Q502895),P802,Q41370)
action filter_type
action find_reverse
entity Q41370
relation P802
type Q502895
[ANSWER] was a pupil of David
[{'concept': 'Q502895'}, 'P802', 'Q41370']
SELECT DISTINCT ?n WHERE { ?n property:P802 resource:Q41370 . ?n rdf:type ontology:Q502895 }
Samuel
Samuel was a pupil of David
Samuel
action filter_type
action find_reverse
entity David
relation student
type common name
[{'concept': 'common name'}, 'student', 'David']
SELECT DISTINCT ?n WHERE { ?n property:student resource:David . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6577515
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q6577515)
action filter_type
action find_reverse
entity Q6577515
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6577515']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q6577515 . ?o rdf:type ontology:Q502895 }
Samuel
action filter_type
action find_reverse
entity Samuel
relation father
type common name
[{'concept': 'common name'}, 'father', 'Samuel']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Samuel . ?o rdf:type ontology:common_name }
[]
common name
Q20888416 Q3603527
SYSTEM
Joel, Abijah
Q20888416 Q3603527
(c(Q502895),P22,Q6577515)
action filter_type
action find_reverse
entity Q6577515
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q6577515']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q6577515 . ?o rdf:type ontology:Q502895 }
Joel Abijah
Joel and Abijah have that one as a parent
Joel Abijah
action filter_type
action find_reverse
entity Samuel
relation father
type common name
[{'concept': 'common name'}, 'father', 'Samuel']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Samuel . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8338
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than trumpet ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q8338 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?s > ?g ) }
trumpet
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:trumpet property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?g ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q8338 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?s > ?g ) }
piano violin organ drum kit
4
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:trumpet property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1129422
P1303
Q34379 Q502895
USER
And how about morin khuur?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q1129422 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?d } }
morin khuur
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:morin_khuur property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q1129422 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?d } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:morin_khuur property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q486972 Q83620 Q12280
USER
Which human settlements are the terminus locations of around 1 thoroughfares and bridges ?
(c(Q83620)|c(Q12280),P609,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
value 1
[[{'concept': 'Q83620'}, {'concept': 'Q12280'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?w rdf:type ?j } GROUP BY ?f } }
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'bridge'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?w rdf:type ?j } GROUP BY ?f } }
[]
human settlement thoroughfare bridge
Q3126518 Q199440 Q494504
SYSTEM
Hammarby Sjöstad, Mexicali, Bludenz
Q679219 Q1020984 Q586805 Q2361618 Q3458263 Q22086061 Q1776138 Q146436 Q7563690 Q1438770 Q6389213 Q1889583 Q1928388 Q2394499 Q1043538 Q987262 Q8039977 Q462894 Q5329043 Q12020174 Q662075 Q754345 Q2097028 Q1020993 Q3350222 Q199440 Q494504 Q590710 Q548856 Q7972623 Q7074391 Q664293 Q3458232 Q2215582 Q3458709 Q3470756 Q755281 Q3458226 Q3490765 Q6646538 Q3126518 Q582954
(c(Q83620)|c(Q12280),P609,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
value 1
[ANSWERS] are the terminus locations of around 1 thoroughfares and bridges
[[{'concept': 'Q83620'}, {'concept': 'Q12280'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?w rdf:type ?j } GROUP BY ?f } }
Schurz Dayton Edgemoor Desert Center Winterhaven Cross Village Hawthorne Waterloo Sorrento Valley Fort Thompson Oasis Blue Diamond Ramona San Lucas Carmel Valley Virginia City Wymering Point Loma East Nicolaus Horní Heršpice Rodney Village Wilmington Manor Mecca Stateline Old Town Mexicali Bludenz New Town Eureka Washoe Valley Oasis Gerasdorf bei Wien Potrero Parmelee Boulevard Alsea Rising Sun-Lebanon Descanso Věřňovice Mountain Center Hammarby Sjöstad Ocotillo
Hammarby Sjöstad, Mexicali and Bludenz are the terminus locations of around 1 thoroughfares and bridges
Hammarby Sjöstad Mexicali Bludenz
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'bridge'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?w rdf:type ?j } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q31487
P159
Q486972 Q895526 Q28640
USER
How many human settlements are the head office for less number of authority organs or professions located than Kraków ?
(c(Q895526)|c(Q28640),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q31487
relation P159
type Q895526
type Q28640
[[{'concept': 'Q895526'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:P159 ?w . ?w rdf:type ontology:Q486972 . ?h rdf:type ontology:Q895526 } UNION { ?w rdf:type ontology:Q486972 . ?h rdf:type ontology:Q28640 . ?h property:P159 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:Q895526 ) ( ontology:Q28640 ) } . ?e rdf:type ?u } . ?e property:P159 resource:Q31487 } } . FILTER ( ?q < ?m ) }
Kraków
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action count
action filter_multi_types
action find_reverse
entity Kraków
relation headquarters location
type authority organ
type profession
[[{'concept': 'authority organ'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:headquarters_location ?w . ?w rdf:type ontology:human_settlement . ?h rdf:type ontology:authority_organ } UNION { ?w rdf:type ontology:human_settlement . ?h rdf:type ontology:profession . ?h property:headquarters_location ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:authority_organ ) ( ontology:profession ) } . ?e rdf:type ?u } . ?e property:headquarters_location resource:Kraków } } . FILTER ( ?q < ?m ) }
[]
human settlement authority organ profession
SYSTEM
711
Q3936330 Q6861655 Q998938 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q7164971 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q16895628 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q984542 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q105084 Q6168404 Q16083 Q16965 Q109968 Q659984 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q1319893 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q11977 Q1183907 Q2362234 Q621847 Q4115318 Q290356 Q754567 Q1185880 Q610514 Q6960364 Q920538 Q104302 Q648142 Q1898575 Q659841 Q1182481 Q861363 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q254221 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q3090204 Q944249 Q284596 Q661502 Q574451 Q1375703 Q287771 Q980034 Q2288728 Q3043091 Q1012971 Q2331187 Q7545295 Q186160 Q2376972 Q1015874 Q2027935 Q3069421 Q2027231 Q2309447 Q261549 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 Q755255 Q3171757 Q3252118 Q235135 Q235130 Q2318365 Q3886817 Q5742161 Q16898214 Q2541735 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q105048 Q957037 Q7315195 Q960480 Q468540 Q1230410 Q602896 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q328672 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q2559367 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q1191048 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q5366070 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q1375280 Q989988 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q267874 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q636358 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2375799 Q2150258 Q4082 Q1378358 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q783854 Q173813 Q1399190 Q2625576 Q1337818 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q314660 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1075077 Q1225691 Q3477026 Q3477020 Q4025753 Q645296 Q6036351 Q2543669 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q6008135 Q130711 Q2348460 Q281527 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q56037 Q6303071 Q668224 Q6843071 Q215175 Q700211 Q3461834 Q7996274 Q1374751 Q730187 Q6859350 Q13953 Q931780 Q671259 Q755754 Q2567721 Q955820 Q11259 Q755962 Q8072422 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q701856 Q13489497 Q8969 Q486341 Q5328265 Q956022 Q1887264 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q7055628 Q696118 Q1001134 Q210205 Q30940 Q755102 Q7359443 Q427385 Q3472467 Q15022 Q3351817 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q678427 Q3937847 Q1112702 Q995267 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q2354222 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q3021334 Q5336982 Q1615365 Q1375477 Q831391 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q688830 Q3505731 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q255350 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q7991947 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2370085 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q2483008 Q47420 Q530920 Q754435 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q3820323 Q2550281 Q485294 Q8082206 Q1094630 Q125293 Q3473053 Q990179 Q1201337 Q1055692 Q3030402 Q991369 Q7056226 Q595153 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q547878 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q584451 Q106583 Q3130627 Q576617 Q232641 Q418096 Q37333 Q1665368 Q257169 Q1544785 Q308928 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q2843 Q622269 Q254861 Q1012975 Q774784 Q3347036 Q3143067 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2350905 Q2534964 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q236680 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q720644 Q14835 Q3459768 Q265071 Q599941 Q1190597 Q1190590 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q34006 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q671474 Q65388 Q2680543 Q983650 Q257130 Q755901 Q698520 Q1916566 Q729552 Q768542 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q979424 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q755615 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q2051585 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q2013767 Q41974 Q1268102 Q2785870 Q232635 Q232631
(c(Q895526)|c(Q28640),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q31487
relation P159
type Q895526
type Q28640
[ANSWER]
[[{'concept': 'Q895526'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:P159 ?w . ?w rdf:type ontology:Q486972 . ?h rdf:type ontology:Q895526 } UNION { ?w rdf:type ontology:Q486972 . ?h rdf:type ontology:Q28640 . ?h property:P159 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:Q895526 ) ( ontology:Q28640 ) } . ?e rdf:type ?u } . ?e property:P159 resource:Q31487 } } . FILTER ( ?q < ?m ) }
Ripa di Fagnano Alto Milwaukee Redstone Arsenal Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Pentagon City Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Nakasero Kowloon Tong Verdi Aguascalientes Laughlin Air Force Base Don Mills Minot Air Force Base Saasen Los Alamos Offutt Air Force Base Schwaz Paradise Babelsberg Herbede Waianae Whiteman Air Force Base Potomac Gliwice Wyano Deggendorf Marina di Carrara Columbus Circle Ternitz St. Michaels Krosno Bulford Camp Bremen-Vegesack East Meadow Deutsch-Wagram Inverness Keene Świętochłowice Gibsonton Valencia Stiepel Taman Tun Dr Ismail Francis E. Warren Air Force Base Hell's Kitchen Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Tychy Levittown Valhalla Merenberg Al Rigga San Pedro Prince Frederick Woodlyn Ferlach Nakawa Valley Ford Chorzów Rosedale Soquel Korneuburg Deer Park Christianshavn Luzira K. I. Sawyer Air Force Base Højbjerg Bassett Przemyśl Hollis McChord Field Schladming Plymouth Meeting Pikesville Shāre Naw Dziekanów Nowy Bergen op Zoom Sylmar Mountain Home Air Force Base Hebron Norton Manor Camp Sörnäinen Yarmouth Port Eisenerz Mattighofen Bad Kösen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Hung Hom Lahaina University Park, Florida Smith River Fort Irwin National Training Center Inwood Sherman Oaks McLeansville Roihupellon teollisuusalue Glen Raven Vallecito Berwyn Dundalk Lohr Hewlett Asagaya Reynosa Hauppauge Broomall, Pennsylvania Bridgeport Travemünde Yūrakuchō Valldoreix Flatiron District Ichigaya Air Force Academy West Seattle Linthicum Ariake Heathrow Allenton Suhl Grissom Air Reserve Base Hinnerup Reisterstown Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Kita-ku Robins Air Force Base Suitland Hernandez Năvodari Harrisburg Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Słupsk Gardiner Reseda Ellsworth Air Force Base Ipanema Patrick Air Force Base North Bethesda Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Tiergarten Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode Wengern Klagenfurt Newport Center Alamo Wertheim am Main Federal Hill Niwot Catonsville Mondorf Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium West Village Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Elliston Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Reston Playa del Carmen South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Civic Center Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar Kensington Freedom Loretteville, Quebec City Wysogotowo Brandon Pallanza Kentfield Sterling Marine Corps Base Quantico Vejlby Flatbush Austinburg Lee Vining Toruń Saalfelden Tyndall Air Force Base Land O' Lakes Seffner Hattingen Triangle Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Tysons Corner Akasaka Landover Fort Hood Stanford Port Washington Moody Air Force Base Woodland Hills Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Neheim-Hüsten Radstadt Opole Celebration Shimanouchi Rio Grande Heven Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Chiyoda Stockdorf Oyster Bay (hamlet), New York Carle Place Żoń Kohtla-Nõmme Innsbrook West Los Angeles Parel Joint Base McGuire–Dix–Lakehurst Arboga Spring Valley Berndorf, Lower Austria Englewood Fort Drum Bludenz Włocławek Kiln Mexicali Bethpage, New York Mead HaKirya Stieldorf Wan Chai Traun Martinsried Mission Hills Liesborn Ouagadougou East Berlin Judiciary Square Talkeetna Midtown Atlanta Kōtō-ku Steglitz Petersboro Whitestone Glen Allen Wright-Patterson Air Force Base Millers Falls Bellaterra Alzira Oberwart Greenville Clonskeagh High Ridge Times Square Elkridge Zinj, Bahrain Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Theißen Shibaura Cancún Kufstein East Earl Malmstrom Air Force Base Marine Corps Base Hawaii Sun Valley Holt Ashburn El Dorado Hills Woodbury North Hills Drewitz Hilton Head Island Pest Albert Severna Park Rogowiec, Łódź Voivodeship Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Islands Brygge Pearl City Zabrze Frankford Elbląg East Village Fort Carson Wabern bei Bern Riva Trigoso Columbine Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Crown Heights Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Deira Edendale Ootmarsum Annandale Hesborn Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Armonk Fort Lewis Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Lackland Air Force Base Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Eglin Air Force Base Zamość Dover Air Force Base Williamsburg White City Springfield MacDill Air Force Base Over-the-Rhine Villach Pöchlarn Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Wheaton Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Chicago Loop Ruoholahti Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Nixon Maser North Highlands Woodlawn Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Crystal City Clinton Township Leoben Świerże Górne Clackamas Puebla City Bedford Hills Mountain View Tsukiji Milano Due Virginia Key Fort Bragg North Omaha Shibuya Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Kearny Mesa Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Bethesda Bielsko-Biała Lithia Springs Scott Air Force Base Taitō-ku Akihabara Lublin Wernesgrün Fox Greenpoint Kreuzberg Devens Fort Washington Blue Bell Riverside Shinagawa-ku Lübeck Aptos Waikiki Kahului Winchester Chatsworth Studio City Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Westerland Dahlewitz Greenwich Village Nellis Air Force Base Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Hurlburt Field Halensee Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Oaxaca de Juárez Olsztyn East Palatka Redford Tailfingen Lawrenceville Fairchild Air Force Base Ostrołęka Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Klingenberg am Main Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Near West Side Lakewood (CDP), New Jersey Toshima-ku Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Asakusa Bautzen Ronkonkoma Roppongi Adlershof Long Island City Encino Denver Centretown Dessau Umm Al Hassam Warnemünde Ladson Fort Bliss Mellrichstadt Playa del Rey Nagatachō Melville Hollywood Cannon Air Force Base Brentwood Lichterfelde Kielce Holtsville Camp Lemonnier Leonding West Falls Church Flushing King of Prussia Newell Monterrey Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Germantown Liezen Bielany Wrocławskie Kamppi Andrews Field Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Lake Arrowhead Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Towson Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Stafford Holloman Air Force Base Clarksburg Foothill Ranch Turners Falls Nörten-Hardenberg Tyneside Horsham Marktheidenfeld Red Hook Bad Ischl Pemberton Perg Köpenick El Palmar de Troya Celaya Mitte Franeker Kasumigaseki Cedar Mill Itabashi-ku Suginami-ku
711
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action count
action filter_multi_types
action find_reverse
entity Kraków
relation headquarters location
type authority organ
type profession
[[{'concept': 'authority organ'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:headquarters_location ?w . ?w rdf:type ontology:human_settlement . ?h rdf:type ontology:authority_organ } UNION { ?w rdf:type ontology:human_settlement . ?h rdf:type ontology:profession . ?h property:headquarters_location ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:authority_organ ) ( ontology:profession ) } . ?e rdf:type ?u } . ?e property:headquarters_location resource:Kraków } } . FILTER ( ?q < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1337818
P159
Q486972 Q895526 Q28640
USER
And what about Woodland Hills?
(c(Q895526)|c(Q28640),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q1337818
relation P159
type Q895526
type Q28640
[[{'concept': 'Q895526'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?l WHERE { { ?x property:P159 ?l . ?l rdf:type ontology:Q486972 . ?x rdf:type ontology:Q895526 } UNION { ?x property:P159 ?l . ?l rdf:type ontology:Q486972 . ?x rdf:type ontology:Q28640 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P159 resource:Q1337818 . { { ?s rdf:type ontology:Q895526 } UNION { ?s rdf:type ontology:Q28640 } } } } . FILTER ( ?a < ?v ) }
Woodland Hills
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action count
action filter_multi_types
action find_reverse
entity Woodland Hills
relation headquarters location
type authority organ
type profession
[[{'concept': 'authority organ'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?l WHERE { { ?x property:headquarters_location ?l . ?l rdf:type ontology:human_settlement . ?x rdf:type ontology:authority_organ } UNION { ?x property:headquarters_location ?l . ?l rdf:type ontology:human_settlement . ?x rdf:type ontology:profession } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:headquarters_location resource:Woodland_Hills . { { ?s rdf:type ontology:authority_organ } UNION { ?s rdf:type ontology:profession } } } } . FILTER ( ?a < ?v ) }
[]
human settlement authority organ profession
SYSTEM
656
Q3936330 Q6861655 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q6168404 Q16083 Q16965 Q109968 Q659984 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q11977 Q1183907 Q2362234 Q621847 Q290356 Q754567 Q1185880 Q610514 Q6960364 Q920538 Q104302 Q648142 Q1898575 Q659841 Q1182481 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q944249 Q284596 Q661502 Q574451 Q1375703 Q287771 Q980034 Q2288728 Q3043091 Q1012971 Q7545295 Q186160 Q2376972 Q2027935 Q2027231 Q2309447 Q261549 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 Q3171757 Q3252118 Q235135 Q235130 Q2318365 Q3886817 Q5742161 Q16898214 Q2541735 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q105048 Q957037 Q7315195 Q960480 Q468540 Q1230410 Q602896 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q2559367 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q1191048 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q5366070 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q989988 Q7568037 Q110732 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q636358 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2150258 Q4082 Q1378358 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q1374864 Q1811669 Q783854 Q173813 Q1399190 Q2625576 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q532459 Q7398147 Q1020942 Q9033167 Q1388359 Q1075077 Q1225691 Q3477026 Q3477020 Q4025753 Q645296 Q6036351 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q130711 Q2348460 Q281527 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q56037 Q6303071 Q668224 Q6843071 Q700211 Q3461834 Q7996274 Q1374751 Q730187 Q6859350 Q13953 Q931780 Q671259 Q755754 Q2567721 Q955820 Q11259 Q755962 Q8072422 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q701856 Q13489497 Q8969 Q486341 Q5328265 Q956022 Q1887264 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q696118 Q1001134 Q210205 Q30940 Q755102 Q7359443 Q427385 Q3472467 Q15022 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q3937847 Q1112702 Q995267 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q2354222 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q5336982 Q1615365 Q1375477 Q831391 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q688830 Q3505731 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q255350 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q7991947 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2274785 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q2483008 Q47420 Q530920 Q754434 Q1843074 Q7415183 Q61302 Q104740 Q2550281 Q485294 Q8082206 Q1094630 Q125293 Q3473053 Q990179 Q1201337 Q1055692 Q991369 Q7056226 Q595153 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q3130627 Q576617 Q232641 Q37333 Q1665368 Q257169 Q1544785 Q308928 Q5266877 Q1133576 Q885631 Q614798 Q2843 Q622269 Q254861 Q1012975 Q774784 Q3347036 Q3143067 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2350905 Q2534964 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q14835 Q3459768 Q265071 Q599941 Q1190597 Q1190590 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q34006 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q671474 Q65388 Q2680543 Q983650 Q257130 Q755901 Q698520 Q1916566 Q768542 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q2051585 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q2013767 Q41974 Q2785870
(c(Q895526)|c(Q28640),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q1337818
relation P159
type Q895526
type Q28640
[ANSWER]
[[{'concept': 'Q895526'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?l WHERE { { ?x property:P159 ?l . ?l rdf:type ontology:Q486972 . ?x rdf:type ontology:Q895526 } UNION { ?x property:P159 ?l . ?l rdf:type ontology:Q486972 . ?x rdf:type ontology:Q28640 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P159 resource:Q1337818 . { { ?s rdf:type ontology:Q895526 } UNION { ?s rdf:type ontology:Q28640 } } } } . FILTER ( ?a < ?v ) }
Ripa di Fagnano Alto Milwaukee Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Kowloon Tong Verdi Aguascalientes Laughlin Air Force Base Don Mills Minot Air Force Base Saasen Los Alamos Offutt Air Force Base Schwaz Babelsberg Herbede Waianae Whiteman Air Force Base Potomac Wyano Deggendorf Marina di Carrara Columbus Circle Ternitz St. Michaels Krosno Bulford Camp Bremen-Vegesack East Meadow Deutsch-Wagram Inverness Keene Świętochłowice Gibsonton Stiepel Taman Tun Dr Ismail Francis E. Warren Air Force Base Hell's Kitchen Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Tychy Levittown Valhalla Merenberg San Pedro Prince Frederick Woodlyn Ferlach Nakawa Valley Ford Chorzów Rosedale Soquel Korneuburg Deer Park Luzira K. I. Sawyer Air Force Base Højbjerg Bassett Przemyśl Hollis McChord Field Plymouth Meeting Pikesville Shāre Naw Dziekanów Nowy Bergen op Zoom Sylmar Mountain Home Air Force Base Hebron Norton Manor Camp Yarmouth Port Eisenerz Mattighofen Bad Kösen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Hung Hom Lahaina Smith River Fort Irwin National Training Center Inwood McLeansville Glen Raven Vallecito Berwyn Dundalk Lohr Hewlett Asagaya Reynosa Hauppauge Broomall, Pennsylvania Bridgeport Travemünde Yūrakuchō Valldoreix Flatiron District Ichigaya Air Force Academy West Seattle Linthicum Ariake Heathrow Allenton Suhl Grissom Air Reserve Base Hinnerup Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Kita-ku Robins Air Force Base Suitland Hernandez Năvodari Harrisburg Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Słupsk Gardiner Reseda Ellsworth Air Force Base Ipanema Patrick Air Force Base North Bethesda Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode Wengern Klagenfurt Newport Center Alamo Wertheim am Main Federal Hill Niwot Catonsville Mondorf Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten West Village Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Elliston Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Playa del Carmen South Norwalk Wałbrzych Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar Kensington Freedom Loretteville, Quebec City Wysogotowo Brandon Pallanza Kentfield Sterling Marine Corps Base Quantico Vejlby Flatbush Austinburg Lee Vining Toruń Saalfelden Tyndall Air Force Base Seffner Hattingen Triangle Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Tysons Corner Landover Fort Hood Stanford Port Washington Moody Air Force Base Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Radstadt Opole Celebration Shimanouchi Rio Grande Heven Kailua Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Chiyoda Stockdorf Oyster Bay (hamlet), New York Carle Place Żoń Kohtla-Nõmme Innsbrook Parel Joint Base McGuire–Dix–Lakehurst Arboga Spring Valley Berndorf, Lower Austria Englewood Fort Drum Bludenz Włocławek Kiln Mexicali Bethpage, New York HaKirya Stieldorf Wan Chai Traun Martinsried Mission Hills Liesborn Ouagadougou East Berlin Judiciary Square Talkeetna Midtown Atlanta Steglitz Petersboro Whitestone Glen Allen Wright-Patterson Air Force Base Millers Falls Bellaterra Alzira Oberwart Greenville Clonskeagh High Ridge Times Square Elkridge Zinj, Bahrain Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Theißen Shibaura Cancún Kufstein East Earl Malmstrom Air Force Base Marine Corps Base Hawaii Sun Valley Holt Ashburn El Dorado Hills Woodbury Drewitz Hilton Head Island Pest Albert Severna Park Rogowiec, Łódź Voivodeship Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Pearl City Zabrze Frankford Elbląg East Village Fort Carson Riva Trigoso Columbine Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Crown Heights Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Edendale Ootmarsum Annandale Hesborn Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Armonk Fort Lewis Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Lackland Air Force Base Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Eglin Air Force Base Zamość Dover Air Force Base Williamsburg White City Springfield MacDill Air Force Base Over-the-Rhine Villach Pöchlarn Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Wheaton Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Chicago Loop Gold Canyon Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Nixon Maser North Highlands Olney Wimauma San Po Kong Chihuahua Radom Clinton Township Leoben Świerże Górne Clackamas Puebla City Bedford Hills Mountain View Tsukiji Milano Due Fort Bragg North Omaha Shibuya Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Lithia Springs Scott Air Force Base Taitō-ku Lublin Wernesgrün Fox Greenpoint Kreuzberg Devens Fort Washington Blue Bell Riverside Lübeck Aptos Waikiki Kahului Winchester Chatsworth Studio City Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Westerland Dahlewitz Greenwich Village Nellis Air Force Base Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Hurlburt Field Halensee Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Oaxaca de Juárez Olsztyn East Palatka Redford Tailfingen Lawrenceville Fairchild Air Force Base Ostrołęka Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Northridge Klingenberg am Main Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Near West Side Lakewood (CDP), New Jersey Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Bautzen Ronkonkoma Roppongi Adlershof Long Island City Encino Denver Centretown Dessau Umm Al Hassam Warnemünde Ladson Fort Bliss Mellrichstadt Playa del Rey Nagatachō Melville Hollywood Cannon Air Force Base Brentwood Lichterfelde Kielce Holtsville Camp Lemonnier Leonding West Falls Church Flushing King of Prussia Newell Monterrey Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Germantown Liezen Bielany Wrocławskie Andrews Field Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Stafford Holloman Air Force Base Clarksburg Foothill Ranch Turners Falls Nörten-Hardenberg Tyneside Horsham Marktheidenfeld Red Hook Bad Ischl Pemberton Perg Köpenick El Palmar de Troya Celaya Mitte Franeker Cedar Mill
656
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action count
action filter_multi_types
action find_reverse
entity Woodland Hills
relation headquarters location
type authority organ
type profession
[[{'concept': 'authority organ'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?l WHERE { { ?x property:headquarters_location ?l . ?l rdf:type ontology:human_settlement . ?x rdf:type ontology:authority_organ } UNION { ?x property:headquarters_location ?l . ?l rdf:type ontology:human_settlement . ?x rdf:type ontology:profession } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:headquarters_location resource:Woodland_Hills . { { ?s rdf:type ontology:authority_organ } UNION { ?s rdf:type ontology:profession } } } } . FILTER ( ?a < ?v ) }
[]