Simple Question (Direct)
Simple Question
Q16221242
P106
Q12737077
USER
What are the professions of Ed Weeks ?
(Q16221242,P106,c(Q12737077))
action filter_type
action find
entity Q16221242
relation P106
type Q12737077
['Q16221242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16221242 property:P106 ?t }
Ed Weeks
action filter_type
action find
entity Ed Weeks
relation occupation
type occupation
['Ed Weeks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Ed_Weeks property:occupation ?t }
[]
occupation
Q33999 Q245068
SYSTEM
actor, comedian
Q33999 Q245068
(Q16221242,P106,c(Q12737077))
action filter_type
action find
entity Q16221242
relation P106
type Q12737077
The professions of Ed Weeks are an [ANSWERS]
['Q16221242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16221242 property:P106 ?t }
actor comedian
The professions of Ed Weeks are an actor and comedian
actor comedian
action filter_type
action find
entity Ed Weeks
relation occupation
type occupation
['Ed Weeks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Ed_Weeks property:occupation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16221242
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q33999,P27,c(Q15617994)) (Q245068,P27,c(Q15617994))
action filter_type
action find
entity Q16221242
relation P27
type Q15617994
['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q245068', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16221242 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Ed Weeks
action filter_type
action find
entity Ed Weeks
relation country of citizenship
type designation for an administrative territorial entity
['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['comedian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ed_Weeks property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q33999,P27,c(Q15617994)) (Q245068,P27,c(Q15617994))
action filter_type
action find
entity Q16221242
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q245068', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16221242 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Ed Weeks
relation country of citizenship
type designation for an administrative territorial entity
['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['comedian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ed_Weeks property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q17
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with United Kingdom and Japan ?
(c(Q15617994),P530,Q145) (c(Q15617994),P530,Q17)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P530 resource:Q17 . ?c rdf:type ontology:Q15617994 . ?c property:P530 resource:Q145 . ?c rdf:type ontology:Q15617994 }
United Kingdom Japan
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:diplomatic_relation resource:Japan . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation resource:United_Kingdom . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q142 Q155 Q38 Q230 Q801
(c(Q15617994),P530,Q145) (c(Q15617994),P530,Q17)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P530 resource:Q17 . ?c rdf:type ontology:Q15617994 . ?c property:P530 resource:Q145 . ?c rdf:type ontology:Q15617994 }
France Brazil Italy Georgia Israel
5
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:diplomatic_relation resource:Japan . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation resource:United_Kingdom . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q838948
USER
Which administrative territories are demonstrated in approximately 1 paintings and works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P180 ?u . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P180 ?u . ?z rdf:type ontology:Q838948 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } . FILTER ( ?r = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:depicts ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:painting } UNION { ?z property:depicts ?u . ?z rdf:type ontology:work_of_art . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?r = 1 ) }
[]
designation for an administrative territorial entity painting work of art
Q712 Q772 Q3883
SYSTEM
Fiji, Drenthe, Catanzaro
Q3883 Q712 Q532 Q80644 Q772 Q1273
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWERS] are demonstrated in approximately 1 paintings and works of art
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P180 ?u . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P180 ?u . ?z rdf:type ontology:Q838948 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } . FILTER ( ?r = 1 ) }
Catanzaro Fiji village Köngen Drenthe Tuscany
Fiji, Drenthe and Catanzaro are demonstrated in approximately 1 paintings and works of art
Fiji Drenthe Catanzaro
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:depicts ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:painting } UNION { ?z property:depicts ?u . ?z rdf:type ontology:work_of_art . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?r = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q222
P17
Q15617994 Q1190554 Q223557
USER
Which administrative territories are lesser number of events or physical objects present in than Albania ?
(c(Q1190554)|c(Q223557),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q222
relation P17
type Q1190554
type Q223557
[[{'concept': 'Q1190554'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?h ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1190554 ) ( ontology:Q223557 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P17 resource:Q222 . { { ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q223557 } } } } . FILTER ( ?h < ?k ) }
Albania
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Albania
relation country
type event
type physical object
[[{'concept': 'event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?h ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:event ) ( ontology:physical_object ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:country resource:Albania . { { ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:physical_object } } } } . FILTER ( ?h < ?k ) }
[]
designation for an administrative territorial entity event physical object
Q953 Q347 Q948
SYSTEM
Zambia, Liechtenstein, Tunisia
Q804 Q800 Q1256 Q709 Q339952 Q270508 Q684030 Q2172530 Q12536 Q784 Q265 Q640426 Q36678 Q736029 Q711 Q565812 Q187035 Q399 Q1462 Q657 Q792 Q517333 Q954 Q2001966 Q326029 Q153529 Q695316 Q165040 Q241 Q315667 Q811 Q153136 Q1210 Q155019 Q739 Q983 Q733 Q29999 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q238 Q1044 Q1041 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q1029 Q34762 Q1458 Q786 Q228 Q3462133 Q223 Q221 Q815731 Q47261 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q1032 Q1030 Q965 Q967 Q962 Q963 Q697 Q695 Q114 Q389004 Q750 Q211 Q217 Q1013 Q160307 Q164092 Q37 Q1483510 Q2662372 Q916 Q1007 Q1005 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q15581 Q34020 Q2380910 Q686 Q193152 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q696651 Q77 Q774 Q948 Q148499 Q678 Q8575586 Q529605 Q672 Q33788 Q929 Q11024667 Q863 Q869 Q426025 Q953
(c(Q1190554)|c(Q223557),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q222
relation P17
type Q1190554
type Q223557
[ANSWERS] are lesser number of events or physical objects present in than Albania
[[{'concept': 'Q1190554'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?h ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1190554 ) ( ontology:Q223557 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P17 resource:Q222 . { { ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q223557 } } } } . FILTER ( ?h < ?k ) }
Panama Costa Rica Liguria Marshall Islands Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Dominica Uzbekistan Stahnsdorf West Bank Nassau-Siegen Mongolia Principality of Calenberg Principality of Albania Armenia Sardinia Chad El Salvador Principality of Polotsk Zimbabwe Company rule in India Duchy of Brunswick Duchy of Milan Schwarzburg-Rudolstadt Duchy of Parma Cuba Saxe-Weimar Nicaragua Habsburg Empire Lombardy Duchy of Lorraine Colombia Equatorial Guinea Paraguay Kingdom of the Netherlands Guyana Laos Anjou Cambodia Suriname Lazio Württemberg San Marino Sierra Leone Senegal developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Mozambique Principality of Bayreuth Calabria Dominican Republic Andorra Saxe-Coburg and Gotha Greenland Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Niger Namibia Burkina Faso Burundi Benin Botswana Nauru Palau Kenya Wallachia Bolivia Latvia Republic of Moldova Lesotho Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Principality of Minsk Angola Guinea-Bissau Gambia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Saxe-Eisenach Uruguay Guatemala Tunisia Margraviate of Brandenburg Tonga Umayyad Caliphate Electorate of Hesse Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Thailand Duchy of Savoy Zambia
Zambia, Liechtenstein and Tunisia are lesser number of events or physical objects present in than Albania
Zambia Liechtenstein Tunisia
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Albania
relation country
type event
type physical object
[[{'concept': 'event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?h ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:event ) ( ontology:physical_object ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:country resource:Albania . { { ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:physical_object } } } } . FILTER ( ?h < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1032
P17
Q15617994 Q1190554 Q223557
USER
And also tell me about Niger?
(c(Q1190554)|c(Q223557),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q1190554
type Q223557
[[{'concept': 'Q1190554'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:P17 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q223557 } UNION { ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1190554 . ?s property:P17 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P17 resource:Q1032 . { { ?a rdf:type ontology:Q1190554 } UNION { ?a rdf:type ontology:Q223557 } } } } . FILTER ( ?j < ?c ) }
Niger
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type event
type physical object
[[{'concept': 'event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:physical_object } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:event . ?s property:country ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:country resource:Niger . { { ?a rdf:type ontology:event } UNION { ?a rdf:type ontology:physical_object } } } } . FILTER ( ?j < ?c ) }
[]
designation for an administrative territorial entity event physical object
Q347 Q29999 Q1029
SYSTEM
Liechtenstein, Kingdom of the Netherlands, Mozambique
Q1256 Q709 Q339952 Q270508 Q684030 Q2172530 Q12536 Q784 Q640426 Q36678 Q736029 Q565812 Q187035 Q1462 Q792 Q517333 Q2001966 Q326029 Q153529 Q695316 Q165040 Q315667 Q153136 Q1210 Q155019 Q29999 Q107426 Q730 Q1282 Q159626 Q238 Q1041 Q177323 Q313175 Q149621 Q1029 Q34762 Q1458 Q3462133 Q815731 Q47261 Q347 Q704288 Q10957559 Q389004 Q1013 Q164092 Q1483510 Q2662372 Q916 Q1007 Q829700 Q1008 Q239502 Q15581 Q2380910 Q193152 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q696651 Q148499 Q8575586 Q529605 Q33788 Q11024667 Q426025
(c(Q1190554)|c(Q223557),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q1190554
type Q223557
[ANSWERS]
[[{'concept': 'Q1190554'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:P17 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q223557 } UNION { ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1190554 . ?s property:P17 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P17 resource:Q1032 . { { ?a rdf:type ontology:Q1190554 } UNION { ?a rdf:type ontology:Q223557 } } } } . FILTER ( ?j < ?c ) }
Liguria Marshall Islands Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Dominica Stahnsdorf West Bank Nassau-Siegen Principality of Calenberg Principality of Albania Sardinia El Salvador Principality of Polotsk Company rule in India Duchy of Brunswick Duchy of Milan Schwarzburg-Rudolstadt Duchy of Parma Saxe-Weimar Habsburg Empire Lombardy Duchy of Lorraine Kingdom of the Netherlands Anjou Suriname Lazio Württemberg San Marino Senegal developing country Saxe-Lauenburg district Mozambique Principality of Bayreuth Calabria Saxe-Coburg and Gotha Principality of Bulgaria Duchy of Bavaria Liechtenstein Duchy of Holstein Moldavia Wallachia Lesotho Duchy of Saxony Principality of Wales Principality of Minsk Angola Guinea-Bissau Saxe-Jena Côte d'Ivoire Kingdom of Galicia–Volhynia Principality of Catalonia Duchy of Zaslawye Great Moravia Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Saxe-Eisenach Margraviate of Brandenburg Umayyad Caliphate Electorate of Hesse New Caledonia Duchy of Mecklenburg-Schwerin Duchy of Savoy
Liechtenstein Kingdom of the Netherlands Mozambique
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type event
type physical object
[[{'concept': 'event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:physical_object } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:event . ?s property:country ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:country resource:Niger . { { ?a rdf:type ontology:event } UNION { ?a rdf:type ontology:physical_object } } } } . FILTER ( ?j < ?c ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q347 Q29999 Q1029
P20
Q502895
USER
Who died in Liechtenstein, Kingdom of the Netherlands and Mozambique ?
(c(Q502895),P20,Q347) (c(Q502895),P20,Q29999) (c(Q502895),P20,Q1029)
action union
action filter_type
action find_reverse
entity Q347
relation P20
type Q502895
action filter_type
action find_reverse
entity Q29999
relation P20
type Q502895
action filter_type
action find_reverse
entity Q1029
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q347'] [{'concept': 'Q502895'}, 'P20', 'Q29999'] [{'concept': 'Q502895'}, 'P20', 'Q1029']
SELECT DISTINCT ?l WHERE { ?l property:P20 ?i . VALUES ( ?i ) { ( resource:Q347 ) ( resource:Q29999 ) } }
Liechtenstein Kingdom of the Netherlands Mozambique
action union
action filter_type
action find_reverse
entity Liechtenstein
relation place of death
type common name
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of death
type common name
action filter_type
action find_reverse
entity Mozambique
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Liechtenstein'] [{'concept': 'common name'}, 'place of death', 'Kingdom of the Netherlands'] [{'concept': 'common name'}, 'place of death', 'Mozambique']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death ?i . VALUES ( ?i ) { ( resource:Liechtenstein ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
common name
Q1334602 Q254613 Q4113917
SYSTEM
Tomás António Gonzaga, Archduchess Elisabeth Amalie of Austria, Ben Vogel
Q1485915 Q1613142 Q2744299 Q254613 Q1040780 Q2149640 Q4113917 Q3378027 Q4103262 Q4772020 Q20666260 Q1290801 Q968072 Q1334602
(c(Q502895),P20,Q347) (c(Q502895),P20,Q29999) (c(Q502895),P20,Q1029)
action union
action filter_type
action find_reverse
entity Q347
relation P20
type Q502895
action filter_type
action find_reverse
entity Q29999
relation P20
type Q502895
action filter_type
action find_reverse
entity Q1029
relation P20
type Q502895
[ANSWERS] died in Liechtenstein, Kingdom of the Netherlands and Mozambique
[{'concept': 'Q502895'}, 'P20', 'Q347'] [{'concept': 'Q502895'}, 'P20', 'Q29999'] [{'concept': 'Q502895'}, 'P20', 'Q1029']
SELECT DISTINCT ?l WHERE { ?l property:P20 ?i . VALUES ( ?i ) { ( resource:Q347 ) ( resource:Q29999 ) } }
Alfred Rotter Hermann Zickert Muhammad-Husayn Ayrom Archduchess Elisabeth Amalie of Austria Carl Theodor Barth Richard Gruner Ben Vogel Jack Murdoch Ko van der Vlis Anthony Arnold Amos Supuni Eduardo António Prieto Valadim Gonçalo da Silveira Tomás António Gonzaga
Tomás António Gonzaga, Archduchess Elisabeth Amalie of Austria and Ben Vogel died in Liechtenstein, Kingdom of the Netherlands and Mozambique
Tomás António Gonzaga Archduchess Elisabeth Amalie of Austria Ben Vogel
action union
action filter_type
action find_reverse
entity Liechtenstein
relation place of death
type common name
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of death
type common name
action filter_type
action find_reverse
entity Mozambique
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Liechtenstein'] [{'concept': 'common name'}, 'place of death', 'Kingdom of the Netherlands'] [{'concept': 'common name'}, 'place of death', 'Mozambique']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death ?i . VALUES ( ?i ) { ( resource:Liechtenstein ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q712
P37
Q34770
USER
What is the official language of Fiji ?
(Q712,P37,c(Q34770))
action filter_type
action find
entity Q712
relation P37
type Q34770
['Q712', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q712 property:P37 ?u . ?u rdf:type ontology:Q34770 }
Fiji
action filter_type
action find
entity Fiji
relation official language
type language
['Fiji', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Fiji property:official_language ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q712,P37,c(Q34770))
action filter_type
action find
entity Q712
relation P37
type Q34770
The official language of Fiji is Fiji [ANSWER]
['Q712', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q712 property:P37 ?u . ?u rdf:type ontology:Q34770 }
English
The official language of Fiji is Fiji English
English
action filter_type
action find
entity Fiji
relation official language
type language
['Fiji', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Fiji property:official_language ?u . ?u rdf:type ontology:language }
[]