Simple Question (Direct)
Simple Question
Q6391223
P27
Q15617994
USER
Which administrative territory is Kenny Stroud a civilian of ?
(Q6391223,P27,c(Q15617994))
action filter_type
action find
entity Q6391223
relation P27
type Q15617994
['Q6391223', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q6391223 property:P27 ?o }
Kenny Stroud
action filter_type
action find
entity Kenny Stroud
relation country of citizenship
type designation for an administrative territorial entity
['Kenny Stroud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kenny_Stroud property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6391223,P27,c(Q15617994))
action filter_type
action find
entity Q6391223
relation P27
type Q15617994
[ANSWER] is Kenny Stroud a civilian of
['Q6391223', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q6391223 property:P27 ?o }
United Kingdom
United Kingdom is Kenny Stroud a civilian of
United Kingdom
action filter_type
action find
entity Kenny Stroud
relation country of citizenship
type designation for an administrative territorial entity
['Kenny Stroud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kenny_Stroud property:country_of_citizenship ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6391223
P21
Q290
USER
Which sex does Kenny Stroud belong to ?
(Q6391223,P21,c(Q290))
action filter_type
action find
entity Q6391223
relation P21
type Q290
['Q6391223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6391223 property:P21 ?b . ?b rdf:type ontology:Q290 }
Kenny Stroud
action filter_type
action find
entity Kenny Stroud
relation gender
type sex
['Kenny Stroud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Kenny_Stroud property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6391223,P21,c(Q290))
action filter_type
action find
entity Q6391223
relation P21
type Q290
Kenny Stroud belongs to [ANSWER]
['Q6391223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6391223 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Kenny Stroud belongs to male
male
action filter_type
action find
entity Kenny Stroud
relation gender
type sex
['Kenny Stroud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Kenny_Stroud property:gender ?b . ?b rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do lesser number of people possess than that sex ?
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P21 ?e . ?e rdf:type ontology:Q290 . ?w rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?k < ?j ) }
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:gender ?e . ?e rdf:type ontology:sex . ?w rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:gender resource:male . ?x rdf:type ontology:common_name } } . FILTER ( ?k < ?j ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] lesser number of people possess than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P21 ?e . ?e rdf:type ontology:Q290 . ?w rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?k < ?j ) }
female
Female lesser number of people possess than that sex
female
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:gender ?e . ?e rdf:type ontology:sex . ?w rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:gender resource:male . ?x rdf:type ontology:common_name } } . FILTER ( ?k < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q811430 Q3305213
USER
How many constructions or paintings depict that sex ?
(c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072) (c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072'] [{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P180 resource:Q6581072 . ?i rdf:type ontology:Q811430 } UNION { ?i property:P180 resource:Q6581072 . ?i rdf:type ontology:Q3305213 } }
action count
action union
action filter_type
action find_reverse
entity female
relation depicts
type construction
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female'] [{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:depicts resource:female . ?i rdf:type ontology:construction } UNION { ?i property:depicts resource:female . ?i rdf:type ontology:painting } }
[]
construction painting
SYSTEM
2
Q18346971 Q707669
(c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072) (c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072'] [{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P180 resource:Q6581072 . ?i rdf:type ontology:Q811430 } UNION { ?i property:P180 resource:Q6581072 . ?i rdf:type ontology:Q3305213 } }
Resurrection Bavaria
2
action count
action union
action filter_type
action find_reverse
entity female
relation depicts
type construction
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female'] [{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:depicts resource:female . ?i rdf:type ontology:construction } UNION { ?i property:depicts resource:female . ?i rdf:type ontology:painting } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with approximately 30 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?l property:P530 ?h } GROUP BY ?l } . FILTER ( ?z = 30 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?h } GROUP BY ?l } . FILTER ( ?z = 30 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?z ) WHERE { ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?l property:P530 ?h } GROUP BY ?l } . FILTER ( ?z = 30 ) }
Russia United States of America
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?z ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?h } GROUP BY ?l } . FILTER ( ?z = 30 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P159
Q43229 Q12973014
USER
How many organizations or sports teams have the principal seat at United Kingdom ?
(c(Q43229),P159,Q145) (c(Q12973014),P159,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P159
type Q43229
action filter_type
action find_reverse
entity Q145
relation P159
type Q12973014
[{'concept': 'Q43229'}, 'P159', 'Q145'] [{'concept': 'Q12973014'}, 'P159', 'Q145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { ?c property:P159 resource:Q145 . ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q12973014 . ?c property:P159 resource:Q145 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type organization
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type sports team
[{'concept': 'organization'}, 'headquarters location', 'United Kingdom'] [{'concept': 'sports team'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { ?c property:headquarters_location resource:United_Kingdom . ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:sports_team . ?c property:headquarters_location resource:United_Kingdom } }
[]
organization sports team
SYSTEM
109
Q6978890 Q17101734 Q7246523 Q5063181 Q16249688 Q1983591 Q1071347 Q5331201 Q7755046 Q5519528 Q6417014 Q4788543 Q4689454 Q7597799 Q5309267 Q16204559 Q7925348 Q7759409 Q19872405 Q5305209 Q6521101 Q6553037 Q3046634 Q6662870 Q5211789 Q2055297 Q16242914 Q740559 Q392140 Q2858969 Q5206357 Q16994995 Q5559440 Q6929437 Q5415877 Q16953805 Q8042941 Q2828220 Q17148363 Q8252257 Q4035073 Q6458792 Q7510916 Q5281211 Q5393358 Q5564102 Q17113395 Q2005933 Q2130281 Q7864931 Q5158390 Q5014833 Q3645095 Q5086817 Q2105067 Q7135547 Q19604616 Q294849 Q6040404 Q7774963 Q5288441 Q6044011 Q5453090 Q6739340 Q5289303 Q3568505 Q7855624 Q7623070 Q4727397 Q5053998 Q5136532 Q5156523 Q6753800 Q7247909 Q6048188 Q1226566 Q6398515 Q7981439 Q6824811 Q16971066 Q7933893 Q18162020 Q5073284 Q60033 Q4869748 Q7978823 Q5441282 Q5971572 Q7679879 Q5327508 Q6696066 Q7747433 Q408697 Q5303672 Q3796545 Q1495018 Q17032096 Q5417852 Q17017990 Q5264294 Q5270583 Q6954773 Q16997436 Q5603199 Q7864915 Q4691850 Q6358686 Q17100665 Q16850876
(c(Q43229),P159,Q145) (c(Q12973014),P159,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P159
type Q43229
action filter_type
action find_reverse
entity Q145
relation P159
type Q12973014
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q145'] [{'concept': 'Q12973014'}, 'P159', 'Q145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { ?c property:P159 resource:Q145 . ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q12973014 . ?c property:P159 resource:Q145 } }
National Telephone Company Emerson Group Priyo Mobile Century Network ELGIN Renegade Software Chevron Cars Easynet Connect The One Network GamCare Kiss Network Area Gas Boards AfriMobile Stan Mobile Drumond Park QuidditchUK Vickers plc The Range Home and Leisure Crimpy Dragon Gate UK Lembrassa LineOne Easynet Lloyds Pharmacy Dalya Mobile Freesat Angels Den Graftgold Age Concern Apricot Computers DVDVideoSoft Internacionale Retail Gibsons Games Mr Muscle Evans MPP Global Solutions Xansa Air Partner PLC Independent Betting Adjudication Service British Airways Ltd. Beyond Software LIRIC Associates Siemens Plessey Disabled Motoring UK Ernest Jones Giraffe Restaurants Maclure, Macdonald and Co. Rivarossi Associated Motor Cycles UK Property Shop Concept Searching Limited CWC Group Limited British UFO Research Association Chartered Institute of Logistics and Transport Porterbrook Paranormal Site Investigators Warren James Jewellers Comet Group Institute of IT Training The Wildlife Trusts Dogs Trust Intelligent Games First Independent Films Makhad Trust Dolls House Emporium William Clark & Sons Turn2us Streetcar Alive & Kicking Cats Protection Clubland CompletelyNovel Mapesbury Communications Ltd Profero International Animal Rescue Dinky Toys Keystone accountability Wellington Lodge Metrocab Ashtons Virgin Care Netto UK Chapman Guitars Waterlow and Sons Battersea Dogs and Cats Home WebsEdge Feel Good Drinks Co IKEA Family Mobile Talkmobile Easily Ltd LucasVarity The Link Airfix Dowty Rotol Image Works Help the Aged Semichem Everyman Cinemas Southern Whaling and Sealing Company Design Research Society Dialog Vizz NNB Generation Company Matamp Green Shield Stamps UK Online Age UK Kamkorp National Froebel Foundation Joseph Rowntree Foundation
109
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type organization
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type sports team
[{'concept': 'organization'}, 'headquarters location', 'United Kingdom'] [{'concept': 'sports team'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { ?c property:headquarters_location resource:United_Kingdom . ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:sports_team . ?c property:headquarters_location resource:United_Kingdom } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1048835 Q811979 Q15617994
USER
Which administrative territories are a component of atmost 1 political territories and architectural structures ?
(c(Q15617994),P361,c(Q1048835)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { { ?m property:P361 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q811979 } UNION { ?m property:P361 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { { ?m property:part_of ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:architectural_structure } UNION { ?m property:part_of ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
[]
political territorial entity architectural structure designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q288929 Q804 Q505785 Q314953 Q505789 Q2010810 Q511707 Q629629 Q334658 Q490442 Q506590 Q414 Q57857 Q21671144 Q281976 Q2871 Q550212 Q800 Q31586 Q489250 Q505048 Q184864 Q505739 Q553785 Q516362 Q511697 Q502786 Q531972 Q547269 Q506186 Q505817 Q306451 Q627586 Q505552 Q504328 Q627460 Q533626 Q528673 Q203830 Q181443 Q21850324 Q518154 Q507049 Q503339 Q159 Q504813 Q389298 Q155 Q627506 Q437679 Q536475 Q1796912 Q551234 Q511462 Q504282 Q264385 Q504955 Q627513 Q507100 Q517471 Q259102 Q505242 Q513796 Q504493 Q256423 Q529250 Q384382 Q180990 Q504259 Q119474 Q517577 Q513642 Q523922 Q701470 Q512016 Q203121 Q774406 Q404041 Q503526 Q524223 Q502692 Q503820 Q513868 Q532430 Q503825 Q629556 Q733 Q503358 Q514957 Q512066 Q503454 Q521569 Q504174 Q2313565 Q502745 Q504074 Q676178 Q502591 Q506003 Q262193 Q260736 Q713458 Q258172 Q548611 Q513261 Q503737 Q520900 Q502604 Q513542 Q574455 Q507804 Q783 Q1617121 Q174658 Q505372 Q355390 Q504673 Q503854 Q502859 Q503908 Q507412 Q14803 Q502580 Q503858 Q524350 Q525036 Q5701009 Q526462 Q489005 Q32070 Q550543 Q526007 Q32077 Q511280 Q143075 Q706938 Q503432 Q552430 Q539787 Q504985 Q176619 Q298 Q572087 Q585518 Q5668673 Q511126 Q251897 Q505583 Q546100 Q187503 Q572318 Q505589 Q1958624 Q505537 Q516761 Q454436 Q503872 Q550719 Q510011 Q558835 Q505079 Q511540 Q5084 Q542788 Q505201 Q504217 Q503574 Q683578 Q508787 Q736 Q513290 Q516315 Q506608 Q717 Q701332 Q506239 Q162003 Q165818 Q528238 Q267723 Q490326 Q749863 Q161129 Q513198 Q1787362 Q199053 Q511339 Q627424 Q526087 Q786024 Q503074 Q503250 Q948 Q503254 Q532046 Q516289 Q252426 Q531799 Q188315 Q834894 Q834920 Q21848848 Q262395 Q526069 Q509648 Q503382 Q33788 Q510530 Q517967 Q528284 Q1869695 Q554282 Q253496 Q507938 Q503773 Q528127 Q194203 Q488974 Q184188 Q510845 Q503403 Q2904452 Q1612711 Q478258 Q504003 Q547380 Q503790 Q258021 Q668 Q204953 Q503814 Q521085 Q1355455 Q517499 Q511207 Q566569 Q491632 Q502654 Q528465 Q203754 Q258790 Q510903 Q505382 Q505796 Q176219 Q505026 Q526121 Q22575704 Q505388 Q502720 Q31596 Q504995 Q488592 Q43014 Q505295 Q31598 Q43 Q549052 Q792 Q511508 Q790 Q531840 Q794 Q510762 Q514438 Q263850 Q510751 Q511294 Q7126796 Q511113 Q507352 Q526509 Q1917569 Q254501 Q383134 Q504316 Q504311 Q489123 Q241 Q34102 Q242 Q532 Q174307 Q314715 Q502700 Q512970 Q542907 Q503039 Q504866 Q259742 Q503035 Q258041 Q278967 Q509296 Q73551 Q36 Q558860 Q558945 Q120802 Q627500 Q38 Q505419 Q558868 Q524280 Q558847 Q503628 Q6063801 Q508729 Q517447 Q503195 Q256533 Q503588 Q525809 Q164009 Q280312 Q511972 Q427292 Q554134 Q504264 Q627484 Q316088 Q533133 Q232 Q512905 Q505809 Q532923 Q627477 Q254933 Q129003 Q627472 Q931366 Q705725 Q529701 Q12584 Q546448 Q504041 Q256051 Q503367 Q537414 Q503441 Q167661 Q504048 Q516249 Q834912 Q548982 Q502758 Q525931 Q531745 Q503699 Q511656 Q504163 Q511857 Q385664 Q512753 Q514208 Q127896 Q513573 Q508486 Q999609 Q528548 Q529010 Q686312 Q520870 Q647644 Q506544 Q637308 Q512127 Q506541 Q505345 Q13674 Q568473 Q186115 Q511032 Q503849 Q503965 Q750 Q549098 Q373582 Q561223 Q411004 Q199205 Q525796 Q510090 Q512055 Q513584 Q503990 Q255041 Q645832 Q505009 Q545248 Q512193 Q502717 Q511955 Q530556 Q502887 Q505116 Q254657 Q505111 Q514499 Q585444 Q513059 Q507245 Q510952 Q528727 Q258993 Q1572183 Q505593 Q572242 Q531813 Q504896 Q504181 Q511941 Q491818 Q77 Q510035 Q491811 Q265110 Q489260 Q558824 Q508471 Q72731 Q218427 Q505237 Q2741956 Q169039 Q503092 Q627445 Q503544 Q521954 Q549073 Q489285 Q506206 Q640310 Q506200 Q508930 Q505214 Q516330 Q508945 Q175698 Q542837 Q503149 Q513029 Q503061 Q556312 Q572182 Q558914 Q505284 Q513182 Q511325 Q627437 Q504089 Q430752 Q504080 Q504128 Q2661988 Q503950 Q532072 Q505842 Q183261 Q254076 Q504686 Q503400 Q521007 Q503393 Q511998 Q503955 Q266204 Q487328 Q506057 Q524573 Q2115448 Q512892 Q256575 Q521488 Q139676 Q502947 Q205497 Q508863 Q508517 Q502825 Q288569 Q502820 Q503085 Q513013 Q503202 Q504407 Q491740 Q512844 Q2765 Q511582 Q503801 Q504015 Q503805 Q505835 Q514237 Q552645 Q550512 Q508611 Q565257 Q566594 Q425952 Q705805 Q629503 Q302916 Q503894 Q545202 Q514340 Q512766 Q510590 Q739 Q503999 Q505394 Q255217 Q2307369 Q313651 Q503812 Q518030 Q14825 Q3327870 Q504711 Q504659 Q2899 Q516376 Q137593 Q531856 Q524234 Q182131 Q53381 Q627413 Q511269 Q569566 Q547243 Q505651 Q510982 Q374423 Q505578 Q258978 Q627566 Q526102 Q505571 Q512860 Q510964 Q504304 Q505607 Q505087 Q558882 Q527328 Q503016 Q504872 Q72425 Q549641 Q440661 Q529278 Q430649 Q505400 Q511408 Q230613 Q505408 Q3773354 Q558956 Q514327 Q503784 Q536874 Q504277 Q505636 Q503596 Q542892 Q511883 Q503617 Q522417 Q527529 Q625844 Q504374 Q504270 Q697685 Q223 Q73536 Q532000 Q508216 Q512917 Q17135847 Q520834 Q526537 Q378511 Q542809 Q524638 Q525889 Q257338 Q509320 Q551142 Q209495 Q122073 Q537429 Q19702215 Q504056 Q17396881 Q266039 Q508822 Q503372 Q436841 Q558852 Q525900 Q511811 Q503689 Q504113 Q280952 Q504110 Q504289 Q552129 Q796575 Q547059 Q549554 Q572343 Q491545 Q2503881 Q552122 Q355456 Q266726 Q256113 Q503055 Q436522 Q166228 Q502874 Q512033 Q270217 Q189058 Q510813 Q504169 Q504026 Q510872 Q189904 Q1902230 Q504695 Q504691 Q502971 Q503977 Q508149 Q511188 Q547205 Q73209 Q505751 Q505756 Q558811 Q505909 Q278169 Q512734 Q503233 Q504585 Q544776 Q270328 Q503479 Q583385 Q514486 Q552415 Q811 Q552419 Q504321 Q509368 Q549167 Q558842 Q490185 Q1617853 Q259795 Q510922 Q572873 Q21853467 Q255396 Q531867 Q504938 Q275579 Q1285601 Q505352 Q505727 Q531945 Q502793 Q547278 Q505547 Q627597 Q2904 Q489100 Q505542 Q505228 Q510047 Q526566 Q821435 Q627451 Q524395 Q624292 Q505221 Q506195 Q518095 Q254967 Q12536 Q148 Q528740 Q504808 Q558829 Q554078 Q7042 Q508908 Q511351 Q558968 Q261742 Q525945 Q266170 Q505612 Q589408 Q504521 Q508698 Q504486 Q503237 Q252916 Q506065 Q505068 Q517548 Q517233 Q511917 Q549007 Q525864 Q14175407 Q583335 Q628969 Q251915 Q528104 Q490167 Q2631599 Q490162 Q508592 Q509068 Q510100 Q508714 Q503555 Q503550 Q509410 Q589490 Q681224 Q529416 Q513956 Q503345 Q502930 Q503831 Q146846 Q258835 Q4628 Q251423 Q533019 Q504412 Q491751 Q158919 Q504417 Q311327 Q546335 Q426741 Q504679 Q31618 Q505823 Q505073 Q256895 Q513923 Q504095 Q503884 Q432528 Q513882 Q513556 Q837065 Q1601810 Q505363 Q507305 Q507819 Q18524218 Q503901 Q504667 Q169573 Q627576 Q511486 Q502597 Q502846 Q505762 Q510077 Q247903 Q521215 Q505766 Q511175 Q514454 Q490902 Q2198187 Q3942 Q504705 Q786 Q178365 Q504700 Q505676 Q505319 Q514359 Q545308 Q572696 Q96 Q550790 Q258682 Q505560 Q509987 Q503837 Q516343 Q526136 Q528579 Q508054 Q3247681 Q14889 Q505566 Q504968 Q632425 Q558803 Q550708 Q623929 Q2838 Q622456 Q632429 Q704288 Q256920 Q1849719 Q508414 Q524691 Q14788575 Q503067 Q511477 Q504208 Q503504 Q521676 Q484170 Q701312 Q531714 Q512928 Q261177 Q506228 Q528142 Q551112 Q161258 Q510791 Q258844 Q503519 Q503048 Q240874 Q585591 Q503510 Q2993203 Q269304 Q512876 Q504052 Q419 Q520820 Q508832 Q589530 Q254310 Q218693 Q511825 Q522677 Q263451 Q525915 Q558891 Q515854 Q505869 Q186467 Q503515 Q260271 Q504795 Q253780 Q506584 Q489160 Q507921 Q503602 Q503768 Q1222 Q503609 Q503945 Q774 Q514914 Q517994 Q502806 Q305056 Q262790 Q512144 Q508177 Q504037 Q253521 Q403583 Q502829 Q566574 Q514312 Q270295 Q511871 Q510734 Q31640 Q491723 Q583414 Q504425 Q513853 Q503460 Q503464 Q6247
(c(Q15617994),P361,c(Q1048835)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[ANSWERS] are a component of atmost 1 political territories and architectural structures
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { { ?m property:P361 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q811979 } UNION { ?m property:P361 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
Unterroth Panama Pförring Kirchdorf Alerheim Oberreichenbach Sugenheim Glonn Abtswind Hettenshausen Blankenbach Argentina Zschorlau Mezhetchina Moos Hagen Heyersdorf Costa Rica Neukirchen bei Sulzbach-Rosenberg Ilmmünster Oberickelsheim Megara Leupoldsgrün Walsdorf Offenhausen Oberpframmern Eschenbach in der Oberpfalz Lamerdingen Medlingen Kinsau Bad Bayersoien Außernzell Wolfersdorf Neusitz Schondra Pollenfeld Kröning Langenpreising Oberreute Walkertshofen Gireyevo Weißenohe Hagenbüchach Huisheim Russia Gräfendorf Ebern Brazil Breitenthal Altenthann Gebenbach Kühbach Velden Wiesenbach Oberleichtersbach Altfraunhofen Rüdenau Gallmersgarten Aufseß Wiesthal Kastl Kupferberg Jengen Maihingen Elsendorf Weng Aislingen Oberschweinbach Elfershausen Otzing Wittislingen Georgenberg Attenkirchen Kirchweidach Ruderatshofen Schmiechen Aurachtal Aidhausen Steindorf Sulzemoos Issigau Weißdorf Kraftisried Niederfüllbach Rohrenfels Wallerfing Paraguay Marktbergel Bergheim Neuching Daiting Wettringen Schnabelwaid Spreng Creußen Rügland Viereck Wolframs-Eschenbach Paunzhausen Jesenwang Baierbach Manhay Holzheim district of the Czech Republic Obersüßbach Rain Großaitingen Teuschnitz Eitting Alfeld Baisweil Honduras Heßdorf Haunsheim Ippesheim Adelschlag Kasendorf Saal an der Donau Ellgau Wörnitz Wilburgstetten Weiden in der Oberpfalz Schauenstein Töpen Henfenfeld Moosach Gorji Rural District Kutzenhausen Gotteszell Schiltberg Lauter Walderbach Deuerling Haag Wollbach Werder Trogen Happurg Markt Berolzheim Heimbuchenthal Markt Bibart Chile Igling Stockheim Qombovan Rural District Ködnitz Pöttmes Schondorf am Ammersee Karbach Zell Hasloch Sengenthal Mühlhausen Hummeltal Fuchstal Palatinate-Sulzbach Kirchlauter Alesheim Weihenzell Villenbach Markt Taschendorf Welden hamlet Hartenstein Kaltental Witzmannsberg Insingen Superga Bundorf Ecuador Maierhöfen Aletshausen Sulzfeld am Main Venezuela Emmerting Mönchberg Maitenbeth Eching am Ammersee Waldstetten Pörnbach Sünching Marnehuizen Neumarkt-Sankt Veit Hergensweiler Sacro Monte di Crea Ziemetshausen Landensberg Röckingen Nennslingen Stammham Wiesenthau Maßbach Tunisia Untermeitingen Fischen Eggenthal Mammendorf Oberneukirchen Porto Venere Sachsenkam Ofterschwang Lyskovo Achslach Oberroth Gundelfingen an der Donau Bachhagel New Caledonia Volkenschwand Tittling Walpertskirchen Lonnerstadt Ferdinandshof Aham Speinshart Hainsfarth Reichenbach arrondissement of France Bach an der Donau canton of France (until 2015) Irsee Schöfweg Birel Qaanaaqs municipality Caltagirone Willanzheim Rieden Theisseil Aiglsbach India Albertshofen Buchbrunn Rechtmehring Erlbach Egglkofen Treffelstein Waal Mötzing Bürgstadt Wörth Bolsterlang Etzenricht Riedenberg Tännesberg Großweil Eschenlohe Münchsteinach Gleißenberg administrative quarter in France Oberscheinfeld Thurmansbang Emtmannsberg Hemmersheim Wörth an der Donau Sabbioneta Illesheim Neustadt am Kulm Turkey Westendorf El Salvador Postau Haiti Lohkirchen Iran Wechingen Langenmosen Baiern Finningen Röfingen Palatinate-Zweibrücken-Vohenstrauss-Parkstein Grafengehaig Ebelsbach Buch am Buchrain Mehring Aidenbach Seukendorf Leuchtenberg Heigenbrücken Brunn Cuba Modica Belize village Essing Partenstein Diebach Kleinaitingen Bonstetten Hochstadt am Main Markt Einersheim Todtenweis Dormitz Aindling Kraiburg Bichl Massing Poland Niederlauer Holzheim Mickhausen Greifenberg Italy Pilsach Lutzingen Reckendorf Strahlungen Benediktbeuern parish of Venezuela Syrgenstein Haag an der Amper Unterdießen Kochel Prebitz Hausen Hofheim Principality of Lüneburg Rettenbach am Auerberg Stadtsteinach Vorra Heinrichsthal Schernfeld Sommerach Hattenhofen Kazakhstan Biebelried Redwitz an der Rodach Reichersbeuern Unterreit Oberding French Southern and Antarctic Lands Scheuring Unterneukirchen Königsfeld Burgwindheim Maine-et-Loire Mödingen Buchhofen Baar Wolferstadt Furth Wallerstein Rödelsee Bischbrunn Schalkham Karsbach Heidenheim Wemding Burgsalach Buch Ihrlerstein Neufraunhofen Untersteinach Seeg Wehringen Finning Jettenbach Gerzen Aura im Sinngrund Kohlberg Buckenhof Holzheim Rettenbach Duchy of Amalfi Hiltenfingen Baar Poxdorf Wipfratal Illschwang Hörgertshausen Baudenbach Ragusa Burgraviate of Nuremberg Montmartre Harsdorf Gädheim Wildenberg Bolivia Rettenbach Plech Lancken-Granitz Aitrang Ziertheim Stettfeld Gachenbach Stöttwang Riegsee Rüdenhausen Schönberg Dasing Simmershofen Schönbrunn im Steigerwald Odelzhausen Eppenschlag Gesees Priesendorf Otting Großenseebach Adelshofen Nordendorf Wang administrative district of Prague Langenneufnach Offingen Obersinn Weidenbach Perach Halsbach Hurlach Ornbau Gars Neuhof an der Zenn Ehingen, Middle Franconia Stötten am Auerberg Wiesent Uruguay Lalling Laaber Buchloe Palazzolo Acreide Unsleben Gössenheim Sparneck Allershausen Dammbach Heckbous Burk Kleinsendelbach Tschirn Mitteleschenbach Ebrach Raitenbuch Reichertshofen Eresing Buckautal Weilersbach Neuhütten Emskirchen Thundorf in Unterfranken Retzstadt Ellzee Ettenstatt Pleystein Scherstetten Buchdorf Oettingen in Bayern Gottfrieding Heustreu Diespeck Sommerkahl Ergersheim, Middle Franconia Hunding Ohrenbach Stamsried Windelsbach Rögling urban settlement in Russia Nordheim am Main Eisenberg Sigmarszell Stadelhofen Pfaffing Kleinwallstadt Schöllnach Obermichelbach Kirchenthumbach Guttenberg Pösing Kirchdorf Marktl Allmannshofen Engelthal Intra-city territory of a federal city Hohenpolding Reischach Weiltingen Zachenberg Pressath Hopferau Mindelstetten Mittelsinn Buch am Wald Wiesen Auhausen Pinzberg Heretsried Ichenhausen Rugendorf Riekofen Aßling Gelsenkirchen Wurmsham Kirchendemenreuth Esselbach Deisenhausen Bubesheim Oberbergkirchen Taufkirchen Weitnau Grattersdorf Bad Bertrich Wald Iggensbach Emmering Walting Wiesenbronn Burgpreppach Greiling Reichertsheim Röllbach Gremsdorf Colombia Bechtsrieth Uehlfeld Kottgeisering Spardorf Theres Burgsinn Neunkirchen, Lower Franconia Memmingen municipal corporation in the United States Berngau Rentweinsdorf Mülheim an der Ruhr Mespelbrunn Birgland Train Veitsbronn Betzenstein Tolmezzo Unterleinleiter Geroda Gerach Wald Schwaigen Fellen Parkstein Prittriching Hinterschmiding Ehingen Laugna Thaining Inning am Holz Binswangen Fuchsstadt Philippsreut Markt Nordheim Nordheim vor der Rhön Glashütten Dombühl Scheinfeld Pozzuoli Lisberg Althegnenberg Kühlenthal Amerdingen Spatzenhausen Weigenheim Zusamaltheim Unterammergau Alagonia Burglauer Niedertaufkirchen Schaufling Weigendorf Sulzthal Obermeitingen Bruckberg, Middle Franconia Roden Genderkingen Grafrath Apfeldorf Obermaiselstein Görzke Püchersreuth Rannungen House of Nassau-Weilburg Greenland Weißensberg Missen-Wilhams Westendorf Bächingen quarter of Genoa Etzelwang Kirchberg Mittelneufnach Steinfeld Balderschwang Westheim Adelzhausen Westerngrund Wartenberg historical province of France Wittelshofen Röthenbach Gemeinde Oberdollendorf Riedbach Turgutlu (city) and Turgutlu (district) Reichenbach am Regen Neustadt am Main Hahnbach Altenbuch Hollstadt Meinheim Berglern Attenhofen Ederheim Seehausen am Staffelsee Tagmersheim Ramsthal Hirschbach ant colony Gnotzheim Bidingen Ebershausen Wolfsegg Uttenreuth Königstein Adelshofen, Middle Franconia Dürrlauingen Ernsgaden Hiltpoltstein Alteglofsheim Wiesentheid Trautskirchen Unterthingau Monterosso al Mare Zellingen Gerolfingen Forheim Stiefenhofen Schollbrunn Zenting Marloffstein Wonfurt Seybothenreuth Schillingsfürst Störnstein Erlenbach bei Marktheidenfeld Gerhardshofen Duggendorf Weiding Ermershausen Dachsbach Hohenroth Höchstädt an der Donau Donaustauf Vilgertshofen Effeltrich Ebermannstadt Waidhofen Vernazza Irchenrieth Oberstreu Osterzell Grünenbach Nicaragua Gestratz Euerdorf Kleinkahl Dittenheim Aubstadt Kallmünz Tyrlaching Geisenfeld Tuchenbach Gößnitz Romanovo Mauern Friesenried Haldenwang Mering Novi Zagreb – zapad Aura an der Saale Fürsteneck Biessenhofen Gattendorf Vorbach Schwifting Steinkirchen Herne Ruhmannsfelden Reichling Oberottmarshausen Weiherhammer Frauenneuharting district of Berlin Gammelsdorf Langquaid Wenzlow Münsterhausen Kunreuth Weidenberg Petersdorf Abbasid caliphate People's Republic of China Langenfeld Baunach Rödelmaier Neuendorf Amberg Rechtenbach Waltenhausen Hendungen Eitensheim Pfofeld Kreuzwertheim Mainstockheim Sulzdorf an der Lederhecke Monheim Schwarzenbach Niederschönenfeld Hetzles administrative quarter Klosterlechfeld Kleinlangheim Gollhofen Thüngen Ludwigschorgast Bergen Höttingen District 6 Hausen Pfaffenhofen an der Roth Teugn Untrasried Pielenhofen district of Uzbekistan Pfakofen Hafenlohr Ettal Geslau Birkenfeld Obergriesbach Ehingen am Ries Krombach Salz Röttenbach Lengenwang Burgebrach Emersacker Wertingen Perlesreut Zangberg Ustersbach Faroe Islands Sielenbach Beutelsbach Pfarrweisach Pfatter Feilitzsch Segnitz Castell Langenaltheim Megesheim Obernbreit Michelsneukirchen Saulgrub Gutenstetten Münster Obergünzburg Schneckenlohe Kirchenpingarten Ohlstadt Görisried Leutenbach Tiefenbach Heldenstein Mittelstetten Schlammersdorf Gundremmingen canton of France (starting March 2015) Trebgast Trabitz Schirmitz Kötz Pastetten Gräfenberg Kirchehrenbach Windach Gebsattel Zöschingen Falkenstein Munningen Winterbach Mistelbach Aufhausen Stehnen Aschaffenburg Steinsfeld Dominican Republic Stegaurach Berg im Gau Roßhaupten Mistelgau Oberostendorf Pfaffenhofen an der Glonn Grub am Forst Mexico Schlehdorf Niederbergkirchen Rieden am Forggensee Egweil Mönchsdeggingen Pforzen Glött Wörth an der Isar Neu Wulmstorf governorate of Saudi Arabia Schwabach Deiningen Seinsheim Schwenningen Herbstadt Wattendorf Gräben Oberhausen Lage Hinrichshagen Duchy of Holstein Albaching municipal formation in Russia Kleinheubach Langerringen rural settlement Marktzeuln Mamming Malching Reimlingen Eurasburg commune of France Feichten Schönberg Gessertshausen Hausen Mitwitz Weihmichl Polling Clipperton Island Böhmfeld Ergoldsbach Plankenfels Hollfeld Wilhelmsdorf, Bavaria Sulzfeld Marktoffingen Ropsha Biburg Fünfstetten Martinsheim Peru Schöllkrippen Urspringen Höchheim Landsberied Zolling Ottenhofen Nassenfels Oberdolling Brunnen Trappstadt Rott Vestenbergsgreuth Mönchsroth Marktleugast Herrngiersdorf Großlangheim Erharting Wieseth Brennberg Pürgen Wonsees Balzhausen Aosta Valley Hohenaltheim Siegenburg Guatemala Blindheim Rotthalmünster Marktgraitz Ponitz Schöngeising Egmating Himmelstadt Breitbrunn Bayerbach bei Ergoldsbach Aichen Dentlein Bruck Rattenkirchen Riomaggiore Rückholz Günzach Unterschwaningen Holzheim am Forst Schönau an der Brend Oberpöring Hofstetten Pirk Innernzell Mantua
Italy, Brazil and Russia are a component of atmost 1 political territories and architectural structures
Italy Brazil Russia
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { { ?m property:part_of ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:architectural_structure } UNION { ?m property:part_of ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q155,P194,c(Q1752346))
action filter_type
action find
entity Q155
relation P194
type Q1752346
['Q155', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { resource:Q155 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
Brazil
action filter_type
action find
entity Brazil
relation legislative body
type assembly
['Brazil', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { resource:Brazil property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q159
SYSTEM
Did you mean Russia ?
Q38 Q155 Q159
(Q38,P194,c(Q1752346)) (Q155,P194,c(Q1752346)) (Q159,P194,c(Q1752346))
[ANSWER]
['Q38', 'P194', {'concept': 'Q1752346'}] ['Q155', 'P194', {'concept': 'Q1752346'}] ['Q159', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { resource:Q155 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
Italy Brazil Russia
Did you mean Russia ?
Russia
['Italy', 'legislative body', {'concept': 'assembly'}] ['Brazil', 'legislative body', {'concept': 'assembly'}] ['Russia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { resource:Brazil property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P194,c(Q1752346))
Q155
['Q155', 'P194', {'concept': 'Q1752346'}]
['Brazil', 'legislative body', {'concept': 'assembly'}]
[]
Q949699
SYSTEM
National Congress of Brasil
Q949699
(Q155,P194,c(Q1752346))
action filter_type
action find
entity Q155
relation P194
type Q1752346
[ANSWER] is the legislative body for that administrative territory
['Q155', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { resource:Q155 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
National Congress of Brasil
National Congress of Brasil is the legislative body for that administrative territory
National Congress of Brasil
action filter_type
action find
entity Brazil
relation legislative body
type assembly
['Brazil', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { resource:Brazil property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P123
Q166142
USER
Which application was published by Russia ?
(c(Q166142),P123,Q159)
action filter_type
action find_reverse
entity Q159
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q159']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q159 . ?v rdf:type ontology:Q166142 }
Russia
action filter_type
action find_reverse
entity Russia
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Russia']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Russia . ?v rdf:type ontology:application }
[]
application
Q498469
SYSTEM
Postal III
Q498469
(c(Q166142),P123,Q159)
action filter_type
action find_reverse
entity Q159
relation P123
type Q166142
[ANSWER] was published by Russia
[{'concept': 'Q166142'}, 'P123', 'Q159']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q159 . ?v rdf:type ontology:Q166142 }
Postal III
Postal III was published by Russia
Postal III
action filter_type
action find_reverse
entity Russia
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Russia']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Russia . ?v rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P859
Q939954
USER
Which Magnetic confinement fusion was sponsored by Russia ?
(c(Q939954),P859,Q159)
action filter_type
action find_reverse
entity Q159
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q159']
SELECT DISTINCT ?r WHERE { ?r property:P859 resource:Q159 . ?r rdf:type ontology:Q939954 }
Russia
action filter_type
action find_reverse
entity Russia
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia']
SELECT DISTINCT ?r WHERE { ?r property:sponsor resource:Russia . ?r rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q159)
action filter_type
action find_reverse
entity Q159
relation P859
type Q939954
[ANSWER] was sponsored by Russia
[{'concept': 'Q939954'}, 'P859', 'Q159']
SELECT DISTINCT ?r WHERE { ?r property:P859 resource:Q159 . ?r rdf:type ontology:Q939954 }
ITER
ITER was sponsored by Russia
ITER
action filter_type
action find_reverse
entity Russia
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia']
SELECT DISTINCT ?r WHERE { ?r property:sponsor resource:Russia . ?r rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q498469
P178
Q28640
USER
Who is credited with development of Postal III ?
(Q498469,P178,c(Q28640))
action filter_type
action find
entity Q498469
relation P178
type Q28640
['Q498469', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q498469 property:P178 ?x . ?x rdf:type ontology:Q28640 }
Postal III
action filter_type
action find
entity Postal III
relation developer
type profession
['Postal III', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Postal_III property:developer ?x . ?x rdf:type ontology:profession }
[]
profession
Q498812
SYSTEM
Running with Scissors
Q498812
(Q498469,P178,c(Q28640))
action filter_type
action find
entity Q498469
relation P178
type Q28640
Pro running with Scissors is credited with development of Postal III
['Q498469', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q498469 property:P178 ?x . ?x rdf:type ontology:Q28640 }
Running with Scissors
Pro running with Scissors is credited with development of Postal III
Running with Scissors
action filter_type
action find
entity Postal III
relation developer
type profession
['Postal III', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Postal_III property:developer ?x . ?x rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4869948
Q28640
USER
And how about BattleBlock Theater?
(Q4869948,P178,c(Q28640))
action filter_type
action find
entity Q4869948
relation P178
type Q28640
['Q4869948', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q4869948 property:P178 ?c . ?c rdf:type ontology:Q28640 }
BattleBlock Theater
action filter_type
action find
entity BattleBlock Theater
relation developer
type profession
['BattleBlock Theater', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:BattleBlock_Theater property:developer ?c . ?c rdf:type ontology:profession }
[]
profession
Q3040525
SYSTEM
The Behemoth
Q3040525
(Q4869948,P178,c(Q28640))
action filter_type
action find
entity Q4869948
relation P178
type Q28640
[ANSWER]
['Q4869948', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q4869948 property:P178 ?c . ?c rdf:type ontology:Q28640 }
The Behemoth
The Behemoth
action filter_type
action find
entity BattleBlock Theater
relation developer
type profession
['BattleBlock Theater', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:BattleBlock_Theater property:developer ?c . ?c rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P178
Q166142
USER
How many applications were produced by that profession ?
(c(Q166142),P178,Q3040525)
action count
action filter_type
action find_reverse
entity Q3040525
relation P178
type Q166142
[{'concept': 'Q166142'}, 'P178', 'Q3040525']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P178 resource:Q3040525 . ?u rdf:type ontology:Q166142 }
action count
action filter_type
action find_reverse
entity The Behemoth
relation developer
type application
[{'concept': 'application'}, 'developer', 'The Behemoth']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:developer resource:The_Behemoth . ?u rdf:type ontology:application }
[]
application
SYSTEM
3
Q4869948 Q2836843 Q640567
(c(Q166142),P178,Q3040525)
action count
action filter_type
action find_reverse
entity Q3040525
relation P178
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P178', 'Q3040525']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P178 resource:Q3040525 . ?u rdf:type ontology:Q166142 }
BattleBlock Theater Alien Hominid Castle Crashers
3
action count
action filter_type
action find_reverse
entity The Behemoth
relation developer
type application
[{'concept': 'application'}, 'developer', 'The Behemoth']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:developer resource:The_Behemoth . ?u rdf:type ontology:application }
[]