Simple Question (Direct)
Simple Question
Q1664026
P20
Q56061
USER
Which administrative territory is the place of death of Konrad Levezow ?
(Q1664026,P20,c(Q56061))
action filter_type
action find
entity Q1664026
relation P20
type Q56061
['Q1664026', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1664026 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Konrad Levezow
action filter_type
action find
entity Konrad Levezow
relation place of death
type administrative territorial entity
['Konrad Levezow', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Konrad_Levezow property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1664026,P20,c(Q56061))
action filter_type
action find
entity Q1664026
relation P20
type Q56061
[ANSWER] is the place of death of Konrad Levezow
['Q1664026', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1664026 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Berlin
Berlin is the place of death of Konrad Levezow
Berlin
action filter_type
action find
entity Konrad Levezow
relation place of death
type administrative territorial entity
['Konrad Levezow', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Konrad_Levezow property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1664026
P21
Q290
USER
Which sex does that person belong to ?
(Q64,P21,c(Q290))
action filter_type
action find
entity Q1664026
relation P21
type Q290
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1664026 property:P21 ?n . ?n rdf:type ontology:Q290 }
Konrad Levezow
action filter_type
action find
entity Konrad Levezow
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Konrad_Levezow property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q64,P21,c(Q290))
action filter_type
action find
entity Q1664026
relation P21
type Q290
That person belongs to [ANSWER]
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1664026 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Konrad Levezow
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Konrad_Levezow property:gender ?n . ?n rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P21
Q14514600 Q27643250
USER
How many groups of fictional characters or food ingredients are a male ?
(c(Q14514600),P21,Q6581097) (c(Q27643250),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q14514600
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q27643250
[{'concept': 'Q14514600'}, 'P21', 'Q6581097'] [{'concept': 'Q27643250'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ontology:Q27643250 . ?s property:P21 resource:Q6581097 } UNION { ?s rdf:type ontology:Q14514600 . ?s property:P21 resource:Q6581097 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type group of fictional characters
action filter_type
action find_reverse
entity male
relation gender
type food ingredient
[{'concept': 'group of fictional characters'}, 'gender', 'male'] [{'concept': 'food ingredient'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ontology:food_ingredient . ?s property:gender resource:male } UNION { ?s rdf:type ontology:group_of_fictional_characters . ?s property:gender resource:male } }
[]
group of fictional characters food ingredient
SYSTEM
19
Q605849 Q2522513 Q1797799 Q6128436 Q11965 Q3238692 Q868779 Q719492 Q11078410 Q279876 Q1756503 Q177499 Q3016171 Q559524 Q216489 Q6929074 Q7467451 Q3142245 Q832673
(c(Q14514600),P21,Q6581097) (c(Q27643250),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q14514600
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q27643250
[ANSWER]
[{'concept': 'Q14514600'}, 'P21', 'Q6581097'] [{'concept': 'Q27643250'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ontology:Q27643250 . ?s property:P21 resource:Q6581097 } UNION { ?s rdf:type ontology:Q14514600 . ?s property:P21 resource:Q6581097 } }
Juan Sánchez Villa-Lobos Ramírez Duncan MacLeod Pallando Silvanus Kettleburn Huey, Dewey, and Louie Khamûl Connor MacLeod Radagast Morinehtar Kurgan Thomson and Thompson Gandalf Darius Witch-king of Angmar Saruman Mr. Peanut Alatar Hugh Fitzcairn Richie Ryan
19
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type group of fictional characters
action filter_type
action find_reverse
entity male
relation gender
type food ingredient
[{'concept': 'group of fictional characters'}, 'gender', 'male'] [{'concept': 'food ingredient'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ontology:food_ingredient . ?s property:gender resource:male } UNION { ?s rdf:type ontology:group_of_fictional_characters . ?s property:gender resource:male } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23830595 Q1664026
P27
Q1048835
USER
Which political territories are Konrad Levezow or Jacob Peeters a civilian of ?
OR((Q1664026,P27,c(Q1048835)), (Q23830595,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1664026
relation P27
action find
entity Q23830595
relation P27
type Q1048835
{'OR': [['Q1664026', 'P27', {'concept': 'Q1048835'}], ['Q23830595', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q1664026 property:P27 ?d } UNION { resource:Q23830595 property:P27 ?d } } }
Jacob Peeters Konrad Levezow
action filter_type
action union
action find
entity Konrad Levezow
relation country of citizenship
action find
entity Jacob Peeters
relation country of citizenship
type political territorial entity
{'OR': [['Konrad Levezow', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jacob Peeters', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Konrad_Levezow property:country_of_citizenship ?d } UNION { resource:Jacob_Peeters property:country_of_citizenship ?d } } }
[]
political territorial entity
Q234 Q183
SYSTEM
Flemish Region, Germany
Q234 Q183
OR((Q1664026,P27,c(Q1048835)), (Q23830595,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1664026
relation P27
action find
entity Q23830595
relation P27
type Q1048835
[ANSWERS] are Konrad Levezow or Jacob Peeters a civilian of
{'OR': [['Q1664026', 'P27', {'concept': 'Q1048835'}], ['Q23830595', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q1664026 property:P27 ?d } UNION { resource:Q23830595 property:P27 ?d } } }
Flemish Region Germany
Flemish Region and Germany are Konrad Levezow or Jacob Peeters a civilian of
Flemish Region Germany
action filter_type
action union
action find
entity Konrad Levezow
relation country of citizenship
action find
entity Jacob Peeters
relation country of citizenship
type political territorial entity
{'OR': [['Konrad Levezow', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jacob Peeters', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Konrad_Levezow property:country_of_citizenship ?d } UNION { resource:Jacob_Peeters property:country_of_citizenship ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q571876
P127
Q41176
USER
How many buildings belongs to Germany or Staël von Holstein ?
(c(Q41176),P127,Q183) (c(Q41176),P127,Q571876)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P127
type Q41176
action filter_type
action find_reverse
entity Q571876
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q183'] [{'concept': 'Q41176'}, 'P127', 'Q571876']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P127 resource:Q183 . ?s rdf:type ontology:Q41176 } UNION { ?s property:P127 resource:Q571876 . ?s rdf:type ontology:Q41176 } }
Germany Staël von Holstein
action count
action union
action filter_type
action find_reverse
entity Germany
relation owned by
type building
action filter_type
action find_reverse
entity Staël von Holstein
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Germany'] [{'concept': 'building'}, 'owned by', 'Staël von Holstein']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:owned_by resource:Germany . ?s rdf:type ontology:building } UNION { ?s property:owned_by resource:Staël_von_Holstein . ?s rdf:type ontology:building } }
[]
building
SYSTEM
5
Q20973936 Q15888178 Q2240599 Q1642585 Q884122
(c(Q41176),P127,Q183) (c(Q41176),P127,Q571876)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P127
type Q41176
action filter_type
action find_reverse
entity Q571876
relation P127
type Q41176
[ANSWER]
[{'concept': 'Q41176'}, 'P127', 'Q183'] [{'concept': 'Q41176'}, 'P127', 'Q571876']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P127 resource:Q183 . ?s rdf:type ontology:Q41176 } UNION { ?s property:P127 resource:Q571876 . ?s rdf:type ontology:Q41176 } }
1014 Fifth Avenue Deichmanns Aue 31–37 Schloss Deichmannsaue Kreuzbauten Langer Eugen
5
action count
action union
action filter_type
action find_reverse
entity Germany
relation owned by
type building
action filter_type
action find_reverse
entity Staël von Holstein
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Germany'] [{'concept': 'building'}, 'owned by', 'Staël von Holstein']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:owned_by resource:Germany . ?s rdf:type ontology:building } UNION { ?s property:owned_by resource:Staël_von_Holstein . ?s rdf:type ontology:building } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q221
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with lesser number of political territories than Republic of Macedonia ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q221 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?z < ?w ) }
Republic of Macedonia
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 Republic of Macedonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z < ?w ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of political territories than Republic of Macedonia
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q221 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?z < ?w ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have diplomatic relations with lesser number of political territories than Republic of Macedonia
Yemen Syria Oman
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 Republic of Macedonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q750
P530
Q15617994 Q1048835
USER
And how about Bolivia?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q750
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q750 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?a ) }
Bolivia
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 Bolivia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Bolivia property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q750
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q750 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?a ) }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia Belarus Luxembourg
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 Bolivia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Bolivia property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q64
P47
Q515 Q15617994
USER
How many cities and administrative territories share border with Berlin ?
(c(Q515),P47,Q64) (c(Q15617994),P47,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P47
type Q515
action filter_type
action find_reverse
entity Q64
relation P47
type Q15617994
[{'concept': 'Q515'}, 'P47', 'Q64'] [{'concept': 'Q15617994'}, 'P47', 'Q64']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:P47 resource:Q64 . ?z rdf:type ontology:Q515 } UNION { ?z property:P47 resource:Q64 . ?z rdf:type ontology:Q15617994 } }
Berlin
action count
action union
action filter_type
action find_reverse
entity Berlin
relation shares border with
type city
action filter_type
action find_reverse
entity Berlin
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'city'}, 'shares border with', 'Berlin'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Berlin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:shares_border_with resource:Berlin . ?z rdf:type ontology:city } UNION { ?z property:shares_border_with resource:Berlin . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
city designation for an administrative territorial entity
SYSTEM
1 cities and 2 administrative territories
Q1711 Q640426 Q104192
(c(Q515),P47,Q64) (c(Q15617994),P47,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P47
type Q515
action filter_type
action find_reverse
entity Q64
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P47', 'Q64'] [{'concept': 'Q15617994'}, 'P47', 'Q64']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:P47 resource:Q64 . ?z rdf:type ontology:Q515 } UNION { ?z property:P47 resource:Q64 . ?z rdf:type ontology:Q15617994 } }
Potsdam Stahnsdorf Kleinmachnow
1 cities and 2 administrative territories
action count
action union
action filter_type
action find_reverse
entity Berlin
relation shares border with
type city
action filter_type
action find_reverse
entity Berlin
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'city'}, 'shares border with', 'Berlin'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Berlin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:shares_border_with resource:Berlin . ?z rdf:type ontology:city } UNION { ?z property:shares_border_with resource:Berlin . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P495
Q1001378
USER
Which cinematic techniques have Luxembourg as their place of origin ?
(c(Q1001378),P495,Q32)
action filter_type
action find_reverse
entity Q32
relation P495
type Q1001378
[{'concept': 'Q1001378'}, 'P495', 'Q32']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1001378 . ?k property:P495 resource:Q32 }
Luxembourg
action filter_type
action find_reverse
entity Luxembourg
relation country of origin
type cinematic technique
[{'concept': 'cinematic technique'}, 'country of origin', 'Luxembourg']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cinematic_technique . ?k property:country_of_origin resource:Luxembourg }
[]
cinematic technique
Q605620 Q3197341 Q19057838
SYSTEM
Kirikou and the Sorceress, Kirikou and the Men and Women, 108 Demon Kings
Q19057838 Q3197341 Q22074997 Q605620
(c(Q1001378),P495,Q32)
action filter_type
action find_reverse
entity Q32
relation P495
type Q1001378
[ANSWERS] have Luxembourg as their place of origin
[{'concept': 'Q1001378'}, 'P495', 'Q32']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1001378 . ?k property:P495 resource:Q32 }
108 Demon Kings Kirikou and the Men and Women Richard the Stork Kirikou and the Sorceress
Kirikou and the Sorceress, Kirikou and the Men and Women and 108 Demon Kings have Luxembourg as their place of origin
Kirikou and the Sorceress Kirikou and the Men and Women 108 Demon Kings
action filter_type
action find_reverse
entity Luxembourg
relation country of origin
type cinematic technique
[{'concept': 'cinematic technique'}, 'country of origin', 'Luxembourg']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cinematic_technique . ?k property:country_of_origin resource:Luxembourg }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q605620 Q3197341 Q19057838
P58
Q502895
USER
Who were the screenwriters for Kirikou and the Sorceress, Kirikou and the Men and Women and 108 Demon Kings ?
(Q605620,P58,c(Q502895)) (Q3197341,P58,c(Q502895)) (Q19057838,P58,c(Q502895))
action union
action filter_type
action find
entity Q605620
relation P58
type Q502895
action filter_type
action find
entity Q3197341
relation P58
type Q502895
action filter_type
action find
entity Q19057838
relation P58
type Q502895
['Q605620', 'P58', {'concept': 'Q502895'}] ['Q3197341', 'P58', {'concept': 'Q502895'}] ['Q19057838', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q605620 property:P58 ?v . ?v rdf:type ontology:Q502895 } UNION { resource:Q3197341 property:P58 ?v . ?v rdf:type ontology:Q502895 } }
Kirikou and the Sorceress Kirikou and the Men and Women 108 Demon Kings
action union
action filter_type
action find
entity Kirikou and the Sorceress
relation screenwriter
type common name
action filter_type
action find
entity Kirikou and the Men and Women
relation screenwriter
type common name
action filter_type
action find
entity 108 Demon Kings
relation screenwriter
type common name
['Kirikou and the Sorceress', 'screenwriter', {'concept': 'common name'}] ['Kirikou and the Men and Women', 'screenwriter', {'concept': 'common name'}] ['108 Demon Kings', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:Kirikou_and_the_Sorceress property:screenwriter ?v . ?v rdf:type ontology:common_name } UNION { resource:Kirikou_and_the_Men_and_Women property:screenwriter ?v . ?v rdf:type ontology:common_name } }
[]
common name
Q1364283 Q1364283 Q3367525
SYSTEM
Pascal Morelli for 3rd, Michel Ocelot for 1st, 2nd
Q1364283 Q1364283 Q3367525
(Q605620,P58,c(Q502895)) (Q3197341,P58,c(Q502895)) (Q19057838,P58,c(Q502895))
action union
action filter_type
action find
entity Q605620
relation P58
type Q502895
action filter_type
action find
entity Q3197341
relation P58
type Q502895
action filter_type
action find
entity Q19057838
relation P58
type Q502895
[ANSWERS]
['Q605620', 'P58', {'concept': 'Q502895'}] ['Q3197341', 'P58', {'concept': 'Q502895'}] ['Q19057838', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q605620 property:P58 ?v . ?v rdf:type ontology:Q502895 } UNION { resource:Q3197341 property:P58 ?v . ?v rdf:type ontology:Q502895 } }
Michel Ocelot Michel Ocelot Pascal Morelli
The screenwriters for Kirikou and the Sorceress , Kirikou and the Men and Women and 108 Demon Kings were named Michel Ocelot, Michel Ocelot and Pascal Morelli
Michel Ocelot Michel Ocelot Pascal Morelli
action union
action filter_type
action find
entity Kirikou and the Sorceress
relation screenwriter
type common name
action filter_type
action find
entity Kirikou and the Men and Women
relation screenwriter
type common name
action filter_type
action find
entity 108 Demon Kings
relation screenwriter
type common name
['Kirikou and the Sorceress', 'screenwriter', {'concept': 'common name'}] ['Kirikou and the Men and Women', 'screenwriter', {'concept': 'common name'}] ['108 Demon Kings', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:Kirikou_and_the_Sorceress property:screenwriter ?v . ?v rdf:type ontology:common_name } UNION { resource:Kirikou_and_the_Men_and_Women property:screenwriter ?v . ?v rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P610
Q14524493
USER
Which is the zenith of Luxembourg ?
(Q32,P610,c(Q14524493))
action filter_type
action find
entity Q32
relation P610
type Q14524493
['Q32', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q32 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Luxembourg
action filter_type
action find
entity Luxembourg
relation highest point
type terrain
['Luxembourg', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Luxembourg property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
terrain
Q24457
SYSTEM
Kneiff
Q24457
(Q32,P610,c(Q14524493))
action filter_type
action find
entity Q32
relation P610
type Q14524493
The zenith of Luxembourg is the [ANSWER]
['Q32', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q32 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Kneiff
The zenith of Luxembourg is the Kneiff
Kneiff
action filter_type
action find
entity Luxembourg
relation highest point
type terrain
['Luxembourg', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Luxembourg property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q32
P276
Q1076105 Q1190554
USER
How many general elections and events are located at Luxembourg ?
(c(Q1076105),P276,Q32) (c(Q1190554),P276,Q32)
action count
action union
action filter_type
action find_reverse
entity Q32
relation P276
type Q1076105
action filter_type
action find_reverse
entity Q32
relation P276
type Q1190554
[{'concept': 'Q1076105'}, 'P276', 'Q32'] [{'concept': 'Q1190554'}, 'P276', 'Q32']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:Q1076105 ) ( ontology:Q1190554 ) } . ?x rdf:type ?h }
Luxembourg
action count
action union
action filter_type
action find_reverse
entity Luxembourg
relation location
type general election
action filter_type
action find_reverse
entity Luxembourg
relation location
type event
[{'concept': 'general election'}, 'location', 'Luxembourg'] [{'concept': 'event'}, 'location', 'Luxembourg']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:general_election ) ( ontology:event ) } . ?x rdf:type ?h }
[]
general election event
SYSTEM
1 general elections and 2 events
Q151340 Q13861880 Q13435464
(c(Q1076105),P276,Q32) (c(Q1190554),P276,Q32)
action count
action union
action filter_type
action find_reverse
entity Q32
relation P276
type Q1076105
action filter_type
action find_reverse
entity Q32
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q1076105'}, 'P276', 'Q32'] [{'concept': 'Q1190554'}, 'P276', 'Q32']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:Q1076105 ) ( ontology:Q1190554 ) } . ?x rdf:type ?h }
Battle of France Luxembourg general election, 2013 Invasion of Luxembourg
1 general elections and 2 events
action count
action union
action filter_type
action find_reverse
entity Luxembourg
relation location
type general election
action filter_type
action find_reverse
entity Luxembourg
relation location
type event
[{'concept': 'general election'}, 'location', 'Luxembourg'] [{'concept': 'event'}, 'location', 'Luxembourg']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:general_election ) ( ontology:event ) } . ?x rdf:type ?h }
[]