Simple Question (Direct)
Simple Question
Q168064
P102
Q7210356
USER
Which party is Zbigniew Girzyński affiliated with ?
(Q168064,P102,c(Q7210356))
action filter_type
action find
entity Q168064
relation P102
type Q7210356
['Q168064', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q168064 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Zbigniew Girzyński
action filter_type
action find
entity Zbigniew Girzyński
relation member of political party
type political organization
['Zbigniew Girzyński', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Zbigniew_Girzyński property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q156874
SYSTEM
Law and Justice
Q156874
(Q168064,P102,c(Q7210356))
action filter_type
action find
entity Q168064
relation P102
type Q7210356
[ANSWER]
['Q168064', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q168064 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Law and Justice
Law and Justice
action filter_type
action find
entity Zbigniew Girzyński
relation member of political party
type political organization
['Zbigniew Girzyński', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Zbigniew_Girzyński property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168064
P106
Q12737077
USER
What do Zbigniew Girzyński do for a living ?
(Q168064,P106,c(Q12737077))
action filter_type
action find
entity Q168064
relation P106
type Q12737077
['Q168064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q168064 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Zbigniew Girzyński
action filter_type
action find
entity Zbigniew Girzyński
relation occupation
type occupation
['Zbigniew Girzyński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Zbigniew_Girzyński property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q201788 Q82955
SYSTEM
historian, politician
Q201788 Q82955
(Q168064,P106,c(Q12737077))
action filter_type
action find
entity Q168064
relation P106
type Q12737077
Zbigniew Girzyński do for a living [ANSWERS]
['Q168064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q168064 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
historian politician
Zbigniew Girzyński do for a living historian and politician
historian politician
action filter_type
action find
entity Zbigniew Girzyński
relation occupation
type occupation
['Zbigniew Girzyński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Zbigniew_Girzyński property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q168064
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q201788,P27,c(Q15617994)) (Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q168064
relation P27
type Q15617994
['Q201788', 'P27', {'concept': 'Q15617994'}] ['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q168064 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Zbigniew Girzyński
action filter_type
action find
entity Zbigniew Girzyński
relation country of citizenship
type designation for an administrative territorial entity
['historian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zbigniew_Girzyński property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q201788,P27,c(Q15617994)) (Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q168064
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q201788', 'P27', {'concept': 'Q15617994'}] ['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q168064 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Poland
The Poland is the native country of that person
Poland
action filter_type
action find
entity Zbigniew Girzyński
relation country of citizenship
type designation for an administrative territorial entity
['historian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zbigniew_Girzyński property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q36 Q7804 Q566397
P463
Q484652
USER
Is that administrative territory a member of International Monetary Fund and Weimar Triangle ?
(Q36,P463,Q7804) (Q36,P463,Q566397)
action is_in
entity Q36
action intersection
action find_reverse
entity Q7804
relation P463
action find_reverse
entity Q566397
relation P463
['Q36', 'P463', 'Q7804'] ['Q36', 'P463', 'Q566397']
ASK WHERE { resource:Q36 property:P463 resource:Q7804 . resource:Q36 property:P463 resource:Q566397 }
Poland International Monetary Fund Weimar Triangle
action is_in
entity Poland
action intersection
action find_reverse
entity International Monetary Fund
relation member of
action find_reverse
entity Weimar Triangle
relation member of
['Poland', 'member of', 'International Monetary Fund'] ['Poland', 'member of', 'Weimar Triangle']
ASK WHERE { resource:Poland property:member_of resource:International_Monetary_Fund . resource:Poland property:member_of resource:Weimar_Triangle }
[]
international organization
SYSTEM
YES
(Q36,P463,Q7804) (Q36,P463,Q566397)
action is_in
entity Q36
action intersection
action find_reverse
entity Q7804
relation P463
action find_reverse
entity Q566397
relation P463
[ANSWER]
['Q36', 'P463', 'Q7804'] ['Q36', 'P463', 'Q566397']
ASK WHERE { resource:Q36 property:P463 resource:Q7804 . resource:Q36 property:P463 resource:Q566397 }
Yes
action is_in
entity Poland
action intersection
action find_reverse
entity International Monetary Fund
relation member of
action find_reverse
entity Weimar Triangle
relation member of
['Poland', 'member of', 'International Monetary Fund'] ['Poland', 'member of', 'Weimar Triangle']
ASK WHERE { resource:Poland property:member_of resource:International_Monetary_Fund . resource:Poland property:member_of resource:Weimar_Triangle }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q696808 Q566397
P740
Q515
USER
Which cities did Weimar Triangle or Rotax orginate ?
OR((Q566397,P740,c(Q515)), (Q696808,P740,c(Q515)))
action filter_type
action union
action find
entity Q566397
relation P740
action find
entity Q696808
relation P740
type Q515
{'OR': [['Q566397', 'P740', {'concept': 'Q515'}], ['Q696808', 'P740', {'concept': 'Q515'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:P740 ?h . VALUES ( ?b ) { ( resource:Q696808 ) ( resource:Q566397 ) } } . ?h rdf:type ontology:Q515 }
Rotax Weimar Triangle
action filter_type
action union
action find
entity Weimar Triangle
relation location of formation
action find
entity Rotax
relation location of formation
type city
{'OR': [['Weimar Triangle', 'location of formation', {'concept': 'city'}], ['Rotax', 'location of formation', {'concept': 'city'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:location_of_formation ?h . VALUES ( ?b ) { ( resource:Rotax ) ( resource:Weimar_Triangle ) } } . ?h rdf:type ontology:city }
[]
city
Q3955 Q1731
SYSTEM
Weimar, Dresden
Q3955 Q1731
OR((Q566397,P740,c(Q515)), (Q696808,P740,c(Q515)))
action filter_type
action union
action find
entity Q566397
relation P740
action find
entity Q696808
relation P740
type Q515
Weimar Triangle or Rotax orginated at [ANSWERS]
{'OR': [['Q566397', 'P740', {'concept': 'Q515'}], ['Q696808', 'P740', {'concept': 'Q515'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:P740 ?h . VALUES ( ?b ) { ( resource:Q696808 ) ( resource:Q566397 ) } } . ?h rdf:type ontology:Q515 }
Weimar Dresden
Weimar Triangle or Rotax orginated at Weimar and Dresden
Weimar Dresden
action filter_type
action union
action find
entity Weimar Triangle
relation location of formation
action find
entity Rotax
relation location of formation
type city
{'OR': [['Weimar Triangle', 'location of formation', {'concept': 'city'}], ['Rotax', 'location of formation', {'concept': 'city'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:location_of_formation ?h . VALUES ( ?b ) { ( resource:Rotax ) ( resource:Weimar_Triangle ) } } . ?h rdf:type ontology:city }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P206
Q355304 Q337567 Q515
USER
Which cities are located next to around the same number of watercourses or still waterss as that city ?
(c(Q515),P206,c(Q355304)|c(Q337567))
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q337567 }
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:still_waters }
[]
watercourse still waters city
Comparative|More/Less|Mult. entity type|Clarification
Q3955
SYSTEM
Did you mean Weimar ?
(c(Q515),P206,c(Q355304)|c(Q337567))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q337567 }
Did you mean Weimar ?
Weimar
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:still_waters }
[]
Comparative Reasoning (All)
USER
No, I meant Dresden. Could you tell me the answer for that?
(c(Q515),P206,c(Q355304)|c(Q337567))
Q1731
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
[]
SYSTEM
85
Q1410 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q4024 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q4174 Q3838 Q2833 Q1209 Q23661 Q3751 Q3750 Q3200 Q157835 Q847550 Q3936 Q2936 Q646780 Q3214 Q1533 Q1530 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q355304)|c(Q337567))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q337567 }
Gibraltar Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Frankfurt (Oder) Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Emden Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Praia Gera Salzgitter Zaporizhzhya Nikaho Bamberg Oldenburg Katagami Cottbus Caracas Baghdad Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
85
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:still_waters }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4767675 Q566397
P19 P740
Q515
USER
Which cities did Weimar Triangle orginate or were Annabel born ?
OR((Q566397,P740,c(Q515)), (Q4767675,P19,c(Q515)))
action filter_type
action union
action find
entity Q566397
relation P740
action find
entity Q4767675
relation P19
type Q515
{'OR': [['Q566397', 'P740', {'concept': 'Q515'}], ['Q4767675', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q566397 property:P740 ?w } UNION { resource:Q4767675 property:P19 ?w } } . ?w rdf:type ontology:Q515 }
Annabel Weimar Triangle
action filter_type
action union
action find
entity Weimar Triangle
relation location of formation
action find
entity Annabel
relation place of birth
type city
{'OR': [['Weimar Triangle', 'location of formation', {'concept': 'city'}], ['Annabel', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Weimar_Triangle property:location_of_formation ?w } UNION { resource:Annabel property:place_of_birth ?w } } . ?w rdf:type ontology:city }
[]
city
Q1486 Q3955
SYSTEM
Buenos Aires, Weimar
Q1486 Q3955
OR((Q566397,P740,c(Q515)), (Q4767675,P19,c(Q515)))
action filter_type
action union
action find
entity Q566397
relation P740
action find
entity Q4767675
relation P19
type Q515
Weimar Triangle orginated to [ANSWERS]
{'OR': [['Q566397', 'P740', {'concept': 'Q515'}], ['Q4767675', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q566397 property:P740 ?w } UNION { resource:Q4767675 property:P19 ?w } } . ?w rdf:type ontology:Q515 }
Buenos Aires Weimar
Weimar Triangle orginated to Buenos Aires and Weimar
Buenos Aires Weimar
action filter_type
action union
action find
entity Weimar Triangle
relation location of formation
action find
entity Annabel
relation place of birth
type city
{'OR': [['Weimar Triangle', 'location of formation', {'concept': 'city'}], ['Annabel', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Weimar_Triangle property:location_of_formation ?w } UNION { resource:Annabel property:place_of_birth ?w } } . ?w rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4767675
P175
Q2031291
USER
How many releases presented Annabel ?
(c(Q2031291),P175,Q4767675)
action count
action filter_type
action find_reverse
entity Q4767675
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q4767675']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P175 resource:Q4767675 . ?s rdf:type ontology:Q2031291 }
Annabel
action count
action filter_type
action find_reverse
entity Annabel
relation performer
type release
[{'concept': 'release'}, 'performer', 'Annabel']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:performer resource:Annabel . ?s rdf:type ontology:release }
[]
release
SYSTEM
1
Q17239605
(c(Q2031291),P175,Q4767675)
action count
action filter_type
action find_reverse
entity Q4767675
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q4767675']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P175 resource:Q4767675 . ?s rdf:type ontology:Q2031291 }
Alternative
1
action count
action filter_type
action find_reverse
entity Annabel
relation performer
type release
[{'concept': 'release'}, 'performer', 'Annabel']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:performer resource:Annabel . ?s rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4767675
P175
Q2031291
USER
Which release performed that person ?
action filter_type
action find_reverse
entity Q4767675
relation P175
type Q2031291
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q4767675 . ?t rdf:type ontology:Q2031291 }
Annabel
action filter_type
action find_reverse
entity Annabel
relation performer
type release
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Annabel . ?t rdf:type ontology:release }
[]
release
Q17239605
SYSTEM
Alternative
Q17239605
action filter_type
action find_reverse
entity Q4767675
relation P175
type Q2031291
[ANSWER] performed that person
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q4767675 . ?t rdf:type ontology:Q2031291 }
Alternative
Alternative performed that person
Alternative
action filter_type
action find_reverse
entity Annabel
relation performer
type release
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Annabel . ?t rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17239605
P264
Q334453
USER
Who sponsored the recoding of that release ?
(Q17239605,P264,c(Q334453))
action filter_type
action find
entity Q17239605
relation P264
type Q334453
['Q17239605', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q334453 . resource:Q17239605 property:P264 ?s }
Alternative
action filter_type
action find
entity Alternative
relation record label
type division
['Alternative', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:division . resource:Alternative property:record_label ?s }
[]
division
Q1062659
SYSTEM
Lantis
Q1062659
(Q17239605,P264,c(Q334453))
action filter_type
action find
entity Q17239605
relation P264
type Q334453
[ANSWER] sponsored the recoding of that release
['Q17239605', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q334453 . resource:Q17239605 property:P264 ?s }
Lantis
Lantis sponsored the recoding of that release
Lantis
action filter_type
action find
entity Alternative
relation record label
type division
['Alternative', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:division . resource:Alternative property:record_label ?s }
[]