Simple Question (Direct)
Simple Question
Q497431
P166
Q618779
USER
What was won by Andreas Gestrich ?
(Q497431,P166,c(Q618779))
action filter_type
action find
entity Q497431
relation P166
type Q618779
['Q497431', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q497431 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Andreas Gestrich
action filter_type
action find
entity Andreas Gestrich
relation award received
type award
['Andreas Gestrich', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Andreas_Gestrich property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q470078
SYSTEM
Order of Merit of Rhineland-Palatinate
Q470078
(Q497431,P166,c(Q618779))
action filter_type
action find
entity Q497431
relation P166
type Q618779
The [ANSWER] was won by Andreas Gestrich
['Q497431', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q497431 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Order of Merit of Rhineland-Palatinate
The Order of Merit of Rhineland-Palatinate was won by Andreas Gestrich
Order of Merit of Rhineland-Palatinate
action filter_type
action find
entity Andreas Gestrich
relation award received
type award
['Andreas Gestrich', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Andreas_Gestrich property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q470078
P17
Q1048835
USER
Which political territory is that award present in ?
(Q470078,P17,c(Q1048835))
action filter_type
action find
entity Q470078
relation P17
type Q1048835
['Q470078', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q470078 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Order of Merit of Rhineland-Palatinate
action filter_type
action find
entity Order of Merit of Rhineland-Palatinate
relation country
type political territorial entity
['Order of Merit of Rhineland-Palatinate', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Order_of_Merit_of_Rhineland-Palatinate property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q470078,P17,c(Q1048835))
action filter_type
action find
entity Q470078
relation P17
type Q1048835
That award is in [ANSWER]
['Q470078', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q470078 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Germany
That award is in Germany
Germany
action filter_type
action find
entity Order of Merit of Rhineland-Palatinate
relation country
type political territorial entity
['Order of Merit of Rhineland-Palatinate', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Order_of_Merit_of_Rhineland-Palatinate property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q292748
P176
Q2235308
USER
How many ship types were produced by Germany or AG Weser ?
(c(Q2235308),P176,Q183) (c(Q2235308),P176,Q292748)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P176
type Q2235308
action filter_type
action find_reverse
entity Q292748
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q183'] [{'concept': 'Q2235308'}, 'P176', 'Q292748']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P176 resource:Q183 . ?w rdf:type ontology:Q2235308 } UNION { ?w property:P176 resource:Q292748 . ?w rdf:type ontology:Q2235308 } }
Germany AG Weser
action count
action union
action filter_type
action find_reverse
entity Germany
relation manufacturer
type ship type
action filter_type
action find_reverse
entity AG Weser
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Germany'] [{'concept': 'ship type'}, 'manufacturer', 'AG Weser']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:manufacturer resource:Germany . ?w rdf:type ontology:ship_type } UNION { ?w property:manufacturer resource:AG_Weser . ?w rdf:type ontology:ship_type } }
[]
ship type
SYSTEM
211
Q324180 Q481284 Q4052103 Q666573 Q324830 Q202673 Q571258 Q571247 Q321587 Q15522740 Q549265 Q7391515 Q7391663 Q7391662 Q553902 Q2023336 Q64059 Q655312 Q573194 Q16222852 Q16222854 Q879876 Q700927 Q566203 Q222779 Q11251767 Q554525 Q683356 Q11705969 Q571254 Q475844 Q7391652 Q7391653 Q7391651 Q7391657 Q470050 Q471508 Q7391550 Q7391719 Q7391718 Q1778183 Q16222848 Q2023488 Q7391619 Q544342 Q566352 Q2023244 Q16222794 Q2468870 Q1419883 Q699024 Q11255645 Q554536 Q540243 Q182833 Q7391649 Q167085 Q571267 Q2026141 Q4052087 Q2207208 Q3288569 Q7391720 Q2023252 Q549323 Q2023395 Q554503 Q2023473 Q4021673 Q571272 Q563457 Q3552013 Q3552011 Q7391638 Q7391536 Q16222809 Q16222808 Q7391735 Q621718 Q4052091 Q7391736 Q7391739 Q7391632 Q7391633 Q7391634 Q7391635 Q621713 Q7391637 Q549338 Q15274082 Q15274081 Q2023388 Q15274085 Q15274084 Q2023286 Q9246483 Q554519 Q2023446 Q320866 Q7391626 Q3552023 Q683326 Q7391625 Q3552024 Q471536 Q15274063 Q563441 Q549383 Q2207226 Q16222850 Q475815 Q2207152 Q7391622 Q7391621 Q16222810 Q16222811 Q669609 Q7391624 Q15274096 Q2023374 Q554499 Q2206864 Q481306 Q479886 Q15274098 Q7391683 Q633215 Q16222855 Q571355 Q475884 Q475880 Q571280 Q7391684 Q549253 Q571359 Q2000249 Q703050 Q15274072 Q7391514 Q7391517 Q549416 Q543786 Q15274074 Q7391734 Q2207330 Q11251766 Q2207333 Q1469525 Q7391618 Q2207337 Q6719206 Q563434 Q7391613 Q16222869 Q571295 Q1689428 Q554627 Q16222860 Q16222863 Q9164354 Q16222865 Q16222867 Q16222866 Q2038068 Q563412 Q1897111 Q683472 Q568690 Q7391686 Q2023496 Q15843615 Q571346 Q325224 Q15274083 Q481288 Q481286 Q7391562 Q5551835 Q7320344 Q554618 Q554615 Q22093799 Q602503 Q549368 Q2023437 Q324192 Q878310 Q3211221 Q128472 Q6719731 Q666604 Q638660 Q549654 Q659864 Q11680601 Q2654457 Q2656230 Q2207239 Q7391676 Q819857 Q2654524 Q2000187 Q5551839 Q481290 Q2023260 Q5551837 Q16222847 Q16222846 Q16222845 Q16222844 Q470707
(c(Q2235308),P176,Q183) (c(Q2235308),P176,Q292748)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P176
type Q2235308
action filter_type
action find_reverse
entity Q292748
relation P176
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P176', 'Q183'] [{'concept': 'Q2235308'}, 'P176', 'Q292748']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P176 resource:Q183 . ?w rdf:type ontology:Q2235308 } UNION { ?w property:P176 resource:Q292748 . ?w rdf:type ontology:Q2235308 } }
German submarine U-111 German submarine U-883 German submarine U-884 German submarine U-38 SMS Regensburg SMS Gneisenau German submarine U-66 German submarine U-131 German submarine U-104 SM UB-122 German submarine U-124 SM U-101 SM UB-9 SM UB-85 Magdeburg-class cruiser German submarine U-194 Komet German submarine U-28 German submarine U-27 SM UB-127 SM UB-130 SMS Arcona German submarine U-864 German submarine U-107 German submarine U-873 SM UB-125 German submarine U-65 German submarine U-869 SM U-17 (Austria-Hungary) German submarine U-43 German submarine U-103 SM UB-44 SM UB-46 SM UB-42 SM UB-47 SMS Leipzig German submarine U-190 SM U-15 SM UC-47 SM UC-46 SMS Jagd SM UB-123 German submarine U-197 SM UB-11 SMS Niobe SMS Hela German submarine U-844 SM UB-55 German submarine U-177 SMS Königsberg German submarine U-29 German destroyer Z32 German submarine U-109 German submarine U-64 German submarine U-130 SM UB-43 SMS Magdeburg German submarine U-195 SMS Beowulf German submarine U-858 SM UB-45 German destroyer Z31 SM UC-48 German submarine U-192 German submarine U-44 German submarine U-889 German submarine U-106 German submarine U-843 SM UC-12 German submarine U-123 German submarine U-180 German submarine U-870 German submarine U-868 SM UB-29 SM U-132 SM UB-83 SM UB-80 SM UC-62 German submarine U-25 German submarine U-867 SM UC-63 SM UC-64 SM UB-24 SM UB-25 SM UB-26 SM UB-27 German submarine U-26 SM UB-28 German submarine U-155 SM UB-56 SM UB-54 German submarine U-183 SM UB-59 SM UB-58 German submarine U-199 SM U-11 (Austria-Hungary) German submarine U-154 German submarine U-184 SMS Bremen SM UB-16 German submarine U-877 German submarine U-110 SM UB-17 German submarine U-881 German submarine U-853 SM U-58 German submarine U-182 German submarine U-852 SM UB-81 SM UB-126 German submarine U-128 SMS Wacht SM UB-13 SM UB-12 SM UB-86 SM UB-87 German auxiliary cruiser Pinguin SM UB-132 SM UB-82 German submarine U-189 German submarine U-108 SMS Frithjof German submarine U-200 SS Arabic SM UB-84 SM UC-13 German submarine U-39 SM UB-131 German submarine U-156 German submarine U-159 German submarine U-157 German submarine U-126 SM UC-14 German submarine U-3008 German submarine U-125 German submarine U-176 German submarine U-30 SM UB-124 SM U-100 SM U-104 German submarine U-68 German submarine U-848 SM UB-129 SM UC-61 SM U-59 SM UB-143 SM U-60 German submarine U-196 SM UB-10 SM U-62 MV Akdeniz German submarine U-175 SM U-99 SM UB-150 German submarine U-41 SMS Nautilus German submarine U-181 SM UB-142 SM UB-144 SM UB-14 SM UB-145 SM UB-149 SM UB-148 Type 1934A-class destroyer German submarine U-859 German submarine U-173 German submarine U-160 German submarine U-42 SM UC-15 German submarine U-193 SM UB-128 German submarine U-32 SM UC-5 SM UB-57 German submarine U-153 German submarine U-171 SM U-16 German submarine U-857 Rhein class monitor German submarine U-127 German submarine U-129 German destroyer Z34 German submarine U-31 German submarine U-40 German submarine U-187 German submarine U-122 SMS Albatross Nautilus-class minelayer SMS Victoria Louise MV Leisure World German submarine U-37 German submarine U-172 German submarine U-67 SMS Emden SM U-102 German submarine U-185 German submarine U-179 SM U-103 SM UC-11 SM U-61 German submarine U-862 German submarine U-174 German submarine U-866 German submarine U-158 German submarine U-191 German submarine U-865 SM UB-121 SM UB-120 SM UB-119 SM UB-118 SMS Stralsund
211
action count
action union
action filter_type
action find_reverse
entity Germany
relation manufacturer
type ship type
action filter_type
action find_reverse
entity AG Weser
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Germany'] [{'concept': 'ship type'}, 'manufacturer', 'AG Weser']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:manufacturer resource:Germany . ?w rdf:type ontology:ship_type } UNION { ?w property:manufacturer resource:AG_Weser . ?w rdf:type ontology:ship_type } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497431
P106
Q12737077
USER
What do Andreas Gestrich do for a living ?
(Q497431,P106,c(Q12737077))
action filter_type
action find
entity Q497431
relation P106
type Q12737077
['Q497431', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q497431 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Andreas Gestrich
action filter_type
action find
entity Andreas Gestrich
relation occupation
type occupation
['Andreas Gestrich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Andreas_Gestrich property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q17489339 Q1622272 Q17504992
SYSTEM
historian of the modern age, university teacher, social historian
Q17489339 Q1622272 Q17504992
(Q497431,P106,c(Q12737077))
action filter_type
action find
entity Q497431
relation P106
type Q12737077
Andreas Gestrich do for a living [ANSWERS]
['Q497431', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q497431 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
historian of the modern age university teacher social historian
Andreas Gestrich do for a living historian of the modern age, university teacher and social historian
historian of the modern age university teacher social historian
action filter_type
action find
entity Andreas Gestrich
relation occupation
type occupation
['Andreas Gestrich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Andreas_Gestrich property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2663030
Q12737077
USER
And also tell me about Shigeru Nakahara?
(Q2663030,P106,c(Q12737077))
action filter_type
action find
entity Q2663030
relation P106
type Q12737077
['Q2663030', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2663030 property:P106 ?g }
Shigeru Nakahara
action filter_type
action find
entity Shigeru Nakahara
relation occupation
type occupation
['Shigeru Nakahara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Shigeru_Nakahara property:occupation ?g }
[]
occupation
Q622807
SYSTEM
seiyū
Q622807
(Q2663030,P106,c(Q12737077))
action filter_type
action find
entity Q2663030
relation P106
type Q12737077
[ANSWER]
['Q2663030', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2663030 property:P106 ?g }
seiyū
seiyū
action filter_type
action find
entity Shigeru Nakahara
relation occupation
type occupation
['Shigeru Nakahara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Shigeru_Nakahara property:occupation ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q622807 Q18093598
P106
Q502895
USER
Does Johannes van der Veen have the profession as that occupation ?
(Q18093598,P106,Q622807)
action is_in
entity Q18093598
action find
entity Q622807
relation P106
['Q18093598', 'P106', 'Q622807']
ASK WHERE { resource:Q622807 property:P106 resource:Q18093598 }
seiyū Johannes van der Veen
action is_in
entity Johannes van der Veen
action find
entity seiyū
relation occupation
['Johannes van der Veen', 'occupation', 'seiyū']
ASK WHERE { resource:seiyū property:occupation resource:Johannes_van_der_Veen }
[]
common name
SYSTEM
NO
(Q18093598,P106,Q622807)
action is_in
entity Q18093598
action find
entity Q622807
relation P106
[ANSWER]
['Q18093598', 'P106', 'Q622807']
ASK WHERE { resource:Q622807 property:P106 resource:Q18093598 }
No
action is_in
entity Johannes van der Veen
action find
entity seiyū
relation occupation
['Johannes van der Veen', 'occupation', 'seiyū']
ASK WHERE { resource:seiyū property:occupation resource:Johannes_van_der_Veen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q1030 Q508456
P530
Q15617994
USER
Is Germany known to have diplomatic connections with Namibia and Schwarzenbruck ?
(Q183,P530,Q1030) (Q183,P530,Q508456)
action is_in
entity Q183
action intersection
action find_reverse
entity Q1030
relation P530
action find_reverse
entity Q508456
relation P530
['Q183', 'P530', 'Q1030'] ['Q183', 'P530', 'Q508456']
ASK WHERE { resource:Q183 property:P530 resource:Q1030 . resource:Q183 property:P530 resource:Q508456 }
Germany Namibia Schwarzenbruck
action is_in
entity Germany
action intersection
action find_reverse
entity Namibia
relation diplomatic relation
action find_reverse
entity Schwarzenbruck
relation diplomatic relation
['Germany', 'diplomatic relation', 'Namibia'] ['Germany', 'diplomatic relation', 'Schwarzenbruck']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Namibia . resource:Germany property:diplomatic_relation resource:Schwarzenbruck }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q1030) (Q183,P530,Q508456)
action is_in
entity Q183
action intersection
action find_reverse
entity Q1030
relation P530
action find_reverse
entity Q508456
relation P530
[ANSWER]
['Q183', 'P530', 'Q1030'] ['Q183', 'P530', 'Q508456']
ASK WHERE { resource:Q183 property:P530 resource:Q1030 . resource:Q183 property:P530 resource:Q508456 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Namibia
relation diplomatic relation
action find_reverse
entity Schwarzenbruck
relation diplomatic relation
['Germany', 'diplomatic relation', 'Namibia'] ['Germany', 'diplomatic relation', 'Schwarzenbruck']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Namibia . resource:Germany property:diplomatic_relation resource:Schwarzenbruck }
[]