Simple Question (Direct)
Simple Question
Q386541
P162
Q502895
USER
Who is the creator of Scanners II: The New Order ?
(Q386541,P162,c(Q502895))
action filter_type
action find
entity Q386541
relation P162
type Q502895
['Q386541', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q386541 property:P162 ?j . ?j rdf:type ontology:Q502895 }
Scanners II: The New Order
action filter_type
action find
entity Scanners II: The New Order
relation producer
type common name
['Scanners II: The New Order', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Scanners_II:_The_New_Order property:producer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3426587
SYSTEM
René Malo
Q3426587
(Q386541,P162,c(Q502895))
action filter_type
action find
entity Q386541
relation P162
type Q502895
[ANSWER]
['Q386541', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q386541 property:P162 ?j . ?j rdf:type ontology:Q502895 }
René Malo
René Malo
action filter_type
action find
entity Scanners II: The New Order
relation producer
type common name
['Scanners II: The New Order', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Scanners_II:_The_New_Order property:producer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q386541
P495
Q1048835
USER
What is the origin of Scanners II: The New Order ?
(Q386541,P495,c(Q1048835))
action filter_type
action find
entity Q386541
relation P495
type Q1048835
['Q386541', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q386541 property:P495 ?i . ?i rdf:type ontology:Q1048835 }
Scanners II: The New Order
action filter_type
action find
entity Scanners II: The New Order
relation country of origin
type political territorial entity
['Scanners II: The New Order', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Scanners_II:_The_New_Order property:country_of_origin ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q386541,P495,c(Q1048835))
action filter_type
action find
entity Q386541
relation P495
type Q1048835
[ANSWER]
['Q386541', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q386541 property:P495 ?i . ?i rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find
entity Scanners II: The New Order
relation country of origin
type political territorial entity
['Scanners II: The New Order', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Scanners_II:_The_New_Order property:country_of_origin ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19776340
Q1048835
USER
And what about Hubert von Goisern - Brenna tuat's schon lang?
(Q19776340,P495,c(Q1048835))
action filter_type
action find
entity Q19776340
relation P495
type Q1048835
['Q19776340', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q19776340 property:P495 ?v . ?v rdf:type ontology:Q1048835 }
Hubert von Goisern - Brenna tuat's schon lang
action filter_type
action find
entity Hubert von Goisern - Brenna tuat's schon lang
relation country of origin
type political territorial entity
["Hubert von Goisern - Brenna tuat's schon lang", 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Hubert_von_Goisern_-_Brenna_tuat's_schon_lang property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q19776340,P495,c(Q1048835))
action filter_type
action find
entity Q19776340
relation P495
type Q1048835
[ANSWERS]
['Q19776340', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q19776340 property:P495 ?v . ?v rdf:type ontology:Q1048835 }
Germany Austria
Germany Austria
action filter_type
action find
entity Hubert von Goisern - Brenna tuat's schon lang
relation country of origin
type political territorial entity
["Hubert von Goisern - Brenna tuat's schon lang", 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Hubert_von_Goisern_-_Brenna_tuat's_schon_lang property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19776340
P800
Q502895
USER
Who is author of Hubert von Goisern - Brenna tuat's schon lang ?
(c(Q502895),P800,Q19776340)
action filter_type
action find_reverse
entity Q19776340
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q19776340']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q19776340 . ?k rdf:type ontology:Q502895 }
Hubert von Goisern - Brenna tuat's schon lang
action filter_type
action find_reverse
entity Hubert von Goisern - Brenna tuat's schon lang
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "Hubert von Goisern - Brenna tuat's schon lang"]
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:Hubert_von_Goisern_-_Brenna_tuat's_schon_lang . ?k rdf:type ontology:common_name }
[]
common name
Q96164
SYSTEM
Marcus H. Rosenmüller
Q96164
(c(Q502895),P800,Q19776340)
action filter_type
action find_reverse
entity Q19776340
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q19776340']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q19776340 . ?k rdf:type ontology:Q502895 }
Marcus H. Rosenmüller
Marcus H. Rosenmüller
action filter_type
action find_reverse
entity Hubert von Goisern - Brenna tuat's schon lang
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "Hubert von Goisern - Brenna tuat's schon lang"]
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:Hubert_von_Goisern_-_Brenna_tuat's_schon_lang . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96164
P102
Q7278
USER
Which political party is that person a member of ?
(Q96164,P102,c(Q7278))
action filter_type
action find
entity Q96164
relation P102
type Q7278
['Q96164', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q96164 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Marcus H. Rosenmüller
action filter_type
action find
entity Marcus H. Rosenmüller
relation member of political party
type political party
['Marcus H. Rosenmüller', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Marcus_H._Rosenmüller property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q96164,P102,c(Q7278))
action filter_type
action find
entity Q96164
relation P102
type Q7278
[ANSWER]
['Q96164', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q96164 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action find
entity Marcus H. Rosenmüller
relation member of political party
type political party
['Marcus H. Rosenmüller', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Marcus_H._Rosenmüller property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96164
P21
Q290
USER
What is the sex of that person ?
(Q49768,P21,c(Q290))
action filter_type
action find
entity Q96164
relation P21
type Q290
['Q49768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q96164 property:P21 ?r }
Marcus H. Rosenmüller
action filter_type
action find
entity Marcus H. Rosenmüller
relation gender
type sex
['Social Democratic Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Marcus_H._Rosenmüller property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49768,P21,c(Q290))
action filter_type
action find
entity Q96164
relation P21
type Q290
[ANSWER]
['Q49768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q96164 property:P21 ?r }
male
male
action filter_type
action find
entity Marcus H. Rosenmüller
relation gender
type sex
['Social Democratic Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Marcus_H._Rosenmüller property:gender ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q24703478
P21
Q502895
USER
Does Zhaina Shekerbekova have the gender as that sex ?
(Q24703478,P21,Q6581097)
action is_in
entity Q24703478
action find
entity Q6581097
relation P21
['Q24703478', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q24703478 }
male Zhaina Shekerbekova
action is_in
entity Zhaina Shekerbekova
action find
entity male
relation gender
['Zhaina Shekerbekova', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Zhaina_Shekerbekova }
[]
common name
SYSTEM
NO
(Q24703478,P21,Q6581097)
action is_in
entity Q24703478
action find
entity Q6581097
relation P21
[ANSWER]
['Q24703478', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q24703478 }
No
action is_in
entity Zhaina Shekerbekova
action find
entity male
relation gender
['Zhaina Shekerbekova', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Zhaina_Shekerbekova }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q386541 Q353640
P161
Q502895
USER
Is David Hewlett in Scanners II: The New Order ?
(Q386541,P161,Q353640)
action is_in
entity Q353640
action find
entity Q386541
relation P161
['Q386541', 'P161', 'Q353640']
ASK WHERE { resource:Q386541 property:P161 resource:Q353640 }
Scanners II: The New Order David Hewlett
action is_in
entity David Hewlett
action find
entity Scanners II: The New Order
relation cast member
['Scanners II: The New Order', 'cast member', 'David Hewlett']
ASK WHERE { resource:Scanners_II:_The_New_Order property:cast_member resource:David_Hewlett }
[]
common name
SYSTEM
YES
(Q386541,P161,Q353640)
action is_in
entity Q353640
action find
entity Q386541
relation P161
[ANSWER]
['Q386541', 'P161', 'Q353640']
ASK WHERE { resource:Q386541 property:P161 resource:Q353640 }
Yes
action is_in
entity David Hewlett
action find
entity Scanners II: The New Order
relation cast member
['Scanners II: The New Order', 'cast member', 'David Hewlett']
ASK WHERE { resource:Scanners_II:_The_New_Order property:cast_member resource:David_Hewlett }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q96164 Q183 Q1643883
P27
Q1048835
USER
Is Marcus H. Rosenmüller a native of Germany and Fuentecén ?
(Q96164,P27,Q183) (Q96164,P27,Q1643883)
action is_in
entity Q96164
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1643883
relation P27
['Q96164', 'P27', 'Q183'] ['Q96164', 'P27', 'Q1643883']
ASK WHERE { resource:Q96164 property:P27 resource:Q183 . resource:Q96164 property:P27 resource:Q1643883 }
Marcus H. Rosenmüller Germany Fuentecén
action is_in
entity Marcus H. Rosenmüller
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Fuentecén
relation country of citizenship
['Marcus H. Rosenmüller', 'country of citizenship', 'Germany'] ['Marcus H. Rosenmüller', 'country of citizenship', 'Fuentecén']
ASK WHERE { resource:Marcus_H._Rosenmüller property:country_of_citizenship resource:Germany . resource:Marcus_H._Rosenmüller property:country_of_citizenship resource:Fuentecén }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q96164,P27,Q183) (Q96164,P27,Q1643883)
action is_in
entity Q96164
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1643883
relation P27
[ANSWER]
['Q96164', 'P27', 'Q183'] ['Q96164', 'P27', 'Q1643883']
ASK WHERE { resource:Q96164 property:P27 resource:Q183 . resource:Q96164 property:P27 resource:Q1643883 }
YES and NO respectively
action is_in
entity Marcus H. Rosenmüller
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Fuentecén
relation country of citizenship
['Marcus H. Rosenmüller', 'country of citizenship', 'Germany'] ['Marcus H. Rosenmüller', 'country of citizenship', 'Fuentecén']
ASK WHERE { resource:Marcus_H._Rosenmüller property:country_of_citizenship resource:Germany . resource:Marcus_H._Rosenmüller property:country_of_citizenship resource:Fuentecén }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1770869 Q96164
P47 P27
Q1048835
USER
Which political territories do Marcus H. Rosenmüller belong to or are adjacent to Albesa ?
OR((Q96164,P27,c(Q1048835)), (Q1770869,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q96164
relation P27
action find
entity Q1770869
relation P47
type Q1048835
{'OR': [['Q96164', 'P27', {'concept': 'Q1048835'}], ['Q1770869', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q96164 property:P27 ?j } UNION { resource:Q1770869 property:P47 ?j } } . ?j rdf:type ontology:Q1048835 }
Albesa Marcus H. Rosenmüller
action filter_type
action union
action find
entity Marcus H. Rosenmüller
relation country of citizenship
action find
entity Albesa
relation shares border with
type political territorial entity
{'OR': [['Marcus H. Rosenmüller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Albesa', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Marcus_H._Rosenmüller property:country_of_citizenship ?j } UNION { resource:Albesa property:shares_border_with ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1769588 Q1133160 Q1770851 Q183 Q1765384 Q1902101 Q1770837 Q1646570
SYSTEM
Menàrguens, Alguaire, Castelló de Farfanya, Germany, Torrelameu, La Portella, Algerri, Almenar
Q1769588 Q1133160 Q1770851 Q183 Q1765384 Q1902101 Q1770837 Q1646570
OR((Q96164,P27,c(Q1048835)), (Q1770869,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q96164
relation P27
action find
entity Q1770869
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q96164', 'P27', {'concept': 'Q1048835'}], ['Q1770869', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q96164 property:P27 ?j } UNION { resource:Q1770869 property:P47 ?j } } . ?j rdf:type ontology:Q1048835 }
Menàrguens Alguaire Castelló de Farfanya Germany Torrelameu La Portella Algerri Almenar
Menàrguens Alguaire Castelló de Farfanya Germany Torrelameu La Portella Algerri Almenar
action filter_type
action union
action find
entity Marcus H. Rosenmüller
relation country of citizenship
action find
entity Albesa
relation shares border with
type political territorial entity
{'OR': [['Marcus H. Rosenmüller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Albesa', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Marcus_H._Rosenmüller property:country_of_citizenship ?j } UNION { resource:Albesa property:shares_border_with ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q34
P530
Q15617994 Q1048835
USER
How many administrative territories holds diplomatic relationship with lesser number of political territories than Sweden ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?q rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q34 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?d < ?e ) }
Sweden
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Sweden property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?d < ?e ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?q rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q34 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?d < ?e ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Sweden property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?d < ?e ) }
[]