Simple Question (Direct)
Simple Question
Q7192862
P136
Q1792379
USER
What can be considered as category for Pieter van der Leeuw ?
(Q7192862,P136,c(Q1792379))
action filter_type
action find
entity Q7192862
relation P136
type Q1792379
['Q7192862', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q7192862 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
Pieter van der Leeuw
action filter_type
action find
entity Pieter van der Leeuw
relation genre
type art genre
['Pieter van der Leeuw', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Pieter_van_der_Leeuw property:genre ?p . ?p rdf:type ontology:art_genre }
[]
art genre
Q191163
SYSTEM
landscape art
Q191163
(Q7192862,P136,c(Q1792379))
action filter_type
action find
entity Q7192862
relation P136
type Q1792379
Or [ANSWER] can be considered as category for Pieter van der Leeuw
['Q7192862', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q7192862 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
landscape art
Or landscape art can be considered as category for Pieter van der Leeuw
landscape art
action filter_type
action find
entity Pieter van der Leeuw
relation genre
type art genre
['Pieter van der Leeuw', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Pieter_van_der_Leeuw property:genre ?p . ?p rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7192862
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q191163,P106,c(Q12737077))
action filter_type
action find
entity Q7192862
relation P106
type Q12737077
['Q191163', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7192862 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Pieter van der Leeuw
action filter_type
action find
entity Pieter van der Leeuw
relation occupation
type occupation
['landscape art', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Pieter_van_der_Leeuw property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q191163,P106,c(Q12737077))
action filter_type
action find
entity Q7192862
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q191163', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7192862 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
painter
The painter is the profession of that person
painter
action filter_type
action find
entity Pieter van der Leeuw
relation occupation
type occupation
['landscape art', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Pieter_van_der_Leeuw property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2710373 Q7192862
P19
Q56061
USER
Which administrative territories are the birthplace of Pieter van der Leeuw or Frank Ticheli ?
OR((Q7192862,P19,c(Q56061)), (Q2710373,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7192862
relation P19
action find
entity Q2710373
relation P19
type Q56061
{'OR': [['Q7192862', 'P19', {'concept': 'Q56061'}], ['Q2710373', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2710373 property:P19 ?l } UNION { resource:Q7192862 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Frank Ticheli Pieter van der Leeuw
action filter_type
action union
action find
entity Pieter van der Leeuw
relation place of birth
action find
entity Frank Ticheli
relation place of birth
type administrative territorial entity
{'OR': [['Pieter van der Leeuw', 'place of birth', {'concept': 'administrative territorial entity'}], ['Frank Ticheli', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Frank_Ticheli property:place_of_birth ?l } UNION { resource:Pieter_van_der_Leeuw property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26421 Q947115
SYSTEM
Dordrecht, Monroe
Q26421 Q947115
OR((Q7192862,P19,c(Q56061)), (Q2710373,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7192862
relation P19
action find
entity Q2710373
relation P19
type Q56061
[ANSWERS] are the birthplace of Pieter van der Leeuw or Frank Ticheli
{'OR': [['Q7192862', 'P19', {'concept': 'Q56061'}], ['Q2710373', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2710373 property:P19 ?l } UNION { resource:Q7192862 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Dordrecht Monroe
Dordrecht and Monroe are the birthplace of Pieter van der Leeuw or Frank Ticheli
Dordrecht Monroe
action filter_type
action union
action find
entity Pieter van der Leeuw
relation place of birth
action find
entity Frank Ticheli
relation place of birth
type administrative territorial entity
{'OR': [['Pieter van der Leeuw', 'place of birth', {'concept': 'administrative territorial entity'}], ['Frank Ticheli', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Frank_Ticheli property:place_of_birth ?l } UNION { resource:Pieter_van_der_Leeuw property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have location of birth at that administrative territory ?
(c(Q502895),P19,Q26421)
[{'concept': 'Q502895'}, 'P19', 'Q26421']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q401653 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Dordrecht']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Dordrecht . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q26421
SYSTEM
Did you mean Dordrecht ?
(c(Q502895),P19,Q26421) (c(Q502895),P19,Q947115)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q26421'] [{'concept': 'Q502895'}, 'P19', 'Q947115']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q401653 . ?z rdf:type ontology:Q502895 }
Did you mean Dordrecht ?
Dordrecht
[{'concept': 'common name'}, 'place of birth', 'Dordrecht'] [{'concept': 'common name'}, 'place of birth', 'Monroe']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Dordrecht . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P19,Q26421)
[{'concept': 'Q502895'}, 'P19', 'Q26421']
[{'concept': 'common name'}, 'place of birth', 'Dordrecht']
[]
SYSTEM
353
Q6150361 Q1982082 Q2084805 Q681582 Q514276 Q13511583 Q600877 Q3293324 Q2615160 Q2426522 Q2040751 Q21553474 Q2094198 Q2355792 Q540896 Q2682727 Q24529693 Q1928983 Q18507872 Q15485083 Q2241481 Q27306810 Q3811636 Q18603509 Q711529 Q21174842 Q1955054 Q2718138 Q1595877 Q2399897 Q1389825 Q2364460 Q18603317 Q246493 Q4005808 Q18088905 Q21855997 Q20031973 Q18715900 Q1751214 Q927805 Q554847 Q1375551 Q27508241 Q3104315 Q2745789 Q2232349 Q19754747 Q18564867 Q27050181 Q2850050 Q189987 Q639805 Q6115046 Q18603357 Q18602835 Q18225182 Q18637002 Q27505155 Q809313 Q26945246 Q18516463 Q2056872 Q474392 Q2455262 Q18603484 Q18516508 Q22342989 Q2251998 Q2552396 Q16232148 Q20871141 Q22955398 Q141592 Q21543081 Q24707558 Q19831125 Q18516590 Q736610 Q980045 Q318362 Q2704043 Q505150 Q2137693 Q13569929 Q586015 Q3199699 Q2523302 Q2837801 Q1642285 Q597322 Q16853539 Q2387157 Q13637699 Q18434784 Q466888 Q18521479 Q2269127 Q2371602 Q20948823 Q21396177 Q27050122 Q357135 Q19034 Q6119852 Q11816036 Q6077442 Q974722 Q374039 Q4890054 Q18811422 Q18564794 Q19972123 Q16069880 Q20027606 Q17317992 Q3805782 Q2566699 Q24277320 Q19756284 Q5260550 Q3314876 Q2061272 Q2046773 Q4668793 Q19756147 Q2428395 Q13466240 Q15430949 Q2277410 Q19703643 Q2485109 Q4505812 Q2097329 Q18088969 Q15998450 Q660523 Q400114 Q16912053 Q287350 Q19569439 Q13573542 Q705031 Q920448 Q15133172 Q19509874 Q2753820 Q6278892 Q15943162 Q8002390 Q3200733 Q16666178 Q16671353 Q27032274 Q27032271 Q552910 Q19756263 Q3948905 Q20004037 Q4027297 Q1937505 Q6148484 Q15877082 Q24188884 Q2151278 Q2753864 Q3161746 Q4794968 Q6150226 Q2520084 Q27067907 Q983244 Q19850365 Q20817494 Q18516512 Q24467544 Q2770321 Q2519512 Q4860450 Q2045734 Q15917124 Q19756258 Q4684803 Q2314950 Q240408 Q27050331 Q27050257 Q27077645 Q16854378 Q1677481 Q2697508 Q4860437 Q7192862 Q324280 Q15429620 Q1227960 Q2785483 Q20643545 Q2543150 Q2472344 Q2500930 Q27050252 Q2526424 Q16862829 Q2175572 Q614663 Q18194723 Q27506433 Q22236587 Q221933 Q3237432 Q27050271 Q5171231 Q1622474 Q639001 Q27050264 Q27050266 Q23524400 Q143311 Q709892 Q21552930 Q2458115 Q2001524 Q27050290 Q27050297 Q2805020 Q559235 Q18816258 Q4027368 Q6516362 Q3186115 Q866054 Q367547 Q2618234 Q20113650 Q470725 Q5171276 Q24278767 Q27506813 Q3991178 Q874868 Q19816291 Q474738 Q2736008 Q5171267 Q4783595 Q27508387 Q2191462 Q27050342 Q7800530 Q14629623 Q745538 Q1343481 Q27050356 Q3237936 Q19756231 Q2637498 Q5164458 Q18516569 Q19911729 Q27050328 Q27050324 Q127739 Q2250081 Q1875798 Q2045441 Q17189389 Q20817474 Q21289222 Q1692007 Q27050304 Q6119018 Q4489115 Q20031769 Q436797 Q1871420 Q2711944 Q2028059 Q1763746 Q2676207 Q18285992 Q1878779 Q18608046 Q27019760 Q2689064 Q16506210 Q4868279 Q21112580 Q722112 Q2949761 Q1684036 Q2740854 Q18285851 Q2106896 Q6777261 Q19802223 Q452636 Q21010749 Q2080115 Q510605 Q6791659 Q935131 Q6119594 Q4773647 Q2257352 Q249292 Q1133540 Q18564548 Q2736378 Q4802570 Q2493392 Q19850725 Q21468681 Q27334582 Q18558891 Q2371259 Q22786422 Q779338 Q21814367 Q17320564 Q2640536 Q18516689 Q2584931 Q20895596 Q436726 Q2746672 Q19818901 Q19882824 Q7518837 Q721301 Q24251352 Q27049988 Q2241119 Q1991362 Q2435577 Q3372849 Q4919778 Q21552995 Q1606113 Q313194 Q1942240 Q4684797 Q5713848 Q2601014 Q16853493 Q1897867 Q3480009 Q384504 Q16240474 Q5171180 Q26211989 Q1281517 Q2370062
(c(Q502895),P19,Q26421)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q26421']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q401653 . ?z rdf:type ontology:Q502895 }
Jan van Hoogstraten Gijsbertus Johannes van Overbeek Louis Laros Hugo Boy Monachus Arnold Houbraken Danny Makkelie Lucien den Arend Marinus Vertregt Dirck Dalens the Elder Freek Vonk Tom Dronkert Joannes van Leen Piet Ouborg Barend van Hemert Willem Kes Cornelis van Beveren François Carlebur Frederik Koopman Ary Johannes Lamme Dionys van Dongen Willem Boon Cornelis Gips Juul Ellerman Adriaan Meulemans Jeremias de Dekker Willem Cornelis van den Brandeler Jan Kleingeld Johannes Paulus Lotsy Jacob Cornelis Marken Mattheus Dijkwel Patrick van Kerckhoven Laurens de Graaf Johannes Schoenmakers Ocker Repelaer van Driel Nielson Safan Garden Hendrik Reus Johanna Constantia Cleve Carel de Iongh Daniel Gravius Eelco Sintnicolaas Jacob Gerritsz. Cuyp Jacobus Houbraken Arnoldus van Well Gerrit Malleyn Mattheus de Haan C. Buddingh' Cornelia Vossius Izaak Schouman Hendrik Theodorus de Court Onderwater Cornelis Veth Nicolaas Bloembergen Dirk Verdoorn Jack Schwarz Cornelis Johannes de Vogel Johan van Beverwijck Rosina Hodde Antoine Roest d'Alkemade Abraham van Duijnen Bartholomeus Assteyn Freek van der Gijp Carel Eliza van der Sande Lacoste Geert Lotsij Petrus Johannes Schotel Corrie de Bruin Willem de Klerk Frans Lebret Gerrit Gerritse sr. Sadet Karabulut Maria Glandorf Kevin Heijstek Wouter Dam Liane Gransch Aegidius Francken Johannes Christiaan Bendorp Cornelis Tegelberg Coenraad Farret Jacob Moelart Jacob van Zuylen van Nijevelt François Valentijn Johan de Witt Arjen de Baat Nicolaes Maes Joannes Henri François Caty Groen Cor van der Gijp Krijn Breur Antonina Houbraken Allard de Ridder Hendrik de Iongh Jacob van Strij Nicolaes de Giselaer Gerard Bellaart Frans Beeldemaker Jannes Linders Zymen Danseker Marcel Dicke Wim van der Gijp Ella Koopman Ellen Berends Alexander Wüst Leen Verhoeven Adil Auassar Aert de Gelder Jacobus Bisschop Jos Serrarens Isaac van Duynen Roelof Diodati Ferdinand Bol Benny Sings William Sonmans Michiel Versteegh Gerrit de Jager Celinde Schoenmaker Simon van Brakel Abel Antoon Kok Jacob Hendrik Hoeufft Hans Alleman Margaretha de Geer Maria Margaretha van Akerlaecken Top Naeff Dick Sigmond Paulus Merula Govert van der Leeuw Abraham Busschop Ida Bonten Thomas de Witt Chris van Geel Christina Houbraken Abraham van Strij Dániel Kiprich Gerardus Emaus de Micault Lucinda Brand Mathias Balen Ismaïl Yildirim Cornelis van Altenburg Cilvaringz Ahasuerus van den Berg Elindo Avastia Remona Fransen Alessandro Grevenbroeck Dirk Nijland Piet Bouman René van der Gijp Maria Schalcken Calvin Verdonk Anthonie Pieter Schotel Joris Ponse Anne Evers Wilhelmus Beurs Conrad Theodor van Deventer Natalie Van Den Adel Cornelis van der Linden Marinus Adamse Elias Boonen Benjamin Gerritsz Cuyp Margaretha Mels Johan Versluis Aron Elstak Eduard Sandifort Margaretha van Godewijk Jan Arends Johannes Rosierse Mariëtte Linders Nico Broekhuysen Michel Langerak Jan Johannes Rutgers Arnold Boonen Jan Woutersz van Cuyck Cornelis Bisschop Jan Rombouts Simon van Slingelandt Cornelia Jans Ewaldine Bonét-Maury Frans Jacobus van den Blijk Leendert Dupper Frederik Böger Mick van Buren Barent van Kalraet Jörgen van Rijen Ad Wouters Magdalena Stockmans Adriaen van Eemont Piet Lagarde Robert Lijesen Johannes van Lexmond Jan Larij Dirk Kuipers Andries Vermeulen Jacob Fransz de Witt Minck Oosterveer Barend Bispinck Pieter van der Leeuw Pieter Hermansz Verelst Coen van Oven Dirk Lotsy Reinier Kennedy François van Hoogstraten Hendrik Noteman Adriaan Stoop Otto B. de Kat Hendrik Frederik Verheggen Herman Dijk Gillis Smak Gregoor Aert Schouman Henri Borel Rogier Blokland Heleen van Lynden Willem Buijs Abraham Teerlink Leyla Bağcı Pouwels (II) Weyts Cornelis Eliza Bertus Bremekamp Jacques Perk Herman Verelst Michaël Winkel Michiel van den Broek Roland Larij Adriaan Kluit Johannes Christiaan Schotel Carel Frederik Bendorp Elias Trip Hugo van Dalen Cees van Dijl Daniel Mühlhaus Katharina van Naaldwijk Pieter Geyl Arnoldus Lamme Geert Cirkel Leendert de Koningh Otto Dicke Pieter van der Hulst Adriaan Geuze Christina Schotel Kees de Groen Evander Sno Cornelis van der Meulen Jacob Trip Richard Morris Cornelis Bloemaert Godfried Schalcken Arnoldus Verbuys Jacques Specx Theo Bot Cornelis van Slingeland Cornelis Kuipers Pieter Schmidt Lex Redelé Leendert Ek Tibout Regters Gideon Brugman Arie van Gemert Willem Karel Dicke Steef Wijnhoven Wieke Hoogzaad Johanna Wilhelmina Gips Marco Boogers Herman de Kat Hilmar Johannes Backer Maria van Nispen Johannes Boshamer Johan Hendrik Boshamer Hubert van Ravesteyn Johannes Immerzeel Jacob Levecq Anouk Kruithof Bernard Koldeweij Georges Bonét-Maury Johan Daniël Ebersbach Johan III. de Witt Govert van Emmerik Jacob Moelaert Geerten Ten Bosch Klara Ghijben Samuel van Hoogstraten Simon Wulfse Ella Riemersma Joop Wilhelmus Mathieu Heijboer Michiel Noordewier Joram Kaat Wiebe Buddingh' Willem van Leen Hendrik van Randwijk Balthasar Coymans Abraham van der Haagen Bastiaan Govertsz van der Leeuw Dionies Vos Adriaan van der Burg Jan Riske Jasper Ockeloen Jan de Greef Ocker Gevaerts Jeroen Recourt Martinus Schouman Maria van Beveren Cornélie van Zanten Hugo van Gijn Elvis Manu Andries de Witt Matthijs Balen Jacob de Witt Jacob van Walscapelle Anthony Vreem Bastiaan Veth Cornelis de Witt Cornelis Fransz. de Witt Hendrik Albert van Trigt Jan Hensema Ary Huybertsz Verveer Judith Ten Bosch Geertruid van Beveren Nathalie Bruys Jacob Verhagen George Adam Schmidt Reinier Robbemond Merel Baldé Danny Buijs Carel Tenenti Dorothea Berck Paul Lotsij Kamiel Verschuren Driss El Akchaoui Louis Trip Ary Scheffer Nangila van Eyck Diet Kloos-Barendregt Noël Goossens Simon Germyn Jacques de Claeuw Geoffrey Berens Rinus Reus Lodewijk Hendrik Nicolaas Bosch van Rosenthal Peter Smit Melissa Boekelman Paulus Lesire Björn Vlasbom Abraham van Strij Henricus Theodorus Johannes van Vlijmen Aelbert Cuyp Abraham van Calraet Adriaen Honich Hendrik Bouman Dirk Boest Gips Pieter Fontijn Jan Veth Ilias Haddad Youssef El Akchaoui Willem van Blijenbergh Cornelia Scheffer Zoë Lefèvere Henk van Tilburg Johannes Christoffel Jan Mastenbroek
353
[{'concept': 'common name'}, 'place of birth', 'Dordrecht']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Dordrecht . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12147565 Q2710373
P27 P17
Q15617994
USER
Which administrative territories are Frank Ticheli a civilian of or are Remus Opreanu a part of ?
OR((Q2710373,P27,c(Q15617994)), (Q12147565,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2710373
relation P27
action find
entity Q12147565
relation P17
type Q15617994
{'OR': [['Q2710373', 'P27', {'concept': 'Q15617994'}], ['Q12147565', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2710373 property:P27 ?r } UNION { resource:Q12147565 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Remus Opreanu Frank Ticheli
action filter_type
action union
action find
entity Frank Ticheli
relation country of citizenship
action find
entity Remus Opreanu
relation country
type designation for an administrative territorial entity
{'OR': [['Frank Ticheli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Remus Opreanu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Frank_Ticheli property:country_of_citizenship ?r } UNION { resource:Remus_Opreanu property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q30
SYSTEM
Romania, United States of America
Q218 Q30
OR((Q2710373,P27,c(Q15617994)), (Q12147565,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2710373
relation P27
action find
entity Q12147565
relation P17
type Q15617994
[ANSWERS] are Frank Ticheli a civilian of or are Remus Opreanu a part of
{'OR': [['Q2710373', 'P27', {'concept': 'Q15617994'}], ['Q12147565', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2710373 property:P27 ?r } UNION { resource:Q12147565 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Romania United States of America
Romania and United States of America are Frank Ticheli a civilian of or are Remus Opreanu a part of
Romania United States of America
action filter_type
action union
action find
entity Frank Ticheli
relation country of citizenship
action find
entity Remus Opreanu
relation country
type designation for an administrative territorial entity
{'OR': [['Frank Ticheli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Remus Opreanu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Frank_Ticheli property:country_of_citizenship ?r } UNION { resource:Remus_Opreanu property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218
P530
Q1048835
USER
Which political territories have diplomatic associations with that administrative territory ?
(c(Q1048835),P530,Q218)
action filter_type
action find
entity Q218
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q218']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q218 property:P530 ?u }
Romania
action filter_type
action find
entity Romania
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Romania']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Romania property:diplomatic_relation ?u }
[]
political territorial entity
Clarification for simple ques.
Q218
SYSTEM
Did you mean Romania ?
Q218 Q30
(c(Q1048835),P530,Q218) (c(Q1048835),P530,Q30)
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q218'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q218 property:P530 ?u }
Romania United States of America
Did you mean Romania ?
Romania
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Romania'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Romania property:diplomatic_relation ?u }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1048835),P530,Q218)
[{'concept': 'Q1048835'}, 'P530', 'Q218']
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Romania']
[]
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q16 Q408 Q183
(c(Q1048835),P530,Q218)
action filter_type
action find
entity Q218
relation P530
type Q1048835
[ANSWERS] have diplomatic associations with that administrative territory
[{'concept': 'Q1048835'}, 'P530', 'Q218']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q218 property:P530 ?u }
Canada Australia Germany
Australia, Canada and Germany have diplomatic associations with that administrative territory
Australia Canada Germany
action filter_type
action find
entity Romania
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Romania']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Romania property:diplomatic_relation ?u }
[]