Simple Question (Direct)
Simple Question
Q11466409
P102
Q7210356
USER
Which party does Keiko Yamauchi belong to ?
(Q11466409,P102,c(Q7210356))
action filter_type
action find
entity Q11466409
relation P102
type Q7210356
['Q11466409', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q11466409 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Keiko Yamauchi
action filter_type
action find
entity Keiko Yamauchi
relation member of political party
type political organization
['Keiko Yamauchi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Keiko_Yamauchi property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q835109
SYSTEM
Social Democratic Party
Q835109
(Q11466409,P102,c(Q7210356))
action filter_type
action find
entity Q11466409
relation P102
type Q7210356
Keiko Yamauchi belongs to [ANSWER]
['Q11466409', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q11466409 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Social Democratic Party
Keiko Yamauchi belongs to Social Democratic Party
Social Democratic Party
action filter_type
action find
entity Keiko Yamauchi
relation member of political party
type political organization
['Keiko Yamauchi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Keiko_Yamauchi property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11466409
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q835109,P27,c(Q15617994))
action filter_type
action find
entity Q11466409
relation P27
type Q15617994
['Q835109', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q11466409 property:P27 ?l }
Keiko Yamauchi
action filter_type
action find
entity Keiko Yamauchi
relation country of citizenship
type designation for an administrative territorial entity
['Social Democratic Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Keiko_Yamauchi property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q835109,P27,c(Q15617994))
action filter_type
action find
entity Q11466409
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q835109', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q11466409 property:P27 ?l }
Japan
The Japan is the country of citizenship of that person
Japan
action filter_type
action find
entity Keiko Yamauchi
relation country of citizenship
type designation for an administrative territorial entity
['Social Democratic Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Keiko_Yamauchi property:country_of_citizenship ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11466409
P734
Q82799
USER
Which name is associated with Keiko Yamauchi ?
(Q11466409,P734,c(Q82799))
action filter_type
action find
entity Q11466409
relation P734
type Q82799
['Q11466409', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q11466409 property:P734 ?u }
Keiko Yamauchi
action filter_type
action find
entity Keiko Yamauchi
relation family name
type name
['Keiko Yamauchi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Keiko_Yamauchi property:family_name ?u }
[]
name
Q23304180
SYSTEM
Yamauchi
Q23304180
(Q11466409,P734,c(Q82799))
action filter_type
action find
entity Q11466409
relation P734
type Q82799
[ANSWER] is associated with Keiko [ANSWER]
['Q11466409', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q11466409 property:P734 ?u }
Yamauchi
Yamauchi is associated with Keiko Yamauchi
Yamauchi
action filter_type
action find
entity Keiko Yamauchi
relation family name
type name
['Keiko Yamauchi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Keiko_Yamauchi property:family_name ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q201251
P180
Q82799 Q17335294 Q15709879
USER
Which names are expressed in lesser number of coats of arms or artwork series than peacock ?
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q17335294
type Q15709879
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?w WHERE { { ?z property:P180 ?w . ?w rdf:type ontology:Q82799 . ?z rdf:type ontology:Q17335294 } UNION { ?z property:P180 ?w . ?w rdf:type ontology:Q82799 . ?z rdf:type ontology:Q15709879 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q201251 . { { ?v rdf:type ontology:Q17335294 } UNION { ?v rdf:type ontology:Q15709879 } } } } . FILTER ( ?y < ?q ) }
peacock
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type flag or coat of arms
type artwork series
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?w WHERE { { ?z property:depicts ?w . ?w rdf:type ontology:name . ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z property:depicts ?w . ?w rdf:type ontology:name . ?z rdf:type ontology:artwork_series } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:peacock . { { ?v rdf:type ontology:flag_or_coat_of_arms } UNION { ?v rdf:type ontology:artwork_series } } } } . FILTER ( ?y < ?q ) }
[]
name flag or coat of arms artwork series
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q17335294
type Q15709879
[ANSWERS] are expressed in lesser number of coats of arms or artwork series than peacock
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?w WHERE { { ?z property:P180 ?w . ?w rdf:type ontology:Q82799 . ?z rdf:type ontology:Q17335294 } UNION { ?z property:P180 ?w . ?w rdf:type ontology:Q82799 . ?z rdf:type ontology:Q15709879 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q201251 . { { ?v rdf:type ontology:Q17335294 } UNION { ?v rdf:type ontology:Q15709879 } } } } . FILTER ( ?y < ?q ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
Leek, magi and Cynara scolymus are expressed in lesser number of coats of arms or artwork series than peacock
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type flag or coat of arms
type artwork series
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?w WHERE { { ?z property:depicts ?w . ?w rdf:type ontology:name . ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z property:depicts ?w . ?w rdf:type ontology:name . ?z rdf:type ontology:artwork_series } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:peacock . { { ?v rdf:type ontology:flag_or_coat_of_arms } UNION { ?v rdf:type ontology:artwork_series } } } } . FILTER ( ?y < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q152
P180
Q82799 Q17335294 Q15709879
USER
And also tell me about fish?
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q152
relation P180
type Q17335294
type Q15709879
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?z WHERE { { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q17335294 ) ( ontology:Q15709879 ) } } . ?f property:P180 resource:Q152 } } . FILTER ( ?i < ?g ) }
fish
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity fish
relation depicts
type flag or coat of arms
type artwork series
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?z WHERE { { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:artwork_series } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:flag_or_coat_of_arms ) ( ontology:artwork_series ) } } . ?f property:depicts resource:fish } } . FILTER ( ?i < ?g ) }
[]
name flag or coat of arms artwork series
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q152
relation P180
type Q17335294
type Q15709879
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?z WHERE { { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q17335294 ) ( ontology:Q15709879 ) } } . ?f property:P180 resource:Q152 } } . FILTER ( ?i < ?g ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity fish
relation depicts
type flag or coat of arms
type artwork series
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?z WHERE { { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:artwork_series } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:flag_or_coat_of_arms ) ( ontology:artwork_series ) } } . ?f property:depicts resource:fish } } . FILTER ( ?i < ?g ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17541175 Q17
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Japan and are the countries of citizenship of Jonathan Diba Musangu ?
AND((Q17,P530,c(Q15617994)), (Q17541175,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q17541175
relation P27
type Q15617994
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q17541175', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q17 property:P530 ?f . resource:Q17541175 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Jonathan Diba Musangu Japan
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Jonathan Diba Musangu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jonathan Diba Musangu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Japan property:diplomatic_relation ?f . resource:Jonathan_Diba_Musangu property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q17,P530,c(Q15617994)), (Q17541175,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q17541175
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Japan and are the countries of citizenship of Jonathan Diba Musangu
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q17541175', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q17 property:P530 ?f . resource:Q17541175 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom holds diplomatic relationship with Japan and are the countries of citizenship of Jonathan Diba Musangu
United Kingdom
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Jonathan Diba Musangu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jonathan Diba Musangu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Japan property:diplomatic_relation ?f . resource:Jonathan_Diba_Musangu property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17541175
P21
Q290
USER
Which sex does Jonathan Diba Musangu have ?
(Q17541175,P21,c(Q290))
action filter_type
action find
entity Q17541175
relation P21
type Q290
['Q17541175', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q17541175 property:P21 ?v }
Jonathan Diba Musangu
action filter_type
action find
entity Jonathan Diba Musangu
relation gender
type sex
['Jonathan Diba Musangu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Jonathan_Diba_Musangu property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17541175,P21,c(Q290))
action filter_type
action find
entity Q17541175
relation P21
type Q290
Jonathan Diba Musangu has a [ANSWER]
['Q17541175', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q17541175 property:P21 ?v }
male
Jonathan Diba Musangu has a male
male
action filter_type
action find
entity Jonathan Diba Musangu
relation gender
type sex
['Jonathan Diba Musangu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Jonathan_Diba_Musangu property:gender ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5912293
Q290
USER
And also tell me about Walter Kjellman?
(Q5912293,P21,c(Q290))
action filter_type
action find
entity Q5912293
relation P21
type Q290
['Q5912293', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5912293 property:P21 ?d . ?d rdf:type ontology:Q290 }
Walter Kjellman
action filter_type
action find
entity Walter Kjellman
relation gender
type sex
['Walter Kjellman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Kjellman property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5912293,P21,c(Q290))
action filter_type
action find
entity Q5912293
relation P21
type Q290
[ANSWER]
['Q5912293', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5912293 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Walter Kjellman
relation gender
type sex
['Walter Kjellman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Kjellman property:gender ?d . ?d rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atleast 54 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 54
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?t property:P530 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?o >= 54 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 54
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?t property:diplomatic_relation ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?o >= 54 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 54
[ANSWERS] have diplomatic relationships with atleast 54 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?t property:P530 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?o >= 54 ) }
Brazil Italy
Brazil and Italy have diplomatic relationships with atleast 54 administrative territories
Brazil Italy
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 54
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?t property:diplomatic_relation ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?o >= 54 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q151885 Q55488
USER
How many administrative territories are atmost 1 concepts and railway stations named after ?
(c(Q151885)|c(Q55488),P138,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
value 1
[[{'concept': 'Q151885'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P138 ?u . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q55488 } UNION { ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q151885 . ?g property:P138 ?u } } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
value 1
[[{'concept': 'concept'}, {'concept': 'railway station'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:named_after ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:railway_station } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:concept . ?g property:named_after ?u } } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
[]
designation for an administrative territorial entity concept railway station
SYSTEM
382
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q151885)|c(Q55488),P138,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
value 1
[ANSWER]
[[{'concept': 'Q151885'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P138 ?u . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q55488 } UNION { ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q151885 . ?g property:P138 ?u } } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
382
action count
action atmost
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
value 1
[[{'concept': 'concept'}, {'concept': 'railway station'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:named_after ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:railway_station } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:concept . ?g property:named_after ?u } } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
[]