Simple Question (Direct)
Simple Question
Q3440302
P20
Q56061
USER
Where did Roland de Candé die ?
(Q3440302,P20,c(Q56061))
action filter_type
action find
entity Q3440302
relation P20
type Q56061
['Q3440302', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3440302 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Roland de Candé
action filter_type
action find
entity Roland de Candé
relation place of death
type administrative territorial entity
['Roland de Candé', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roland_de_Candé property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3440302,P20,c(Q56061))
action filter_type
action find
entity Q3440302
relation P20
type Q56061
Roland de Candé died in [ANSWER]
['Q3440302', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3440302 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Paris
Roland de Candé died in Paris
Paris
action filter_type
action find
entity Roland de Candé
relation place of death
type administrative territorial entity
['Roland de Candé', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roland_de_Candé property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P119
Q502895
USER
Which people were burried at that administrative territory ?
(c(Q502895),P119,Q90)
action filter_type
action find_reverse
entity Q90
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q90']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q90 . ?l rdf:type ontology:Q502895 }
Paris
action filter_type
action find_reverse
entity Paris
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Paris']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Paris . ?l rdf:type ontology:common_name }
[]
common name
Q6535805 Q18059134 Q17352455
SYSTEM
Levon Pashalian, Lydia Winkel, Bénigne Vachet
Q4021080 Q25918077 Q25703693 Q6535805 Q18059134 Q17352455
(c(Q502895),P119,Q90)
action filter_type
action find_reverse
entity Q90
relation P119
type Q502895
[ANSWERS] were burried at that administrative territory
[{'concept': 'Q502895'}, 'P119', 'Q90']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q90 . ?l rdf:type ontology:Q502895 }
Wsiewołod Jakimiuk André Pujos Antoni Marceli Szymański Levon Pashalian Lydia Winkel Bénigne Vachet
Levon Pashalian, Lydia Winkel and Bénigne Vachet were burried at that administrative territory
Levon Pashalian Lydia Winkel Bénigne Vachet
action filter_type
action find_reverse
entity Paris
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Paris']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Paris . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6535805 Q18059134 Q17352455
P21
Q290
USER
Which sexes do Levon Pashalian, Lydia Winkel and Bénigne Vachet belong to ?
(Q6535805,P21,c(Q290)) (Q18059134,P21,c(Q290)) (Q17352455,P21,c(Q290))
action union
action filter_type
action find
entity Q6535805
relation P21
type Q290
action filter_type
action find
entity Q18059134
relation P21
type Q290
action filter_type
action find
entity Q17352455
relation P21
type Q290
['Q6535805', 'P21', {'concept': 'Q290'}] ['Q18059134', 'P21', {'concept': 'Q290'}] ['Q17352455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { resource:Q18059134 property:P21 ?x . ?x rdf:type ontology:Q290 } UNION { ?x rdf:type ontology:Q290 . resource:Q6535805 property:P21 ?x } }
Levon Pashalian Lydia Winkel Bénigne Vachet
action union
action filter_type
action find
entity Levon Pashalian
relation gender
type sex
action filter_type
action find
entity Lydia Winkel
relation gender
type sex
action filter_type
action find
entity Bénigne Vachet
relation gender
type sex
['Levon Pashalian', 'gender', {'concept': 'sex'}] ['Lydia Winkel', 'gender', {'concept': 'sex'}] ['Bénigne Vachet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { resource:Lydia_Winkel property:gender ?x . ?x rdf:type ontology:sex } UNION { ?x rdf:type ontology:sex . resource:Levon_Pashalian property:gender ?x } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q6535805,P21,c(Q290)) (Q18059134,P21,c(Q290)) (Q17352455,P21,c(Q290))
action union
action filter_type
action find
entity Q6535805
relation P21
type Q290
action filter_type
action find
entity Q18059134
relation P21
type Q290
action filter_type
action find
entity Q17352455
relation P21
type Q290
[ANSWERS]
['Q6535805', 'P21', {'concept': 'Q290'}] ['Q18059134', 'P21', {'concept': 'Q290'}] ['Q17352455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { resource:Q18059134 property:P21 ?x . ?x rdf:type ontology:Q290 } UNION { ?x rdf:type ontology:Q290 . resource:Q6535805 property:P21 ?x } }
male female male
Levon Pashalian , Lydia Winkel and Bénigne Vachet belong to the male, female and male
male female male
action union
action filter_type
action find
entity Levon Pashalian
relation gender
type sex
action filter_type
action find
entity Lydia Winkel
relation gender
type sex
action filter_type
action find
entity Bénigne Vachet
relation gender
type sex
['Levon Pashalian', 'gender', {'concept': 'sex'}] ['Lydia Winkel', 'gender', {'concept': 'sex'}] ['Bénigne Vachet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { resource:Lydia_Winkel property:gender ?x . ?x rdf:type ontology:sex } UNION { ?x rdf:type ontology:sex . resource:Levon_Pashalian property:gender ?x } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P138
Q2088357
USER
Which musical ensemble comes from that sex ?
(c(Q2088357),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
[{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q6581097 . ?n rdf:type ontology:Q2088357 }
male
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:male . ?n rdf:type ontology:musical_ensemble }
[]
musical ensemble
Clarification for simple ques.
Q6581072
SYSTEM
Did you mean female ?
Q6581097 Q6581072 Q6581097
(c(Q2088357),P138,Q6581097) (c(Q2088357),P138,Q6581072) (c(Q2088357),P138,Q6581097)
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581072'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q6581097 . ?n rdf:type ontology:Q2088357 }
male female male
Did you mean female ?
female
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'female'] [{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:male . ?n rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
USER
No, I meant male. Could you tell me the answer for that?
(c(Q2088357),P138,Q6581097)
Q6581097
[{'concept': 'Q2088357'}, 'P138', 'Q6581097']
[{'concept': 'musical ensemble'}, 'named after', 'male']
[]
Q15181127
SYSTEM
Ausekarane
Q15181127
(c(Q2088357),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
Is [ANSWER] comes from that sex
[{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q6581097 . ?n rdf:type ontology:Q2088357 }
Ausekarane
Is Ausekarane comes from that sex
Ausekarane
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:male . ?n rdf:type ontology:musical_ensemble }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q15181127 Q20 Q665243
P495
Q15617994
USER
Does that musical ensemble have Norway and Reichenau an der Rax as its place of origin ?
(Q15181127,P495,Q20) (Q15181127,P495,Q665243)
action is_in
entity Q15181127
action intersection
action find_reverse
entity Q20
relation P495
action find_reverse
entity Q665243
relation P495
['Q15181127', 'P495', 'Q20'] ['Q15181127', 'P495', 'Q665243']
ASK WHERE { resource:Q15181127 property:P495 resource:Q665243 . resource:Q15181127 property:P495 resource:Q20 }
Ausekarane Norway Reichenau an der Rax
action is_in
entity Ausekarane
action intersection
action find_reverse
entity Norway
relation country of origin
action find_reverse
entity Reichenau an der Rax
relation country of origin
['Ausekarane', 'country of origin', 'Norway'] ['Ausekarane', 'country of origin', 'Reichenau an der Rax']
ASK WHERE { resource:Ausekarane property:country_of_origin resource:Reichenau_an_der_Rax . resource:Ausekarane property:country_of_origin resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q15181127,P495,Q20) (Q15181127,P495,Q665243)
action is_in
entity Q15181127
action intersection
action find_reverse
entity Q20
relation P495
action find_reverse
entity Q665243
relation P495
[ANSWER]
['Q15181127', 'P495', 'Q20'] ['Q15181127', 'P495', 'Q665243']
ASK WHERE { resource:Q15181127 property:P495 resource:Q665243 . resource:Q15181127 property:P495 resource:Q20 }
YES and NO respectively
action is_in
entity Ausekarane
action intersection
action find_reverse
entity Norway
relation country of origin
action find_reverse
entity Reichenau an der Rax
relation country of origin
['Ausekarane', 'country of origin', 'Norway'] ['Ausekarane', 'country of origin', 'Reichenau an der Rax']
ASK WHERE { resource:Ausekarane property:country_of_origin resource:Reichenau_an_der_Rax . resource:Ausekarane property:country_of_origin resource:Norway }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1764
P840
Q56061 Q166142 Q2342494
USER
Which administrative territories are the narrative locations of greater number of applications and collectables than Reykjavík ?
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1764
relation P840
type Q166142
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P840 resource:Q1764 . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?d > ?m ) }
Reykjavík
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Reykjavík
relation narrative location
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:narrative_location resource:Reykjavík . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?d > ?m ) }
[]
administrative territorial entity application collectable
Q72 Q649 Q2807
SYSTEM
Zürich, Moscow, Madrid
Q3579 Q704257 Q1874 Q1826473 Q25287 Q128499 Q804569 Q467664 Q23337 Q2656 Q1289 Q10690 Q1425428 Q1754 Q2500974 Q7054337 Q90 Q12892 Q82858 Q334 Q3437 Q215177 Q27168 Q16555 Q2048321 Q1891 Q39121 Q83317 Q5083 Q23154 Q3561 Q406 Q8678 Q6346 Q495 Q2044 Q2141 Q192517 Q23436 Q43301 Q490584 Q3141 Q1246235 Q25410 Q5212975 Q16554 Q16556 Q16557 Q8686 Q3130 Q52437 Q1297 Q131491 Q1741 Q1748 Q26881 Q1911961 Q84 Q85 Q42462 Q37320 Q735022 Q45301 Q11592 Q34863 Q72 Q71 Q16869 Q172 Q2028 Q2073798 Q26887 Q184587 Q79980 Q1861 Q2177880 Q5092 Q1011683 Q956 Q1490 Q134672 Q2302168 Q2807 Q1353 Q1352 Q27119 Q1524 Q220 Q617 Q612 Q21855637 Q2634 Q863058 Q34404 Q8717 Q64 Q65 Q60 Q61 Q62 Q5818 Q12439 Q23556 Q13362 Q6537 Q42810 Q641 Q727 Q649 Q2301524 Q852778 Q43919 Q12340625 Q47716 Q100 Q10686 Q350 Q62677 Q1781238 Q24826 Q1348 Q1156 Q3619316 Q485186 Q42448 Q33986
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1764
relation P840
type Q166142
type Q2342494
[ANSWERS] are the narrative locations of greater number of applications and collectables than Reykjavík
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P840 resource:Q1764 . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?d > ?m ) }
Tripoli Albany Odessa Tversted Gothenburg Yalta Bala, Ontario Butte Salt Lake City Palermo Grenoble Cardiff Newcastle upon Tyne Stockholm Richmond North Buxton, Ontario Paris Antwerp Sigmaringen Singapore Perugia Skagen Randers Houston Varde Bologna Leeds Mosul Seattle Bristol Algiers Istanbul Rio de Janeiro Indianapolis Turin Florence Halifax Boulder Edinburgh Fresno Flint Melbourne Nørresundby Aalborg Damsholte Denver Phoenix Dallas Shanghai Sydney Murano Chicago Brighton Vienna Copenhagen Helsingør Thorning London Cairo York Cleveland Walnut Grove, Minnesota Trabzon Sonoma Oklahoma City Zürich Geneva Constantinople Toronto Verona Welch Davenport Grand Rapids Varanasi Bangkok Ågerup Baltimore Rødbyhavn Beijing Tokyo Exeter Kjellerup Madrid Delhi Chennai Kolding Athens Rome Padua Dubai Hvilsager Naples Summerside New Orleans Seville Berlin Los Angeles New York City Washington, D.C. San Francisco Córdoba Detroit Atlanta Ferrara Vicenza Le Havre Venice Amsterdam Moscow Stege Whitby Salem Vejlby Charleston Boston Belfast Cambridge Karakorum Stureby Liverpool Kolkata Mumbai Grenå Key West Sheffield Valparaíso
Zürich, Moscow and Madrid are the narrative locations of greater number of applications and collectables than Reykjavík
Zürich Moscow Madrid
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Reykjavík
relation narrative location
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:narrative_location resource:Reykjavík . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?d > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q501661
P840
Q56061 Q166142 Q2342494
USER
And what about Schleswig?
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q501661
relation P840
type Q166142
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P840 resource:Q501661 . { { ?o rdf:type ontology:Q166142 } UNION { ?o rdf:type ontology:Q2342494 } } } } . FILTER ( ?m > ?j ) }
Schleswig
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Schleswig
relation narrative location
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:narrative_location resource:Schleswig . { { ?o rdf:type ontology:application } UNION { ?o rdf:type ontology:collectable } } } } . FILTER ( ?m > ?j ) }
[]
administrative territorial entity application collectable
Q72 Q649 Q2807
SYSTEM
Zürich, Moscow, Madrid
Q3579 Q704257 Q1874 Q1826473 Q25287 Q128499 Q804569 Q467664 Q23337 Q2656 Q1289 Q10690 Q1425428 Q1754 Q2500974 Q7054337 Q90 Q12892 Q82858 Q334 Q3437 Q215177 Q27168 Q16555 Q2048321 Q1891 Q39121 Q83317 Q5083 Q23154 Q3561 Q406 Q8678 Q6346 Q495 Q2044 Q2141 Q192517 Q23436 Q43301 Q490584 Q3141 Q1246235 Q25410 Q5212975 Q16554 Q16556 Q16557 Q8686 Q3130 Q52437 Q1297 Q131491 Q1741 Q1748 Q26881 Q1911961 Q84 Q85 Q42462 Q37320 Q735022 Q45301 Q11592 Q34863 Q72 Q71 Q16869 Q172 Q2028 Q2073798 Q26887 Q184587 Q79980 Q1861 Q2177880 Q5092 Q1011683 Q956 Q1490 Q134672 Q2302168 Q2807 Q1353 Q1352 Q27119 Q1524 Q220 Q617 Q612 Q21855637 Q2634 Q863058 Q34404 Q8717 Q64 Q65 Q60 Q61 Q62 Q5818 Q12439 Q23556 Q13362 Q6537 Q42810 Q641 Q727 Q649 Q2301524 Q852778 Q43919 Q12340625 Q47716 Q100 Q10686 Q350 Q62677 Q1781238 Q24826 Q1348 Q1156 Q3619316 Q485186 Q42448 Q33986
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q501661
relation P840
type Q166142
type Q2342494
[ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P840 resource:Q501661 . { { ?o rdf:type ontology:Q166142 } UNION { ?o rdf:type ontology:Q2342494 } } } } . FILTER ( ?m > ?j ) }
Tripoli Albany Odessa Tversted Gothenburg Yalta Bala, Ontario Butte Salt Lake City Palermo Grenoble Cardiff Newcastle upon Tyne Stockholm Richmond North Buxton, Ontario Paris Antwerp Sigmaringen Singapore Perugia Skagen Randers Houston Varde Bologna Leeds Mosul Seattle Bristol Algiers Istanbul Rio de Janeiro Indianapolis Turin Florence Halifax Boulder Edinburgh Fresno Flint Melbourne Nørresundby Aalborg Damsholte Denver Phoenix Dallas Shanghai Sydney Murano Chicago Brighton Vienna Copenhagen Helsingør Thorning London Cairo York Cleveland Walnut Grove, Minnesota Trabzon Sonoma Oklahoma City Zürich Geneva Constantinople Toronto Verona Welch Davenport Grand Rapids Varanasi Bangkok Ågerup Baltimore Rødbyhavn Beijing Tokyo Exeter Kjellerup Madrid Delhi Chennai Kolding Athens Rome Padua Dubai Hvilsager Naples Summerside New Orleans Seville Berlin Los Angeles New York City Washington, D.C. San Francisco Córdoba Detroit Atlanta Ferrara Vicenza Le Havre Venice Amsterdam Moscow Stege Whitby Salem Vejlby Charleston Boston Belfast Cambridge Karakorum Stureby Liverpool Kolkata Mumbai Grenå Key West Sheffield Valparaíso
Zürich Moscow Madrid
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Schleswig
relation narrative location
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:narrative_location resource:Schleswig . { { ?o rdf:type ontology:application } UNION { ?o rdf:type ontology:collectable } } } } . FILTER ( ?m > ?j ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2807
P159
Q163740
USER
Which nonprofit organizations have headquarters located at that administrative territory ?
(c(Q163740),P159,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P159
type Q163740
[{'concept': 'Q163740'}, 'P159', 'Q2807']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q2807 . ?q rdf:type ontology:Q163740 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation headquarters location
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Madrid . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q72 Q649 Q2807
(c(Q163740),P159,Q72) (c(Q163740),P159,Q649) (c(Q163740),P159,Q2807)
[ANSWER]
[{'concept': 'Q163740'}, 'P159', 'Q72'] [{'concept': 'Q163740'}, 'P159', 'Q649'] [{'concept': 'Q163740'}, 'P159', 'Q2807']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q2807 . ?q rdf:type ontology:Q163740 }
Zürich Moscow Madrid
Did you mean Moscow ?
Moscow
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Zürich'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Moscow'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Madrid . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Madrid. Could you tell me the answer for that?
(c(Q163740),P159,Q2807)
Q2807
[{'concept': 'Q163740'}, 'P159', 'Q2807']
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Madrid']
[]
Q5709349 Q8963086 Q16565368
SYSTEM
Asociación de la Prensa de Madrid, Fundación Pablo Iglesias, Europa Laica
Q5709349 Q8963086 Q16565368
(c(Q163740),P159,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P159
type Q163740
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q163740'}, 'P159', 'Q2807']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q2807 . ?q rdf:type ontology:Q163740 }
Asociación de la Prensa de Madrid Fundación Pablo Iglesias Europa Laica
Asociación de la Prensa de Madrid, Fundación Pablo Iglesias and Europa Laica have headquarters located at that administrative territory
Asociación de la Prensa de Madrid Fundación Pablo Iglesias Europa Laica
action filter_type
action find_reverse
entity Madrid
relation headquarters location
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Madrid . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5709349 Q8963086 Q16565368
P159
Q56061
USER
Where are the head office for Asociación de la Prensa de Madrid, Fundación Pablo Iglesias and Europa Laica located ?
(Q5709349,P159,c(Q56061)) (Q8963086,P159,c(Q56061)) (Q16565368,P159,c(Q56061))
action union
action filter_type
action find
entity Q5709349
relation P159
type Q56061
action filter_type
action find
entity Q8963086
relation P159
type Q56061
action filter_type
action find
entity Q16565368
relation P159
type Q56061
['Q5709349', 'P159', {'concept': 'Q56061'}] ['Q8963086', 'P159', {'concept': 'Q56061'}] ['Q16565368', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { resource:Q5709349 property:P159 ?t . ?t rdf:type ontology:Q56061 } UNION { resource:Q8963086 property:P159 ?t . ?t rdf:type ontology:Q56061 } }
Asociación de la Prensa de Madrid Fundación Pablo Iglesias Europa Laica
action union
action filter_type
action find
entity Asociación de la Prensa de Madrid
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Fundación Pablo Iglesias
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Europa Laica
relation headquarters location
type administrative territorial entity
['Asociación de la Prensa de Madrid', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Fundación Pablo Iglesias', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Europa Laica', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Asociación_de_la_Prensa_de_Madrid property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity } UNION { resource:Fundación_Pablo_Iglesias property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q2807 Q2807 Q2807
SYSTEM
Madrid
Q2807 Q2807 Q2807
(Q5709349,P159,c(Q56061)) (Q8963086,P159,c(Q56061)) (Q16565368,P159,c(Q56061))
action union
action filter_type
action find
entity Q5709349
relation P159
type Q56061
action filter_type
action find
entity Q8963086
relation P159
type Q56061
action filter_type
action find
entity Q16565368
relation P159
type Q56061
Are the head office for Asociación de la Prensa de [ANSWER] , Fundación Pablo Iglesias and Europa Laica located in [ANSWER], [ANSWER] and [ANSWER]
['Q5709349', 'P159', {'concept': 'Q56061'}] ['Q8963086', 'P159', {'concept': 'Q56061'}] ['Q16565368', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { resource:Q5709349 property:P159 ?t . ?t rdf:type ontology:Q56061 } UNION { resource:Q8963086 property:P159 ?t . ?t rdf:type ontology:Q56061 } }
Madrid Madrid Madrid
Are the head office for Asociación de la Prensa de Madrid , Fundación Pablo Iglesias and Europa Laica located in Madrid, Madrid and Madrid
Madrid Madrid Madrid
action union
action filter_type
action find
entity Asociación de la Prensa de Madrid
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Fundación Pablo Iglesias
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Europa Laica
relation headquarters location
type administrative territorial entity
['Asociación de la Prensa de Madrid', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Fundación Pablo Iglesias', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Europa Laica', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Asociación_de_la_Prensa_de_Madrid property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity } UNION { resource:Fundación_Pablo_Iglesias property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P1427
Q15091377
USER
Which cycling race has Madrid as the start location ?
(c(Q15091377),P1427,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1427
type Q15091377
[{'concept': 'Q15091377'}, 'P1427', 'Q2807']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15091377 . ?d property:P1427 resource:Q2807 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Madrid']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:cycling_race . ?d property:start_point resource:Madrid }
[]
cycling race
Q21030967
SYSTEM
2015 La Madrid Challenge by La Vuelta
Q21030967
(c(Q15091377),P1427,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1427
type Q15091377
[ANSWER] has Madrid as the start location
[{'concept': 'Q15091377'}, 'P1427', 'Q2807']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15091377 . ?d property:P1427 resource:Q2807 }
2015 La Madrid Challenge by La Vuelta
2015 La Madrid Challenge by La Vuelta has Madrid as the start location
2015 La Madrid Challenge by La Vuelta
action filter_type
action find_reverse
entity Madrid
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Madrid']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:cycling_race . ?d property:start_point resource:Madrid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6535805
P102
Q7210356
USER
Which party does Levon Pashalian belong to ?
(Q6535805,P102,c(Q7210356))
action filter_type
action find
entity Q6535805
relation P102
type Q7210356
['Q6535805', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q6535805 property:P102 ?b }
Levon Pashalian
action filter_type
action find
entity Levon Pashalian
relation member of political party
type political organization
['Levon Pashalian', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Levon_Pashalian property:member_of_political_party ?b }
[]
political organization
Q139617
SYSTEM
Social Democrat Hunchakian Party
Q139617
(Q6535805,P102,c(Q7210356))
action filter_type
action find
entity Q6535805
relation P102
type Q7210356
Levon Pashalian belongs to [ANSWER]
['Q6535805', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q6535805 property:P102 ?b }
Social Democrat Hunchakian Party
Levon Pashalian belongs to Social Democrat Hunchakian Party
Social Democrat Hunchakian Party
action filter_type
action find
entity Levon Pashalian
relation member of political party
type political organization
['Levon Pashalian', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Levon_Pashalian property:member_of_political_party ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6535805
P1412
Q34770
USER
Which language can that person read ?
(Q139617,P1412,c(Q34770))
action filter_type
action find
entity Q6535805
relation P1412
type Q34770
['Q139617', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q6535805 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Levon Pashalian
action filter_type
action find
entity Levon Pashalian
relation languages spoken, written or signed
type language
['Social Democrat Hunchakian Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Levon_Pashalian property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q8785
SYSTEM
Armenian
Q8785
(Q139617,P1412,c(Q34770))
action filter_type
action find
entity Q6535805
relation P1412
type Q34770
That person can read the [ANSWER]
['Q139617', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q6535805 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Armenian
That person can read the Armenian
Armenian
action filter_type
action find
entity Levon Pashalian
relation languages spoken, written or signed
type language
['Social Democrat Hunchakian Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Levon_Pashalian property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8785 Q7357417
P1412
Q502895
USER
Does Rodrigo Saraz talk in that language ?
(Q7357417,P1412,Q8785)
action is_in
entity Q7357417
action find
entity Q8785
relation P1412
['Q7357417', 'P1412', 'Q8785']
ASK WHERE { resource:Q8785 property:P1412 resource:Q7357417 }
Armenian Rodrigo Saraz
action is_in
entity Rodrigo Saraz
action find
entity Armenian
relation languages spoken, written or signed
['Rodrigo Saraz', 'languages spoken, written or signed', 'Armenian']
ASK WHERE { resource:Armenian property:languages_spoken,_written_or_signed resource:Rodrigo_Saraz }
[]
common name
SYSTEM
NO
(Q7357417,P1412,Q8785)
action is_in
entity Q7357417
action find
entity Q8785
relation P1412
[ANSWER]
['Q7357417', 'P1412', 'Q8785']
ASK WHERE { resource:Q8785 property:P1412 resource:Q7357417 }
No
action is_in
entity Rodrigo Saraz
action find
entity Armenian
relation languages spoken, written or signed
['Rodrigo Saraz', 'languages spoken, written or signed', 'Armenian']
ASK WHERE { resource:Armenian property:languages_spoken,_written_or_signed resource:Rodrigo_Saraz }
[]