Simple Question (Direct)
Simple Question
Q689263
P27
Q15617994
USER
Which administrative territory is the native country of Árpád Ambrusz ?
(Q689263,P27,c(Q15617994))
action filter_type
action find
entity Q689263
relation P27
type Q15617994
['Q689263', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q689263 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Árpád Ambrusz
action filter_type
action find
entity Árpád Ambrusz
relation country of citizenship
type designation for an administrative territorial entity
['Árpád Ambrusz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Árpád_Ambrusz property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q689263,P27,c(Q15617994))
action filter_type
action find
entity Q689263
relation P27
type Q15617994
In [ANSWER] is the native country of Árpád Ambrusz
['Q689263', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q689263 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Hungary
In Hungary is the native country of Árpád Ambrusz
Hungary
action filter_type
action find
entity Árpád Ambrusz
relation country of citizenship
type designation for an administrative territorial entity
['Árpád Ambrusz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Árpád_Ambrusz property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q689263
P641
Q349
USER
Which sport was Árpád Ambrusz a part of ?
(Q689263,P641,c(Q349))
action filter_type
action find
entity Q689263
relation P641
type Q349
['Q689263', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q689263 property:P641 ?p }
Árpád Ambrusz
action filter_type
action find
entity Árpád Ambrusz
relation sport
type sport
['Árpád Ambrusz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Árpád_Ambrusz property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q689263,P641,c(Q349))
action filter_type
action find
entity Q689263
relation P641
type Q349
The [ANSWER] was Árpád Ambrusz a part of
['Q689263', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q689263 property:P641 ?p }
association football
The association football was Árpád Ambrusz a part of
association football
action filter_type
action find
entity Árpád Ambrusz
relation sport
type sport
['Árpád Ambrusz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Árpád_Ambrusz property:sport ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3146345
Q349
USER
And also tell me about Hülya Cömert?
(Q3146345,P641,c(Q349))
action filter_type
action find
entity Q3146345
relation P641
type Q349
['Q3146345', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q3146345 property:P641 ?z }
Hülya Cömert
action filter_type
action find
entity Hülya Cömert
relation sport
type sport
['Hülya Cömert', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Hülya_Cömert property:sport ?z }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q3146345,P641,c(Q349))
action filter_type
action find
entity Q3146345
relation P641
type Q349
[ANSWER]
['Q3146345', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q3146345 property:P641 ?z }
volleyball
volleyball
action filter_type
action find
entity Hülya Cömert
relation sport
type sport
['Hülya Cömert', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Hülya_Cömert property:sport ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q6671777 Q39546
USER
Which sports are the main uses of min number of structures and tools ?
(c(Q6671777)|c(Q39546),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
[[{'concept': 'Q6671777'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?x WHERE { VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q39546 ) } . ?w rdf:type ?t } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { { ?l rdf:type ontology:Q349 . ?y rdf:type ontology:Q6671777 . ?y property:P366 ?l } UNION { ?y property:P366 ?l . ?l rdf:type ontology:Q349 . ?y rdf:type ontology:Q39546 } } GROUP BY ?l } . FILTER ( ?c = ?f ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type tool
[[{'concept': 'structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?x WHERE { VALUES ( ?t ) { ( ontology:structure ) ( ontology:tool ) } . ?w rdf:type ?t } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { { ?l rdf:type ontology:sport . ?y rdf:type ontology:structure . ?y property:use ?l } UNION { ?y property:use ?l . ?l rdf:type ontology:sport . ?y rdf:type ontology:tool } } GROUP BY ?l } . FILTER ( ?c = ?f ) }
[]
sport structure tool
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q39546),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
[ANSWERS] are the main uses of min number of structures and tools
[[{'concept': 'Q6671777'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?x WHERE { VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q39546 ) } . ?w rdf:type ?t } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { { ?l rdf:type ontology:Q349 . ?y rdf:type ontology:Q6671777 . ?y property:P366 ?l } UNION { ?y property:P366 ?l . ?l rdf:type ontology:Q349 . ?y rdf:type ontology:Q39546 } } GROUP BY ?l } . FILTER ( ?c = ?f ) }
rallying basketball handball volleyball shooting sport skating bandy cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
Floorball, handball and bandy are the main uses of min number of structures and tools
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type tool
[[{'concept': 'structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?x WHERE { VALUES ( ?t ) { ( ontology:structure ) ( ontology:tool ) } . ?w rdf:type ?t } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { { ?l rdf:type ontology:sport . ?y rdf:type ontology:structure . ?y property:use ?l } UNION { ?y property:use ?l . ?l rdf:type ontology:sport . ?y rdf:type ontology:tool } } GROUP BY ?l } . FILTER ( ?c = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atmost 2 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?a } GROUP BY ?a } . FILTER ( ?e <= 2 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?e <= 2 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?a } GROUP BY ?a } . FILTER ( ?e <= 2 ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?e <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P159
Q1400264
USER
Which artist collective has its head office location at Hungary ?
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q28 . ?i rdf:type ontology:Q1400264 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Hungary . ?i rdf:type ontology:artist_collective }
[]
artist collective
Q383522
SYSTEM
Conspiracy
Q383522
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[ANSWER] has its head office location at Hungary
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q28 . ?i rdf:type ontology:Q1400264 }
Conspiracy
Conspiracy has its head office location at Hungary
Conspiracy
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Hungary . ?i rdf:type ontology:artist_collective }
[]