Simple Question (Direct)
Simple Question
Q4730850
P39
Q12737077
USER
Which occupations were a position held by Allan McLean ?
(Q4730850,P39,c(Q12737077))
action filter_type
action find
entity Q4730850
relation P39
type Q12737077
['Q4730850', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q4730850 property:P39 ?e }
Allan McLean
action filter_type
action find
entity Allan McLean
relation position held
type occupation
['Allan McLean', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Allan_McLean property:position_held ?e }
[]
occupation
Q13527909 Q18912794
SYSTEM
Premier of Victoria, Member of the Australian House of Representatives
Q13527909 Q18912794
(Q4730850,P39,c(Q12737077))
action filter_type
action find
entity Q4730850
relation P39
type Q12737077
The [ANSWERS] were a position held by Allan McLean
['Q4730850', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q4730850 property:P39 ?e }
Premier of Victoria Member of the Australian House of Representatives
The Premier of Victoria and Member of the Australian House of Representatives were a position held by Allan McLean
Premier of Victoria Member of the Australian House of Representatives
action filter_type
action find
entity Allan McLean
relation position held
type occupation
['Allan McLean', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Allan_McLean property:position_held ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13527909
P748
Q12737077
USER
Which occupation is responsible for appointment of that one ?
(Q13527909,P748,c(Q12737077))
action filter_type
action find
entity Q13527909
relation P748
type Q12737077
['Q13527909', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q13527909 property:P748 ?p . ?p rdf:type ontology:Q12737077 }
Premier of Victoria
action filter_type
action find
entity Premier of Victoria
relation appointed by
type occupation
['Premier of Victoria', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Premier_of_Victoria property:appointed_by ?p . ?p rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q13527909
SYSTEM
Did you mean Premier of Victoria ?
Q13527909 Q18912794
(Q13527909,P748,c(Q12737077)) (Q18912794,P748,c(Q12737077))
[ANSWER]
['Q13527909', 'P748', {'concept': 'Q12737077'}] ['Q18912794', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q13527909 property:P748 ?p . ?p rdf:type ontology:Q12737077 }
Premier of Victoria Member of the Australian House of Representatives
Did you mean Premier of Victoria ?
Premier of Victoria
['Premier of Victoria', 'appointed by', {'concept': 'occupation'}] ['Member of the Australian House of Representatives', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Premier_of_Victoria property:appointed_by ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q13527909,P748,c(Q12737077))
['Q13527909', 'P748', {'concept': 'Q12737077'}]
['Premier of Victoria', 'appointed by', {'concept': 'occupation'}]
[]
Q1571023
SYSTEM
Governor of Victoria
Q1571023
(Q13527909,P748,c(Q12737077))
action filter_type
action find
entity Q13527909
relation P748
type Q12737077
The [ANSWER] is responsible for appointment of that one
['Q13527909', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q13527909 property:P748 ?p . ?p rdf:type ontology:Q12737077 }
Governor of Victoria
The Governor of Victoria is responsible for appointment of that one
Governor of Victoria
action filter_type
action find
entity Premier of Victoria
relation appointed by
type occupation
['Premier of Victoria', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Premier_of_Victoria property:appointed_by ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1571023 Q21032519 Q14931512
P748
Q12737077
USER
Did Second Empire senator and monarch of Australia appoint Q1571023 ?
(Q1571023,P748,Q21032519) (Q1571023,P748,Q14931512)
action is_in
entity Q1571023
action intersection
action find_reverse
entity Q21032519
relation P748
action find_reverse
entity Q14931512
relation P748
['Q1571023', 'P748', 'Q21032519'] ['Q1571023', 'P748', 'Q14931512']
ASK WHERE { resource:Q1571023 property:P748 resource:Q21032519 . resource:Q1571023 property:P748 resource:Q14931512 }
Governor of Victoria Second Empire senator monarch of Australia
action is_in
entity Governor of Victoria
action intersection
action find_reverse
entity Second Empire senator
relation appointed by
action find_reverse
entity monarch of Australia
relation appointed by
['Governor of Victoria', 'appointed by', 'Second Empire senator'] ['Governor of Victoria', 'appointed by', 'monarch of Australia']
ASK WHERE { resource:Governor_of_Victoria property:appointed_by resource:Second_Empire_senator . resource:Governor_of_Victoria property:appointed_by resource:monarch_of_Australia }
[]
occupation
SYSTEM
NO and YES respectively
(Q1571023,P748,Q21032519) (Q1571023,P748,Q14931512)
action is_in
entity Q1571023
action intersection
action find_reverse
entity Q21032519
relation P748
action find_reverse
entity Q14931512
relation P748
[ANSWER]
['Q1571023', 'P748', 'Q21032519'] ['Q1571023', 'P748', 'Q14931512']
ASK WHERE { resource:Q1571023 property:P748 resource:Q21032519 . resource:Q1571023 property:P748 resource:Q14931512 }
NO and YES respectively
action is_in
entity Governor of Victoria
action intersection
action find_reverse
entity Second Empire senator
relation appointed by
action find_reverse
entity monarch of Australia
relation appointed by
['Governor of Victoria', 'appointed by', 'Second Empire senator'] ['Governor of Victoria', 'appointed by', 'monarch of Australia']
ASK WHERE { resource:Governor_of_Victoria property:appointed_by resource:Second_Empire_senator . resource:Governor_of_Victoria property:appointed_by resource:monarch_of_Australia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7899130 Q21032519
P17
Q15617994
USER
Which administrative territories do Second Empire senator or Uppland Runic Inscription 824 belong to ?
OR((Q21032519,P17,c(Q15617994)), (Q7899130,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21032519
relation P17
action find
entity Q7899130
relation P17
type Q15617994
{'OR': [['Q21032519', 'P17', {'concept': 'Q15617994'}], ['Q7899130', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q21032519 property:P17 ?d } UNION { resource:Q7899130 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Uppland Runic Inscription 824 Second Empire senator
action filter_type
action union
action find
entity Second Empire senator
relation country
action find
entity Uppland Runic Inscription 824
relation country
type designation for an administrative territorial entity
{'OR': [['Second Empire senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Uppland Runic Inscription 824', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Second_Empire_senator property:country ?d } UNION { resource:Uppland_Runic_Inscription_824 property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q34
SYSTEM
France, Sweden
Q142 Q34
OR((Q21032519,P17,c(Q15617994)), (Q7899130,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21032519
relation P17
action find
entity Q7899130
relation P17
type Q15617994
[ANSWERS] Second Empire senator or Uppland Runic Inscription 824 belong to
{'OR': [['Q21032519', 'P17', {'concept': 'Q15617994'}], ['Q7899130', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q21032519 property:P17 ?d } UNION { resource:Q7899130 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
France Sweden
France and Sweden Second Empire senator or Uppland Runic Inscription 824 belong to
France Sweden
action filter_type
action union
action find
entity Second Empire senator
relation country
action find
entity Uppland Runic Inscription 824
relation country
type designation for an administrative territorial entity
{'OR': [['Second Empire senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Uppland Runic Inscription 824', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Second_Empire_senator property:country ?d } UNION { resource:Uppland_Runic_Inscription_824 property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q34
P17
Q223557
USER
Which physical objects are present in France and Sweden ?
(c(Q223557),P17,Q142) (c(Q223557),P17,Q34)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q223557
action filter_type
action find_reverse
entity Q34
relation P17
type Q223557
[{'concept': 'Q223557'}, 'P17', 'Q142'] [{'concept': 'Q223557'}, 'P17', 'Q34']
SELECT DISTINCT ?t WHERE { { ?t property:P17 resource:Q34 . ?t rdf:type ontology:Q223557 } UNION { ?t property:P17 resource:Q142 . ?t rdf:type ontology:Q223557 } }
France Sweden
action union
action filter_type
action find_reverse
entity France
relation country
type physical object
action filter_type
action find_reverse
entity Sweden
relation country
type physical object
[{'concept': 'physical object'}, 'country', 'France'] [{'concept': 'physical object'}, 'country', 'Sweden']
SELECT DISTINCT ?t WHERE { { ?t property:country resource:Sweden . ?t rdf:type ontology:physical_object } UNION { ?t property:country resource:France . ?t rdf:type ontology:physical_object } }
[]
physical object
Q3656669 Q10593938 Q10617197
SYSTEM
Helenelund, Nackas hörna, Lacaune military radio station
Q673040 Q15243005 Q3046747 Q3401796 Q3516144 Q7961145 Q3516567 Q3373545 Q6983779 Q5121974 Q2893163 Q3453563 Q3575784 Q1999642 Q1954580 Q7675384 Q2620684 Q3209887 Q7908884 Q7908882 Q7068876 Q3516204 Q6465188 Q3128942 Q692874 Q3656422 Q4668568 Q2887352 Q2272279 Q7681814 Q2441738 Q13410294 Q5470690 Q8049488 Q3572234 Q7701229 Q2986945 Q3553337 Q3209598 Q638503 Q5330155 Q7809051 Q2916889 Q2879559 Q10617197 Q2526361 Q3472078 Q3547088 Q5103451 Q5431625 Q1954247 Q856671 Q10503811 Q4808248 Q3656669 Q6382976 Q10532159 Q10673267 Q10715879 Q10670901 Q10553245 Q3543904 Q3817678 Q15558698 Q6950004 Q10711622 Q7620507 Q5210276 Q10432441 Q10498703 Q10551384 Q10543247 Q10406736 Q2438204 Q4994148 Q10508825 Q7919594 Q20477542 Q2622414 Q10690300 Q10543284 Q10681159 Q7635991 Q10593938 Q4994157 Q6453487 Q10500963 Q10680975 Q7484745 Q10688771 Q3894659 Q10318354 Q5350532
(c(Q223557),P17,Q142) (c(Q223557),P17,Q34)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q223557
action filter_type
action find_reverse
entity Q34
relation P17
type Q223557
[ANSWERS] are present in France and Sweden
[{'concept': 'Q223557'}, 'P17', 'Q142'] [{'concept': 'Q223557'}, 'P17', 'Q34']
SELECT DISTINCT ?t WHERE { { ?t property:P17 resource:Q34 . ?t rdf:type ontology:Q223557 } UNION { ?t property:P17 resource:Q142 . ?t rdf:type ontology:Q223557 } }
Soule Louvignies-Bavay Eaux-Chaudes 1st sector of Marseille Tauna Waki Ta'a Oa Pays de la Mée Ndokoa Gorge Cirque d'Estaubé Beaufort-sur-Doron Rustinu area of ​​defense and security Corsica wine Loire Valley Taha Uku Peyresq La Joliette Vaitahu Vaisseaux Bank Nuku Tautira La Savane Ha'ava Chemin de la Mâture Bourges City Cantons Abounamy Pettarra Lac du Val-Joly Tampok Côte Fleurie Maguelone Fort-de-France Bay Yaroupi Yeu Tepati Agglomeration community of La Rochelle Vaituha La Grenouillère Lower Navarre Eastern Gemini Seamount Tiputa Pass Bass Islands Atuona Bay Lacaune military radio station Vin de Corse Sandy Ground Tovi'i Choazil Islands Falaises d'Entrecasteaux Grinduga Söderort Geneta Aspö Helenelund Norrviken Håtö Svansar Sollentuna Vinö Skälby Laggarberg Hovs Hallar Djursholms Framnäsviken Östra hamnen Måkläppen Utö firing range Storön Dalby Norreskog Bolinders plan Fredlarna Kymlingelänken Kanaanbadet Alphyddan Rågårdsvik Månstorp Gables Grimskär Vendelsömalm Munsö Östra Deje Talludden Kanberget Höggarn Sularp Brook Nackas hörna Limhamn-Bunkeflo Kärra-Rödbo Fågelön Stora Bornö Vallen Söderslätt Moshultamåla Lilla Varholmen Ekoln
Helenelund, Nackas hörna and Lacaune military radio station are present in France and Sweden
Helenelund Nackas hörna Lacaune military radio station
action union
action filter_type
action find_reverse
entity France
relation country
type physical object
action filter_type
action find_reverse
entity Sweden
relation country
type physical object
[{'concept': 'physical object'}, 'country', 'France'] [{'concept': 'physical object'}, 'country', 'Sweden']
SELECT DISTINCT ?t WHERE { { ?t property:country resource:Sweden . ?t rdf:type ontology:physical_object } UNION { ?t property:country resource:France . ?t rdf:type ontology:physical_object } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3656669 Q10593938 Q10617197
P17
Q15617994
USER
Which administrative territories are Helenelund, Nackas hörna and Lacaune military radio station located in ?
(Q3656669,P17,c(Q15617994)) (Q10593938,P17,c(Q15617994)) (Q10617197,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3656669
relation P17
type Q15617994
action filter_type
action find
entity Q10593938
relation P17
type Q15617994
action filter_type
action find
entity Q10617197
relation P17
type Q15617994
['Q3656669', 'P17', {'concept': 'Q15617994'}] ['Q10593938', 'P17', {'concept': 'Q15617994'}] ['Q10617197', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?y ) { ( resource:Q3656669 ) ( resource:Q10593938 ) } . ?y property:P17 ?v }
Helenelund Nackas hörna Lacaune military radio station
action union
action filter_type
action find
entity Helenelund
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nackas hörna
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lacaune military radio station
relation country
type designation for an administrative territorial entity
['Helenelund', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nackas hörna', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lacaune military radio station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?y ) { ( resource:Helenelund ) ( resource:Nackas_hörna ) } . ?y property:country ?v }
[]
designation for an administrative territorial entity
Q34 Q34 Q142
SYSTEM
France for 3rd, Sweden for 1st, 2nd
Q34 Q34 Q142
(Q3656669,P17,c(Q15617994)) (Q10593938,P17,c(Q15617994)) (Q10617197,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3656669
relation P17
type Q15617994
action filter_type
action find
entity Q10593938
relation P17
type Q15617994
action filter_type
action find
entity Q10617197
relation P17
type Q15617994
[ANSWERS]
['Q3656669', 'P17', {'concept': 'Q15617994'}] ['Q10593938', 'P17', {'concept': 'Q15617994'}] ['Q10617197', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?y ) { ( resource:Q3656669 ) ( resource:Q10593938 ) } . ?y property:P17 ?v }
Sweden Sweden France
Sweden, Sweden and France are Helenelund, Nackas hörna and Lacaune military radio station located in
Sweden Sweden France
action union
action filter_type
action find
entity Helenelund
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nackas hörna
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lacaune military radio station
relation country
type designation for an administrative territorial entity
['Helenelund', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nackas hörna', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lacaune military radio station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?y ) { ( resource:Helenelund ) ( resource:Nackas_hörna ) } . ?y property:country ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3656669
P47
Q56061
USER
Which administrative territories share border with that physical object ?
(c(Q56061),P47,Q3656669)
action filter_type
action find
entity Q3656669
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q3656669']
SELECT DISTINCT ?y WHERE { resource:Q3656669 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Helenelund
action filter_type
action find
entity Helenelund
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Helenelund']
SELECT DISTINCT ?y WHERE { resource:Helenelund property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3656669
SYSTEM
Did you mean Helenelund ?
Q34 Q34 Q142
(c(Q56061),P47,Q34) (c(Q56061),P47,Q34) (c(Q56061),P47,Q142)
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q34'] [{'concept': 'Q56061'}, 'P47', 'Q34'] [{'concept': 'Q56061'}, 'P47', 'Q142']
SELECT DISTINCT ?y WHERE { resource:Q3656669 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Sweden Sweden France
Did you mean Helenelund ?
Helenelund
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sweden'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sweden'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'France']
SELECT DISTINCT ?y WHERE { resource:Helenelund property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q56061),P47,Q3656669)
[{'concept': 'Q56061'}, 'P47', 'Q3656669']
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Helenelund']
[]
Q1245744 Q10551383 Q2565140
SYSTEM
Kista, Kymlinge, Husby
Q1245744 Q10551383 Q2565140
(c(Q56061),P47,Q3656669)
action filter_type
action find
entity Q3656669
relation P47
type Q56061
[ANSWERS] share border with that physical object
[{'concept': 'Q56061'}, 'P47', 'Q3656669']
SELECT DISTINCT ?y WHERE { resource:Q3656669 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Kista Kymlinge Husby
Kista, Kymlinge and Husby share border with that physical object
Kista Kymlinge Husby
action filter_type
action find
entity Helenelund
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Helenelund']
SELECT DISTINCT ?y WHERE { resource:Helenelund property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q223557
USER
How many administrative territories or physical objects have an adjacent border with that administrative territory ?
(c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140) (c(Q56061),P47,Q1245744) (c(Q223557),P47,Q1245744) (c(Q56061),P47,Q10551383) (c(Q223557),P47,Q10551383) (c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140)
[{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140'] [{'concept': 'Q56061'}, 'P47', 'Q1245744'] [{'concept': 'Q223557'}, 'P47', 'Q1245744'] [{'concept': 'Q56061'}, 'P47', 'Q10551383'] [{'concept': 'Q223557'}, 'P47', 'Q10551383'] [{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } UNION { ?z property:P47 resource:Q21488276 } UNION { ?y property:P47 resource:Q21488276 } UNION { ?z property:P47 resource:Q10551383 } UNION { ?y property:P47 resource:Q10551383 } UNION { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q223557 }
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kista'] [{'concept': 'physical object'}, 'shares border with', 'Kista'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kymlinge'] [{'concept': 'physical object'}, 'shares border with', 'Kymlinge'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } UNION { ?z property:shares_border_with resource:Kista } UNION { ?y property:shares_border_with resource:Kista } UNION { ?z property:shares_border_with resource:Kymlinge } UNION { ?y property:shares_border_with resource:Kymlinge } UNION { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:physical_object }
[]
administrative territorial entity physical object
Quantitative|Count|Mult. entity type|Clarification
Q1245744
SYSTEM
Did you mean Kista ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } UNION { ?z property:P47 resource:Q21488276 } UNION { ?y property:P47 resource:Q21488276 } UNION { ?z property:P47 resource:Q10551383 } UNION { ?y property:P47 resource:Q10551383 } UNION { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q223557 }
Did you mean Kista ?
Kista
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } UNION { ?z property:shares_border_with resource:Kista } UNION { ?y property:shares_border_with resource:Kista } UNION { ?z property:shares_border_with resource:Kymlinge } UNION { ?y property:shares_border_with resource:Kymlinge } UNION { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:physical_object }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Husby. Could you tell me the answer for that?
(c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140) (c(Q56061),P47,Q1245744) (c(Q223557),P47,Q1245744) (c(Q56061),P47,Q10551383) (c(Q223557),P47,Q10551383) (c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140)
Q2565140
[{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140'] [{'concept': 'Q56061'}, 'P47', 'Q1245744'] [{'concept': 'Q223557'}, 'P47', 'Q1245744'] [{'concept': 'Q56061'}, 'P47', 'Q10551383'] [{'concept': 'Q223557'}, 'P47', 'Q10551383'] [{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140']
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kista'] [{'concept': 'physical object'}, 'shares border with', 'Kista'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kymlinge'] [{'concept': 'physical object'}, 'shares border with', 'Kymlinge'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby']
[]
SYSTEM
4
Q1245744 Q3656669 Q2558407 Q642080
(c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140) (c(Q56061),P47,Q1245744) (c(Q223557),P47,Q1245744) (c(Q56061),P47,Q10551383) (c(Q223557),P47,Q10551383) (c(Q56061),P47,Q2565140) (c(Q223557),P47,Q2565140)
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140'] [{'concept': 'Q56061'}, 'P47', 'Q1245744'] [{'concept': 'Q223557'}, 'P47', 'Q1245744'] [{'concept': 'Q56061'}, 'P47', 'Q10551383'] [{'concept': 'Q223557'}, 'P47', 'Q10551383'] [{'concept': 'Q56061'}, 'P47', 'Q2565140'] [{'concept': 'Q223557'}, 'P47', 'Q2565140']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } UNION { ?z property:P47 resource:Q21488276 } UNION { ?y property:P47 resource:Q21488276 } UNION { ?z property:P47 resource:Q10551383 } UNION { ?y property:P47 resource:Q10551383 } UNION { ?z property:P47 resource:Q342692 } UNION { ?y property:P47 resource:Q342692 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q223557 }
Kista Helenelund Akalla Tensta
4
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kista'] [{'concept': 'physical object'}, 'shares border with', 'Kista'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Kymlinge'] [{'concept': 'physical object'}, 'shares border with', 'Kymlinge'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Husby'] [{'concept': 'physical object'}, 'shares border with', 'Husby']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } UNION { ?z property:shares_border_with resource:Kista } UNION { ?y property:shares_border_with resource:Kista } UNION { ?z property:shares_border_with resource:Kymlinge } UNION { ?y property:shares_border_with resource:Kymlinge } UNION { ?z property:shares_border_with resource:Husby } UNION { ?y property:shares_border_with resource:Husby } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:physical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18912794
P1001
Q1048835
USER
Which political territory applies to jurisdiction of Member of the Australian House of Representatives ?
(Q18912794,P1001,c(Q1048835))
action filter_type
action find
entity Q18912794
relation P1001
type Q1048835
['Q18912794', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q18912794 property:P1001 ?k . ?k rdf:type ontology:Q1048835 }
Member of the Australian House of Representatives
action filter_type
action find
entity Member of the Australian House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the Australian House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Member_of_the_Australian_House_of_Representatives property:applies_to_jurisdiction ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q18912794,P1001,c(Q1048835))
action filter_type
action find
entity Q18912794
relation P1001
type Q1048835
[ANSWER] applies to jurisdiction of Member of the [ANSWER]n House of Representatives
['Q18912794', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q18912794 property:P1001 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Australia applies to jurisdiction of Member of the Australian House of Representatives
Australia
action filter_type
action find
entity Member of the Australian House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the Australian House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Member_of_the_Australian_House_of_Representatives property:applies_to_jurisdiction ?k . ?k rdf:type ontology:political_territorial_entity }
[]