Simple Question (Direct)
Simple Question
Q2069237
P495
Q7275
USER
Which state is the country of origin of Pension Schöller ?
(Q2069237,P495,c(Q7275))
action filter_type
action find
entity Q2069237
relation P495
type Q7275
['Q2069237', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q2069237 property:P495 ?k . ?k rdf:type ontology:Q7275 }
Pension Schöller
action filter_type
action find
entity Pension Schöller
relation country of origin
type state
['Pension Schöller', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Pension_Schöller property:country_of_origin ?k . ?k rdf:type ontology:state }
[]
state
Q41304
SYSTEM
Weimar Republic
Q41304
(Q2069237,P495,c(Q7275))
action filter_type
action find
entity Q2069237
relation P495
type Q7275
[ANSWER] is the country of origin of Pension Schöller
['Q2069237', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q2069237 property:P495 ?k . ?k rdf:type ontology:Q7275 }
Weimar Republic
Weimar Republic is the country of origin of Pension Schöller
Weimar Republic
action filter_type
action find
entity Pension Schöller
relation country of origin
type state
['Pension Schöller', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Pension_Schöller property:country_of_origin ?k . ?k rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41304
P1001
Q12737077
USER
Which occupations have jurisdiction over that state ?
(c(Q12737077),P1001,Q41304)
action filter_type
action find_reverse
entity Q41304
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q41304']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q41304 . ?c rdf:type ontology:Q12737077 }
Weimar Republic
action filter_type
action find_reverse
entity Weimar Republic
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Weimar Republic']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Weimar_Republic . ?c rdf:type ontology:occupation }
[]
occupation
Q17850767 Q157740
SYSTEM
member of the Reichstag of the Weimar Republic, Reichspräsident
Q17850767 Q157740
(c(Q12737077),P1001,Q41304)
action filter_type
action find_reverse
entity Q41304
relation P1001
type Q12737077
Germany [ANSWERS] have jurisdiction over that state
[{'concept': 'Q12737077'}, 'P1001', 'Q41304']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q41304 . ?c rdf:type ontology:Q12737077 }
member of the Reichstag of the Weimar Republic Reichspräsident
Germany member of the Reichstag of the Weimar Republic and Reichspräsident have jurisdiction over that state
member of the Reichstag of the Weimar Republic Reichspräsident
action filter_type
action find_reverse
entity Weimar Republic
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Weimar Republic']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Weimar_Republic . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41304
P19
Q502895
USER
Who were born at Weimar Republic ?
(c(Q502895),P19,Q41304)
action filter_type
action find_reverse
entity Q41304
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q41304']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q41304 . ?m rdf:type ontology:Q502895 }
Weimar Republic
action filter_type
action find_reverse
entity Weimar Republic
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Weimar Republic']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Weimar_Republic . ?m rdf:type ontology:common_name }
[]
common name
Q64799 Q5549674 Q91424
SYSTEM
Heinz Hitler, Gerald Westheimer, Walter Mandler
Q5549674 Q20630580 Q64799 Q91424
(c(Q502895),P19,Q41304)
action filter_type
action find_reverse
entity Q41304
relation P19
type Q502895
[ANSWERS] were born at Weimar Republic
[{'concept': 'Q502895'}, 'P19', 'Q41304']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q41304 . ?m rdf:type ontology:Q502895 }
Gerald Westheimer Walter Bingham Heinz Hitler Walter Mandler
Heinz Hitler, Gerald Westheimer and Walter Mandler were born at Weimar Republic
Heinz Hitler Gerald Westheimer Walter Mandler
action filter_type
action find_reverse
entity Weimar Republic
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Weimar Republic']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Weimar_Republic . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q64799 Q5549674 Q91424
P21
Q290
USER
Which sexes do those people possess ?
(Q64799,P21,c(Q290)) (Q5549674,P21,c(Q290)) (Q91424,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q64799', 'P21', {'concept': 'Q290'}] ['Q5549674', 'P21', {'concept': 'Q290'}] ['Q91424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?r property:P21 ?v . VALUES ( ?r ) { ( resource:Q5549674 ) ( resource:Q20630580 ) ( resource:Q64799 ) } }
Heinz Hitler Gerald Westheimer Walter Mandler
action filter_type
action find
entity prev_answer
relation gender
type sex
['Heinz Hitler', 'gender', {'concept': 'sex'}] ['Gerald Westheimer', 'gender', {'concept': 'sex'}] ['Walter Mandler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?r property:gender ?v . VALUES ( ?r ) { ( resource:Gerald_Westheimer ) ( resource:Walter_Bingham ) ( resource:Heinz_Hitler ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q64799,P21,c(Q290)) (Q5549674,P21,c(Q290)) (Q91424,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q64799', 'P21', {'concept': 'Q290'}] ['Q5549674', 'P21', {'concept': 'Q290'}] ['Q91424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?r property:P21 ?v . VALUES ( ?r ) { ( resource:Q5549674 ) ( resource:Q20630580 ) ( resource:Q64799 ) } }
male male male
Those people possess a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Heinz Hitler', 'gender', {'concept': 'sex'}] ['Gerald Westheimer', 'gender', {'concept': 'sex'}] ['Walter Mandler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?r property:gender ?v . VALUES ( ?r ) { ( resource:Gerald_Westheimer ) ( resource:Walter_Bingham ) ( resource:Heinz_Hitler ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41304
P38
Q131569
USER
Which treaty is considered to be the currency of Weimar Republic ?
(Q41304,P38,c(Q131569))
action filter_type
action find
entity Q41304
relation P38
type Q131569
['Q41304', 'P38', {'concept': 'Q131569'}]
SELECT DISTINCT ?b WHERE { resource:Q41304 property:P38 ?b . ?b rdf:type ontology:Q131569 }
Weimar Republic
action filter_type
action find
entity Weimar Republic
relation currency
type treaty
['Weimar Republic', 'currency', {'concept': 'treaty'}]
SELECT DISTINCT ?b WHERE { resource:Weimar_Republic property:currency ?b . ?b rdf:type ontology:treaty }
[]
treaty
Q705983
SYSTEM
German Papiermark
Q705983
(Q41304,P38,c(Q131569))
action filter_type
action find
entity Q41304
relation P38
type Q131569
[ANSWER] is considered to be the currency of Weimar Republic
['Q41304', 'P38', {'concept': 'Q131569'}]
SELECT DISTINCT ?b WHERE { resource:Q41304 property:P38 ?b . ?b rdf:type ontology:Q131569 }
German Papiermark
German Papiermark is considered to be the currency of Weimar Republic
German Papiermark
action filter_type
action find
entity Weimar Republic
relation currency
type treaty
['Weimar Republic', 'currency', {'concept': 'treaty'}]
SELECT DISTINCT ?b WHERE { resource:Weimar_Republic property:currency ?b . ?b rdf:type ontology:treaty }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12306222 Q91424
P27
Q1048835
USER
Which political territories are the native countriesof Walter Mandler or Christian Wilhelm Numsen ?
OR((Q91424,P27,c(Q1048835)), (Q12306222,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q91424
relation P27
action find
entity Q12306222
relation P27
type Q1048835
{'OR': [['Q91424', 'P27', {'concept': 'Q1048835'}], ['Q12306222', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q91424 property:P27 ?x } UNION { resource:Q12306222 property:P27 ?x } } . ?x rdf:type ontology:Q1048835 }
Christian Wilhelm Numsen Walter Mandler
action filter_type
action union
action find
entity Walter Mandler
relation country of citizenship
action find
entity Christian Wilhelm Numsen
relation country of citizenship
type political territorial entity
{'OR': [['Walter Mandler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Wilhelm Numsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Walter_Mandler property:country_of_citizenship ?x } UNION { resource:Christian_Wilhelm_Numsen property:country_of_citizenship ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183 Q35
SYSTEM
Canada, Germany, Denmark
Q16 Q183 Q35
OR((Q91424,P27,c(Q1048835)), (Q12306222,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q91424
relation P27
action find
entity Q12306222
relation P27
type Q1048835
[ANSWERS] are the native countriesof Walter Mandler or Christian Wilhelm Numsen
{'OR': [['Q91424', 'P27', {'concept': 'Q1048835'}], ['Q12306222', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q91424 property:P27 ?x } UNION { resource:Q12306222 property:P27 ?x } } . ?x rdf:type ontology:Q1048835 }
Canada Germany Denmark
Canada, Germany and Denmark are the native countriesof Walter Mandler or Christian Wilhelm Numsen
Canada Germany Denmark
action filter_type
action union
action find
entity Walter Mandler
relation country of citizenship
action find
entity Christian Wilhelm Numsen
relation country of citizenship
type political territorial entity
{'OR': [['Walter Mandler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Wilhelm Numsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Walter_Mandler property:country_of_citizenship ?x } UNION { resource:Christian_Wilhelm_Numsen property:country_of_citizenship ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26690408 Q91424
P27 P1001
Q1048835
USER
Which political territories are Walter Mandler a civilian of or apply to jurisdiction of mayor of Arboleas ?
OR((Q91424,P27,c(Q1048835)), (Q26690408,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q91424
relation P27
action find
entity Q26690408
relation P1001
type Q1048835
{'OR': [['Q91424', 'P27', {'concept': 'Q1048835'}], ['Q26690408', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q91424 property:P27 ?n } UNION { resource:Q26690408 property:P1001 ?n } } . ?n rdf:type ontology:Q1048835 }
mayor of Arboleas Walter Mandler
action filter_type
action union
action find
entity Walter Mandler
relation country of citizenship
action find
entity mayor of Arboleas
relation applies to jurisdiction
type political territorial entity
{'OR': [['Walter Mandler', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Arboleas', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Walter_Mandler property:country_of_citizenship ?n } UNION { resource:mayor_of_Arboleas property:applies_to_jurisdiction ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1157985 Q16 Q183
SYSTEM
Arboleas, Canada, Germany
Q1157985 Q16 Q183
OR((Q91424,P27,c(Q1048835)), (Q26690408,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q91424
relation P27
action find
entity Q26690408
relation P1001
type Q1048835
[ANSWERS] are Walter Mandler a civilian of or apply to jurisdiction of mayor of Arboleas
{'OR': [['Q91424', 'P27', {'concept': 'Q1048835'}], ['Q26690408', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q91424 property:P27 ?n } UNION { resource:Q26690408 property:P1001 ?n } } . ?n rdf:type ontology:Q1048835 }
Arboleas Canada Germany
Arboleas, Canada and Germany are Walter Mandler a civilian of or apply to jurisdiction of mayor of Arboleas
Arboleas Canada Germany
action filter_type
action union
action find
entity Walter Mandler
relation country of citizenship
action find
entity mayor of Arboleas
relation applies to jurisdiction
type political territorial entity
{'OR': [['Walter Mandler', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Arboleas', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Walter_Mandler property:country_of_citizenship ?n } UNION { resource:mayor_of_Arboleas property:applies_to_jurisdiction ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q22348500 Q18608583
USER
How many political territories are the start points of greater number of cycling race classes and recurring sporting events than that political territory ?
(c(Q22348500)|c(Q18608583),P1427,c(Q1048835))
[[{'concept': 'Q22348500'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?f ) { ( ?z ) ( ?x ) } . ?f property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?f ) { ( ?z ) ( ?x ) } . ?f property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]
political territorial entity cycling race class defined by the International Cycling Union recurring sporting event
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1157985
SYSTEM
Did you mean Arboleas ?
(c(Q22348500)|c(Q18608583),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?f ) { ( ?z ) ( ?x ) } . ?f property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
Did you mean Arboleas ?
Arboleas
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?f ) { ( ?z ) ( ?x ) } . ?f property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q22348500)|c(Q18608583),P1427,c(Q1048835))
Q183
[[{'concept': 'Q22348500'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
[]
SYSTEM
17
Q1556707 Q1628353 Q1766072 Q1625868 Q832991 Q474080 Q499184 Q668016 Q913277 Q12540 Q601112 Q533277 Q743741 Q636467 Q648921 Q13614 Q987453
(c(Q22348500)|c(Q18608583),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
Vila Nova de Cacela Sasamón Santo Domingo de Silos Alcañices Sóller Amorebieta-Etxano Roquetas de Mar Iurreta Mazarrón Calella Pollença Almonaster la Real Felanitx Benicàssim Etxebarria Banyoles San Javier
17
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]