Simple Question (Direct)
Simple Question
Q315909
P641
Q31629
USER
What was the type of sport that Dieter Lindner was a part of ?
(Q315909,P641,c(Q31629))
action filter_type
action find
entity Q315909
relation P641
type Q31629
['Q315909', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q315909 property:P641 ?d . ?d rdf:type ontology:Q31629 }
Dieter Lindner
action filter_type
action find
entity Dieter Lindner
relation sport
type type of sport
['Dieter Lindner', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Dieter_Lindner property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q315909,P641,c(Q31629))
action filter_type
action find
entity Q315909
relation P641
type Q31629
The type of sport that Dieter Lindner was a part of was h [ANSWER]
['Q315909', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q315909 property:P641 ?d . ?d rdf:type ontology:Q31629 }
athletics
The type of sport that Dieter Lindner was a part of was h athletics
athletics
action filter_type
action find
entity Dieter Lindner
relation sport
type type of sport
['Dieter Lindner', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Dieter_Lindner property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q315909
P21
Q290
USER
What is the sex of that person ?
(Q542,P21,c(Q290))
action filter_type
action find
entity Q315909
relation P21
type Q290
['Q542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q315909 property:P21 ?p . ?p rdf:type ontology:Q290 }
Dieter Lindner
action filter_type
action find
entity Dieter Lindner
relation gender
type sex
['athletics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Dieter_Lindner property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q542,P21,c(Q290))
action filter_type
action find
entity Q315909
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q315909 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Dieter Lindner
relation gender
type sex
['athletics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Dieter_Lindner property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q315909
P106
Q151885
USER
What is the profession of Dieter Lindner ?
(Q315909,P106,c(Q151885))
action filter_type
action find
entity Q315909
relation P106
type Q151885
['Q315909', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q315909 property:P106 ?k . ?k rdf:type ontology:Q151885 }
Dieter Lindner
action filter_type
action find
entity Dieter Lindner
relation occupation
type concept
['Dieter Lindner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Dieter_Lindner property:occupation ?k . ?k rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q315909,P106,c(Q151885))
action filter_type
action find
entity Q315909
relation P106
type Q151885
The profession of Dieter Lindner is an [ANSWER]
['Q315909', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q315909 property:P106 ?k . ?k rdf:type ontology:Q151885 }
athletics competitor
The profession of Dieter Lindner is an athletics competitor
athletics competitor
action filter_type
action find
entity Dieter Lindner
relation occupation
type concept
['Dieter Lindner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Dieter_Lindner property:occupation ?k . ?k rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q315909
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q315909
relation P27
type Q1048835
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q315909 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Dieter Lindner
action filter_type
action find
entity Dieter Lindner
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dieter_Lindner property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q315909
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q315909 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Dieter Lindner
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dieter_Lindner property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P138
Q2472587 Q484652
USER
How many peoples and international organizations are Germany named after ?
(Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652))
action count
action union
action filter_type
action find
entity Q183
relation P138
type Q2472587
action filter_type
action find
entity Q183
relation P138
type Q484652
['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { resource:Q183 property:P138 ?q . ?q rdf:type ontology:Q2472587 } UNION { ?q rdf:type ontology:Q484652 . resource:Q183 property:P138 ?q } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation named after
type people
action filter_type
action find
entity Germany
relation named after
type international organization
['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { resource:Germany property:named_after ?q . ?q rdf:type ontology:people } UNION { ?q rdf:type ontology:international_organization . resource:Germany property:named_after ?q } }
[]
people international organization
SYSTEM
1 peoples and 1 international organizations
Q101985 Q132990
(Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652))
action count
action union
action filter_type
action find
entity Q183
relation P138
type Q2472587
action filter_type
action find
entity Q183
relation P138
type Q484652
[ANSWER]
['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { resource:Q183 property:P138 ?q . ?q rdf:type ontology:Q2472587 } UNION { ?q rdf:type ontology:Q484652 . resource:Q183 property:P138 ?q } }
Saxons Alamanni
1 peoples and 1 international organizations
action count
action union
action filter_type
action find
entity Germany
relation named after
type people
action filter_type
action find
entity Germany
relation named after
type international organization
['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { resource:Germany property:named_after ?q . ?q rdf:type ontology:people } UNION { ?q rdf:type ontology:international_organization . resource:Germany property:named_after ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with around 7 political territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 7
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?v ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?v = 7 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?v ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?v = 7 ) }
[]
political territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 7
[ANSWER] have diplomatic relations with around 7 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?v ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?v = 7 ) }
Italy
Italy have diplomatic relations with around 7 political territories
Italy
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?v ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?v = 7 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q201658
USER
How many administrative territories are the countries of origin of greater number of releases and film genres than that administrative territory ?
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q2031291
type Q201658
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?g WHERE { VALUES ( ?i ) { ( ontology:Q2031291 ) ( ontology:Q201658 ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P495 resource:Q38 . { VALUES ( ?d ) { ( ontology:Q2031291 ) ( ontology:Q201658 ) } . ?q rdf:type ?d } } } . FILTER ( ?f > ?z ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type release
type film genre
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?g WHERE { VALUES ( ?i ) { ( ontology:release ) ( ontology:film_genre ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:country_of_origin resource:Italy . { VALUES ( ?d ) { ( ontology:release ) ( ontology:film_genre ) } . ?q rdf:type ?d } } } . FILTER ( ?f > ?z ) }
[]
designation for an administrative territorial entity release film genre
SYSTEM
2
Q145 Q30
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q2031291
type Q201658
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?g WHERE { VALUES ( ?i ) { ( ontology:Q2031291 ) ( ontology:Q201658 ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P495 resource:Q38 . { VALUES ( ?d ) { ( ontology:Q2031291 ) ( ontology:Q201658 ) } . ?q rdf:type ?d } } } . FILTER ( ?f > ?z ) }
United Kingdom United States of America
2
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type release
type film genre
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?g WHERE { VALUES ( ?i ) { ( ontology:release ) ( ontology:film_genre ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:country_of_origin resource:Italy . { VALUES ( ?d ) { ( ontology:release ) ( ontology:film_genre ) } . ?q rdf:type ?d } } } . FILTER ( ?f > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P463
Q484652
USER
What international organizations had Italy as their member ?
(Q38,P463,c(Q484652))
action filter_type
action find
entity Q38
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P463 ?r . ?r rdf:type ontology:Q484652 }
Italy
action filter_type
action find
entity Italy
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:member_of ?r . ?r rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q1065 Q826700 Q188822 Q47488 Q7184 Q42262 Q472311 Q605326 Q1480793 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q170424 Q37143 Q176815 Q182000 Q8475 Q233611 Q1043527 Q1045198
(Q38,P463,c(Q484652))
action filter_type
action find
entity Q38
relation P463
type Q484652
[ANSWERS] had Italy as their member
['Q38', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P463 ?r . ?r rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations International Energy Agency Asian Development Bank International Criminal Court North Atlantic Treaty Organisation European Space Agency International Organization for Migration World Customs Organization Nuclear Suppliers Group 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 World Meteorological Organization G8 Inter-Parliamentary Union United Nations Conference on Trade and Development Interpol International Hydrographic Organization Multilateral Investment Guarantee Agency Permanent Court of Arbitration
Organization for Security and Co-operation in Europe, G20 and European Space Agency had Italy as their member
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity Italy
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:member_of ?r . ?r rdf:type ontology:international_organization }
[]