Simple Question (Direct)
Simple Question
Q2936160
P136
Q151885
USER
What can be considered as category for Canardo ?
(Q2936160,P136,c(Q151885))
action filter_type
action find
entity Q2936160
relation P136
type Q151885
['Q2936160', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q151885 . resource:Q2936160 property:P136 ?q }
Canardo
action filter_type
action find
entity Canardo
relation genre
type concept
['Canardo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:concept . resource:Canardo property:genre ?q }
[]
concept
Q138020
SYSTEM
French hip hop
Q138020
(Q2936160,P136,c(Q151885))
action filter_type
action find
entity Q2936160
relation P136
type Q151885
[ANSWER] can be considered as category for Canardo
['Q2936160', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q151885 . resource:Q2936160 property:P136 ?q }
French hip hop
French hip hop can be considered as category for Canardo
French hip hop
action filter_type
action find
entity Canardo
relation genre
type concept
['Canardo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:concept . resource:Canardo property:genre ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2936160 Q2828078
P19
Q20667921
USER
How many french administrative divisions were Canardo or Aimé Merlo born at ?
(Q2936160,P19,c(Q20667921)) (Q2828078,P19,c(Q20667921))
action count
action union
action filter_type
action find
entity Q2936160
relation P19
type Q20667921
action filter_type
action find
entity Q2828078
relation P19
type Q20667921
['Q2936160', 'P19', {'concept': 'Q20667921'}] ['Q2828078', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { ?l rdf:type ontology:Q20667921 . resource:Q2936160 property:P19 ?l } UNION { resource:Q2828078 property:P19 ?l . ?l rdf:type ontology:Q20667921 } }
Canardo Aimé Merlo
action count
action union
action filter_type
action find
entity Canardo
relation place of birth
type type of french administrative division
action filter_type
action find
entity Aimé Merlo
relation place of birth
type type of french administrative division
['Canardo', 'place of birth', {'concept': 'type of french administrative division'}] ['Aimé Merlo', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { ?l rdf:type ontology:type_of_french_administrative_division . resource:Canardo property:place_of_birth ?l } UNION { resource:Aimé_Merlo property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
SYSTEM
2
Q363266 Q249884
(Q2936160,P19,c(Q20667921)) (Q2828078,P19,c(Q20667921))
action count
action union
action filter_type
action find
entity Q2936160
relation P19
type Q20667921
action filter_type
action find
entity Q2828078
relation P19
type Q20667921
[ANSWER]
['Q2936160', 'P19', {'concept': 'Q20667921'}] ['Q2828078', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { ?l rdf:type ontology:Q20667921 . resource:Q2936160 property:P19 ?l } UNION { resource:Q2828078 property:P19 ?l . ?l rdf:type ontology:Q20667921 } }
Trappes Saint-Pierre
2
action count
action union
action filter_type
action find
entity Canardo
relation place of birth
type type of french administrative division
action filter_type
action find
entity Aimé Merlo
relation place of birth
type type of french administrative division
['Canardo', 'place of birth', {'concept': 'type of french administrative division'}] ['Aimé Merlo', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { ?l rdf:type ontology:type_of_french_administrative_division . resource:Canardo property:place_of_birth ?l } UNION { resource:Aimé_Merlo property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2936160
P7
Q502895
USER
Which person is the brother of Canardo ?
(Q2936160,P7,c(Q502895))
action filter_type
action find
entity Q2936160
relation P7
type Q502895
['Q2936160', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2936160 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Canardo
action filter_type
action find
entity Canardo
relation brother
type common name
['Canardo', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Canardo property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q284995
SYSTEM
La Fouine
Q284995
(Q2936160,P7,c(Q502895))
action filter_type
action find
entity Q2936160
relation P7
type Q502895
[ANSWER] is the brother of Canardo
['Q2936160', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2936160 property:P7 ?i . ?i rdf:type ontology:Q502895 }
La Fouine
La Fouine is the brother of Canardo
La Fouine
action filter_type
action find
entity Canardo
relation brother
type common name
['Canardo', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Canardo property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q158140
Q502895
USER
And also tell me about Princess Beatrice of the United Kingdom?
(Q158140,P7,c(Q502895))
action filter_type
action find
entity Q158140
relation P7
type Q502895
['Q158140', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q158140 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Princess Beatrice of the United Kingdom
action filter_type
action find
entity Princess Beatrice of the United Kingdom
relation brother
type common name
['Princess Beatrice of the United Kingdom', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Princess_Beatrice_of_the_United_Kingdom property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q20875 Q160558 Q158143
SYSTEM
Edward VII, Prince Arthur, Duke of Connaught and Strathearn, Alfred, Duke of Saxe-Coburg and Gotha
Q160558 Q158143 Q20875 Q160541
(Q158140,P7,c(Q502895))
action filter_type
action find
entity Q158140
relation P7
type Q502895
[ANSWERS]
['Q158140', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q158140 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Prince Arthur, Duke of Connaught and Strathearn Alfred, Duke of Saxe-Coburg and Gotha Edward VII Prince Leopold, Duke of Albany
Edward VII Prince Arthur, Duke of Connaught and Strathearn Alfred, Duke of Saxe-Coburg and Gotha
action filter_type
action find
entity Princess Beatrice of the United Kingdom
relation brother
type common name
['Princess Beatrice of the United Kingdom', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Princess_Beatrice_of_the_United_Kingdom property:brother ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q151885 Q1792379 Q340169
USER
Which concepts are expressed in min number of art genres or medias ?
(c(Q1792379)|c(Q340169),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q340169
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?z = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?z ) WHERE { { ?n rdf:type ontology:Q151885 . ?g rdf:type ontology:Q1792379 . ?g property:P180 ?n } UNION { ?g property:P180 ?n . ?n rdf:type ontology:Q151885 . ?g rdf:type ontology:Q340169 } } GROUP BY ?n } . { SELECT DISTINCT ( MIN ( ?u ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P180 ?j . ?j rdf:type ontology:Q151885 . ?f rdf:type ontology:Q1792379 } UNION { ?f property:P180 ?j . ?j rdf:type ontology:Q151885 . ?f rdf:type ontology:Q340169 } } GROUP BY ?j } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?z = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?z ) WHERE { { ?n rdf:type ontology:concept . ?g rdf:type ontology:art_genre . ?g property:depicts ?n } UNION { ?g property:depicts ?n . ?n rdf:type ontology:concept . ?g rdf:type ontology:media } } GROUP BY ?n } . { SELECT DISTINCT ( MIN ( ?u ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:depicts ?j . ?j rdf:type ontology:concept . ?f rdf:type ontology:art_genre } UNION { ?f property:depicts ?j . ?j rdf:type ontology:concept . ?f rdf:type ontology:media } } GROUP BY ?j } } }
[]
concept art genre media
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q213449 Q877674 Q203872 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q1792379)|c(Q340169),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q340169
[ANSWERS] are expressed in min number of art genres or medias
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?z = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?z ) WHERE { { ?n rdf:type ontology:Q151885 . ?g rdf:type ontology:Q1792379 . ?g property:P180 ?n } UNION { ?g property:P180 ?n . ?n rdf:type ontology:Q151885 . ?g rdf:type ontology:Q340169 } } GROUP BY ?n } . { SELECT DISTINCT ( MIN ( ?u ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P180 ?j . ?j rdf:type ontology:Q151885 . ?f rdf:type ontology:Q1792379 } UNION { ?f property:P180 ?j . ?j rdf:type ontology:Q151885 . ?f rdf:type ontology:Q340169 } } GROUP BY ?j } } }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music eating touch being pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are expressed in min number of art genres or medias
philosopher murderer fortune-teller
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?z = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?z ) WHERE { { ?n rdf:type ontology:concept . ?g rdf:type ontology:art_genre . ?g property:depicts ?n } UNION { ?g property:depicts ?n . ?n rdf:type ontology:concept . ?g rdf:type ontology:media } } GROUP BY ?n } . { SELECT DISTINCT ( MIN ( ?u ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:depicts ?j . ?j rdf:type ontology:concept . ?f rdf:type ontology:art_genre } UNION { ?f property:depicts ?j . ?j rdf:type ontology:concept . ?f rdf:type ontology:media } } GROUP BY ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20010736
P27
Q15617994
USER
Which administrative territory is the native country of Kim Seon-il ?
(Q20010736,P27,c(Q15617994))
action filter_type
action find
entity Q20010736
relation P27
type Q15617994
['Q20010736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20010736 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Kim Seon-il
action filter_type
action find
entity Kim Seon-il
relation country of citizenship
type designation for an administrative territorial entity
['Kim Seon-il', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kim_Seon-il property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q20010736,P27,c(Q15617994))
action filter_type
action find
entity Q20010736
relation P27
type Q15617994
[ANSWER] is the native country of Kim Seon-il
['Q20010736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20010736 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
South Korea
South Korea is the native country of Kim Seon-il
South Korea
action filter_type
action find
entity Kim Seon-il
relation country of citizenship
type designation for an administrative territorial entity
['Kim Seon-il', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kim_Seon-il property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1973493
Q15617994
USER
And what about Bernard Dijkhuizen?
(Q1973493,P27,c(Q15617994))
action filter_type
action find
entity Q1973493
relation P27
type Q15617994
['Q1973493', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1973493 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Bernard Dijkhuizen
action filter_type
action find
entity Bernard Dijkhuizen
relation country of citizenship
type designation for an administrative territorial entity
['Bernard Dijkhuizen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bernard_Dijkhuizen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q1973493,P27,c(Q15617994))
action filter_type
action find
entity Q1973493
relation P27
type Q15617994
[ANSWER]
['Q1973493', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1973493 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Bernard Dijkhuizen
relation country of citizenship
type designation for an administrative territorial entity
['Bernard Dijkhuizen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bernard_Dijkhuizen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q151885 Q502895 Q838948
USER
How many concepts are the genre of exactly 12 people and works of art ?
(c(Q502895)|c(Q838948),P136,c(Q151885))
action count
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
value 12
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { FILTER ( ?w = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?p rdf:type ?c } GROUP BY ?e } }
action count
action equal
action union
action find_reverse_tuple_counts
relation genre
type concept
type common name
action find_reverse_tuple_counts
relation genre
type concept
type work of art
value 12
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { FILTER ( ?w = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?p rdf:type ?c } GROUP BY ?e } }
[]
concept common name work of art
SYSTEM
8
Q775614 Q1076539 Q2956468 Q835891 Q1606591 Q641357 Q655514 Q1929352
(c(Q502895)|c(Q838948),P136,c(Q151885))
action count
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
value 12
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { FILTER ( ?w = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?p rdf:type ?c } GROUP BY ?e } }
neofolk choro Chaoui music funk rock reggae fusion avant-garde metal freestyle music roots rock
8
action count
action equal
action union
action find_reverse_tuple_counts
relation genre
type concept
type common name
action find_reverse_tuple_counts
relation genre
type concept
type work of art
value 12
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { FILTER ( ?w = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?p rdf:type ?c } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q884
P17
Q14524493 Q640506
USER
How many terrains and cabinets are located in South Korea ?
(c(Q14524493),P17,Q884) (c(Q640506),P17,Q884)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q884
relation P17
type Q640506
[{'concept': 'Q14524493'}, 'P17', 'Q884'] [{'concept': 'Q640506'}, 'P17', 'Q884']
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:P17 resource:Q884 . ?h rdf:type ontology:Q14524493 } UNION { ?h property:P17 resource:Q884 . ?h rdf:type ontology:Q640506 } }
South Korea
action count
action union
action filter_type
action find_reverse
entity South Korea
relation country
type terrain
action filter_type
action find_reverse
entity South Korea
relation country
type cabinet
[{'concept': 'terrain'}, 'country', 'South Korea'] [{'concept': 'cabinet'}, 'country', 'South Korea']
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:country resource:South_Korea . ?h rdf:type ontology:terrain } UNION { ?h property:country resource:South_Korea . ?h rdf:type ontology:cabinet } }
[]
terrain cabinet
SYSTEM
375 terrains and 23 cabinets
Q3727424 Q5623230 Q491669 Q624636 Q6168774 Q7451509 Q7971260 Q494645 Q625808 Q8030426 Q482709 Q5098922 Q4673558 Q5554863 Q5004047 Q4944275 Q7674752 Q7674755 Q7451592 Q7451593 Q6729140 Q8533879 Q5097625 Q6936961 Q5584366 Q5097621 Q5381856 Q5623228 Q5614526 Q5097628 Q5097629 Q8528363 Q4998105 Q7127024 Q7127025 Q5091656 Q8048563 Q7633923 Q8047211 Q8533740 Q7882970 Q8533668 Q8533747 Q626912 Q483420 Q6940578 Q6886370 Q4858155 Q5951992 Q5581739 Q6017776 Q7047506 Q626029 Q626681 Q4841277 Q11233063 Q4702022 Q8527972 Q276612 Q6737665 Q5517666 Q5623297 Q5623293 Q6154111 Q625097 Q8052477 Q8017617 Q5098908 Q15619524 Q482720 Q5624053 Q6215525 Q5316834 Q625942 Q6304818 Q4770501 Q6214838 Q5409711 Q482644 Q11232933 Q626674 Q483273 Q5091685 Q695153 Q4941846 Q6001363 Q6003181 Q6894518 Q7967843 Q5317235 Q5535534 Q6312709 Q483528 Q8533758 Q5623682 Q8533486 Q624313 Q6154030 Q5288701 Q6121735 Q6871251 Q623938 Q7206163 Q6873183 Q5618832 Q6154017 Q6305114 Q496427 Q5521102 Q6122951 Q5516207 Q6961681 Q626966 Q5586996 Q8533659 Q624003 Q4746794 Q5314865 Q482905 Q4875397 Q8533837 Q6739772 Q5521779 Q4064395 Q6279085 Q626018 Q6958140 Q4941866 Q6003283 Q7409140 Q5091599 Q5526373 Q5295808 Q8052421 Q7451579 Q6958069 Q5535453 Q5116393 Q5523374 Q5091668 Q5091669 Q5004042 Q5409714 Q5409716 Q5291396 Q6935783 Q5618767 Q623665 Q4841252 Q5558661 Q5558662 Q4841256 Q7650599 Q6751946 Q7082647 Q4996389 Q5955750 Q8533645 Q5208145 Q5208144 Q5259968 Q7896931 Q4996147 Q6873177 Q5259964 Q11233101 Q6931712 Q5097623 Q7418023 Q5576107 Q4858427 Q5288524 Q5952045 Q7897127 Q4938787 Q7897128 Q11232850 Q5095160 Q5221400 Q6305571 Q6305266 Q7417973 Q8533682 Q8055033 Q5091636 Q7633694 Q8051029 Q5678808 Q6180125 Q625589 Q8533928 Q6154108 Q7417995 Q8029714 Q6747186 Q5554852 Q5091652 Q4841237 Q4841236 Q4841235 Q4841234 Q4841233 Q4841231 Q7877368 Q8528279 Q5701198 Q5118414 Q7451618 Q5565075 Q11626082 Q5296016 Q7451711 Q5516734 Q8528375 Q5614456 Q5297499 Q483204 Q6203068 Q8533914 Q4997120 Q6947377 Q8052459 Q8052458 Q624046 Q5259973 Q8533818 Q4873778 Q8533811 Q489229 Q7409072 Q8055011 Q5554880 Q7233020 Q7521890 Q4982313 Q4907043 Q5586434 Q5517673 Q6729234 Q11232895 Q494652 Q5554878 Q7417889 Q5951856 Q5208296 Q6154077 Q5554877 Q6160232 Q5004052 Q5624043 Q7451588 Q5623330 Q624031 Q488980 Q6172542 Q5299296 Q625254 Q6313005 Q5748190 Q8528356 Q624717 Q482712 Q5998743 Q8052473 Q6749200 Q8052475 Q4018123 Q8052476 Q7821133 Q5951990 Q626142 Q7409074 Q7884527 Q5208183 Q6959107 Q5624041 Q5528708 Q5528709 Q5517616 Q5208179 Q5299298 Q5517618 Q5208171 Q626275 Q6749866 Q5208277 Q624407 Q6864000 Q6201992 Q5208279 Q7408508 Q7418983 Q8052480 Q18444140 Q626975 Q5952091 Q7075286 Q7075287 Q8533826 Q7525045 Q7075282 Q7075283 Q5575599 Q5622008 Q5091603 Q5091606 Q8533986 Q7525048 Q8039052 Q4986283 Q5521940 Q5519553 Q7451545 Q7410336 Q5091670 Q6319107 Q7409600 Q5535460 Q5221041 Q7635519 Q7410339 Q8533910 Q624473 Q7075279 Q8054985 Q6749143 Q626077 Q4857348 Q5578060 Q8533780 Q7554577 Q4917297 Q7967903 Q626656 Q4938762 Q7646270 Q7127477 Q7418130 Q5259971 Q626151 Q626956 Q7409071 Q484448 Q8533664 Q5219926 Q562938 Q4938274 Q8032062 Q7106489 Q5617111 Q4946873 Q5091596 Q491028 Q4855183 Q488764 Q626000 Q7047795 Q8533635 Q8527930 Q7451564 Q7451568 Q16444444 Q5523363 Q8528329 Q4855514 Q5519541 Q5618773 Q8533937 Q8533932 Q4849041 Q624457 Q7563195 Q4841225 Q10856095 Q4841223 Q7451607 Q5554882 Q8034125 Q7451602 Q7075277 Q7075276 Q5091679 Q7075274 Q482878 Q5614460 Q5554859 Q5091675 Q7075278 Q8528702 Q7525047 Q624057 Q5952055 Q5518525 Q8533764 Q626648 Q5620596 Q7127485 Q4841230
(c(Q14524493),P17,Q884) (c(Q640506),P17,Q884)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q884
relation P17
type Q640506
[ANSWER]
[{'concept': 'Q14524493'}, 'P17', 'Q884'] [{'concept': 'Q640506'}, 'P17', 'Q884']
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:P17 resource:Q884 . ?h rdf:type ontology:Q14524493 } UNION { ?h property:P17 resource:Q884 . ?h rdf:type ontology:Q640506 } }
Hambaeksan Gwaegwansan Tohamsan Cheonhwangsan Jeamsan Seodaesan Waryongsan Hallasan Baegunsan Wolseongbong Woraksan Chilhyeonsan Achasan Geumosan Byeolyusan Boraebong Taehwasan Taehwasan (Chungcheongbuk-do/Gangwon-do) Seongjisan Seonginbong Maehwasan Bonghwangsan (North Gyeongsang) Chilbosan Munsusan Goraesan Chilbongsan Eoraesan Gwaebangsan Gudambong Chilbosan Chilbosan Myeongjisan Buramsan Palbongsan Palbongsan Cheongoksan (Donghae/Samcheok) Yanggaksan Sudosan Yaksusan Jeoksangsan Undalsan Minjujisan Manhaengsan Bangtaesan Korean Intellectual Property Office Museongsan Moaksan Baraebong Hwangcheolbong Gongdeoksan Indeungsan Nogodan Ungilsan Ganwolsan Baengnyeonsan Public Procurement Service Akhwibong Goheonsan Ministry of Unification Majeoksan Gakhosan Gwanggyosan Gwangdeoksan Jangseongbong Ministry of Oceans and Fisheries Yeonseoksan Eungbongsan Chilgapsan Saemangeum Development Agency Songnisan Gyeonggaksan Johangsan Duryunsan Inwangsan Jugeumsan Ansan Jogyesan Eungboksan Seoraksan Defense Acquisition Program Administration Yumyeongsan Korea Forest Service Cheonseongsan Gaeinsan Bongdaesan Ilwolsan Imamsan Mohusansan Wangdusan Dutasan Geommasan Jungdaebong Byeonsan Muryongsan Gwittaegibong Seogiamsan Palgongsan Janggunbawisan Dojangsan Jaeyaksan Minyeobong Soyosan Poamsan Mireuksan Gunjasan Jangansan Juheulsan Gyeryongsan Gangcheonsan Jagulsan Gachilbong Namgunjasan Gongjaksan Goryeosan Mangdeokbong Manisan Amisan Dundeoksan Ministry of Food and Drug Safety Bborubong Palyeongsan Makjangbong Gapjangsan Amisan Joryeongsan Gadeoksan Naeyeonsan Bonghwasan Imanbong Samdobong Cheondeungsan Gasan Dongaksan Yeohangsan Seongaksan Naebyeonsan Geomangsan Chungnyungsan Gariwangsan Cheongwansan Cheongusan Byeokbangsan Eungbongsan (Gangwon/North Gyeongsang) Eungbongsan Domyeongsan Mundeokbong Gungmangbong Gyebangsan Baekdeoksan Gibaeksan Gibaeksan Baekhwasan Suwolsan Mansusan Oksunbong Bulgisan Hyeongjebong Jakseongsan Daebawisan Daeamsan Deokhangsan Unjangsan Bulgapsan Mireuksan Deokgasan National Statistical Office Mudeungsan Chilbongsan Sangjeongbawisan Godaesan Barangsan Dogyongsan Hwangmaesan Unmusan Bokjusan Unmunsan Korea Customs Service Chiaksan Danwolbong Jukyeopsan Jujaksan Sanghaebong Suribong (Jecheon/Chungju, Chungcheongbuk-do) Yongmunsan Cheonggyesan (Gwacheon/Seongnam) Sudeoksan Yebongsan Haseolsan Jeombongsan Sobaeksan Noeumsan Jangsan Sanghwangbong Wolbongsan Manbokdae Geumjeonsan Cheongnyangsan Baegusan Baegunsan Baegunsan (North Chungcheong/Gangwon) Baegunsan Baegunsan (Gangwon/Gyeonggi) Baegunsan Udusan Gwaneumsan Heiyangsan Chuwolsan Seonunsan Gitdaebong Multifunctional Administrative City Construction Agency Dongsan Seounsan Gaeunsan Unaksan Gubongsan Doraksan Jirisan Jirisan Hwangjangsan Bulmosan Myeongseongsan Yeongchwisan Yeongchuksan Ministry of Government Legislation Deoksungsan Jeokjasan Bawisan Illimsan Namsan Sambongsan Yonghwasan Geumsusan Poseongbong Sinbulsan Bubong Bigyesan Goribong Gakhwasan Maenghyeonbong Rural Development Administration Bukhansan Geumosan Sangbongsan Hwamaesan Daeyasan Jangmisan Geumosan Jarimangsan Byeongpungsan Gyejoksan Seongjesan Gwannyongsan Supreme Prosecutors' Office of the Republic of Korea Ministry of Patriots' and Veterans' Affairs Jebibong Dosolbong Taebaeksan Jungwonsan Heukseoksan Jongjasan (Gyeonggi) National Tax Service of South Korea Korea Meteorological Administration Illaksan Yeongsinbong Mangyeongdaesan Yeonhwasan Wangbangsan Yeoninsan Tongosan Hwangaksan Eobisan Sambongsan Ungseokbong Daegeumsan Nagyeongsan Gyebangsan Gayasan Gayasan Gajisan Daedunsan Dosolbong Gajisan Daedeoksan Gwanaksan Manisan Daeseongsan Small and Medium Business Administration Mindungsan Jinaksan Daeseongsan Samaksan Sanseongsan Yeonyeopsan Ministry of Personnel Management Hwaaksan Hwawangsan Obongsan Obongsan (Hwacheon/Chuncheon) Mandeoksan (South Jeolla) Sinseonbong Obongsan Obongsan Gobulsan Guwangbong Cheondeungsan Cheondeungsan Hogusan Sinseonbong Wudusan Bugwisan Garasan Gamaksan Seolheulsan Samseongsan (Gyeonggi/Seoul) Cheonjibong Juwangsan Samjeongsan Geomdansan Danseoksan Suinsan Samsinbong Hwanghaksan Muhaksan Obongsan Yongbongsan Mangsan Garisan Banyabong Gokdalsan Baegamsan (Jeolla) Sogyebangsan Biseulsan Wangsirubong Cheontaesan Bokgyesan Suribong Palgaksan Sangsan Deoktaesan Suraksan Baekseoksan Sambongsan Namsan Mansubong Danjibong Maisan Bohyeonsan Wonhyosan Oseosan Guksabong Boryeonsan Cheonbosan Odaesan Bangjangsan Cultural Heritage Administration Dobongsan Nojasan Hwangjeongsan Yongmabong Seonbawisan Seondalsan Ministry of Public Safety and Security Garisan Hwayasan Bangmunsan Gamabong Gungmangbong Obongsan (Gyeongju) Noejeongsan Bakdalsan Military Manpower Administration Soppulsan Baegamsan Namhansan Baegambong Seongsusan Geumwonsan Worasan Seongnyongsan Obongsan Obongsan Cheonmasan Obongsan National Police Agency of South Korea Gubyeongsan Geumjusan Cheonjusan Obongsan Oeumsan Sinseonbong Gwangdeoksan Hwangseoksan Galgisan Namdeogyusan Naejangsan Guryongsan Palgongsan Baegamsan
375 terrains and 23 cabinets
action count
action union
action filter_type
action find_reverse
entity South Korea
relation country
type terrain
action filter_type
action find_reverse
entity South Korea
relation country
type cabinet
[{'concept': 'terrain'}, 'country', 'South Korea'] [{'concept': 'cabinet'}, 'country', 'South Korea']
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { ?h property:country resource:South_Korea . ?h rdf:type ontology:terrain } UNION { ?h property:country resource:South_Korea . ?h rdf:type ontology:cabinet } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q884 Q7313
P840
Q15416
USER
How many television programs have their narrative set in South Korea or Yuan dynasty ?
(c(Q15416),P840,Q884) (c(Q15416),P840,Q7313)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P840
type Q15416
action filter_type
action find_reverse
entity Q7313
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q884'] [{'concept': 'Q15416'}, 'P840', 'Q7313']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ontology:Q15416 . ?i property:P840 resource:Q884 } UNION { ?i property:P840 resource:Q7313 . ?i rdf:type ontology:Q15416 } }
South Korea Yuan dynasty
action count
action union
action filter_type
action find_reverse
entity South Korea
relation narrative location
type television program
action filter_type
action find_reverse
entity Yuan dynasty
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'South Korea'] [{'concept': 'television program'}, 'narrative location', 'Yuan dynasty']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ontology:television_program . ?i property:narrative_location resource:South_Korea } UNION { ?i property:narrative_location resource:Yuan_dynasty . ?i rdf:type ontology:television_program } }
[]
television program
SYSTEM
3
Q6853222 Q13409848 Q487398
(c(Q15416),P840,Q884) (c(Q15416),P840,Q7313)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P840
type Q15416
action filter_type
action find_reverse
entity Q7313
relation P840
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P840', 'Q884'] [{'concept': 'Q15416'}, 'P840', 'Q7313']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ontology:Q15416 . ?i property:P840 resource:Q884 } UNION { ?i property:P840 resource:Q7313 . ?i rdf:type ontology:Q15416 } }
Mr. Good-Bye The Heirs Flower Boy Ramen Shop
3
action count
action union
action filter_type
action find_reverse
entity South Korea
relation narrative location
type television program
action filter_type
action find_reverse
entity Yuan dynasty
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'South Korea'] [{'concept': 'television program'}, 'narrative location', 'Yuan dynasty']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ontology:television_program . ?i property:narrative_location resource:South_Korea } UNION { ?i property:narrative_location resource:Yuan_dynasty . ?i rdf:type ontology:television_program } }
[]