Simple Question (Direct)
Simple Question
Q9341966
P20
Q486972
USER
Where did Stanisław Gola expire ?
(Q9341966,P20,c(Q486972))
action filter_type
action find
entity Q9341966
relation P20
type Q486972
['Q9341966', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q9341966 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Stanisław Gola
action filter_type
action find
entity Stanisław Gola
relation place of death
type human settlement
['Stanisław Gola', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Stanisław_Gola property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q1959972
SYSTEM
Wilkowice, Bielsko County
Q1959972
(Q9341966,P20,c(Q486972))
action filter_type
action find
entity Q9341966
relation P20
type Q486972
Stanisław Gola expired [ANSWER]
['Q9341966', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q9341966 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Wilkowice, Bielsko County
Stanisław Gola expired Wilkowice, Bielsko County
Wilkowice, Bielsko County
action filter_type
action find
entity Stanisław Gola
relation place of death
type human settlement
['Stanisław Gola', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Stanisław_Gola property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9341966
P937
Q486972
USER
Which human settlement is the work location of Stanisław Gola ?
(Q9341966,P937,c(Q486972))
action filter_type
action find
entity Q9341966
relation P937
type Q486972
['Q9341966', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { resource:Q9341966 property:P937 ?w . ?w rdf:type ontology:Q486972 }
Stanisław Gola
action filter_type
action find
entity Stanisław Gola
relation work location
type human settlement
['Stanisław Gola', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { resource:Stanisław_Gola property:work_location ?w . ?w rdf:type ontology:human_settlement }
[]
human settlement
Q106583
SYSTEM
Bielsko-Biała
Q106583
(Q9341966,P937,c(Q486972))
action filter_type
action find
entity Q9341966
relation P937
type Q486972
[ANSWER] is the work location of Stanisław Gola
['Q9341966', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { resource:Q9341966 property:P937 ?w . ?w rdf:type ontology:Q486972 }
Bielsko-Biała
Bielsko-Biała is the work location of Stanisław Gola
Bielsko-Biała
action filter_type
action find
entity Stanisław Gola
relation work location
type human settlement
['Stanisław Gola', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { resource:Stanisław_Gola property:work_location ?w . ?w rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15850638
Q486972
USER
And what about Theodor Skorzisko?
(Q15850638,P937,c(Q486972))
action filter_type
action find
entity Q15850638
relation P937
type Q486972
['Q15850638', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q15850638 property:P937 ?e . ?e rdf:type ontology:Q486972 }
Theodor Skorzisko
action filter_type
action find
entity Theodor Skorzisko
relation work location
type human settlement
['Theodor Skorzisko', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Theodor_Skorzisko property:work_location ?e . ?e rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q15850638,P937,c(Q486972))
action filter_type
action find
entity Q15850638
relation P937
type Q486972
[ANSWER]
['Q15850638', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q15850638 property:P937 ?e . ?e rdf:type ontology:Q486972 }
Hamburg
Hamburg
action filter_type
action find
entity Theodor Skorzisko
relation work location
type human settlement
['Theodor Skorzisko', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Theodor_Skorzisko property:work_location ?e . ?e rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1055 Q8686
P190
Q56061
USER
Is Shanghai the sister city of that human settlement ?
(Q1055,P190,Q8686)
action is_in
entity Q8686
action find
entity Q1055
relation P190
['Q1055', 'P190', 'Q8686']
ASK WHERE { resource:Q1055 property:P190 resource:Q8686 }
Hamburg Shanghai
action is_in
entity Shanghai
action find
entity Hamburg
relation sister city
['Hamburg', 'sister city', 'Shanghai']
ASK WHERE { resource:Hamburg property:sister_city resource:Shanghai }
[]
administrative territorial entity
SYSTEM
YES
(Q1055,P190,Q8686)
action is_in
entity Q8686
action find
entity Q1055
relation P190
[ANSWER]
['Q1055', 'P190', 'Q8686']
ASK WHERE { resource:Q1055 property:P190 resource:Q8686 }
Yes
action is_in
entity Shanghai
action find
entity Hamburg
relation sister city
['Hamburg', 'sister city', 'Shanghai']
ASK WHERE { resource:Hamburg property:sister_city resource:Shanghai }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P1427
Q22348500
USER
Which cycling race class originates at that human settlement ?
action filter_type
action find_reverse
entity Q1055
relation P1427
type Q22348500
SELECT DISTINCT ?x WHERE { ?x property:P1427 resource:Q1055 . ?x rdf:type ontology:Q22348500 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation start point
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?x WHERE { ?x property:start_point resource:Hamburg . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q26458300
SYSTEM
2016 EuroEyes Cyclassics
Q26458300
action filter_type
action find_reverse
entity Q1055
relation P1427
type Q22348500
[ANSWER] originates at that human settlement
SELECT DISTINCT ?x WHERE { ?x property:P1427 resource:Q1055 . ?x rdf:type ontology:Q22348500 }
2016 EuroEyes Cyclassics
2016 EuroEyes Cyclassics originates at that human settlement
2016 EuroEyes Cyclassics
action filter_type
action find_reverse
entity Hamburg
relation start point
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?x WHERE { ?x property:start_point resource:Hamburg . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q486972
USER
Which human settlements are situated in the neighbourhood of exactly 1 still waterss or bodies of water ?
(c(Q486972),P206,c(Q337567)|c(Q15324))
action equal
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q15324
value 1
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?w WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?w } }
action equal
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
value 1
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?w WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?w } }
[]
still waters body of water human settlement
Q1055 Q1792 Q47554
SYSTEM
Hamburg, Gdańsk, Toruń
Q889411 Q1792 Q2739592 Q1143140 Q6723261 Q1165679 Q3177723 Q10729538 Q1286686 Q960161 Q2285390 Q477216 Q10602449 Q1240897 Q812085 Q47554 Q2392994 Q1511769 Q649957 Q464344 Q3289792 Q1263502 Q10448563 Q1055 Q106681 Q743908 Q2552730 Q519717 Q384817 Q15071763 Q321792 Q13571426 Q3593112 Q21279758 Q828955 Q13167040 Q148114 Q2843
(c(Q486972),P206,c(Q337567)|c(Q15324))
action equal
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q15324
value 1
[ANSWERS] are situated in the neighbourhood of exactly 1 still waterss or bodies of water
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?w WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?w } }
Bodega Bay Gdańsk Koivusaari Cudjoe Key Maces Bay Sunset Key Playa Vista Gravedona Sunda Kelapa Fleming Key Sigsbee Park Bahía Kino Norra Hammarbyhamnen Donaufeld Bay Point Toruń Tannenhausen Säynätsalo Alicudi Caputh Tara Hills Duck Key Charlottendal Hamburg Włocławek Filicudi Laajasalo Mazzorbo San Vicente de la Barquera Blacklead Island Travemünde De Vaart Kekerten Island Gourmalon Laredo Angle Inlet Zartwitz Lübeck
Hamburg, Gdańsk and Toruń are situated in the neighbourhood of exactly 1 still waterss or bodies of water
Hamburg Gdańsk Toruń
action equal
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
value 1
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?w WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?w } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10808804
P190
Q56061
USER
Are Gănești sister town of those human settlements ?
(Q10808804,P190,Q1055) (Q10808804,P190,Q1792) (Q10808804,P190,Q47554)
action is_in
entity prev_answer
action find
entity Q10808804
relation P190
['Q10808804', 'P190', 'Q1055'] ['Q10808804', 'P190', 'Q1792'] ['Q10808804', 'P190', 'Q47554']
ASK WHERE { VALUES ( ?i ) { ( resource:Q889411 ) ( resource:Q1792 ) ( resource:Q2739592 ) } . resource:Q10808804 property:P190 ?i }
Gănești
action is_in
entity prev_answer
action find
entity Gănești
relation sister city
['Gănești', 'sister city', 'Hamburg'] ['Gănești', 'sister city', 'Gdańsk'] ['Gănești', 'sister city', 'Toruń']
ASK WHERE { VALUES ( ?i ) { ( resource:Bodega_Bay ) ( resource:Gdańsk ) ( resource:Koivusaari ) } . resource:Gănești property:sister_city ?i }
[]
administrative territorial entity
SYSTEM
NO
(Q10808804,P190,Q1055) (Q10808804,P190,Q1792) (Q10808804,P190,Q47554)
action is_in
entity prev_answer
action find
entity Q10808804
relation P190
[ANSWER]
['Q10808804', 'P190', 'Q1055'] ['Q10808804', 'P190', 'Q1792'] ['Q10808804', 'P190', 'Q47554']
ASK WHERE { VALUES ( ?i ) { ( resource:Q889411 ) ( resource:Q1792 ) ( resource:Q2739592 ) } . resource:Q10808804 property:P190 ?i }
No
action is_in
entity prev_answer
action find
entity Gănești
relation sister city
['Gănești', 'sister city', 'Hamburg'] ['Gănești', 'sister city', 'Gdańsk'] ['Gănești', 'sister city', 'Toruń']
ASK WHERE { VALUES ( ?i ) { ( resource:Bodega_Bay ) ( resource:Gdańsk ) ( resource:Koivusaari ) } . resource:Gănești property:sister_city ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4346476
P138
Q56061 Q12737077 Q486972
USER
How many human settlements are named after greater number of administrative territories or occupations than Klara ?
(c(Q486972),P138,c(Q56061)|c(Q12737077))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q56061
action find_tuple_counts
relation P138
type Q486972
type Q12737077
action count
action filter_multi_types
action find
entity Q4346476
relation P138
type Q56061
type Q12737077
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } . resource:Q4346476 property:P138 ?i } } . FILTER ( ?y > ?p ) }
Klara
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type administrative territorial entity
action find_tuple_counts
relation named after
type human settlement
type occupation
action count
action filter_multi_types
action find
entity Klara
relation named after
type administrative territorial entity
type occupation
[{'concept': 'human settlement'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?r WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } . resource:Klara property:named_after ?i } } . FILTER ( ?y > ?p ) }
[]
administrative territorial entity occupation human settlement
SYSTEM
13
Q2275291 Q2227090 Q10667344 Q1616604 Q877019 Q1058775 Q15919845 Q10701260 Q2891229 Q1661038 Q189074 Q1536676 Q325510
(c(Q486972),P138,c(Q56061)|c(Q12737077))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q56061
action find_tuple_counts
relation P138
type Q486972
type Q12737077
action count
action filter_multi_types
action find
entity Q4346476
relation P138
type Q56061
type Q12737077
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } . resource:Q4346476 property:P138 ?i } } . FILTER ( ?y > ?p ) }
Schildersbuurt Weesperzijde Sickla udde Papenholz Oranienburger Vorstadt Flushing Konstantinopolitika Tranebergs strand Mevo'ot Yericho Inden/Altdorf Harlem New Utrecht Shilo
13
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type administrative territorial entity
action find_tuple_counts
relation named after
type human settlement
type occupation
action count
action filter_multi_types
action find
entity Klara
relation named after
type administrative territorial entity
type occupation
[{'concept': 'human settlement'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?r WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } . resource:Klara property:named_after ?i } } . FILTER ( ?y > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1250708
P138
Q56061 Q12737077 Q486972
USER
And also tell me about Syburg?
(c(Q486972),P138,c(Q56061)|c(Q12737077))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q56061
action find_tuple_counts
relation P138
type Q486972
type Q12737077
action count
action filter_multi_types
action find
entity Q1250708
relation P138
type Q56061
type Q12737077
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1250708 property:P138 ?e . { { ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q12737077 } } } } . FILTER ( ?f > ?c ) }
Syburg
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type administrative territorial entity
action find_tuple_counts
relation named after
type human settlement
type occupation
action count
action filter_multi_types
action find
entity Syburg
relation named after
type administrative territorial entity
type occupation
[{'concept': 'human settlement'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Syburg property:named_after ?e . { { ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:occupation } } } } . FILTER ( ?f > ?c ) }
[]
administrative territorial entity occupation human settlement
SYSTEM
13
Q2275291 Q2227090 Q10667344 Q1616604 Q877019 Q1058775 Q15919845 Q10701260 Q2891229 Q1661038 Q189074 Q1536676 Q325510
(c(Q486972),P138,c(Q56061)|c(Q12737077))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q56061
action find_tuple_counts
relation P138
type Q486972
type Q12737077
action count
action filter_multi_types
action find
entity Q1250708
relation P138
type Q56061
type Q12737077
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1250708 property:P138 ?e . { { ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q12737077 } } } } . FILTER ( ?f > ?c ) }
Schildersbuurt Weesperzijde Sickla udde Papenholz Oranienburger Vorstadt Flushing Konstantinopolitika Tranebergs strand Mevo'ot Yericho Inden/Altdorf Harlem New Utrecht Shilo
13
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type administrative territorial entity
action find_tuple_counts
relation named after
type human settlement
type occupation
action count
action filter_multi_types
action find
entity Syburg
relation named after
type administrative territorial entity
type occupation
[{'concept': 'human settlement'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Syburg property:named_after ?e . { { ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:occupation } } } } . FILTER ( ?f > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15684 Q1959972
P20
Q502895
USER
Which people have Wilkowice, Bielsko County or Segovia as place of death ?
OR((c(Q502895),P20,Q1959972), (c(Q502895),P20,Q15684))
action filter_type
action union
action find_reverse
entity Q1959972
relation P20
action find_reverse
entity Q15684
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q1959972'], [{'concept': 'Q502895'}, 'P20', 'Q15684']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { ?u property:P20 resource:Q1959972 } UNION { ?u property:P20 resource:Q15684 } } }
Segovia Wilkowice, Bielsko County
action filter_type
action union
action find_reverse
entity Wilkowice, Bielsko County
relation place of death
action find_reverse
entity Segovia
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Wilkowice, Bielsko County'], [{'concept': 'common name'}, 'place of death', 'Segovia']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { ?u property:place_of_death resource:Wilkowice,_Bielsko_County } UNION { ?u property:place_of_death resource:Segovia } } }
[]
common name
Q258891 Q2893171 Q5805890 Q603978 Q3817750 Q22983718 Q5943217 Q9009470 Q6141738 Q17150545
SYSTEM
Some of them are Álvar Fáñez, Agapito Marazuela, Diego Arias Dávila, Antonio Palenzuela Velázquez, Baltasar de Mendoza y Sandoval, José Rodao, José María Moro, Isidoro Pérez de Celís, Teodora Zuloaga, Mariano Grau
Q17150545 Q9009470 Q22983718 Q20014617 Q867088 Q258891 Q722275 Q610465 Q11084723 Q768718 Q5805890 Q5993152 Q5943217 Q9341966 Q3817750 Q2893171 Q17122322 Q11199482 Q5219156 Q5983707 Q6148425 Q18645679 Q2254141 Q6141738 Q4274336 Q603978
OR((c(Q502895),P20,Q1959972), (c(Q502895),P20,Q15684))
action filter_type
action union
action find_reverse
entity Q1959972
relation P20
action find_reverse
entity Q15684
relation P20
type Q502895
[ANSWERS] have Wilkowice, Bielsko County or Segovia as place of death
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q1959972'], [{'concept': 'Q502895'}, 'P20', 'Q15684']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { ?u property:P20 resource:Q1959972 } UNION { ?u property:P20 resource:Q15684 } } }
Mariano Grau Isidoro Pérez de Celís José Rodao Roberto Dorado Rodrigo Gil de Hontañón Álvar Fáñez Alonso de Ledesma Francesc Vicent Juan José Martínez Escalzo Francisco Correa de Arauxo Diego Arias Dávila Manuel González Herrero José María Moro Stanisław Gola Baltasar de Mendoza y Sandoval Agapito Marazuela Manuela Villalpando Lupercio Latrás Daniel Zuloaga Luis Javier Moreno Tomás Baeza González Blanca de Silos Carlos de Borja y Centellas Teodora Zuloaga Diego de Colmenares Antonio Palenzuela Velázquez
Álvar Fáñez, Agapito Marazuela, Diego Arias Dávila, Antonio Palenzuela Velázquez, Baltasar de Mendoza y Sandoval, José Rodao, José María Moro, Isidoro Pérez de Celís, Teodora Zuloaga and Mariano Grau have Wilkowice, Bielsko County or Segovia as place of death
Álvar Fáñez Agapito Marazuela Diego Arias Dávila Antonio Palenzuela Velázquez Baltasar de Mendoza y Sandoval José Rodao José María Moro Isidoro Pérez de Celís Teodora Zuloaga Mariano Grau
action filter_type
action union
action find_reverse
entity Wilkowice, Bielsko County
relation place of death
action find_reverse
entity Segovia
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Wilkowice, Bielsko County'], [{'concept': 'common name'}, 'place of death', 'Segovia']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { ?u property:place_of_death resource:Wilkowice,_Bielsko_County } UNION { ?u property:place_of_death resource:Segovia } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15684
P1313
Q12737077
USER
Which occupation is fulfilled by Segovia ?
(Q15684,P1313,c(Q12737077))
action filter_type
action find
entity Q15684
relation P1313
type Q12737077
['Q15684', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q15684 property:P1313 ?q . ?q rdf:type ontology:Q12737077 }
Segovia
action filter_type
action find
entity Segovia
relation office held by head of government
type occupation
['Segovia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Segovia property:office_held_by_head_of_government ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q26691749
SYSTEM
mayor of Segovia
Q26691749
(Q15684,P1313,c(Q12737077))
action filter_type
action find
entity Q15684
relation P1313
type Q12737077
Are [ANSWER] is fulfilled by Segovia
['Q15684', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q15684 property:P1313 ?q . ?q rdf:type ontology:Q12737077 }
mayor of Segovia
Are mayor of Segovia is fulfilled by Segovia
mayor of Segovia
action filter_type
action find
entity Segovia
relation office held by head of government
type occupation
['Segovia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Segovia property:office_held_by_head_of_government ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26691749 Q4535575
P17
Q15617994
USER
Is mayor of Segovia a part of Yushkino ?
(Q26691749,P17,Q4535575)
action is_in
entity Q4535575
action find
entity Q26691749
relation P17
['Q26691749', 'P17', 'Q4535575']
ASK WHERE { resource:Q26691749 property:P17 resource:Q4535575 }
mayor of Segovia Yushkino
action is_in
entity Yushkino
action find
entity mayor of Segovia
relation country
['mayor of Segovia', 'country', 'Yushkino']
ASK WHERE { resource:mayor_of_Segovia property:country resource:Yushkino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26691749,P17,Q4535575)
action is_in
entity Q4535575
action find
entity Q26691749
relation P17
[ANSWER]
['Q26691749', 'P17', 'Q4535575']
ASK WHERE { resource:Q26691749 property:P17 resource:Q4535575 }
No
action is_in
entity Yushkino
action find
entity mayor of Segovia
relation country
['mayor of Segovia', 'country', 'Yushkino']
ASK WHERE { resource:mayor_of_Segovia property:country resource:Yushkino }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5943217 Q1339902
P27
Q15617994
USER
Is José María Moro an inhabitant of Xiuying District ?
(Q5943217,P27,Q1339902)
action is_in
entity Q1339902
action find
entity Q5943217
relation P27
['Q5943217', 'P27', 'Q1339902']
ASK WHERE { resource:Q5943217 property:P27 resource:Q1339902 }
José María Moro Xiuying District
action is_in
entity Xiuying District
action find
entity José María Moro
relation country of citizenship
['José María Moro', 'country of citizenship', 'Xiuying District']
ASK WHERE { resource:José_María_Moro property:country_of_citizenship resource:Xiuying_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5943217,P27,Q1339902)
action is_in
entity Q1339902
action find
entity Q5943217
relation P27
[ANSWER]
['Q5943217', 'P27', 'Q1339902']
ASK WHERE { resource:Q5943217 property:P27 resource:Q1339902 }
No
action is_in
entity Xiuying District
action find
entity José María Moro
relation country of citizenship
['José María Moro', 'country of citizenship', 'Xiuying District']
ASK WHERE { resource:José_María_Moro property:country_of_citizenship resource:Xiuying_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q47554 Q337478 Q7550
P190
Q56061
USER
Is Toruń twin city of Čadca and Lutsk ?
(Q47554,P190,Q337478) (Q47554,P190,Q7550)
action is_in
entity Q47554
action intersection
action find_reverse
entity Q337478
relation P190
action find_reverse
entity Q7550
relation P190
['Q47554', 'P190', 'Q337478'] ['Q47554', 'P190', 'Q7550']
ASK WHERE { resource:Q47554 property:P190 resource:Q337478 . resource:Q47554 property:P190 resource:Q7550 }
Toruń Čadca Lutsk
action is_in
entity Toruń
action intersection
action find_reverse
entity Čadca
relation sister city
action find_reverse
entity Lutsk
relation sister city
['Toruń', 'sister city', 'Čadca'] ['Toruń', 'sister city', 'Lutsk']
ASK WHERE { resource:Toruń property:sister_city resource:Čadca . resource:Toruń property:sister_city resource:Lutsk }
[]
administrative territorial entity
SYSTEM
YES
(Q47554,P190,Q337478) (Q47554,P190,Q7550)
action is_in
entity Q47554
action intersection
action find_reverse
entity Q337478
relation P190
action find_reverse
entity Q7550
relation P190
[ANSWER]
['Q47554', 'P190', 'Q337478'] ['Q47554', 'P190', 'Q7550']
ASK WHERE { resource:Q47554 property:P190 resource:Q337478 . resource:Q47554 property:P190 resource:Q7550 }
Yes
action is_in
entity Toruń
action intersection
action find_reverse
entity Čadca
relation sister city
action find_reverse
entity Lutsk
relation sister city
['Toruń', 'sister city', 'Čadca'] ['Toruń', 'sister city', 'Lutsk']
ASK WHERE { resource:Toruń property:sister_city resource:Čadca . resource:Toruń property:sister_city resource:Lutsk }
[]