Simple Question (Direct)
Simple Question
Q33619
P22
Q502895
USER
Who was the dad of Jan Stanisław Sapieha ?
(Q33619,P22,c(Q502895))
action filter_type
action find
entity Q33619
relation P22
type Q502895
['Q33619', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q33619 property:P22 ?x }
Jan Stanisław Sapieha
action filter_type
action find
entity Jan Stanisław Sapieha
relation father
type common name
['Jan Stanisław Sapieha', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Jan_Stanisław_Sapieha property:father ?x }
[]
common name
Q727122
SYSTEM
Lew Sapieha
Q727122
(Q33619,P22,c(Q502895))
action filter_type
action find
entity Q33619
relation P22
type Q502895
The dad of Jan Stanisław Sapieha was named [ANSWER]
['Q33619', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q33619 property:P22 ?x }
Lew Sapieha
The dad of Jan Stanisław Sapieha was named Lew Sapieha
Lew Sapieha
action filter_type
action find
entity Jan Stanisław Sapieha
relation father
type common name
['Jan Stanisław Sapieha', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Jan_Stanisław_Sapieha property:father ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33619
P20
Q56061
USER
Where did the demise of Jan Stanisław Sapieha occur ?
(Q33619,P20,c(Q56061))
action filter_type
action find
entity Q33619
relation P20
type Q56061
['Q33619', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q33619 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Jan Stanisław Sapieha
action filter_type
action find
entity Jan Stanisław Sapieha
relation place of death
type administrative territorial entity
['Jan Stanisław Sapieha', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jan_Stanisław_Sapieha property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956607
SYSTEM
Lyakhavichy
Q956607
(Q33619,P20,c(Q56061))
action filter_type
action find
entity Q33619
relation P20
type Q56061
The demise of Jan Stanisław Sapieha occurred the [ANSWER]
['Q33619', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q33619 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Lyakhavichy
The demise of Jan Stanisław Sapieha occurred the Lyakhavichy
Lyakhavichy
action filter_type
action find
entity Jan Stanisław Sapieha
relation place of death
type administrative territorial entity
['Jan Stanisław Sapieha', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jan_Stanisław_Sapieha property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q956607
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q956607,P17,c(Q15617994))
action filter_type
action find
entity Q956607
relation P17
type Q15617994
['Q956607', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q956607 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Lyakhavichy
action filter_type
action find
entity Lyakhavichy
relation country
type designation for an administrative territorial entity
['Lyakhavichy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lyakhavichy property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q956607,P17,c(Q15617994))
action filter_type
action find
entity Q956607
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q956607', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q956607 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Belarus
That administrative territory is situated in Belarus
Belarus
action filter_type
action find
entity Lyakhavichy
relation country
type designation for an administrative territorial entity
['Lyakhavichy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lyakhavichy property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q184
P915
Q15416 Q838948
USER
How many television programs or works of art were filmed in the location Belarus ?
(c(Q15416),P915,Q184) (c(Q838948),P915,Q184)
action count
action union
action filter_type
action find_reverse
entity Q184
relation P915
type Q15416
action filter_type
action find_reverse
entity Q184
relation P915
type Q838948
[{'concept': 'Q15416'}, 'P915', 'Q184'] [{'concept': 'Q838948'}, 'P915', 'Q184']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P915 resource:Q184 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P915 resource:Q184 . ?z rdf:type ontology:Q838948 } }
Belarus
action count
action union
action filter_type
action find_reverse
entity Belarus
relation filming location
type television program
action filter_type
action find_reverse
entity Belarus
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Belarus'] [{'concept': 'work of art'}, 'filming location', 'Belarus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:filming_location resource:Belarus . ?z rdf:type ontology:television_program } UNION { ?z property:filming_location resource:Belarus . ?z rdf:type ontology:work_of_art } }
[]
television program work of art
SYSTEM
3
Q15270454 Q11960483 Q20971282
(c(Q15416),P915,Q184) (c(Q838948),P915,Q184)
action count
action union
action filter_type
action find_reverse
entity Q184
relation P915
type Q15416
action filter_type
action find_reverse
entity Q184
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q184'] [{'concept': 'Q838948'}, 'P915', 'Q184']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P915 resource:Q184 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P915 resource:Q184 . ?z rdf:type ontology:Q838948 } }
Zombie holidays 3D Belarusian Waltz Grensland
3
action count
action union
action filter_type
action find_reverse
entity Belarus
relation filming location
type television program
action filter_type
action find_reverse
entity Belarus
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Belarus'] [{'concept': 'work of art'}, 'filming location', 'Belarus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:filming_location resource:Belarus . ?z rdf:type ontology:television_program } UNION { ?z property:filming_location resource:Belarus . ?z rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6429527 Q184
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Belarus or do Konkossé belong to ?
OR((Q184,P530,c(Q15617994)), (Q6429527,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q184
relation P530
action find
entity Q6429527
relation P17
type Q15617994
{'OR': [['Q184', 'P530', {'concept': 'Q15617994'}], ['Q6429527', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q184 property:P530 ?o } UNION { resource:Q6429527 property:P17 ?o } } }
Konkossé Belarus
action filter_type
action union
action find
entity Belarus
relation diplomatic relation
action find
entity Konkossé
relation country
type designation for an administrative territorial entity
{'OR': [['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Konkossé', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Belarus property:diplomatic_relation ?o } UNION { resource:Konkossé property:country ?o } } }
[]
designation for an administrative territorial entity
Q230 Q142 Q39 Q34 Q224 Q902 Q843 Q215 Q214 Q794
SYSTEM
Some of them are Georgia, France, Switzerland, Sweden, Croatia, Bangladesh, Pakistan, Slovenia, Slovakia, Iran
Q801 Q843 Q241 Q668 Q414 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q833 Q965 Q1016 Q298 Q215 Q403 Q230 Q142 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
OR((Q184,P530,c(Q15617994)), (Q6429527,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q184
relation P530
action find
entity Q6429527
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Belarus or do Konkossé belong to
{'OR': [['Q184', 'P530', {'concept': 'Q15617994'}], ['Q6429527', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q184 property:P530 ?o } UNION { resource:Q6429527 property:P17 ?o } } }
Israel Pakistan Cuba India Argentina Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh Malaysia Burkina Faso Libya Chile Slovenia Serbia Georgia France Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
Georgia, France, Switzerland, Sweden, Croatia, Bangladesh, Pakistan, Slovenia, Slovakia and Iran have diplomatic relationships with Belarus or do Konkossé belong to
Georgia France Switzerland Sweden Croatia Bangladesh Pakistan Slovenia Slovakia Iran
action filter_type
action union
action find
entity Belarus
relation diplomatic relation
action find
entity Konkossé
relation country
type designation for an administrative territorial entity
{'OR': [['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Konkossé', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Belarus property:diplomatic_relation ?o } UNION { resource:Konkossé property:country ?o } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atmost 10 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e property:P530 ?b . ?e rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?u <= 10 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e property:diplomatic_relation ?b . ?e rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?u <= 10 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 10
[ANSWERS] hold diplomatic relationship with atmost 10 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e property:P530 ?b . ?e rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?u <= 10 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with atmost 10 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e property:diplomatic_relation ?b . ?e rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?u <= 10 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories are atmost 1 holidays and people a patron saint of ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 1
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { { ?k property:P417 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1445650 } UNION { ?k property:P417 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?q <= 1 ) }
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { { ?k property:patron_saint ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?k property:patron_saint ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?q <= 1 ) }
[]
holiday common name designation for an administrative territorial entity
Q155 Q33 Q45
SYSTEM
Brazil, Finland, Portugal
Q102547 Q51179 Q103832 Q265483 Q18339 Q46304 Q268902 Q124005 Q55000 Q55009 Q43005 Q43000 Q22497 Q39633 Q56075 Q103572 Q42950 Q386898 Q490936 Q20203 Q328037 Q9525 Q9520 Q20208 Q18022 Q53164 Q18348 Q99937 Q283857 Q112226 Q18029 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q206966 Q41058 Q53524 Q10212 Q9044 Q155 Q42896 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q80554 Q267241 Q42974 Q112143 Q42972 Q17674 Q390108 Q51207 Q13470 Q9148 Q51202 Q54751 Q54742 Q295538 Q9000 Q13378 Q34742 Q58890 Q51370 Q42110 Q101526 Q224813 Q10307 Q112131 Q52019 Q10302 Q252343 Q94644 Q17313 Q17312 Q103999 Q52624 Q9400 Q50134 Q117368 Q390854 Q243371 Q478277 Q223504 Q34603 Q17822 Q17821 Q188499 Q54585 Q95069 Q54587 Q19277 Q186538 Q294805 Q42977 Q34360 Q18075 Q283697 Q39263 Q100404 Q40379 Q9569 Q285089 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q42476 Q39835 Q20247 Q53124 Q46357 Q34684 Q111800 Q18206 Q111415 Q48114 Q95095 Q128060 Q111966 Q39701 Q56048 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q490412 Q157673 Q53235 Q48027 Q18377 Q53339 Q39910 Q101651 Q176292 Q72728 Q340610 Q22170 Q22173 Q58719 Q55852 Q490907 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q265588 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q244048 Q40127 Q100829 Q94779 Q104653 Q17862 Q17861 Q477537 Q53946 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q10234 Q10231 Q10339 Q53492 Q53496 Q40336 Q17321 Q19918 Q53886 Q53881 Q295289 Q53883 Q34324 Q42300 Q13649 Q53284 Q25179 Q42306 Q279247 Q25175 Q267183 Q53288 Q17816 Q52110 Q17811 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q50165 Q18080 Q104963 Q489881 Q265498 Q18088 Q40937 Q1465 Q51349 Q270578 Q53835 Q100973 Q478925 Q285110 Q430988 Q35220 Q34423 Q91160 Q53177 Q242139 Q18400 Q22655 Q111602 Q242710 Q216853 Q46168 Q51288 Q55104 Q123941 Q58461 Q9432 Q20353 Q9435 Q270058 Q20056 Q20435 Q51442 Q17777 Q123540 Q117471 Q36471 Q217391 Q17779 Q111972 Q33 Q265651 Q53304 Q37 Q94588 Q17350 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q53909 Q271011 Q23632 Q53903 Q18382 Q100365 Q51851 Q42167 Q20128 Q23285 Q20122 Q56210 Q9489 Q56063 Q52026 Q72272 Q80883 Q58844 Q117211 Q54521 Q42343 Q326968 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q42266 Q50128 Q42260 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q10200 Q23662 Q219641 Q24896 Q10208 Q10209 Q53874 Q53876 Q53877 Q207395 Q18040 Q53879 Q103768 Q81755 Q20244 Q39985 Q46746 Q42580 Q50157 Q47671 Q42744 Q123763 Q73218 Q495734 Q42466 Q34406 Q100094 Q241780 Q53136 Q2107 Q46320 Q298424 Q51405 Q20405 Q83083 Q493482 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q39912 Q22182 Q42513 Q42512 Q52191 Q340908 Q55890 Q9508 Q34386 Q53225 Q72732 Q101648 Q391349 Q42752 Q51274 Q54708 Q52132 Q54701 Q59234 Q105142 Q54705 Q91228 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q53355 Q9447 Q10338 Q72036 Q36198 Q52102 Q17741 Q53957 Q54673 Q54672 Q477423 Q23226 Q23224 Q72146 Q101187 Q42963 Q101182 Q47093 Q91096 Q389292 Q80574 Q124979 Q218027 Q53686 Q19209 Q22468 Q47500 Q200925 Q18394 Q25216 Q52282 Q72712 Q53884 Q17290 Q101269 Q10328 Q23706 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q20530 Q42318 Q39862 Q50059 Q53882 Q54516 Q34545 Q42259 Q17804 Q53511 Q493491 Q20431 Q54685 Q20184 Q160262 Q283554 Q100199 Q270968 Q9451 Q99962 Q477618 Q99969 Q46673 Q51358 Q81622 Q81151 Q20284 Q39227 Q47371 Q40985 Q128134 Q48092 Q48090 Q42413 Q8983 Q42553 Q100125 Q42557 Q53995 Q56081 Q56086 Q56085 Q94754 Q53260 Q56088 Q101423 Q17796 Q18388 Q41077 Q18385 Q55053 Q55054 Q80655 Q51435 Q168670 Q42379 Q52146 Q40851 Q53508 Q278952 Q40913 Q39884 Q25187 Q53313 Q17666 Q25189 Q52227 Q168551 Q49605 Q9167 Q54736 Q22216 Q9048 Q268291 Q101251 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q9493 Q42986 Q17695 Q20036 Q10284 Q52661 Q286671 Q390646 Q82755 Q10281 Q17409 Q278199 Q52133 Q23592 Q52038 Q51861 Q18380 Q17404 Q51867 Q17691 Q23178 Q117342 Q244185 Q266630 Q267134 Q56207 Q288273 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q54643 Q53961 Q496978 Q46968 Q9194 Q19279 Q10211 Q19925 Q17244 Q24883 Q16337 Q326780 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q100070 Q34579 Q22039 Q42757 Q20503 Q20507 Q267032 Q382482 Q46334 Q55017 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q51360 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q43037 Q9050 Q53212 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q185748 Q51460 Q47341 Q20170 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q102781 Q58433 Q52179 Q72009 Q391241 Q17757 Q17753 Q58549 Q101205 Q9017 Q51926 Q40539 Q23232 Q116573 Q42629 Q54636 Q101194 Q101759 Q496936 Q82766 Q105325 Q46870 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q91243 Q51812 Q390160 Q42812 Q40036 Q72708 Q40033 Q100135 Q40216 Q270613 Q19937 Q42241 Q390865 Q17371 Q54500 Q54503 Q42249 Q42367 Q223513 Q52959 Q54699 Q17833 Q20425 Q59225 Q42397 Q20197 Q54591 Q20191 Q46833 Q42391 Q23607 Q386350 Q46935 Q17378 Q58898 Q432678 Q116404 Q581 Q111906 Q42565 Q47046 Q59236 Q19948 Q53852 Q19944 Q207448 Q9363 Q40690 Q13619 Q20551 Q341096 Q382223 Q40699 Q53397 Q22626 Q42403 Q214691 Q56091 Q56090 Q55097 Q53159 Q53152 Q254139 Q39070 Q55042 Q101382 Q54035 Q80851 Q123965 Q101388 Q54034 Q128057 Q46693 Q51423 Q269788 Q103297 Q43040 Q339993 Q43049 Q120399 Q40967 Q40964 Q40965 Q390609 Q34598 Q112019 Q39933 Q101702 Q17654 Q55284 Q224176 Q54723 Q257357 Q477800 Q47835 Q72221 Q269943 Q55958 Q19915 Q46282 Q10361 Q51258 Q13320 Q34440 Q53732 Q34791 Q117621 Q20386 Q111888 Q20028 Q9467 Q20389 Q71832 Q10364 Q52125 Q59269 Q266259 Q157720 Q50148 Q101148 Q59265 Q388325 Q20585 Q496878 Q42208 Q17877 Q53824 Q9028 Q100141 Q34638 Q58901 Q243022 Q270299 Q478346 Q40094 Q6662 Q34703 Q34702 Q42366 Q42192 Q23648 Q9187 Q95090 Q20095 Q10226 Q111147 Q42298 Q488240 Q9298 Q271236 Q49603 Q100044 Q100040 Q17749 Q52953 Q24918 Q177713 Q47125 Q20299 Q39849 Q34568 Q13657 Q50079 Q9428 Q42680 Q42723 Q491724 Q20517 Q9336 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 1
[ANSWERS] are atmost 1 holidays and people a patron saint of
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { { ?k property:P417 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1445650 } UNION { ?k property:P417 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?q <= 1 ) }
Abetone Altino, Abruzzo Castelcovati Campomorone Aisone Foza Diano Castello Falconara Marittima Ariano Irpino Cairano Sesto San Giovanni Lomagna Meina Cairate Monsampolo del Tronto Borgosatollo San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Villa Lagarina Osasio Orio Canavese Monterosso Grana Bioglio Clauzetto Bagnasco Cesenatico Decimoputzu Vobarno Callabiana Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Gabicce Mare Galliavola Gagliato Quassolo Barone Canavese Brazil Albairate Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Alfano Favale di Malvaro Cesano Boscone Urago d'Oglio Cusano Milanino Solonghello Anela Civitella Messer Raimondo Barletta Candiolo Castiglione Messer Marino Zaccanopoli Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Rovetta Lampedusa e Linosa Sparone Trenzano Manduria Sestriere Eppan an der Weinstraße Casalfiumanese Casal Cermelli Cartosio Chiari Noepoli Ingria Rocca di Botte Sgurgola Ittireddu San Polo dei Cavalieri Castiglione di Sicilia Casperia Abano Terme Mombaruzzo Mombaldone Castel del Piano Calanna Antegnate Campo Calabro Cerignola Arzachena Gadoni Zelo Buon Persico Cartura Graglia Burcei Sernio Comun Nuovo Siziano Pianezza Sestu Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Cappella de' Picenardi Bianzone Narzole Cormons Breganze Battaglia Terme Cattolica Castelmagno Polpenazze del Garda Thiene Codigoro Campodimele Torriana Mello Castorano Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Priolo Gargallo Bibbona Carlino Legnago Bosia Rigolato Azzio Terno d'Isola Lucito Tufino Talana Cavaglio d'Agogna Cavallirio Mondragone Baselice Scillato Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Crocefieschi Meleti Pombia Agugliano Colfelice Spinete Lierna Argegno Gerola Alta Langhirano Castel San Pietro Terme Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Rende Banchette Satriano Belluno Valprato Soana Varisella Valgioie Rocca Canavese Rivoli Venaria Reale Andali Belcastro Gravellona Lomellina Cassine Castiglione Falletto Grimaldi, Calabria Fiumefreddo Bruzio Noragugume Frascineto Pozzonovo Comazzo Nuoro Moggio Udinese Quarona Bertonico Macchiagodena Postua Carasco Mortegliano Isola d'Asti Alessano Frinco Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Trasacco Massazza Leno Santa Marina Salina Ceranesi Mottalciata Zeme Feltre Cappelle sul Tavo Calizzano Belmonte Calabro Valmozzola Trecastagni Seulo Alessandria della Rocca Montjovet Castelbaldo Cetona Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Rezzato Guidonia Montecelio Camaiore Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Camigliano Lombriasco Piobesi d'Alba Lugnacco Brugnato Frabosa Soprana Sale delle Langhe Colledara Castel Rocchero Arcevia Trevi nel Lazio Pompei Giuncugnano Castellero Verucchio Finland Cavedine Pasian di Prato Lithuania Borgo Tossignano Cremolino Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Mangone Osiglia Massiola Malito Bra Chiuduno Santeramo in Colle Dovera Magliano Alpi Cannero Riviera Lisio Regalbuto Montanaro Folignano Montemesola Monte di Procida Conca dei Marini San Gregorio Matese Roccasecca Scandale Guidizzolo Tenno, Trentino Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Cervignano d'Adda Prata d'Ansidonia Montevecchia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Porte Omegna San Romano in Garfagnana Borgo d'Ale Prascorsano Pratiglione Dipignano Domanico Fagnano Castello Montecopiolo Candelo Figline Vegliaturo Capriano del Colle Torre Orsaia Murello Brugherio Susegana Dairago Sulmona Citta' Mezzane di Sotto Spino d'Adda Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana San Felice sul Panaro Bellegra Romans d'Isonzo Wuppertal Chiampo Pergine Valsugana Tocco da Casauria Roascio Monte San Giusto Librizzi San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Usmate Velate Colazza Liscate Vizzolo Predabissi Sannicola Luogosanto Castelvenere Nomaglio Trebaseleghe Bertiolo Vico Equense Telgate Santa Maria Coghinas Crotta d'Adda Roccamontepiano Filandari Collepasso Cessaniti Magliano di Tenna Manerba del Garda Drapia Monteriggioni Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro San Giorgio di Nogaro Lusigliè Vauda Canavese Cicciano Siligo Subbiano Agliano Terme San Cosmo Albanese Sinopoli Siderno Campofranco Baceno Aurano Liveri Lallio Senna Lodigiana Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Serra San Quirico Zoagli San Floro Caprauna Grignasco Dolcè Lona-Lases Canale Varallo Sesia Cirigliano Torre Annunziata Fuscaldo Brignano-Frascata Nembro Usseglio Trasquera Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Verduno Terranova dei Passerini Menarola Campo di Giove Francavilla Marittima San Mauro Marchesato Vò Corte Palasio Cortiglione Conflenti Castel di Lucio Rossana Terranova Sappo Minulio Monasterolo Casotto Caprarola Armungia Cenate Sopra Noli Marentino Barbata Resuttano Blello Spresiano Civitella Casanova Sant'Egidio del Monte Albino Ogliastro Cilento Paesana Ronco Briantino Tarzo Rocca Pietore Ponza, Lazio Cologna Veneta Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Pandino Saracena Montegallo Ripatransone Palmiano Castel Guelfo di Bologna Flaibano Roccafluvione Ponte Nossa Cisterna d'Asti Brossasco Lavena Ponte Tresa Briga Alta Mercogliano Mirabella Eclano Bellizzi Castiglione Messer Raimondo Maccastorna Crespiatica Guagnano Garlasco Cerva Castel del Giudice Caiolo Albuzzano Rimella Povoletto Sardigliano Riva Valdobbia Aulla Caselle Landi Montecatini Terme Caprie San Gregorio d'Ippona Dormelletto Beinasco Carpasio Montello, Lombardy Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Monteu da Po Grezzago Villadeati Envie Sangano San Costantino Albanese Santadi Cargeghe Londa, Tuscany San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Gurro Statte Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Bisceglie Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Serrenti Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto Roghudi San Demetrio Corone Roccapalumba Noale Casalborgone Aversa Quagliuzzo Cavallerleone Acqui Terme Borgo Vercelli Novi Ligure Strigno Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Montefiorino Arre Ameno San Martino del Lago Sommariva del Bosco Torre Bormida Santo Stefano d'Aveto Aidomaggiore Camisano Vicentino Casalbore Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Corvara Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Annone di Brianza Bibiana Aiello del Friuli Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Sant'Elia a Pianisi Pietracamela Laglio Martiniana Po Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Gragnano Trebbiense Alife, Campania Porto Cesareo Casoria Perfugas Bubbio Berzano di San Pietro Castel Campagnano Lurano Balangero Faeto Agrate Brianza Bannio Anzino Casalattico Parabiago Platì Lenna, Lombardy Villa d'Adda Sciara Montelupo Fiorentino Nuvolento Bardolino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Monteroni d'Arbia Alberobello Banari Capralba Tromello Terzigno Cesiomaggiore Canonica d'Adda Sappada Celle Ligure Cerretto Langhe Morimondo Ittiri Gremiasco Cerenzia Cotronei Mulazzano Valera Fratta Castel di Tora Bagnara di Romagna Brognaturo Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Caraffa del Bianco Monforte d'Alba Albettone Airuno Macugnaga Masullas Lazise Malvicino Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Oggiono Silea Monsampietro Morico Chiusa di Pesio Casole Bruzio Ceva Monreale Forno Canavese Forcola Cosenza Vezza d'Alba Trinità d'Agultu e Vignola Romana, Sardinia Sesto Calende Villa Vicentina Sillavengo Acquanegra Cremonese Magliano in Toscana Venarotta Spinetoli San Sossio Baronia Cavasso Nuovo Azzano Decimo Levanto, Liguria Andalo Valtellino Guardia Lombardi Piario Verbicaro Celle di Bulgheria Corinaldo Piazza Brembana Vaccarizzo Albanese Bassiano Caprino Veronese Bellante Santo Stefano al Mare Vicopisano Secugnago Jerzu Esino Lario Carloforte Civo Rogolo Romagnese Bultei Stienta Sirmione Cadrezzate Valbrembo Rocca Grimalda Sedini Longone Sabino Nardodipace Caldonazzo Vallelunga Pratameno Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Castellino Tanaro Castel d'Azzano Vinovo Palena, Abruzzo Savona Villafranca Padovana Tiriolo Aymavilles Viticuso Castel Ritaldi Riccione Entracque Meugliano Montemurlo Bacoli Vische Casarano Montelparo Tiglieto Capoliveri Scanno, Abruzzo Gorno Montefalcone Appennino Siamaggiore Villanova Mondovì Capaci Malagnino Vesime Alessandria del Carretto Balme Capriate San Gervasio Arquà Petrarca Sparanise Morlupo Rocchetta di Vara Licodia Eubea Morbegno Cesena Torreglia Tribano Livraga San Donato Milanese Montecrestese Carmagnola Argenta, Emilia–Romagna Barasso Rivarolo Canavese Carpineti Codogno Lentini Coazze Spotorno Ponte Buggianese Castelnuovo Rangone Camposanto Azzano d'Asti Alfonsine Campertogno San Lorenzo Nuovo Avezzano Paroldo Robbio Melara Lanusei Celano Locana Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Druento Montanaso Lombardo Asigliano Veneto Limbiate Lodi
Brazil, Finland and Portugal are atmost 1 holidays and people a patron saint of
Brazil Finland Portugal
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { { ?k property:patron_saint ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?k property:patron_saint ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?q <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q948
P36
Q486972 Q56061 Q15617994
USER
How many administrative territories are around the same number of human settlements or administrative territories the capital of as Tunisia ?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q948
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?o WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?l rdf:type ?j } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q948 property:P36 ?g . { VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?g rdf:type ?s } } } . FILTER ( ?a = ?y ) }
Tunisia
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Tunisia
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?o WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?l rdf:type ?j } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Tunisia property:capital ?g . { VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?s } } } . FILTER ( ?a = ?y ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
SYSTEM
206
Q12631 Q414 Q3368 Q504637 Q2998020 Q3044731 Q399 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q736 Q12798 Q12792 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q1050 Q12717 Q298 Q115 Q114 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q12804 Q12808 Q1961264 Q3326 Q696651 Q3286 Q948 Q12589 Q3266 Q3105 Q731547 Q33788 Q1268811 Q702 Q709 Q12740 Q12745 Q12779 Q833 Q2093388 Q12607 Q290739 Q790 Q598193 Q796 Q794 Q889 Q12576 Q884 Q1452646 Q881 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q1037 Q1030 Q697 Q12730 Q12736 Q2039306 Q12657 Q12652 Q30831 Q12556 Q694594 Q874 Q878 Q46130 Q3044714 Q12816 Q1951 Q2236821 Q4854468 Q2528268 Q3353 Q3357 Q389004 Q3278 Q3184 Q9073753 Q711 Q717 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q1270623 Q347 Q580447 Q10957559 Q962 Q963 Q2344833 Q3125 Q3120 Q1008 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q474421 Q3342 Q842 Q3349 Q3083 Q3240 Q3249 Q3164 Q12761 Q12765 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q228 Q3462133 Q12679 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q3113 Q12789 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q948
relation P36
type Q486972
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?o WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?l rdf:type ?j } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q948 property:P36 ?g . { VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?g rdf:type ?s } } } . FILTER ( ?a = ?y ) }
Meuse Argentina Essonne Alta Verapaz Department Corse Guyane Armenia Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay Ecuador Vendée Vaucluse Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Swaziland Bas-Rhin Chile Ethiopia Kenya Loire Loiret Morbihan Amatitlán Aveyron Aube Vienne Haute-Vienne Tecámac Municipality Corrèze Saxe-Eisenach Cher Tunisia Manche Charente Vosges Lippe New Caledonia Dyle Federated States of Micronesia Marshall Islands Sarthe Savoie Tarn-et-Garonne Malaysia Sunamganj District Haute-Marne Sesia Haiti Apennins Iraq Iran Afghanistan Lot South Korea Montenotte Vietnam Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Haute-Saône Saône-et-Loire Jamalpur District Nièvre Moselle Red Sea Governorate Indre-et-Loire Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Yonne Alberta Rhône-et-Loire Bandava Mont-Blanc Creuse Dordogne Wallachia Charente-Maritime Ariège San Vicente Tancuayalab municipality Mongolia Venezuela Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Meurthe Liechtenstein Duchy of Styria Moldavia Benin Botswana Kishoreganj District Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Côtes-d'Armor Ain Bouches-du-Rhône Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Andorra Saxe-Coburg and Gotha Orne Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Allier Var Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
206
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Tunisia
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?o WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?l rdf:type ?j } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Tunisia property:capital ?g . { VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?s } } } . FILTER ( ?a = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1042
P36
Q486972 Q56061 Q15617994
USER
And what about Seychelles?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1042
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?s rdf:type ?j } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1042 property:P36 ?l . { { ?l rdf:type ontology:Q486972 } UNION { ?l rdf:type ontology:Q56061 } } } } . FILTER ( ?f = ?w ) }
Seychelles
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Seychelles
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?s rdf:type ?j } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Seychelles property:capital ?l . { { ?l rdf:type ontology:human_settlement } UNION { ?l rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?f = ?w ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
SYSTEM
389
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q2991354 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q252 Q398 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q983 Q730 Q734 Q16628524 Q1280 Q1282 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q541589 Q891165 Q3528124 Q2719360 Q1243 Q945 Q3564819 Q3500767 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q792 Q174280 Q1232680 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q902 Q1036 Q1032 Q1033 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q654849 Q662056 Q1773268 Q30835 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q2006764 Q1952 Q492437 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q492430 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q2371735 Q712 Q710 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q30805 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q227 Q30650 Q223 Q30656 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q965 Q967 Q2921370 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q2662372 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q924 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q1984191 Q30797 Q1904 Q30815 Q1429761 Q3846423 Q153402 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q244 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q2565367 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1042
relation P36
type Q486972
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?s rdf:type ?j } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1042 property:P36 ?l . { { ?l rdf:type ontology:Q486972 } UNION { ?l rdf:type ontology:Q56061 } } } } . FILTER ( ?f = ?w ) }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Aquiles Serdán Municipality Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Indonesia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana San Salvador el Verde municipality Umbria Lazio John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Ems-Supérieur Bojanala Platinum District Municipality Tibre Duchy of Luxembourg Veneto Togo Hamadoni District Norak District Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey El Salvador San Juan de Jinotega Ithaque Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Bangladesh Uganda Niger Nigeria Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality Cushamen Department ZF Mgcawu District Municipality Gharbia Governorate East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay Tepic, Nayarit (municipality) Louverture Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Bouches-du-Weser Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Bouches-de-l'Elbe Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud Saky municipality Fiji Kiribati Nord Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Cairo Governorate iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Burkina Faso Burundi Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Principality of Minsk Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Tanzania Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Luxor Governorate Ontario South Sinai Governorate Patuakhali District Viesca Municipality Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Vakhsh District Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
389
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Seychelles
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?s rdf:type ?j } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Seychelles property:capital ?l . { { ?l rdf:type ontology:human_settlement } UNION { ?l rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?f = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q179049 Q337567
USER
Which administrative territories are the origin of exactly 2 nature reserves or still waterss ?
(c(Q179049)|c(Q337567),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
value 2
[[{'concept': 'Q179049'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q179049 ) ( ontology:Q337567 ) } . ?g rdf:type ?q } GROUP BY ?f } . FILTER ( ?p = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 2
[[{'concept': 'nature reserve'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:nature_reserve ) ( ontology:still_waters ) } . ?g rdf:type ?q } GROUP BY ?f } . FILTER ( ?p = 2 ) }
[]
designation for an administrative territorial entity nature reserve still waters
Q488513 Q14943702 Q2152015
SYSTEM
Anklam, Sprendlingen, Riedelbach
Q488513 Q14943702 Q2152015
(c(Q179049)|c(Q337567),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
value 2
[ANSWERS] are the origin of exactly 2 nature reserves or still waterss
[[{'concept': 'Q179049'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q179049 ) ( ontology:Q337567 ) } . ?g rdf:type ?q } GROUP BY ?f } . FILTER ( ?p = 2 ) }
Anklam Sprendlingen Riedelbach
Anklam, Sprendlingen and Riedelbach are the origin of exactly 2 nature reserves or still waterss
Anklam Sprendlingen Riedelbach
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 2
[[{'concept': 'nature reserve'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:nature_reserve ) ( ontology:still_waters ) } . ?g rdf:type ?q } GROUP BY ?f } . FILTER ( ?p = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q811979 Q1002697
USER
Which political territories owned atmost 1 architectural structures and periodical literatures ?
(c(Q811979)|c(Q1002697),P127,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?m ) WHERE { { ?p property:P127 ?v . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1002697 } UNION { ?p property:P127 ?v . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q811979 } } GROUP BY ?v } . FILTER ( ?m <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
value 1
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?m ) WHERE { { ?p property:owned_by ?v . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:periodical_literature } UNION { ?p property:owned_by ?v . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:architectural_structure } } GROUP BY ?v } . FILTER ( ?m <= 1 ) }
[]
political territorial entity architectural structure periodical literature
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q811979)|c(Q1002697),P127,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
value 1
[ANSWERS] owned atmost 1 architectural structures and periodical literatures
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?m ) WHERE { { ?p property:P127 ?v . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1002697 } UNION { ?p property:P127 ?v . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q811979 } } GROUP BY ?v } . FILTER ( ?m <= 1 ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
Australia, Denmark and Canada owned atmost 1 architectural structures and periodical literatures
Australia Denmark Canada
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
value 1
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?m ) WHERE { { ?p property:owned_by ?v . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:periodical_literature } UNION { ?p property:owned_by ?v . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:architectural_structure } } GROUP BY ?v } . FILTER ( ?m <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
What is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q142 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:France property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The highest point of France is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q142 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of France is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:France property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583
P706
Q14524493
USER
Which terrain is located in that one ?
(c(Q14524493),P706,Q583)
action filter_type
action find_reverse
entity Q583
relation P706
type Q14524493
[{'concept': 'Q14524493'}, 'P706', 'Q583']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . ?u property:P706 resource:Q583 }
Mont Blanc
action filter_type
action find_reverse
entity Mont Blanc
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Mont Blanc']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . ?u property:located_on_terrain_feature resource:Mont_Blanc }
[]
terrain
Q30493
SYSTEM
Aiguille de Bionnassay
Q30493
(c(Q14524493),P706,Q583)
action filter_type
action find_reverse
entity Q583
relation P706
type Q14524493
[ANSWER] is located in that one
[{'concept': 'Q14524493'}, 'P706', 'Q583']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . ?u property:P706 resource:Q583 }
Aiguille de Bionnassay
Aiguille de Bionnassay is located in that one
Aiguille de Bionnassay
action filter_type
action find_reverse
entity Mont Blanc
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Mont Blanc']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . ?u property:located_on_terrain_feature resource:Mont_Blanc }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P3173
Q14524493 Q811979
USER
Which architectural structures have views of exactly 2 terrains ?
(c(Q811979),P3173,c(Q14524493))
action equal
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
value 2
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?e ) WHERE { ?r rdf:type ontology:Q811979 . ?y rdf:type ontology:Q14524493 . ?r property:P3173 ?y } GROUP BY ?r } . FILTER ( ?e = 2 ) }
action equal
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
value 2
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?e ) WHERE { ?r rdf:type ontology:architectural_structure . ?y rdf:type ontology:terrain . ?r property:offers_view_on ?y } GROUP BY ?r } . FILTER ( ?e = 2 ) }
[]
terrain architectural structure
Q3108318 Q7088437 Q2433474
SYSTEM
Glacier Point, Olmsted Point, Tunnel View
Q3108318 Q7088437 Q2433474
(c(Q811979),P3173,c(Q14524493))
action equal
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
value 2
[ANSWERS] have views of exactly 2 terrains
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?e ) WHERE { ?r rdf:type ontology:Q811979 . ?y rdf:type ontology:Q14524493 . ?r property:P3173 ?y } GROUP BY ?r } . FILTER ( ?e = 2 ) }
Glacier Point Olmsted Point Tunnel View
Glacier Point, Olmsted Point and Tunnel View have views of exactly 2 terrains
Glacier Point Olmsted Point Tunnel View
action equal
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
value 2
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?e ) WHERE { ?r rdf:type ontology:architectural_structure . ?y rdf:type ontology:terrain . ?r property:offers_view_on ?y } GROUP BY ?r } . FILTER ( ?e = 2 ) }
[]