Simple Question (Direct)
Simple Question
Q2894345
P57
Q502895
USER
Which person directed Moloch Tropical ?
(Q2894345,P57,c(Q502895))
action filter_type
action find
entity Q2894345
relation P57
type Q502895
['Q2894345', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2894345 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Moloch Tropical
action filter_type
action find
entity Moloch Tropical
relation director
type common name
['Moloch Tropical', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Moloch_Tropical property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1357018
SYSTEM
Raoul Peck
Q1357018
(Q2894345,P57,c(Q502895))
action filter_type
action find
entity Q2894345
relation P57
type Q502895
[ANSWER] directed Moloch Tropical
['Q2894345', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2894345 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Raoul Peck
Raoul Peck directed Moloch Tropical
Raoul Peck
action filter_type
action find
entity Moloch Tropical
relation director
type common name
['Moloch Tropical', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Moloch_Tropical property:director ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2894345
P161
Q502895
USER
Who were casted in that television program ?
(Q1357018,P161,c(Q502895))
action filter_type
action find
entity Q2894345
relation P161
type Q502895
['Q1357018', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q2894345 property:P161 ?z }
Moloch Tropical
action filter_type
action find
entity Moloch Tropical
relation cast member
type common name
['Raoul Peck', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Moloch_Tropical property:cast_member ?z }
[]
common name
Q1986254 Q456596 Q931325
SYSTEM
Sonia Rolland, Elli Medeiros, Jimmy Jean-Louis
Q2422399 Q456596 Q1986254 Q931325 Q16666535 Q204394
(Q1357018,P161,c(Q502895))
action filter_type
action find
entity Q2894345
relation P161
type Q502895
[ANSWERS] were casted in that television program
['Q1357018', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q2894345 property:P161 ?z }
Oris Erhuero Elli Medeiros Sonia Rolland Jimmy Jean-Louis Nicole Dogué Zinedine Soualem
Sonia Rolland, Elli Medeiros and Jimmy Jean-Louis were casted in that television program
Sonia Rolland Elli Medeiros Jimmy Jean-Louis
action filter_type
action find
entity Moloch Tropical
relation cast member
type common name
['Raoul Peck', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Moloch_Tropical property:cast_member ?z }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6019173
P161
Q15416
USER
Do India's Great Driving Challenge have those people in their star cast ?
(Q6019173,P161,Q1986254) (Q6019173,P161,Q456596) (Q6019173,P161,Q931325)
action is_in
entity prev_answer
action find
entity Q6019173
relation P161
['Q6019173', 'P161', 'Q1986254'] ['Q6019173', 'P161', 'Q456596'] ['Q6019173', 'P161', 'Q931325']
ASK WHERE { VALUES ( ?z ) { ( resource:Q2422399 ) ( resource:Q456596 ) ( resource:Q1986254 ) } . resource:Q6019173 property:P161 ?z }
India's Great Driving Challenge
action is_in
entity prev_answer
action find
entity India's Great Driving Challenge
relation cast member
["India's Great Driving Challenge", 'cast member', 'Sonia Rolland'] ["India's Great Driving Challenge", 'cast member', 'Elli Medeiros'] ["India's Great Driving Challenge", 'cast member', 'Jimmy Jean-Louis']
ASK WHERE { VALUES ( ?z ) { ( resource:Oris_Erhuero ) ( resource:Elli_Medeiros ) ( resource:Sonia_Rolland ) } . resource:India's_Great_Driving_Challenge property:cast_member ?z }
[]
television program
SYSTEM
NO
(Q6019173,P161,Q1986254) (Q6019173,P161,Q456596) (Q6019173,P161,Q931325)
action is_in
entity prev_answer
action find
entity Q6019173
relation P161
[ANSWER]
['Q6019173', 'P161', 'Q1986254'] ['Q6019173', 'P161', 'Q456596'] ['Q6019173', 'P161', 'Q931325']
ASK WHERE { VALUES ( ?z ) { ( resource:Q2422399 ) ( resource:Q456596 ) ( resource:Q1986254 ) } . resource:Q6019173 property:P161 ?z }
No
action is_in
entity prev_answer
action find
entity India's Great Driving Challenge
relation cast member
["India's Great Driving Challenge", 'cast member', 'Sonia Rolland'] ["India's Great Driving Challenge", 'cast member', 'Elli Medeiros'] ["India's Great Driving Challenge", 'cast member', 'Jimmy Jean-Louis']
ASK WHERE { VALUES ( ?z ) { ( resource:Oris_Erhuero ) ( resource:Elli_Medeiros ) ( resource:Sonia_Rolland ) } . resource:India's_Great_Driving_Challenge property:cast_member ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q931325 Q26697578
P106
Q12737077
USER
Is mayor of La Eliana the profession of Jimmy Jean-Louis ?
(Q931325,P106,Q26697578)
action is_in
entity Q26697578
action find
entity Q931325
relation P106
['Q931325', 'P106', 'Q26697578']
ASK WHERE { resource:Q931325 property:P106 resource:Q26697578 }
Jimmy Jean-Louis mayor of La Eliana
action is_in
entity mayor of La Eliana
action find
entity Jimmy Jean-Louis
relation occupation
['Jimmy Jean-Louis', 'occupation', 'mayor of La Eliana']
ASK WHERE { resource:Jimmy_Jean-Louis property:occupation resource:mayor_of_La_Eliana }
[]
occupation
SYSTEM
NO
(Q931325,P106,Q26697578)
action is_in
entity Q26697578
action find
entity Q931325
relation P106
[ANSWER]
['Q931325', 'P106', 'Q26697578']
ASK WHERE { resource:Q931325 property:P106 resource:Q26697578 }
No
action is_in
entity mayor of La Eliana
action find
entity Jimmy Jean-Louis
relation occupation
['Jimmy Jean-Louis', 'occupation', 'mayor of La Eliana']
ASK WHERE { resource:Jimmy_Jean-Louis property:occupation resource:mayor_of_La_Eliana }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q456596 Q142
P27
Q15617994
USER
Is France the native country of that person ?
(Q456596,P27,Q142)
action is_in
entity Q142
action find
entity Q456596
relation P27
['Q456596', 'P27', 'Q142']
ASK WHERE { resource:Q456596 property:P27 resource:Q142 }
Elli Medeiros France
action is_in
entity France
action find
entity Elli Medeiros
relation country of citizenship
['Elli Medeiros', 'country of citizenship', 'France']
ASK WHERE { resource:Elli_Medeiros property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q456596,P27,Q142)
action is_in
entity Q142
action find
entity Q456596
relation P27
[ANSWER]
['Q456596', 'P27', 'Q142']
ASK WHERE { resource:Q456596 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Elli Medeiros
relation country of citizenship
['Elli Medeiros', 'country of citizenship', 'France']
ASK WHERE { resource:Elli_Medeiros property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27010 Q26697578
P17
Q15617994
USER
Which administrative territories are mayor of La Eliana or Socotra Rock situated in ?
OR((Q26697578,P17,c(Q15617994)), (Q27010,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26697578
relation P17
action find
entity Q27010
relation P17
type Q15617994
{'OR': [['Q26697578', 'P17', {'concept': 'Q15617994'}], ['Q27010', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q26697578 property:P17 ?o } UNION { resource:Q27010 property:P17 ?o } } }
Socotra Rock mayor of La Eliana
action filter_type
action union
action find
entity mayor of La Eliana
relation country
action find
entity Socotra Rock
relation country
type designation for an administrative territorial entity
{'OR': [['mayor of La Eliana', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Socotra Rock', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:mayor_of_La_Eliana property:country ?o } UNION { resource:Socotra_Rock property:country ?o } } }
[]
designation for an administrative territorial entity
Q29 Q148 Q884
SYSTEM
Spain, People's Republic of China, South Korea
Q29 Q148 Q884
OR((Q26697578,P17,c(Q15617994)), (Q27010,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26697578
relation P17
action find
entity Q27010
relation P17
type Q15617994
[ANSWERS] are mayor of La Eliana or Socotra Rock situated in
{'OR': [['Q26697578', 'P17', {'concept': 'Q15617994'}], ['Q27010', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q26697578 property:P17 ?o } UNION { resource:Q27010 property:P17 ?o } } }
Spain People's Republic of China South Korea
Spain, People's Republic of China and South Korea are mayor of La Eliana or Socotra Rock situated in
Spain People's Republic of China South Korea
action filter_type
action union
action find
entity mayor of La Eliana
relation country
action find
entity Socotra Rock
relation country
type designation for an administrative territorial entity
{'OR': [['mayor of La Eliana', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Socotra Rock', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:mayor_of_La_Eliana property:country ?o } UNION { resource:Socotra_Rock property:country ?o } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q884
P859
Q939954
USER
Which Magnetic confinement fusion was funded by that administrative territory ?
(c(Q939954),P859,Q884)
action filter_type
action find_reverse
entity Q884
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q884']
SELECT DISTINCT ?k WHERE { ?k property:P859 resource:Q884 . ?k rdf:type ontology:Q939954 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'South Korea']
SELECT DISTINCT ?k WHERE { ?k property:sponsor resource:South_Korea . ?k rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Clarification for simple ques.
Q148
SYSTEM
Did you mean People's Republic of China ?
Q29 Q148 Q884
(c(Q939954),P859,Q29) (c(Q939954),P859,Q148) (c(Q939954),P859,Q884)
[ANSWER]
[{'concept': 'Q939954'}, 'P859', 'Q29'] [{'concept': 'Q939954'}, 'P859', 'Q148'] [{'concept': 'Q939954'}, 'P859', 'Q884']
SELECT DISTINCT ?k WHERE { ?k property:P859 resource:Q884 . ?k rdf:type ontology:Q939954 }
Spain People's Republic of China South Korea
Did you mean People's Republic of China ?
People's Republic of China
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Spain'] [{'concept': 'Magnetic confinement fusion'}, 'sponsor', "People's Republic of China"] [{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'South Korea']
SELECT DISTINCT ?k WHERE { ?k property:sponsor resource:South_Korea . ?k rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Coreferenced)
USER
No, I meant South Korea. Could you tell me the answer for that?
(c(Q939954),P859,Q884)
Q884
[{'concept': 'Q939954'}, 'P859', 'Q884']
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'South Korea']
[]
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q884)
action filter_type
action find_reverse
entity Q884
relation P859
type Q939954
[ANSWER] was funded by that administrative territory
[{'concept': 'Q939954'}, 'P859', 'Q884']
SELECT DISTINCT ?k WHERE { ?k property:P859 resource:Q884 . ?k rdf:type ontology:Q939954 }
ITER
ITER was funded by that administrative territory
ITER
action filter_type
action find_reverse
entity South Korea
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'South Korea']
SELECT DISTINCT ?k WHERE { ?k property:sponsor resource:South_Korea . ?k rdf:type ontology:Magnetic_confinement_fusion }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q408 Q884
P463
Q484652
USER
Which international organizations were South Korea and Australia a member of ?
AND((Q884,P463,c(Q484652)), (Q408,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q884
relation P463
action find
entity Q408
relation P463
type Q484652
{'AND': [['Q884', 'P463', {'concept': 'Q484652'}], ['Q408', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?w WHERE { resource:Q884 property:P463 ?w . resource:Q408 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Australia South Korea
action filter_type
action intersection
action find
entity South Korea
relation member of
action find
entity Australia
relation member of
type international organization
{'AND': [['South Korea', 'member of', {'concept': 'international organization'}], ['Australia', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?w WHERE { resource:South_Korea property:member_of ?w . resource:Australia property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
Q19771 Q1065 Q188822 Q1043527
SYSTEM
G20, United Nations, Asian Development Bank, Multilateral Investment Guarantee Agency
Q19771 Q1065 Q188822 Q1043527
AND((Q884,P463,c(Q484652)), (Q408,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q884
relation P463
action find
entity Q408
relation P463
type Q484652
[ANSWERS] were South Korea and Australia a member of
{'AND': [['Q884', 'P463', {'concept': 'Q484652'}], ['Q408', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?w WHERE { resource:Q884 property:P463 ?w . resource:Q408 property:P463 ?w . ?w rdf:type ontology:Q484652 }
G20 United Nations Asian Development Bank Multilateral Investment Guarantee Agency
G20, United Nations, Asian Development Bank and Multilateral Investment Guarantee Agency were South Korea and Australia a member of
G20 United Nations Asian Development Bank Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity South Korea
relation member of
action find
entity Australia
relation member of
type international organization
{'AND': [['South Korea', 'member of', {'concept': 'international organization'}], ['Australia', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?w WHERE { resource:South_Korea property:member_of ?w . resource:Australia property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q212
P1001
Q15617994 Q17335294 Q12737077
USER
Which administrative territories come under the jurisdiction of more number of coats of arms or occupations than Ukraine ?
(c(Q17335294)|c(Q12737077),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q212
relation P1001
type Q17335294
type Q12737077
[[{'concept': 'Q17335294'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?f WHERE { VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q17335294 ) } . ?a rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1001 resource:Q212 . { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?z > ?m ) }
Ukraine
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Ukraine
relation applies to jurisdiction
type flag or coat of arms
type occupation
[[{'concept': 'flag or coat of arms'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?f WHERE { VALUES ( ?e ) { ( ontology:occupation ) ( ontology:flag_or_coat_of_arms ) } . ?a rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:applies_to_jurisdiction resource:Ukraine . { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:occupation ) } } } } . FILTER ( ?z > ?m ) }
[]
designation for an administrative territorial entity flag or coat of arms occupation
Q38 Q30 Q159
SYSTEM
Italy, United States of America, Russia
Q801 Q419 Q668 Q142 Q55 Q145 Q148 Q189 Q31 Q213 Q403 Q258 Q159 Q41 Q218 Q33 Q30 Q36 Q34 Q928 Q39 Q38 Q20 Q27 Q28 Q843 Q184 Q17 Q1033 Q191 Q833 Q836 Q29
(c(Q17335294)|c(Q12737077),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q212
relation P1001
type Q17335294
type Q12737077
[ANSWERS] come under the jurisdiction of more number of coats of arms or occupations than Ukraine
[[{'concept': 'Q17335294'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?f WHERE { VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q17335294 ) } . ?a rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1001 resource:Q212 . { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?z > ?m ) }
Israel Peru India France Netherlands United Kingdom People's Republic of China Iceland Belgium Czech Republic Serbia South Africa Russia Greece Romania Finland United States of America Poland Sweden Philippines Switzerland Italy Norway Ireland Hungary Pakistan Belarus Japan Nigeria Estonia Malaysia Myanmar Spain
Italy, United States of America and Russia come under the jurisdiction of more number of coats of arms or occupations than Ukraine
Italy United States of America Russia
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Ukraine
relation applies to jurisdiction
type flag or coat of arms
type occupation
[[{'concept': 'flag or coat of arms'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?f WHERE { VALUES ( ?e ) { ( ontology:occupation ) ( ontology:flag_or_coat_of_arms ) } . ?a rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:applies_to_jurisdiction resource:Ukraine . { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:occupation ) } } } } . FILTER ( ?z > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q801
P1001
Q15617994 Q17335294 Q12737077
USER
And what about Israel?
(c(Q17335294)|c(Q12737077),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q17335294
type Q12737077
[[{'concept': 'Q17335294'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?h WHERE { { ?d property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q17335294 } UNION { ?d property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q12737077 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1001 resource:Q801 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q12737077 } } } } . FILTER ( ?e > ?g ) }
Israel
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type flag or coat of arms
type occupation
[[{'concept': 'flag or coat of arms'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?h WHERE { { ?d property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:flag_or_coat_of_arms } UNION { ?d property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:occupation } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:applies_to_jurisdiction resource:Israel . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:occupation } } } } . FILTER ( ?e > ?g ) }
[]
designation for an administrative territorial entity flag or coat of arms occupation
Q30 Q142 Q145
SYSTEM
United States of America, France, United Kingdom
Q142 Q145 Q41 Q30
(c(Q17335294)|c(Q12737077),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q17335294
type Q12737077
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?h WHERE { { ?d property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q17335294 } UNION { ?d property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q12737077 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1001 resource:Q801 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q12737077 } } } } . FILTER ( ?e > ?g ) }
France United Kingdom Greece United States of America
United States of America France United Kingdom
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type flag or coat of arms
type occupation
[[{'concept': 'flag or coat of arms'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?h WHERE { { ?d property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:flag_or_coat_of_arms } UNION { ?d property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:occupation } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:applies_to_jurisdiction resource:Israel . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:occupation } } } } . FILTER ( ?e > ?g ) }
[]