Simple Question (Direct)
Simple Question
Q14626399
P54
Q618123
USER
Which geographical object is Svein Sjøberg a member of ?
(Q14626399,P54,c(Q618123))
action filter_type
action find
entity Q14626399
relation P54
type Q618123
['Q14626399', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { resource:Q14626399 property:P54 ?w . ?w rdf:type ontology:Q618123 }
Svein Sjøberg
action filter_type
action find
entity Svein Sjøberg
relation member of sports team
type geographical object
['Svein Sjøberg', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { resource:Svein_Sjøberg property:member_of_sports_team ?w . ?w rdf:type ontology:geographical_object }
[]
geographical object
Q2042878
SYSTEM
Aktiv SK
Q2042878
(Q14626399,P54,c(Q618123))
action filter_type
action find
entity Q14626399
relation P54
type Q618123
[ANSWER] is Svein Sjøberg a member of
['Q14626399', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { resource:Q14626399 property:P54 ?w . ?w rdf:type ontology:Q618123 }
Aktiv SK
Aktiv SK is Svein Sjøberg a member of
Aktiv SK
action filter_type
action find
entity Svein Sjøberg
relation member of sports team
type geographical object
['Svein Sjøberg', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { resource:Svein_Sjøberg property:member_of_sports_team ?w . ?w rdf:type ontology:geographical_object }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5285213 Q14626399
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Svein Sjøberg or are Djambala Airport present in ?
OR((Q14626399,P27,c(Q15617994)), (Q5285213,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14626399
relation P27
action find
entity Q5285213
relation P17
type Q15617994
{'OR': [['Q14626399', 'P27', {'concept': 'Q15617994'}], ['Q5285213', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q14626399 property:P27 ?o } UNION { resource:Q5285213 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Djambala Airport Svein Sjøberg
action filter_type
action union
action find
entity Svein Sjøberg
relation country of citizenship
action find
entity Djambala Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Svein Sjøberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Djambala Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Svein_Sjøberg property:country_of_citizenship ?o } UNION { resource:Djambala_Airport property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q971
SYSTEM
Norway, Republic of the Congo
Q20 Q971
OR((Q14626399,P27,c(Q15617994)), (Q5285213,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14626399
relation P27
action find
entity Q5285213
relation P17
type Q15617994
[ANSWERS] are the native countriesof Svein Sjøberg or are Djambala Airport present in
{'OR': [['Q14626399', 'P27', {'concept': 'Q15617994'}], ['Q5285213', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q14626399 property:P27 ?o } UNION { resource:Q5285213 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Norway Republic of the Congo
Norway and Republic of the Congo are the native countriesof Svein Sjøberg or are Djambala Airport present in
Norway Republic of the Congo
action filter_type
action union
action find
entity Svein Sjøberg
relation country of citizenship
action find
entity Djambala Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Svein Sjøberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Djambala Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Svein_Sjøberg property:country_of_citizenship ?o } UNION { resource:Djambala_Airport property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q695
P1001
Q15617994 Q17335294 Q35798
USER
Which administrative territories are judicially linked to more number of coats of arms or executive branches than Palau ?
(c(Q17335294)|c(Q35798),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 Q35798
action count
action filter_multi_types
action find_reverse
entity Q695
relation P1001
type Q17335294
type Q35798
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { VALUES ( ?y ) { ( ontology:Q35798 ) ( ontology:Q17335294 ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P1001 resource:Q695 . { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } } } } . FILTER ( ?q > ?g ) }
Palau
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 executive branch
action count
action filter_multi_types
action find_reverse
entity Palau
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { VALUES ( ?y ) { ( ontology:executive_branch ) ( ontology:flag_or_coat_of_arms ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:applies_to_jurisdiction resource:Palau . { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } } } } . FILTER ( ?q > ?g ) }
[]
designation for an administrative territorial entity flag or coat of arms executive branch
Q30 Q159 Q801
SYSTEM
United States of America, Russia, Israel
Q701 Q705 Q801 Q707 Q419 Q668 Q145 Q159 Q889 Q1974 Q1952 Q33 Q30 Q924 Q34 Q423 Q854 Q424 Q769680 Q233 Q1093 Q20 Q2667658 Q1101 Q974 Q694 Q752 Q212 Q217 Q214 Q1438 Q858 Q775 Q776 Q810 Q770 Q773 Q772 Q129003 Q176 Q33788 Q1267638
(c(Q17335294)|c(Q35798),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 Q35798
action count
action filter_multi_types
action find_reverse
entity Q695
relation P1001
type Q17335294
type Q35798
[ANSWERS] are judicially linked to more number of coats of arms or executive branches than Palau
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { VALUES ( ?y ) { ( ontology:Q35798 ) ( ontology:Q17335294 ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P1001 resource:Q695 . { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } } } } . FILTER ( ?q > ?g ) }
North Holland Zeeland Israel Flevoland Peru India United Kingdom Russia Afghanistan British Columbia Nova Scotia Finland United States of America Tanzania Sweden North Korea Sri Lanka Cambodia Bornholm Malta Limburg Norway Shushary, Saint Petersburg North Brabant Democratic Republic of the Congo South Holland Groningen Ukraine Republic of Moldova Slovakia Campania Syria Gelderland Utrecht Jordan Friesland Overijssel Drenthe French Southern and Antarctic Lands Quebec New Caledonia Beloostrov
United States of America, Russia and Israel are judicially linked to more number of coats of arms or executive branches than Palau
United States of America Russia 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 executive branch
action count
action filter_multi_types
action find_reverse
entity Palau
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { VALUES ( ?y ) { ( ontology:executive_branch ) ( ontology:flag_or_coat_of_arms ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:applies_to_jurisdiction resource:Palau . { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } } } } . FILTER ( ?q > ?g ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q515606
P27
Q502895
USER
Are Efraim Sevela a native of those administrative territories ?
(Q515606,P27,Q30) (Q515606,P27,Q159) (Q515606,P27,Q801)
action is_in
entity prev_answer
action find
entity Q515606
relation P27
['Q515606', 'P27', 'Q30'] ['Q515606', 'P27', 'Q159'] ['Q515606', 'P27', 'Q801']
ASK WHERE { resource:Q515606 property:P27 ?f . VALUES ( ?f ) { ( resource:Q701 ) ( resource:Q705 ) ( resource:Q801 ) } }
Efraim Sevela
action is_in
entity prev_answer
action find
entity Efraim Sevela
relation country of citizenship
['Efraim Sevela', 'country of citizenship', 'United States of America'] ['Efraim Sevela', 'country of citizenship', 'Russia'] ['Efraim Sevela', 'country of citizenship', 'Israel']
ASK WHERE { resource:Efraim_Sevela property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:North_Holland ) ( resource:Zeeland ) ( resource:Israel ) } }
[]
common name
SYSTEM
YES
(Q515606,P27,Q30) (Q515606,P27,Q159) (Q515606,P27,Q801)
action is_in
entity prev_answer
action find
entity Q515606
relation P27
[ANSWER]
['Q515606', 'P27', 'Q30'] ['Q515606', 'P27', 'Q159'] ['Q515606', 'P27', 'Q801']
ASK WHERE { resource:Q515606 property:P27 ?f . VALUES ( ?f ) { ( resource:Q701 ) ( resource:Q705 ) ( resource:Q801 ) } }
Yes
action is_in
entity prev_answer
action find
entity Efraim Sevela
relation country of citizenship
['Efraim Sevela', 'country of citizenship', 'United States of America'] ['Efraim Sevela', 'country of citizenship', 'Russia'] ['Efraim Sevela', 'country of citizenship', 'Israel']
ASK WHERE { resource:Efraim_Sevela property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:North_Holland ) ( resource:Zeeland ) ( resource:Israel ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories are exactly 4 holidays or people a patron saint of ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?s = 4 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { { ?e property:P417 ?j . ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1445650 } UNION { ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q502895 . ?e property:P417 ?j } } GROUP BY ?e } }
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?s = 4 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { { ?e property:patron_saint ?j . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:holiday } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:common_name . ?e property:patron_saint ?j } } GROUP BY ?e } }
[]
holiday common name designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[ANSWER] is exactly 4 holidays or people a patron saint of
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?s = 4 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { { ?e property:P417 ?j . ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1445650 } UNION { ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q502895 . ?e property:P417 ?j } } GROUP BY ?e } }
Poland
Poland is exactly 4 holidays or people a patron saint of
Poland
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?s = 4 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { { ?e property:patron_saint ?j . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:holiday } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:common_name . ?e property:patron_saint ?j } } GROUP BY ?e } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P530
Q15617994
USER
Which administrative territories are known to have diplomatic connections with that one ?
(c(Q15617994),P530,Q36)
action filter_type
action find_reverse
entity Q36
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q36']
SELECT DISTINCT ?u WHERE { ?u property:P530 resource:Q36 . ?u rdf:type ontology:Q15617994 }
Poland
action filter_type
action find_reverse
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland']
SELECT DISTINCT ?u WHERE { ?u property:diplomatic_relation resource:Poland . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q184 Q38
SYSTEM
Brazil, Belarus, Italy
Q155 Q184 Q38
(c(Q15617994),P530,Q36)
action filter_type
action find_reverse
entity Q36
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with that one
[{'concept': 'Q15617994'}, 'P530', 'Q36']
SELECT DISTINCT ?u WHERE { ?u property:P530 resource:Q36 . ?u rdf:type ontology:Q15617994 }
Brazil Belarus Italy
Brazil, Belarus and Italy are known to have diplomatic connections with that one
Brazil Belarus Italy
action filter_type
action find_reverse
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland']
SELECT DISTINCT ?u WHERE { ?u property:diplomatic_relation resource:Poland . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have tactful political relations with those administrative territories ?
(Q183,P530,Q155) (Q183,P530,Q184) (Q183,P530,Q38)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q184'] ['Q183', 'P530', 'Q38']
ASK WHERE { resource:Q183 property:P530 ?s . VALUES ( ?s ) { ( resource:Q155 ) ( resource:Q184 ) ( resource:Q38 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Belarus'] ['Germany', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Germany property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Brazil ) ( resource:Belarus ) ( resource:Italy ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q155) (Q183,P530,Q184) (Q183,P530,Q38)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q184'] ['Q183', 'P530', 'Q38']
ASK WHERE { resource:Q183 property:P530 ?s . VALUES ( ?s ) { ( resource:Q155 ) ( resource:Q184 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Belarus'] ['Germany', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Germany property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Brazil ) ( resource:Belarus ) ( resource:Italy ) } }
[]