Simple Question (Direct)
Simple Question
Q1409217
P27
Q15617994
USER
Which administrative territory is the native country of Sandra Moser ?
(Q1409217,P27,c(Q15617994))
action filter_type
action find
entity Q1409217
relation P27
type Q15617994
['Q1409217', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1409217 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Sandra Moser
action filter_type
action find
entity Sandra Moser
relation country of citizenship
type designation for an administrative territorial entity
['Sandra Moser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sandra_Moser property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1409217,P27,c(Q15617994))
action filter_type
action find
entity Q1409217
relation P27
type Q15617994
The [ANSWER] is the native country of Sandra Moser
['Q1409217', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1409217 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Switzerland
The Switzerland is the native country of Sandra Moser
Switzerland
action filter_type
action find
entity Sandra Moser
relation country of citizenship
type designation for an administrative territorial entity
['Sandra Moser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sandra_Moser property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1409217
P106
Q12737077
USER
What are the professions of that person ?
(Q39,P106,c(Q12737077))
action filter_type
action find
entity Q1409217
relation P106
type Q12737077
['Q39', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1409217 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Sandra Moser
action filter_type
action find
entity Sandra Moser
relation occupation
type occupation
['Switzerland', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Sandra_Moser property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q39,P106,c(Q12737077))
action filter_type
action find
entity Q1409217
relation P106
type Q12737077
The professions of that person are stage [ANSWERS]
['Q39', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1409217 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
actor stage actor
The professions of that person are stage actor and stage actor
actor stage actor
action filter_type
action find
entity Sandra Moser
relation occupation
type occupation
['Switzerland', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Sandra_Moser property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5258526
P106
Q502895
USER
Do Dennis Holmes have the profession of those occupations ?
(Q5258526,P106,Q33999) (Q5258526,P106,Q2259451)
action is_in
entity prev_answer
action find
entity Q5258526
relation P106
['Q5258526', 'P106', 'Q33999'] ['Q5258526', 'P106', 'Q2259451']
ASK WHERE { VALUES ( ?l ) { ( resource:Q33999 ) ( resource:Q2259451 ) } . resource:Q5258526 property:P106 ?l }
Dennis Holmes
action is_in
entity prev_answer
action find
entity Dennis Holmes
relation occupation
['Dennis Holmes', 'occupation', 'actor'] ['Dennis Holmes', 'occupation', 'stage actor']
ASK WHERE { VALUES ( ?l ) { ( resource:actor ) ( resource:stage_actor ) } . resource:Dennis_Holmes property:occupation ?l }
[]
common name
SYSTEM
NO
(Q5258526,P106,Q33999) (Q5258526,P106,Q2259451)
action is_in
entity prev_answer
action find
entity Q5258526
relation P106
[ANSWER]
['Q5258526', 'P106', 'Q33999'] ['Q5258526', 'P106', 'Q2259451']
ASK WHERE { VALUES ( ?l ) { ( resource:Q33999 ) ( resource:Q2259451 ) } . resource:Q5258526 property:P106 ?l }
No
action is_in
entity prev_answer
action find
entity Dennis Holmes
relation occupation
['Dennis Holmes', 'occupation', 'actor'] ['Dennis Holmes', 'occupation', 'stage actor']
ASK WHERE { VALUES ( ?l ) { ( resource:actor ) ( resource:stage_actor ) } . resource:Dennis_Holmes property:occupation ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q39 Q4429566
P530
Q1048835
USER
Does Sosnivka have a diplomatic relationship with Switzerland ?
(Q39,P530,Q4429566)
action is_in
entity Q4429566
action find
entity Q39
relation P530
['Q39', 'P530', 'Q4429566']
ASK WHERE { resource:Q39 property:P530 resource:Q4429566 }
Switzerland Sosnivka
action is_in
entity Sosnivka
action find
entity Switzerland
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Sosnivka']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Sosnivka }
[]
political territorial entity
SYSTEM
NO
(Q39,P530,Q4429566)
action is_in
entity Q4429566
action find
entity Q39
relation P530
[ANSWER]
['Q39', 'P530', 'Q4429566']
ASK WHERE { resource:Q39 property:P530 resource:Q4429566 }
No
action is_in
entity Sosnivka
action find
entity Switzerland
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Sosnivka']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Sosnivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1409217 Q6444186 Q68978
P19
Q56061
USER
Was Sandra Moser born at Kunaparaju Parava and Thun ?
(Q1409217,P19,Q6444186) (Q1409217,P19,Q68978)
action is_in
entity Q1409217
action intersection
action find_reverse
entity Q6444186
relation P19
action find_reverse
entity Q68978
relation P19
['Q1409217', 'P19', 'Q6444186'] ['Q1409217', 'P19', 'Q68978']
ASK WHERE { resource:Q1409217 property:P19 resource:Q6444186 . resource:Q1409217 property:P19 resource:Q68978 }
Sandra Moser Kunaparaju Parava Thun
action is_in
entity Sandra Moser
action intersection
action find_reverse
entity Kunaparaju Parava
relation place of birth
action find_reverse
entity Thun
relation place of birth
['Sandra Moser', 'place of birth', 'Kunaparaju Parava'] ['Sandra Moser', 'place of birth', 'Thun']
ASK WHERE { resource:Sandra_Moser property:place_of_birth resource:Kunaparaju_Parava . resource:Sandra_Moser property:place_of_birth resource:Thun }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1409217,P19,Q6444186) (Q1409217,P19,Q68978)
action is_in
entity Q1409217
action intersection
action find_reverse
entity Q6444186
relation P19
action find_reverse
entity Q68978
relation P19
[ANSWER]
['Q1409217', 'P19', 'Q6444186'] ['Q1409217', 'P19', 'Q68978']
ASK WHERE { resource:Q1409217 property:P19 resource:Q6444186 . resource:Q1409217 property:P19 resource:Q68978 }
NO and YES respectively
action is_in
entity Sandra Moser
action intersection
action find_reverse
entity Kunaparaju Parava
relation place of birth
action find_reverse
entity Thun
relation place of birth
['Sandra Moser', 'place of birth', 'Kunaparaju Parava'] ['Sandra Moser', 'place of birth', 'Thun']
ASK WHERE { resource:Sandra_Moser property:place_of_birth resource:Kunaparaju_Parava . resource:Sandra_Moser property:place_of_birth resource:Thun }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q990685 Q68978
P19
Q502895
USER
Which people were born at Thun or Chincha Alta ?
OR((c(Q502895),P19,Q68978), (c(Q502895),P19,Q990685))
action filter_type
action union
action find_reverse
entity Q68978
relation P19
action find_reverse
entity Q990685
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q68978'], [{'concept': 'Q502895'}, 'P19', 'Q990685']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { VALUES ( ?h ) { ( resource:Q990685 ) ( resource:Q68978 ) } . ?k property:P19 ?h } }
Chincha Alta Thun
action filter_type
action union
action find_reverse
entity Thun
relation place of birth
action find_reverse
entity Chincha Alta
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Thun'], [{'concept': 'common name'}, 'place of birth', 'Chincha Alta']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { VALUES ( ?h ) { ( resource:Chincha_Alta ) ( resource:Thun ) } . ?k property:place_of_birth ?h } }
[]
common name
Q322800 Q686284 Q2476848 Q672352 Q1908546 Q16232795 Q2800146 Q7964246 Q118524 Q115950
SYSTEM
Some of them are Hanspeter Latour, Heinz Schneiter, Eladio Reyes, Benjamin Lüthi, Mathias Roten, David Moser, Leo Merz, Walter Balmer, Kathrin Bertschy, Nico Müller
Q1617901 Q7964246 Q27505284 Q46251 Q14562935 Q550199 Q686284 Q23784244 Q3545278 Q121049 Q456370 Q2336470 Q1291030 Q1029622 Q1409217 Q1456912 Q1148164 Q2553364 Q1749505 Q559885 Q807668 Q4016754 Q18620461 Q118524 Q1402101 Q676545 Q2655086 Q6068245 Q1358083 Q2833626 Q16232795 Q123706 Q2476931 Q959918 Q115950 Q677089 Q679581 Q681526 Q2172297 Q322800 Q1908546 Q19840788 Q2476848 Q9052955 Q259758 Q117608 Q1568699 Q18683286 Q3806305 Q118973 Q168242 Q781367 Q6452395 Q359641 Q1358700 Q1336460 Q1372916 Q3483955 Q11263321 Q6002928 Q1764956 Q2800146 Q5788602 Q6035659 Q2416905 Q20015249 Q1579951 Q1145250 Q1392073 Q2218275 Q121835 Q19284918 Q670062 Q5935996 Q124585 Q115859 Q118692 Q3205768 Q24326888 Q6105610 Q2058070 Q1423263 Q450822 Q15822271 Q1697777 Q679671 Q672352 Q16887880 Q123049
OR((c(Q502895),P19,Q68978), (c(Q502895),P19,Q990685))
action filter_type
action union
action find_reverse
entity Q68978
relation P19
action find_reverse
entity Q990685
relation P19
type Q502895
[ANSWERS] were born at Thun or Chincha Alta
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q68978'], [{'concept': 'Q502895'}, 'P19', 'Q990685']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { VALUES ( ?h ) { ( resource:Q990685 ) ( resource:Q68978 ) } . ?k property:P19 ?h } }
Lee Rychter Walter Balmer Beatrice Frey Fränzi Mägert-Kohli Diosdado Palma Markus Feldmann Heinz Schneiter André Holderegger Fernando Acevedo Renée Schwarzenbach-Wille Ralph Pichler Stefan Haenni Eduardo Julve Regula Rytz Sandra Moser Luis Guadalupe Ernst P. Gerber Drs. P Stjepan Kukuruzović Anna Bähler Barbara Traber Víctor Zegarra Dieter Münstermann Kathrin Bertschy Peter Lehner Gilbert Glaus Luis Advíncula María Jesús Alvarado Rivera Ernst Fivian Alexandre Dubach David Moser Jean Ziegler Ulrich Wille junior Héctor Bailetti Nico Müller Markus Eggler Ivan Rieder Mario Raimondi Rudolf Abraham Schiferli Hanspeter Latour Mathias Roten Ronny Jost Eladio Reyes Orestes Jordán Andrés Mendoza Vitus Huonder Heinz Jenni Paul Michael Meyer Jakob Gabriel Trog Lukas Bärfuss Ueli Kestenholz Othmar Huber Jesús Reyes Jan Von Arx Ernst Hodel senior Emil Lohner Eugen Tatarinoff Silvan Lüssy Víctor Li-Carrillo Chía Martín Vásquez Paul Hofer Leo Merz Cornelio Heredia Máximo Mosquera Theo Hirsbrunner Gilbert Violeta Philipp Fankhauser Elisabeth Baumann-Schlachter Reto Camenisch Samuel Friedrich Moser Benedikt Weibel Hansueli von Allmen Marc Schneider Jorge Sabat Gozalo Hans Moser Zdravko Kuzmanović Niklaus Gerber Hugo Dürrenmatt Hans-Georg Bandi Renzo Reaños Patrick von Allmen Hedwig Anneler Bruno Kernen Jürg Jäggi Johannes Jegerlehner Guy Bovet Benjamin Lüthi Werner Kunz Simona de Silvestro
Hanspeter Latour, Heinz Schneiter, Eladio Reyes, Benjamin Lüthi, Mathias Roten, David Moser, Leo Merz, Walter Balmer, Kathrin Bertschy and Nico Müller were born at Thun or Chincha Alta
Hanspeter Latour Heinz Schneiter Eladio Reyes Benjamin Lüthi Mathias Roten David Moser Leo Merz Walter Balmer Kathrin Bertschy Nico Müller
action filter_type
action union
action find_reverse
entity Thun
relation place of birth
action find_reverse
entity Chincha Alta
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Thun'], [{'concept': 'common name'}, 'place of birth', 'Chincha Alta']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { VALUES ( ?h ) { ( resource:Chincha_Alta ) ( resource:Thun ) } . ?k property:place_of_birth ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q39 Q183
P17
Q355304
USER
How many watercourses are present in Switzerland and Germany ?
(c(Q355304),P17,Q39) (c(Q355304),P17,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q39
relation P17
type Q355304
action filter_type
action find_reverse
entity Q183
relation P17
type Q355304
[{'concept': 'Q355304'}, 'P17', 'Q39'] [{'concept': 'Q355304'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P17 resource:Q39 . ?m rdf:type ontology:Q355304 . ?m property:P17 resource:Q183 . ?m rdf:type ontology:Q355304 }
Switzerland Germany
action count
action intersection
action filter_type
action find_reverse
entity Switzerland
relation country
type watercourse
action filter_type
action find_reverse
entity Germany
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', 'Switzerland'] [{'concept': 'watercourse'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:country resource:Switzerland . ?m rdf:type ontology:watercourse . ?m property:country resource:Germany . ?m rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
7
Q869890 Q188185 Q666946 Q584 Q14369 Q685856 Q481339
(c(Q355304),P17,Q39) (c(Q355304),P17,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q39
relation P17
type Q355304
action filter_type
action find_reverse
entity Q183
relation P17
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P17', 'Q39'] [{'concept': 'Q355304'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P17 resource:Q39 . ?m rdf:type ontology:Q355304 . ?m property:P17 resource:Q183 . ?m rdf:type ontology:Q355304 }
Klingengraben Wutach Wiese Rhine Inn Schwarzbach Seerhein
7
action count
action intersection
action filter_type
action find_reverse
entity Switzerland
relation country
type watercourse
action filter_type
action find_reverse
entity Germany
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', 'Switzerland'] [{'concept': 'watercourse'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:country resource:Switzerland . ?m rdf:type ontology:watercourse . ?m property:country resource:Germany . ?m rdf:type ontology:watercourse }
[]