Simple Question (Direct)
Simple Question
Q2318382
P19
Q56061
USER
Where was Marius Prekevičius born ?
(Q2318382,P19,c(Q56061))
action filter_type
action find
entity Q2318382
relation P19
type Q56061
['Q2318382', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2318382 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Marius Prekevičius
action filter_type
action find
entity Marius Prekevičius
relation place of birth
type administrative territorial entity
['Marius Prekevičius', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Marius_Prekevičius property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q259272
SYSTEM
Gargždai
Q259272
(Q2318382,P19,c(Q56061))
action filter_type
action find
entity Q2318382
relation P19
type Q56061
Marius Prekevičius was born in [ANSWER]
['Q2318382', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2318382 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Gargždai
Marius Prekevičius was born in Gargždai
Gargždai
action filter_type
action find
entity Marius Prekevičius
relation place of birth
type administrative territorial entity
['Marius Prekevičius', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Marius_Prekevičius property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2318382
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Marius Prekevičius ?
(Q2318382,P27,c(Q15617994))
action filter_type
action find
entity Q2318382
relation P27
type Q15617994
['Q2318382', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2318382 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Marius Prekevičius
action filter_type
action find
entity Marius Prekevičius
relation country of citizenship
type designation for an administrative territorial entity
['Marius Prekevičius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Marius_Prekevičius property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q2318382,P27,c(Q15617994))
action filter_type
action find
entity Q2318382
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Marius Prekevičius
['Q2318382', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2318382 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Lithuania
Lithuania is the country of citizenship of Marius Prekevičius
Lithuania
action filter_type
action find
entity Marius Prekevičius
relation country of citizenship
type designation for an administrative territorial entity
['Marius Prekevičius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Marius_Prekevičius property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q15617994
USER
Which administrative territories are situated in the neighbourhood of atmost 2 still waterss or bodies of water ?
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 2
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?m WHERE { { ?m property:P206 ?g . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q337567 } UNION { ?m property:P206 ?g . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15324 } } GROUP BY ?m } . FILTER ( ?a <= 2 ) }
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?m WHERE { { ?m property:located_next_to_body_of_water ?g . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:still_waters } UNION { ?m property:located_next_to_body_of_water ?g . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:body_of_water } } GROUP BY ?m } . FILTER ( ?a <= 2 ) }
[]
still waters body of water designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 2
[ANSWERS] are situated in the neighbourhood of atmost 2 still waterss or bodies of water
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?m WHERE { { ?m property:P206 ?g . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q337567 } UNION { ?m property:P206 ?g . ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15324 } } GROUP BY ?m } . FILTER ( ?a <= 2 ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Poland Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
Italy, Netherlands and Poland are situated in the neighbourhood of atmost 2 still waterss or bodies of water
Italy Netherlands Poland
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?m WHERE { { ?m property:located_next_to_body_of_water ?g . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:still_waters } UNION { ?m property:located_next_to_body_of_water ?g . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:body_of_water } } GROUP BY ?m } . FILTER ( ?a <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q55 Q36
P740
Q43229
USER
Which organizations originated at Italy, Netherlands and Poland ?
(c(Q43229),P740,Q38) (c(Q43229),P740,Q55) (c(Q43229),P740,Q36)
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
action filter_type
action find_reverse
entity Q55
relation P740
type Q43229
action filter_type
action find_reverse
entity Q36
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q43229'}, 'P740', 'Q55'] [{'concept': 'Q43229'}, 'P740', 'Q36']
SELECT DISTINCT ?z WHERE { ?z property:P740 ?x . VALUES ( ?x ) { ( resource:Q55 ) ( resource:Q38 ) } }
Italy Netherlands Poland
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type organization
action filter_type
action find_reverse
entity Poland
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'organization'}, 'location of formation', 'Netherlands'] [{'concept': 'organization'}, 'location of formation', 'Poland']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation ?x . VALUES ( ?x ) { ( resource:Netherlands ) ( resource:Italy ) } }
[]
organization
Q483190 Q17030179 Q1837290
SYSTEM
S&T Motors, Vero Software, Mexx
Q4777233 Q17030179 Q17153839 Q1837290 Q1428298 Q3854745 Q2381841 Q483190
(c(Q43229),P740,Q38) (c(Q43229),P740,Q55) (c(Q43229),P740,Q36)
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
action filter_type
action find_reverse
entity Q55
relation P740
type Q43229
action filter_type
action find_reverse
entity Q36
relation P740
type Q43229
[ANSWERS] originated at Italy, Netherlands and Poland
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q43229'}, 'P740', 'Q55'] [{'concept': 'Q43229'}, 'P740', 'Q36']
SELECT DISTINCT ?z WHERE { ?z property:P740 ?x . VALUES ( ?x ) { ( resource:Q55 ) ( resource:Q38 ) } }
Antony Morato Vero Software WeWOOD Mexx Vredestein Banden B.V. Mentadent Marktplaats.nl S&T Motors
S&T Motors, Vero Software and Mexx originated at Italy, Netherlands and Poland
S&T Motors Vero Software Mexx
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type organization
action filter_type
action find_reverse
entity Poland
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'organization'}, 'location of formation', 'Netherlands'] [{'concept': 'organization'}, 'location of formation', 'Poland']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation ?x . VALUES ( ?x ) { ( resource:Netherlands ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q483190 Q17030179 Q1837290
P740
Q15617994
USER
Where did S&T Motors, Vero Software and Mexx orginate ?
(Q483190,P740,c(Q15617994)) (Q17030179,P740,c(Q15617994)) (Q1837290,P740,c(Q15617994))
action union
action filter_type
action find
entity Q483190
relation P740
type Q15617994
action filter_type
action find
entity Q17030179
relation P740
type Q15617994
action filter_type
action find
entity Q1837290
relation P740
type Q15617994
['Q483190', 'P740', {'concept': 'Q15617994'}] ['Q17030179', 'P740', {'concept': 'Q15617994'}] ['Q1837290', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Q483190 ) ( resource:Q17030179 ) } . ?s property:P740 ?y }
S&T Motors Vero Software Mexx
action union
action filter_type
action find
entity S&T Motors
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Vero Software
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Mexx
relation location of formation
type designation for an administrative territorial entity
['S&T Motors', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Vero Software', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Mexx', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:S&T_Motors ) ( resource:Vero_Software ) } . ?s property:location_of_formation ?y }
[]
designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q884 Q36 Q38 Q55
(Q483190,P740,c(Q15617994)) (Q17030179,P740,c(Q15617994)) (Q1837290,P740,c(Q15617994))
action union
action filter_type
action find
entity Q483190
relation P740
type Q15617994
action filter_type
action find
entity Q17030179
relation P740
type Q15617994
action filter_type
action find
entity Q1837290
relation P740
type Q15617994
S&T Motors , Vero Software and Mexx orginated in [ANSWERS]
['Q483190', 'P740', {'concept': 'Q15617994'}] ['Q17030179', 'P740', {'concept': 'Q15617994'}] ['Q1837290', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Q483190 ) ( resource:Q17030179 ) } . ?s property:P740 ?y }
South Korea Poland Italy Netherlands
S&T Motors , Vero Software and Mexx orginated in Italy, Netherlands and Poland
Italy Netherlands Poland
action union
action filter_type
action find
entity S&T Motors
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Vero Software
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Mexx
relation location of formation
type designation for an administrative territorial entity
['S&T Motors', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Vero Software', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Mexx', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:S&T_Motors ) ( resource:Vero_Software ) } . ?s property:location_of_formation ?y }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q55 Q36
P463
Q484652
USER
What were Italy, Netherlands and Poland a member of ?
(Q38,P463,c(Q484652)) (Q55,P463,c(Q484652)) (Q36,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q36
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}] ['Q55', 'P463', {'concept': 'Q484652'}] ['Q36', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?b ) { ( resource:Q55 ) ( resource:Q38 ) } . ?b property:P463 ?o }
Italy Netherlands Poland
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Poland
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Netherlands', 'member of', {'concept': 'international organization'}] ['Poland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?b ) { ( resource:Netherlands ) ( resource:Italy ) } . ?b property:member_of ?o }
[]
international organization
Q81299 Q81299 Q81299
SYSTEM
Organization for Security and Co-operation in Europe
Q81299 Q1065 Q826700 Q605326 Q47488 Q7184 Q42262 Q1045198 Q472311 Q8475 Q1480793 Q188822 Q170424 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q37143 Q176815 Q182000 Q233611 Q1043527 Q81299 Q826700 Q188822 Q47488 Q42262 Q152299 Q1043527 Q472311 Q8475 Q7184 Q201054 Q7804 Q842490 Q54129 Q1480793 Q1411881 Q182000 Q233611 Q1045198 Q81299 Q826700 Q7184 Q42262 Q7804 Q789769 Q1065 Q17495 Q566397 Q1043527
(Q38,P463,c(Q484652)) (Q55,P463,c(Q484652)) (Q36,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q36
relation P463
type Q484652
[ANSWER], [ANSWER] and [ANSWER] were Italy, Netherlands and Poland a member of
['Q38', 'P463', {'concept': 'Q484652'}] ['Q55', 'P463', {'concept': 'Q484652'}] ['Q36', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?b ) { ( resource:Q55 ) ( resource:Q38 ) } . ?b property:P463 ?o }
Organization for Security and Co-operation in Europe United Nations International Energy Agency World Customs Organization International Criminal Court North Atlantic Treaty Organisation European Space Agency Permanent Court of Arbitration International Organization for Migration Interpol Nuclear Suppliers Group Asian Development Bank World Meteorological Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons G20 International Labour Organization Group of Ten Universal Postal Union Union for the Mediterranean G8 Inter-Parliamentary Union United Nations Conference on Trade and Development International Hydrographic Organization Multilateral Investment Guarantee Agency Organization for Security and Co-operation in Europe International Energy Agency Asian Development Bank International Criminal Court European Space Agency Dutch Language Union Multilateral Investment Guarantee Agency International Organization for Migration Interpol North Atlantic Treaty Organisation International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons International Labour Organization Nuclear Suppliers Group Group of Ten United Nations Conference on Trade and Development International Hydrographic Organization Permanent Court of Arbitration Organization for Security and Co-operation in Europe International Energy Agency North Atlantic Treaty Organisation European Space Agency International Monetary Fund Council of the Baltic Sea States United Nations Universal Postal Union Weimar Triangle Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and Organization for Security and Co-operation in Europe were Italy, Netherlands and Poland a member of
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Poland
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Netherlands', 'member of', {'concept': 'international organization'}] ['Poland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?b ) { ( resource:Netherlands ) ( resource:Italy ) } . ?b property:member_of ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q259272
P17
Q15617994
USER
Which administrative territory does Gargždai belong to ?
(Q259272,P17,c(Q15617994))
action filter_type
action find
entity Q259272
relation P17
type Q15617994
['Q259272', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q259272 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Gargždai
action filter_type
action find
entity Gargždai
relation country
type designation for an administrative territorial entity
['Gargždai', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gargždai property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q259272,P17,c(Q15617994))
action filter_type
action find
entity Q259272
relation P17
type Q15617994
Gargždai belongs to [ANSWER]
['Q259272', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q259272 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Lithuania
Gargždai belongs to Lithuania
Lithuania
action filter_type
action find
entity Gargždai
relation country
type designation for an administrative territorial entity
['Gargždai', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gargždai property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37
P1376
Q56061
USER
Which administrative territory is the county seat of that administrative territory ?
(c(Q56061),P1376,Q37)
action filter_type
action find_reverse
entity Q37
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q37']
SELECT DISTINCT ?a WHERE { ?a property:P1376 resource:Q37 . ?a rdf:type ontology:Q56061 }
Lithuania
action filter_type
action find_reverse
entity Lithuania
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Lithuania']
SELECT DISTINCT ?a WHERE { ?a property:capital_of resource:Lithuania . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216
SYSTEM
Vilnius
Q216
(c(Q56061),P1376,Q37)
action filter_type
action find_reverse
entity Q37
relation P1376
type Q56061
[ANSWER] is the county seat of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q37']
SELECT DISTINCT ?a WHERE { ?a property:P1376 resource:Q37 . ?a rdf:type ontology:Q56061 }
Vilnius
Vilnius is the county seat of that administrative territory
Vilnius
action filter_type
action find_reverse
entity Lithuania
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Lithuania']
SELECT DISTINCT ?a WHERE { ?a property:capital_of resource:Lithuania . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q7688 Q7275
USER
How many raions and states consists of that administrative territory as their capital ?
(c(Q7688),P36,Q216) (c(Q7275),P36,Q216) (c(Q7688),P36,Q216) (c(Q7275),P36,Q216)
action count
action union
action filter_type
action find_reverse
entity Q216
relation P36
type Q7688
action filter_type
action find_reverse
entity Q216
relation P36
type Q7275
[{'concept': 'Q7688'}, 'P36', 'Q216'] [{'concept': 'Q7275'}, 'P36', 'Q216'] [{'concept': 'Q7688'}, 'P36', 'Q216'] [{'concept': 'Q7275'}, 'P36', 'Q216']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?a . VALUES ( ?a ) { ( ontology:Q7688 ) ( ontology:Q7275 ) } }
action count
action union
action filter_type
action find_reverse
entity Vilnius
relation capital
type raion
action filter_type
action find_reverse
entity Vilnius
relation capital
type state
[{'concept': 'raion'}, 'capital', 'Vilnius'] [{'concept': 'state'}, 'capital', 'Vilnius'] [{'concept': 'raion'}, 'capital', 'Vilnius'] [{'concept': 'state'}, 'capital', 'Vilnius']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?a . VALUES ( ?a ) { ( ontology:raion ) ( ontology:state ) } }
[]
raion state
SYSTEM
1 raions and 5 states
Q80211 Q172107 Q76236 Q118903 Q523380 Q49683
(c(Q7688),P36,Q216) (c(Q7275),P36,Q216) (c(Q7688),P36,Q216) (c(Q7275),P36,Q216)
action count
action union
action filter_type
action find_reverse
entity Q216
relation P36
type Q7688
action filter_type
action find_reverse
entity Q216
relation P36
type Q7275
[ANSWER]
[{'concept': 'Q7688'}, 'P36', 'Q216'] [{'concept': 'Q7275'}, 'P36', 'Q216'] [{'concept': 'Q7688'}, 'P36', 'Q216'] [{'concept': 'Q7275'}, 'P36', 'Q216']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?a . VALUES ( ?a ) { ( ontology:Q7688 ) ( ontology:Q7275 ) } }
Lithuanian Soviet Socialist Republic Polish–Lithuanian Commonwealth Lithuanian–Belorussian Soviet Socialist Republic Vilnius Republic of Central Lithuania Grand Duchy of Lithuania
1 raions and 5 states
action count
action union
action filter_type
action find_reverse
entity Vilnius
relation capital
type raion
action filter_type
action find_reverse
entity Vilnius
relation capital
type state
[{'concept': 'raion'}, 'capital', 'Vilnius'] [{'concept': 'state'}, 'capital', 'Vilnius'] [{'concept': 'raion'}, 'capital', 'Vilnius'] [{'concept': 'state'}, 'capital', 'Vilnius']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?a . VALUES ( ?a ) { ( ontology:raion ) ( ontology:state ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37
P85
Q484692
USER
What is the anthem for Lithuania ?
(Q37,P85,c(Q484692))
action filter_type
action find
entity Q37
relation P85
type Q484692
['Q37', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q37 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Lithuania
action filter_type
action find
entity Lithuania
relation anthem
type hymn
['Lithuania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Lithuania property:anthem ?z . ?z rdf:type ontology:hymn }
[]
hymn
Q43978
SYSTEM
Tautiška giesmė
Q43978
(Q37,P85,c(Q484692))
action filter_type
action find
entity Q37
relation P85
type Q484692
The anthem for Lithuania is Lithuanian [ANSWER]
['Q37', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q37 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Tautiška giesmė
The anthem for Lithuania is Lithuanian Tautiška giesmė
Tautiška giesmė
action filter_type
action find
entity Lithuania
relation anthem
type hymn
['Lithuania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Lithuania property:anthem ?z . ?z rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q183
P495
Q838948
USER
How many works of art have Poland and Germany as their place of origin ?
(c(Q838948),P495,Q36) (c(Q838948),P495,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q36
relation P495
type Q838948
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q36'] [{'concept': 'Q838948'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P495 resource:Q36 . ?c rdf:type ontology:Q838948 . ?c property:P495 resource:Q183 . ?c rdf:type ontology:Q838948 }
Poland Germany
action count
action intersection
action filter_type
action find_reverse
entity Poland
relation country of origin
type work of art
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Poland'] [{'concept': 'work of art'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:country_of_origin resource:Poland . ?c rdf:type ontology:work_of_art . ?c property:country_of_origin resource:Germany . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
15
Q699338 Q2556424 Q1094047 Q2300417 Q16295466 Q21096096 Q226193 Q1526737 Q17512617 Q4821584 Q1322749 Q584029 Q1165071 Q18202704 Q19776494
(c(Q838948),P495,Q36) (c(Q838948),P495,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q36
relation P495
type Q838948
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q36'] [{'concept': 'Q838948'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P495 resource:Q36 . ?c rdf:type ontology:Q838948 . ?c property:P495 resource:Q183 . ?c rdf:type ontology:Q838948 }
In Darkness Weiser A Year of the Quiet Sun Father, Son & Holy Cow Winter's Daughter Summer Solstice 33 Scenes from Life Call of the Toad The Cut Augustus the Strong Why Competitions Tulpan Danton Phoenix The Domino Effects
15
action count
action intersection
action filter_type
action find_reverse
entity Poland
relation country of origin
type work of art
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Poland'] [{'concept': 'work of art'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:country_of_origin resource:Poland . ?c rdf:type ontology:work_of_art . ?c property:country_of_origin resource:Germany . ?c rdf:type ontology:work_of_art }
[]