Simple Question (Direct)
Simple Question
Q1456545
P39
Q12737077
USER
Which occupation was a position occupied by Oskar von Stobäus ?
(Q1456545,P39,c(Q12737077))
action filter_type
action find
entity Q1456545
relation P39
type Q12737077
['Q1456545', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1456545 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Oskar von Stobäus
action filter_type
action find
entity Oskar von Stobäus
relation position held
type occupation
['Oskar von Stobäus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Oskar_von_Stobäus property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1456545,P39,c(Q12737077))
action filter_type
action find
entity Q1456545
relation P39
type Q12737077
The [ANSWER] was a position occupied by Oskar von Stobäus
['Q1456545', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1456545 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
mayor
The mayor was a position occupied by Oskar von Stobäus
mayor
action filter_type
action find
entity Oskar von Stobäus
relation position held
type occupation
['Oskar von Stobäus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Oskar_von_Stobäus property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1456545
P937
Q15617994
USER
Where did Oskar von Stobäus work ?
(Q1456545,P937,c(Q15617994))
action filter_type
action find
entity Q1456545
relation P937
type Q15617994
['Q1456545', 'P937', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1456545 property:P937 ?h }
Oskar von Stobäus
action filter_type
action find
entity Oskar von Stobäus
relation work location
type designation for an administrative territorial entity
['Oskar von Stobäus', 'work location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Oskar_von_Stobäus property:work_location ?h }
[]
designation for an administrative territorial entity
Q153969
SYSTEM
Lindau
Q153969
(Q1456545,P937,c(Q15617994))
action filter_type
action find
entity Q1456545
relation P937
type Q15617994
Oskar von Stobäus worked in [ANSWER]
['Q1456545', 'P937', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1456545 property:P937 ?h }
Lindau
Oskar von Stobäus worked in Lindau
Lindau
action filter_type
action find
entity Oskar von Stobäus
relation work location
type designation for an administrative territorial entity
['Oskar von Stobäus', 'work location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Oskar_von_Stobäus property:work_location ?h }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1456545
Q515
USER
And which city?
(Q1456545,P937,c(Q515))
action filter_type
action find
entity Q1456545
relation P937
type Q515
['Q1456545', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1456545 property:P937 ?f . ?f rdf:type ontology:Q515 }
Oskar von Stobäus
action filter_type
action find
entity Oskar von Stobäus
relation work location
type city
['Oskar von Stobäus', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Oskar_von_Stobäus property:work_location ?f . ?f rdf:type ontology:city }
[]
city
Q2978
SYSTEM
Regensburg
Q2978
(Q1456545,P937,c(Q515))
action filter_type
action find
entity Q1456545
relation P937
type Q515
[ANSWER]
['Q1456545', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1456545 property:P937 ?f . ?f rdf:type ontology:Q515 }
Regensburg
Regensburg
action filter_type
action find
entity Oskar von Stobäus
relation work location
type city
['Oskar von Stobäus', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Oskar_von_Stobäus property:work_location ?f . ?f rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18529094 Q1456545
P27
Q1048835
USER
Which political territories do Oskar von Stobäus or Hvarflod Macheth belong to ?
OR((Q1456545,P27,c(Q1048835)), (Q18529094,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1456545
relation P27
action find
entity Q18529094
relation P27
type Q1048835
{'OR': [['Q1456545', 'P27', {'concept': 'Q1048835'}], ['Q18529094', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q1456545 property:P27 ?d } UNION { resource:Q18529094 property:P27 ?d } } }
Hvarflod Macheth Oskar von Stobäus
action filter_type
action union
action find
entity Oskar von Stobäus
relation country of citizenship
action find
entity Hvarflod Macheth
relation country of citizenship
type political territorial entity
{'OR': [['Oskar von Stobäus', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hvarflod Macheth', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Oskar_von_Stobäus property:country_of_citizenship ?d } UNION { resource:Hvarflod_Macheth property:country_of_citizenship ?d } } }
[]
political territorial entity
Q100166 Q183
SYSTEM
Orkney Islands, Germany
Q100166 Q183
OR((Q1456545,P27,c(Q1048835)), (Q18529094,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1456545
relation P27
action find
entity Q18529094
relation P27
type Q1048835
Oskar von Stobäus or Hvarflod Macheth belong to the [ANSWERS]
{'OR': [['Q1456545', 'P27', {'concept': 'Q1048835'}], ['Q18529094', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q1456545 property:P27 ?d } UNION { resource:Q18529094 property:P27 ?d } } }
Orkney Islands Germany
Oskar von Stobäus or Hvarflod Macheth belong to the Orkney Islands and Germany
Orkney Islands Germany
action filter_type
action union
action find
entity Oskar von Stobäus
relation country of citizenship
action find
entity Hvarflod Macheth
relation country of citizenship
type political territorial entity
{'OR': [['Oskar von Stobäus', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hvarflod Macheth', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Oskar_von_Stobäus property:country_of_citizenship ?d } UNION { resource:Hvarflod_Macheth property:country_of_citizenship ?d } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q100166 Q183
P1001
Q14660
USER
Which flags have jurisdiction over Orkney Islands and Germany ?
(c(Q14660),P1001,Q100166) (c(Q14660),P1001,Q183)
action union
action filter_type
action find_reverse
entity Q100166
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q183
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q100166'] [{'concept': 'Q14660'}, 'P1001', 'Q183']
SELECT DISTINCT ?j WHERE { { ?j property:P1001 resource:Q100166 . ?j rdf:type ontology:Q14660 } UNION { ?j property:P1001 resource:Q183 . ?j rdf:type ontology:Q14660 } }
Orkney Islands Germany
action union
action filter_type
action find_reverse
entity Orkney Islands
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Orkney Islands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?j WHERE { { ?j property:applies_to_jurisdiction resource:Orkney_Islands . ?j rdf:type ontology:flag } UNION { ?j property:applies_to_jurisdiction resource:Germany . ?j rdf:type ontology:flag } }
[]
flag
Q530665 Q48160
SYSTEM
flag of Orkney, flag of Germany
Q530665 Q48160
(c(Q14660),P1001,Q100166) (c(Q14660),P1001,Q183)
action union
action filter_type
action find_reverse
entity Q100166
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q183
relation P1001
type Q14660
And [ANSWERS] have jurisdiction over Orkney Islands and Germany
[{'concept': 'Q14660'}, 'P1001', 'Q100166'] [{'concept': 'Q14660'}, 'P1001', 'Q183']
SELECT DISTINCT ?j WHERE { { ?j property:P1001 resource:Q100166 . ?j rdf:type ontology:Q14660 } UNION { ?j property:P1001 resource:Q183 . ?j rdf:type ontology:Q14660 } }
flag of Orkney flag of Germany
And flag of Orkney and flag of Germany have jurisdiction over Orkney Islands and Germany
flag of Orkney flag of Germany
action union
action filter_type
action find_reverse
entity Orkney Islands
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Orkney Islands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?j WHERE { { ?j property:applies_to_jurisdiction resource:Orkney_Islands . ?j rdf:type ontology:flag } UNION { ?j property:applies_to_jurisdiction resource:Germany . ?j rdf:type ontology:flag } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q530665 Q48160
P163
Q1048835
USER
Which political territories are associated with those flags ?
(c(Q1048835),P163,Q530665) (c(Q1048835),P163,Q48160)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[{'concept': 'Q1048835'}, 'P163', 'Q530665'] [{'concept': 'Q1048835'}, 'P163', 'Q48160']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . VALUES ( ?o ) { ( resource:Q530665 ) ( resource:Q48160 ) } . ?k property:P163 ?o }
flag of Orkney flag of Germany
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Orkney'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Germany']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . VALUES ( ?o ) { ( resource:flag_of_Orkney ) ( resource:flag_of_Germany ) } . ?k property:flag ?o }
[]
political territorial entity
Q100166 Q183
SYSTEM
Orkney Islands, Germany
Q100166 Q183
(c(Q1048835),P163,Q530665) (c(Q1048835),P163,Q48160)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[ANSWERS] are associated with those flags
[{'concept': 'Q1048835'}, 'P163', 'Q530665'] [{'concept': 'Q1048835'}, 'P163', 'Q48160']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . VALUES ( ?o ) { ( resource:Q530665 ) ( resource:Q48160 ) } . ?k property:P163 ?o }
Orkney Islands Germany
Orkney Islands and Germany are associated with those flags
Orkney Islands Germany
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Orkney'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Germany']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . VALUES ( ?o ) { ( resource:flag_of_Orkney ) ( resource:flag_of_Germany ) } . ?k property:flag ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P127
Q79007
USER
Which streets are under posessision of Germany ?
(c(Q79007),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q79007
[{'concept': 'Q79007'}, 'P127', 'Q183']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q183 . ?j rdf:type ontology:Q79007 }
Germany
action filter_type
action find_reverse
entity Germany
relation owned by
type street
[{'concept': 'street'}, 'owned by', 'Germany']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Germany . ?j rdf:type ontology:street }
[]
street
Q34444 Q52720 Q52722
SYSTEM
Bundesstraße 3, Bundesstraße 73, Bundesstraße 75
Q52780 Q52783 Q52782 Q52784 Q52787 Q52786 Q52789 Q52788 Q34559 Q34556 Q34553 Q52709 Q52708 Q52705 Q52707 Q34495 Q1006769 Q34492 Q34498 Q1007052 Q47979 Q47973 Q1007274 Q34549 Q34548 Q52730 Q52731 Q52732 Q34541 Q52738 Q34546 Q34544 Q1006969 Q47981 Q1006806 Q1007281 Q52792 Q52723 Q52722 Q52721 Q52720 Q52727 Q52725 Q52724 Q52729 Q34438 Q1006799 Q34538 Q34536 Q52734 Q34532 Q34530 Q52799 Q34441 Q34446 Q34444 Q47993 Q34472 Q52757 Q52754 Q52755 Q1006941 Q52753 Q52751 Q34525 Q1006786 Q34520 Q52758 Q52759 Q47963 Q47960 Q47968 Q34450 Q34452 Q319795 Q34454 Q34456 Q34459 Q47987 Q52745 Q52744 Q52746 Q52741 Q52740 Q52742 Q34513 Q52749 Q52748 Q34522 Q52756 Q1007034 Q1006994 Q1007137 Q34506 Q34468 Q34502 Q34501 Q34465 Q34462 Q52770 Q52771 Q52772 Q52774 Q52775 Q52776 Q52778 Q52779 Q34571 Q34573 Q34478 Q52808 Q52809 Q52806 Q52807 Q52804 Q34470 Q52802 Q34476 Q52800 Q52801 Q52805 Q52769 Q52768 Q52767 Q52766 Q52765 Q52764 Q52763 Q52762 Q52761 Q52760 Q1007296 Q52793 Q52790 Q52796 Q52797 Q52794 Q52795 Q52798 Q47955 Q1007298 Q34563 Q34566 Q2769393 Q52811 Q52810 Q52812 Q34507 Q52718 Q52736 Q52712 Q52713 Q52710 Q52711 Q52716 Q52717 Q52715 Q34484 Q34482 Q34480 Q34488 Q34489
(c(Q79007),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q79007
[ANSWERS] are under posessision of Germany
[{'concept': 'Q79007'}, 'P127', 'Q183']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q183 . ?j rdf:type ontology:Q79007 }
Bundesstraße 170 Bundesstraße 172 Bundesstraße 171 Bundesstraße 173 Bundesstraße 175 Bundesstraße 174 Bundesstraße 178 Bundesstraße 176 Bundesstraße 45 Bundesstraße 44 Bundesstraße 43 Bundesstraße 64 Bundesstraße 63 Bundesstraße 61 Bundesstraße 62 Bundesstraße 23 Bundesstraße 11a Bundesstraße 22 Bundesstraße 25 Bundesstraße 38a Bundesstraße 56 Bundesstraße 55 Bundesstroß 55a Bundesstraße 42 Bundesstraße 41 Bundesstraße 82 Bundesstraße 83 Bundesstraße 84 Bundesstraße 38 Bundesstraße 87 Bundesstraße 40 Bundesstraße 39 Bundesstraße 27a Bundesstraße 57 Bundesstraße 187a Bundesstraße 66n Bundesstraße 180 Bundesstraße 76 Bundesstraße 75 Bundesstraße 74 Bundesstraße 73 Bundesstraße 80 Bundesstraße 79 Bundesstraße 77 Bundesstraße 81 Bundesstraße 1 Bundesstraße 183a Bundesstraße 37 Bundesstraße 36 Bundesstraße 85 Bundesstraße 35 Bundesstraße 34 Bundesstraße 187 Bundesstraße 2 Bundesstraße 4 Bundesstraße 3 Bundesstraße 59 Bundesstraße 13 Bundesstraße 101 Bundesstraße 98 Bundesstraße 99 Bundesstraße 26a Bundesstraße 97 Bundesstraße 96 Bundesstraße 33 Bundesstraße 172a Bundesstraße 31 Bundesstraße 102 Bundesstraße 103 Bundesstraße 53 Bundesstraße 52 Bundesstraße 54 Bundesstraße 4 R Bundesstraße 5 Bundesstraße 2 R Bundesstraße 6 Bundesstraße 7 Bundesstraße 8 Bundesstraße 58 Bundesstraße 92 Bundesstraße 91 Bundesstraße 93 Bundesstraße 89 Bundesstraße 88 Bundesstraße 90 Bundesstraße 30 Bundesstraße 95 Bundesstraße 94 Bundesstraße 32 Bundesstraße 100 Bundesstraße 31a Bundesstraße 28a Bundesstraße 43a Bundesstraße 28 Bundesstraße 11 Bundesstraße 27 Bundesstraße 26 Bundesstraße 10 Bundesstraße 9 Bundesstraße 113 Bundesstraße 122 Bundesstraße 156 Bundesstraße 158 Bundesstraße 166 Bundesstraße 167 Bundesstraße 168 Bundesstraße 169 Bundesstraße 49 Bundesstraße 50 Bundesstraße 15 Bundesstraße 195 Bundesstraße 196 Bundesstraße 193 Bundesstraße 194 Bundesstraße 191 Bundesstraße 12 Bundesstraße 190 Bundesstraße 14 Bundesstraße 188 Bundesstraße 189 Bundesstraße 192 Bundesstraße 115 Bundesstraße 112 Bundesstraße 111 Bundesstraße 110 Bundesstraße 109 Bundesstraße 108 Bundesstraße 107 Bundesstraße 106 Bundesstraße 105 Bundesstraße 104 Bundesstraße 96b Bundesstraße 181 Bundesstraße 179 Bundesstraße 184 Bundesstraße 185 Bundesstraße 182 Bundesstraße 183 Bundesstraße 186 Bundesstraße 51 Bundesstraße 96a Bundesstraße 47 Bundesstraße 48 Bundesstraße 33a Bundesstraße 198 Bundesstraße 197 Bundesstraße 199 Bundesstraße 29 Bundesstraße 72 Bundesstraße 86 Bundesstraße 67 Bundesstraße 68 Bundesstraße 65 Bundesstraße 66 Bundesstraße 70 Bundesstraße 71 Bundesstraße 69 Bundesstraße 19 Bundesstraße 17 Bundesstraße 16 Bundesstraße 20 Bundesstraße 21
Bundesstraße 3, Bundesstraße 73 and Bundesstraße 75 are under posessision of Germany
Bundesstraße 3 Bundesstraße 73 Bundesstraße 75
action filter_type
action find_reverse
entity Germany
relation owned by
type street
[{'concept': 'street'}, 'owned by', 'Germany']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Germany . ?j rdf:type ontology:street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P138
Q12280
USER
Which bridge is named after Germany ?
(c(Q12280),P138,Q183)
action filter_type
action find_reverse
entity Q183
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q183 . ?q rdf:type ontology:Q12280 }
Germany
action filter_type
action find_reverse
entity Germany
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Germany . ?q rdf:type ontology:bridge }
[]
bridge
Q205682
SYSTEM
Three Countries Bridge
Q205682
(c(Q12280),P138,Q183)
action filter_type
action find_reverse
entity Q183
relation P138
type Q12280
In [ANSWER] is named after Germany
[{'concept': 'Q12280'}, 'P138', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q183 . ?q rdf:type ontology:Q12280 }
Three Countries Bridge
In Three Countries Bridge is named after Germany
Three Countries Bridge
action filter_type
action find_reverse
entity Germany
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Germany . ?q rdf:type ontology:bridge }
[]