Simple Question (Direct)
Simple Question
Q6264212
P39
Q12737077
USER
What were the positions for which John William Loudon were appointed ?
(Q6264212,P39,c(Q12737077))
action filter_type
action find
entity Q6264212
relation P39
type Q12737077
['Q6264212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q6264212 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
John William Loudon
action filter_type
action find
entity John William Loudon
relation position held
type occupation
['John William Loudon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:John_William_Loudon property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18131809 Q21364537
SYSTEM
Member of the Missouri House of Representatives, member of the State Senate of Missouri
Q18131809 Q21364537
(Q6264212,P39,c(Q12737077))
action filter_type
action find
entity Q6264212
relation P39
type Q12737077
[ANSWERS]
['Q6264212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q6264212 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of the Missouri House of Representatives member of the State Senate of Missouri
Member of the Missouri House of Representatives member of the State Senate of Missouri
action filter_type
action find
entity John William Loudon
relation position held
type occupation
['John William Loudon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:John_William_Loudon property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6264212
P21
Q290
USER
What is the sex of John William Loudon ?
(Q6264212,P21,c(Q290))
action filter_type
action find
entity Q6264212
relation P21
type Q290
['Q6264212', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6264212 property:P21 ?m . ?m rdf:type ontology:Q290 }
John William Loudon
action filter_type
action find
entity John William Loudon
relation gender
type sex
['John William Loudon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:John_William_Loudon property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6264212,P21,c(Q290))
action filter_type
action find
entity Q6264212
relation P21
type Q290
[ANSWER]
['Q6264212', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6264212 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity John William Loudon
relation gender
type sex
['John William Loudon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:John_William_Loudon property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6084909
Q290
USER
And also tell me about Mahmut Tali Öngören?
(Q6084909,P21,c(Q290))
action filter_type
action find
entity Q6084909
relation P21
type Q290
['Q6084909', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q6084909 property:P21 ?h }
Mahmut Tali Öngören
action filter_type
action find
entity Mahmut Tali Öngören
relation gender
type sex
['Mahmut Tali Öngören', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Mahmut_Tali_Öngören property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6084909,P21,c(Q290))
action filter_type
action find
entity Q6084909
relation P21
type Q290
[ANSWER]
['Q6084909', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q6084909 property:P21 ?h }
male
male
action filter_type
action find
entity Mahmut Tali Öngören
relation gender
type sex
['Mahmut Tali Öngören', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Mahmut_Tali_Öngören property:gender ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who is an alumni of that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Aaron Parchem
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:male . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4662307 Q13219587 Q3068969
P106
Q12737077
USER
Does that person have career as figure skater and President of the Legislative Council of Hong Kong ?
(Q4662307,P106,Q13219587) (Q4662307,P106,Q3068969)
action is_in
entity Q4662307
action intersection
action find_reverse
entity Q13219587
relation P106
action find_reverse
entity Q3068969
relation P106
['Q4662307', 'P106', 'Q13219587'] ['Q4662307', 'P106', 'Q3068969']
ASK WHERE { resource:Q4662307 property:P106 resource:Q13219587 . resource:Q4662307 property:P106 resource:Q3068969 }
Aaron Parchem figure skater President of the Legislative Council of Hong Kong
action is_in
entity Aaron Parchem
action intersection
action find_reverse
entity figure skater
relation occupation
action find_reverse
entity President of the Legislative Council of Hong Kong
relation occupation
['Aaron Parchem', 'occupation', 'figure skater'] ['Aaron Parchem', 'occupation', 'President of the Legislative Council of Hong Kong']
ASK WHERE { resource:Aaron_Parchem property:occupation resource:figure_skater . resource:Aaron_Parchem property:occupation resource:President_of_the_Legislative_Council_of_Hong_Kong }
[]
occupation
SYSTEM
YES and NO respectively
(Q4662307,P106,Q13219587) (Q4662307,P106,Q3068969)
action is_in
entity Q4662307
action intersection
action find_reverse
entity Q13219587
relation P106
action find_reverse
entity Q3068969
relation P106
[ANSWER]
['Q4662307', 'P106', 'Q13219587'] ['Q4662307', 'P106', 'Q3068969']
ASK WHERE { resource:Q4662307 property:P106 resource:Q13219587 . resource:Q4662307 property:P106 resource:Q3068969 }
YES and NO respectively
action is_in
entity Aaron Parchem
action intersection
action find_reverse
entity figure skater
relation occupation
action find_reverse
entity President of the Legislative Council of Hong Kong
relation occupation
['Aaron Parchem', 'occupation', 'figure skater'] ['Aaron Parchem', 'occupation', 'President of the Legislative Council of Hong Kong']
ASK WHERE { resource:Aaron_Parchem property:occupation resource:figure_skater . resource:Aaron_Parchem property:occupation resource:President_of_the_Legislative_Council_of_Hong_Kong }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18145518
P921
Q2342494
USER
Which collectable has Member of the New Zealand House of Representatives as its main topic ?
(c(Q2342494),P921,Q18145518)
action filter_type
action find_reverse
entity Q18145518
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q18145518']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q18145518 . ?d rdf:type ontology:Q2342494 }
Member of the New Zealand House of Representatives
action filter_type
action find_reverse
entity Member of the New Zealand House of Representatives
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Member of the New Zealand House of Representatives']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:Member_of_the_New_Zealand_House_of_Representatives . ?d rdf:type ontology:collectable }
[]
collectable
Q22154126
SYSTEM
Ministers and members in the New Zealand Parliament
Q22154126
(c(Q2342494),P921,Q18145518)
action filter_type
action find_reverse
entity Q18145518
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q18145518']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q18145518 . ?d rdf:type ontology:Q2342494 }
Ministers and members in the New Zealand Parliament
Ministers and members in the New Zealand Parliament
action filter_type
action find_reverse
entity Member of the New Zealand House of Representatives
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Member of the New Zealand House of Representatives']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:Member_of_the_New_Zealand_House_of_Representatives . ?d rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18145518
P361
Q2145277
USER
Which House of Representatives is that occupation a part of ?
(Q22154126,P361,c(Q2145277))
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
['Q22154126', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?g WHERE { resource:Q18145518 property:P361 ?g . ?g rdf:type ontology:Q2145277 }
Member of the New Zealand House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
['Ministers and members in the New Zealand Parliament', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?g . ?g rdf:type ontology:House_of_Representatives }
[]
House of Representatives
Q2034424
SYSTEM
House of Representatives
Q2034424
(Q22154126,P361,c(Q2145277))
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
[ANSWER]
['Q22154126', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?g WHERE { resource:Q18145518 property:P361 ?g . ?g rdf:type ontology:Q2145277 }
House of Representatives
House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
['Ministers and members in the New Zealand Parliament', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?g . ?g rdf:type ontology:House_of_Representatives }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21961609 Q2034424
P17
Q1048835
USER
Which political territories are House of Representatives or Yurundju Hill located in ?
OR((Q2034424,P17,c(Q1048835)), (Q21961609,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2034424
relation P17
action find
entity Q21961609
relation P17
type Q1048835
{'OR': [['Q2034424', 'P17', {'concept': 'Q1048835'}], ['Q21961609', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?v ) { ( resource:Q2034424 ) ( resource:Q21961609 ) } . ?v property:P17 ?h } . ?h rdf:type ontology:Q1048835 }
Yurundju Hill House of Representatives
action filter_type
action union
action find
entity House of Representatives
relation country
action find
entity Yurundju Hill
relation country
type political territorial entity
{'OR': [['House of Representatives', 'country', {'concept': 'political territorial entity'}], ['Yurundju Hill', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?v ) { ( resource:House_of_Representatives ) ( resource:Yurundju_Hill ) } . ?v property:country ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q408
SYSTEM
New Zealand, Australia
Q664 Q408
OR((Q2034424,P17,c(Q1048835)), (Q21961609,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2034424
relation P17
action find
entity Q21961609
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q2034424', 'P17', {'concept': 'Q1048835'}], ['Q21961609', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?v ) { ( resource:Q2034424 ) ( resource:Q21961609 ) } . ?v property:P17 ?h } . ?h rdf:type ontology:Q1048835 }
New Zealand Australia
New Zealand Australia
action filter_type
action union
action find
entity House of Representatives
relation country
action find
entity Yurundju Hill
relation country
type political territorial entity
{'OR': [['House of Representatives', 'country', {'concept': 'political territorial entity'}], ['Yurundju Hill', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?v ) { ( resource:House_of_Representatives ) ( resource:Yurundju_Hill ) } . ?v property:country ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with min number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?u ) WHERE { ?s property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?d ) WHERE { ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 . ?o property:P530 ?l } GROUP BY ?o } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?u ) WHERE { ?s property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?d ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?l } GROUP BY ?o } } }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?u ) WHERE { ?s property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?d ) WHERE { ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 . ?o property:P530 ?l } GROUP BY ?o } } }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen Syria Oman
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?u ) WHERE { ?s property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?d ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?l } GROUP BY ?o } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P38
Q8142
USER
What is accepted as the currency of Australia ?
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?k WHERE { resource:Q408 property:P38 ?k . ?k rdf:type ontology:Q8142 }
Australia
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?k WHERE { resource:Australia property:currency ?k . ?k rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
[ANSWER]
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?k WHERE { resource:Q408 property:P38 ?k . ?k rdf:type ontology:Q8142 }
pound sterling
pound sterling
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?k WHERE { resource:Australia property:currency ?k . ?k rdf:type ontology:currency }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P138
Q3895768
USER
Which fictional location is the origin of Australia ?
(Q408,P138,c(Q3895768))
action filter_type
action find
entity Q408
relation P138
type Q3895768
['Q408', 'P138', {'concept': 'Q3895768'}]
SELECT DISTINCT ?z WHERE { resource:Q408 property:P138 ?z . ?z rdf:type ontology:Q3895768 }
Australia
action filter_type
action find
entity Australia
relation named after
type fictional location
['Australia', 'named after', {'concept': 'fictional location'}]
SELECT DISTINCT ?z WHERE { resource:Australia property:named_after ?z . ?z rdf:type ontology:fictional_location }
[]
fictional location
Q323750
SYSTEM
Terra Australis
Q323750
(Q408,P138,c(Q3895768))
action filter_type
action find
entity Q408
relation P138
type Q3895768
[ANSWER]
['Q408', 'P138', {'concept': 'Q3895768'}]
SELECT DISTINCT ?z WHERE { resource:Q408 property:P138 ?z . ?z rdf:type ontology:Q3895768 }
Terra Australis
Terra Australis
action filter_type
action find
entity Australia
relation named after
type fictional location
['Australia', 'named after', {'concept': 'fictional location'}]
SELECT DISTINCT ?z WHERE { resource:Australia property:named_after ?z . ?z rdf:type ontology:fictional_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q13220204 Q15617994 Q1048835
USER
How many political territories are twin city of atmost 2 administrative country subdivisions and administrative territories ?
(c(Q1048835),P190,c(Q13220204)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
value 2
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?i WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . FILTER ( ?u <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?i WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . FILTER ( ?u <= 2 ) }
[]
second-level administrative country subdivision designation for an administrative territorial entity political territorial entity
SYSTEM
443
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q926713 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 Q210887 Q30002 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q1312654 Q168376 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q496588 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q164867 Q12647 Q1793709 Q11746 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q4970 Q1769167 Q13785 Q193780 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q478818 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q180981 Q695889 Q15174 Q1651727 Q489839 Q740833 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q748078 Q11822 Q15429 Q798747 Q8184 Q8182 Q691525 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q840373 Q767222 Q1763574 Q170322 Q42956 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q170247 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q615722 Q995637 Q465085 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q943431 Q2099330 Q632621 Q581589 Q932808 Q122208 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q825883 Q668324 Q582995 Q697126 Q11720 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q353618 Q42780 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 Q16572 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q77433 Q318314 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q74881 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q5826 Q10485 Q671272 Q1657213 Q240 Q1607392 Q1605519 Q904212 Q946068 Q192387 Q2044406 Q842211 Q1242382 Q203040 Q201149 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q47593 Q215822 Q984642
(c(Q1048835),P190,c(Q13220204)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P190
type Q1048835
type Q13220204
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?i WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . FILTER ( ?u <= 2 ) }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada Parintins El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Santa Cruz de La Palma Palafolls Itajaí Algemesí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Carlet Vitória Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Oñati Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Sant Joan de les Abadesses Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Rügen Vielha e Mijaran Iúna, Espírito Santo Wuhan Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Hangzhou Cigales Cavite Almuñécar Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando São José dos Pinhais Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Kirovohrad Oblast Alfaro, La Rioja Shenzhen Pedrajas de San Esteban Torrejón de Ardoz Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Kulmbach Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Neath Port Talbot County Borough Roses Martorelles Mondorf-les-Bains Enz Rastatt Villa El Salvador District Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Valdemoro Clavijo São Mateus, Espírito Santo Qingdao Harbin Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Linares Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Jinan Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Santa Fe Torredembarra Almadén Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Balaguer Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Baeza Sos del Rey Católico Novelda Bailén Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã Valls San Adrián Lanjarón Bridgend County Borough Shenyang Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Adeje Ningbo Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Guangzhou Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Leganés Ipatinga Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Dalian Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Xi'an Deggendorf Calp Venta de Baños Brussels Madridejos Zuera Fraga Lezama Londrina L'Alcúdia San Fernando de Henares Elorrio El Puerto de Santa María Fife Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Belém Puertollano Canfranc
443
action count
action atmost
action union
action find_tuple_counts
relation sister city
type political territorial entity
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?i WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . FILTER ( ?u <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P101
Q502895
USER
Which person has specialisation in Spain ?
(c(Q502895),P101,Q29)
action filter_type
action find_reverse
entity Q29
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q29']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spain']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:Spain }
[]
common name
Q5820009
SYSTEM
Edward Meryon Wilson
Q5820009
(c(Q502895),P101,Q29)
action filter_type
action find_reverse
entity Q29
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q29']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q29 }
Edward Meryon Wilson
Edward Meryon Wilson
action filter_type
action find_reverse
entity Spain
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spain']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:Spain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P610
Q473972
USER
Which protected area is the highest point of Spain ?
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P610 ?t . ?t rdf:type ontology:Q473972 }
Spain
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:highest_point ?t . ?t rdf:type ontology:protected_area }
[]
protected area
Q38954
SYSTEM
Teide
Q38954
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
[ANSWER]
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P610 ?t . ?t rdf:type ontology:Q473972 }
Teide
Teide
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:highest_point ?t . ?t rdf:type ontology:protected_area }
[]