Simple Question (Direct)
Simple Question
Q1895043
P39
Q12737077
USER
Which occupation was a position held by Margarete Weiß ?
(Q1895043,P39,c(Q12737077))
action filter_type
action find
entity Q1895043
relation P39
type Q12737077
['Q1895043', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1895043 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Margarete Weiß
action filter_type
action find
entity Margarete Weiß
relation position held
type occupation
['Margarete Weiß', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Margarete_Weiß property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18130496
SYSTEM
Member of the Landtag of Schleswig-Holstein
Q18130496
(Q1895043,P39,c(Q12737077))
action filter_type
action find
entity Q1895043
relation P39
type Q12737077
The [ANSWER] was a position held by Margarete Weiß
['Q1895043', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1895043 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Landtag of Schleswig-Holstein
The Member of the Landtag of Schleswig-Holstein was a position held by Margarete Weiß
Member of the Landtag of Schleswig-Holstein
action filter_type
action find
entity Margarete Weiß
relation position held
type occupation
['Margarete Weiß', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Margarete_Weiß property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q493655 Q18130496
P17
Q1048835
USER
Which political territories do Member of the Landtag of Schleswig-Holstein or Chief Minister of Anguilla belong to ?
OR((Q18130496,P17,c(Q1048835)), (Q493655,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18130496
relation P17
action find
entity Q493655
relation P17
type Q1048835
{'OR': [['Q18130496', 'P17', {'concept': 'Q1048835'}], ['Q493655', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:P17 ?d . VALUES ( ?k ) { ( resource:Q493655 ) ( resource:Q18130496 ) } } . ?d rdf:type ontology:Q1048835 }
Chief Minister of Anguilla Member of the Landtag of Schleswig-Holstein
action filter_type
action union
action find
entity Member of the Landtag of Schleswig-Holstein
relation country
action find
entity Chief Minister of Anguilla
relation country
type political territorial entity
{'OR': [['Member of the Landtag of Schleswig-Holstein', 'country', {'concept': 'political territorial entity'}], ['Chief Minister of Anguilla', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:country ?d . VALUES ( ?k ) { ( resource:Chief_Minister_of_Anguilla ) ( resource:Member_of_the_Landtag_of_Schleswig-Holstein ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q25228 Q183
SYSTEM
Anguilla, Germany
Q25228 Q183
OR((Q18130496,P17,c(Q1048835)), (Q493655,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18130496
relation P17
action find
entity Q493655
relation P17
type Q1048835
And [ANSWERS] Member of the Landtag of Schleswig-Holstein or Chief Minister of Anguilla belong to
{'OR': [['Q18130496', 'P17', {'concept': 'Q1048835'}], ['Q493655', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:P17 ?d . VALUES ( ?k ) { ( resource:Q493655 ) ( resource:Q18130496 ) } } . ?d rdf:type ontology:Q1048835 }
Anguilla Germany
And Anguilla and Germany Member of the Landtag of Schleswig-Holstein or Chief Minister of Anguilla belong to
Anguilla Germany
action filter_type
action union
action find
entity Member of the Landtag of Schleswig-Holstein
relation country
action find
entity Chief Minister of Anguilla
relation country
type political territorial entity
{'OR': [['Member of the Landtag of Schleswig-Holstein', 'country', {'concept': 'political territorial entity'}], ['Chief Minister of Anguilla', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:country ?d . VALUES ( ?k ) { ( resource:Chief_Minister_of_Anguilla ) ( resource:Member_of_the_Landtag_of_Schleswig-Holstein ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3545697 Q25228
P17
Q15617994
USER
Which administrative territories are Anguilla or Warszawianka, Masovian Voivodeship located in ?
OR((Q25228,P17,c(Q15617994)), (Q3545697,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25228
relation P17
action find
entity Q3545697
relation P17
type Q15617994
{'OR': [['Q25228', 'P17', {'concept': 'Q15617994'}], ['Q3545697', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q25228 ) ( resource:Q3545697 ) } . ?d property:P17 ?e } . ?e rdf:type ontology:Q15617994 }
Warszawianka, Masovian Voivodeship Anguilla
action filter_type
action union
action find
entity Anguilla
relation country
action find
entity Warszawianka, Masovian Voivodeship
relation country
type designation for an administrative territorial entity
{'OR': [['Anguilla', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Warszawianka, Masovian Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Anguilla ) ( resource:Warszawianka,_Masovian_Voivodeship ) } . ?d property:country ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q145
SYSTEM
Poland, United Kingdom
Q36 Q145
OR((Q25228,P17,c(Q15617994)), (Q3545697,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25228
relation P17
action find
entity Q3545697
relation P17
type Q15617994
Anguilla or Warszawianka , Masovian Voivodeship are located in [ANSWERS]
{'OR': [['Q25228', 'P17', {'concept': 'Q15617994'}], ['Q3545697', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q25228 ) ( resource:Q3545697 ) } . ?d property:P17 ?e } . ?e rdf:type ontology:Q15617994 }
Poland United Kingdom
Anguilla or Warszawianka , Masovian Voivodeship are located in Poland and United Kingdom
Poland United Kingdom
action filter_type
action union
action find
entity Anguilla
relation country
action find
entity Warszawianka, Masovian Voivodeship
relation country
type designation for an administrative territorial entity
{'OR': [['Anguilla', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Warszawianka, Masovian Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Anguilla ) ( resource:Warszawianka,_Masovian_Voivodeship ) } . ?d property:country ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q145
P85
Q7725634
USER
What are the national anthems of those administrative territories ?
(Q36,P85,c(Q7725634)) (Q145,P85,c(Q7725634))
action filter_type
action find
entity prev_answer
relation P85
type Q7725634
['Q36', 'P85', {'concept': 'Q7725634'}] ['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7725634 . VALUES ( ?u ) { ( resource:Q36 ) ( resource:Q145 ) } . ?u property:P85 ?r }
Poland United Kingdom
action filter_type
action find
entity prev_answer
relation anthem
type literary work
['Poland', 'anthem', {'concept': 'literary work'}] ['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:literary_work . VALUES ( ?u ) { ( resource:Poland ) ( resource:United_Kingdom ) } . ?u property:anthem ?r }
[]
literary work
Q482988 Q40807
SYSTEM
Mazurek Dąbrowskiego, God Save the Queen
Q482988 Q40807
(Q36,P85,c(Q7725634)) (Q145,P85,c(Q7725634))
action filter_type
action find
entity prev_answer
relation P85
type Q7725634
The national anthems of those administrative territories are the [ANSWERS]
['Q36', 'P85', {'concept': 'Q7725634'}] ['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7725634 . VALUES ( ?u ) { ( resource:Q36 ) ( resource:Q145 ) } . ?u property:P85 ?r }
Mazurek Dąbrowskiego God Save the Queen
The national anthems of those administrative territories are the Mazurek Dąbrowskiego and God Save the Queen
Mazurek Dąbrowskiego God Save the Queen
action filter_type
action find
entity prev_answer
relation anthem
type literary work
['Poland', 'anthem', {'concept': 'literary work'}] ['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:literary_work . VALUES ( ?u ) { ( resource:Poland ) ( resource:United_Kingdom ) } . ?u property:anthem ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36
P530
Q1048835
USER
Which political territories have diplomatic relations with that administrative territory ?
(Q36,P530,c(Q1048835))
action filter_type
action find
entity Q36
relation P530
type Q1048835
['Q36', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q36 property:P530 ?g }
Poland
action filter_type
action find
entity Poland
relation diplomatic relation
type political territorial entity
['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Poland property:diplomatic_relation ?g }
[]
political territorial entity
Clarification for simple ques.
Q36
SYSTEM
Did you mean Poland ?
Q482988 Q40807
(Q482988,P530,c(Q1048835)) (Q40807,P530,c(Q1048835))
[ANSWER]
['Q482988', 'P530', {'concept': 'Q1048835'}] ['Q40807', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q36 property:P530 ?g }
Mazurek Dąbrowskiego God Save the Queen
Did you mean Poland ?
Poland
['Mazurek Dąbrowskiego', 'diplomatic relation', {'concept': 'political territorial entity'}] ['God Save the Queen', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Poland property:diplomatic_relation ?g }
[]
Simple Question (Coreferenced)
USER
Yes
(Q36,P530,c(Q1048835))
['Q36', 'P530', {'concept': 'Q1048835'}]
['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q16 Q408 Q183
(Q36,P530,c(Q1048835))
action filter_type
action find
entity Q36
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with that administrative territory
['Q36', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q36 property:P530 ?g }
Canada Australia Germany
Australia, Canada and Germany have diplomatic relations with that administrative territory
Australia Canada Germany
action filter_type
action find
entity Poland
relation diplomatic relation
type political territorial entity
['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Poland property:diplomatic_relation ?g }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q115
P530
Q15617994
USER
Do Ethiopia have ambassadorial relations with those political territories ?
(Q115,P530,Q408) (Q115,P530,Q16) (Q115,P530,Q183)
action is_in
entity prev_answer
action find
entity Q115
relation P530
['Q115', 'P530', 'Q408'] ['Q115', 'P530', 'Q16'] ['Q115', 'P530', 'Q183']
ASK WHERE { resource:Q115 property:P530 ?i . VALUES ( ?i ) { ( resource:Q16 ) ( resource:Q408 ) ( resource:Q183 ) } }
Ethiopia
action is_in
entity prev_answer
action find
entity Ethiopia
relation diplomatic relation
['Ethiopia', 'diplomatic relation', 'Australia'] ['Ethiopia', 'diplomatic relation', 'Canada'] ['Ethiopia', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Ethiopia property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Canada ) ( resource:Australia ) ( resource:Germany ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q115,P530,Q408) (Q115,P530,Q16) (Q115,P530,Q183)
action is_in
entity prev_answer
action find
entity Q115
relation P530
[ANSWER]
['Q115', 'P530', 'Q408'] ['Q115', 'P530', 'Q16'] ['Q115', 'P530', 'Q183']
ASK WHERE { resource:Q115 property:P530 ?i . VALUES ( ?i ) { ( resource:Q16 ) ( resource:Q408 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ethiopia
relation diplomatic relation
['Ethiopia', 'diplomatic relation', 'Australia'] ['Ethiopia', 'diplomatic relation', 'Canada'] ['Ethiopia', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Ethiopia property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Canada ) ( resource:Australia ) ( resource:Germany ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20015789 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or do Javier Reyero belong to ?
OR((Q183,P530,c(Q15617994)), (Q20015789,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q20015789
relation P27
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q20015789', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q20015789 property:P27 ?k } UNION { resource:Q183 property:P530 ?k } } . ?k rdf:type ontology:Q15617994 }
Javier Reyero Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Javier Reyero
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Javier Reyero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Javier_Reyero property:country_of_citizenship ?k } UNION { resource:Germany property:diplomatic_relation ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016 Q214 Q184 Q833 Q1045 Q232 Q954 Q34 Q881 Q117
SYSTEM
Some of them are Libya, Slovakia, Belarus, Malaysia, Somalia, Kazakhstan, Zimbabwe, Sweden, Vietnam, Ghana
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q20015789,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q20015789
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or do Javier Reyero belong to
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q20015789', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q20015789 property:P27 ?k } UNION { resource:Q183 property:P530 ?k } } . ?k rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Libya, Slovakia, Belarus, Malaysia, Somalia, Kazakhstan, Zimbabwe, Sweden, Vietnam and Ghana have diplomatic relationships with Germany or do Javier Reyero belong to
Libya Slovakia Belarus Malaysia Somalia Kazakhstan Zimbabwe Sweden Vietnam Ghana
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Javier Reyero
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Javier Reyero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Javier_Reyero property:country_of_citizenship ?k } UNION { resource:Germany property:diplomatic_relation ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q881
P127
Q43229
USER
Which organization is under posessision of that administrative territory ?
(c(Q43229),P127,Q881)
action filter_type
action find_reverse
entity Q881
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q881']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q881 . ?n rdf:type ontology:Q43229 }
Vietnam
action filter_type
action find_reverse
entity Vietnam
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Vietnam']
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:Vietnam . ?n rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q954
SYSTEM
Did you mean Zimbabwe ?
Q1016 Q214 Q184 Q833 Q1045 Q232 Q954 Q34 Q881 Q117
(c(Q43229),P127,Q1016) (c(Q43229),P127,Q214) (c(Q43229),P127,Q184) (c(Q43229),P127,Q833) (c(Q43229),P127,Q1045) (c(Q43229),P127,Q232) (c(Q43229),P127,Q954) (c(Q43229),P127,Q34) (c(Q43229),P127,Q881) (c(Q43229),P127,Q117)
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q1016'] [{'concept': 'Q43229'}, 'P127', 'Q214'] [{'concept': 'Q43229'}, 'P127', 'Q184'] [{'concept': 'Q43229'}, 'P127', 'Q833'] [{'concept': 'Q43229'}, 'P127', 'Q1045'] [{'concept': 'Q43229'}, 'P127', 'Q232'] [{'concept': 'Q43229'}, 'P127', 'Q954'] [{'concept': 'Q43229'}, 'P127', 'Q34'] [{'concept': 'Q43229'}, 'P127', 'Q881'] [{'concept': 'Q43229'}, 'P127', 'Q117']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q881 . ?n rdf:type ontology:Q43229 }
Libya Slovakia Belarus Malaysia Somalia Kazakhstan Zimbabwe Sweden Vietnam Ghana
Did you mean Zimbabwe ?
Zimbabwe
[{'concept': 'organization'}, 'owned by', 'Libya'] [{'concept': 'organization'}, 'owned by', 'Slovakia'] [{'concept': 'organization'}, 'owned by', 'Belarus'] [{'concept': 'organization'}, 'owned by', 'Malaysia'] [{'concept': 'organization'}, 'owned by', 'Somalia'] [{'concept': 'organization'}, 'owned by', 'Kazakhstan'] [{'concept': 'organization'}, 'owned by', 'Zimbabwe'] [{'concept': 'organization'}, 'owned by', 'Sweden'] [{'concept': 'organization'}, 'owned by', 'Vietnam'] [{'concept': 'organization'}, 'owned by', 'Ghana']
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:Vietnam . ?n rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Vietnam. Could you tell me the answer for that?
(c(Q43229),P127,Q881)
Q881
[{'concept': 'Q43229'}, 'P127', 'Q881']
[{'concept': 'organization'}, 'owned by', 'Vietnam']
[]
Q2089536
SYSTEM
Petrovietnam
Q2089536
(c(Q43229),P127,Q881)
action filter_type
action find_reverse
entity Q881
relation P127
type Q43229
[ANSWER] is under posessision of that administrative territory
[{'concept': 'Q43229'}, 'P127', 'Q881']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q881 . ?n rdf:type ontology:Q43229 }
Petrovietnam
Petrovietnam is under posessision of that administrative territory
Petrovietnam
action filter_type
action find_reverse
entity Vietnam
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Vietnam']
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:Vietnam . ?n rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q2031291 Q838948
USER
How many political territories are the countries of origin of atleast 124 releases and works of art ?
(c(Q2031291)|c(Q838948),P495,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 124
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q2031291 } UNION { ?q property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q838948 } } GROUP BY ?o } . FILTER ( ?n >= 124 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 124
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:release } UNION { ?q property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:work_of_art } } GROUP BY ?o } . FILTER ( ?n >= 124 ) }
[]
political territorial entity release work of art
SYSTEM
6
Q183 Q664 Q16 Q35 Q408 Q40
(c(Q2031291)|c(Q838948),P495,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 124
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q2031291 } UNION { ?q property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q838948 } } GROUP BY ?o } . FILTER ( ?n >= 124 ) }
Germany New Zealand Canada Denmark Australia Austria
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 124
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:release } UNION { ?q property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:work_of_art } } GROUP BY ?o } . FILTER ( ?n >= 124 ) }
[]