Simple Question (Direct)
Simple Question
Q901856
P641
Q349
USER
Which sport was József Danszky a part of ?
(Q901856,P641,c(Q349))
action filter_type
action find
entity Q901856
relation P641
type Q349
['Q901856', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q901856 property:P641 ?s . ?s rdf:type ontology:Q349 }
József Danszky
action filter_type
action find
entity József Danszky
relation sport
type sport
['József Danszky', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:József_Danszky property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q901856,P641,c(Q349))
action filter_type
action find
entity Q901856
relation P641
type Q349
The [ANSWER] was József Danszky a part of
['Q901856', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q901856 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
The association football was József Danszky a part of
association football
action filter_type
action find
entity József Danszky
relation sport
type sport
['József Danszky', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:József_Danszky property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q901856
P106
Q12737077
USER
Which occupations have József Danszky as his/her 's career ?
(Q901856,P106,c(Q12737077))
action filter_type
action find
entity Q901856
relation P106
type Q12737077
['Q901856', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q901856 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
József Danszky
action filter_type
action find
entity József Danszky
relation occupation
type occupation
['József Danszky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:József_Danszky property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q15986539 Q937857
SYSTEM
sports official, association football player
Q15986539 Q937857
(Q901856,P106,c(Q12737077))
action filter_type
action find
entity Q901856
relation P106
type Q12737077
As [ANSWERS] have József Danszky as his/her 's career
['Q901856', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q901856 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
sports official association football player
As sports official and association football player have József Danszky as his/her 's career
sports official association football player
action filter_type
action find
entity József Danszky
relation occupation
type occupation
['József Danszky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:József_Danszky property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q901856
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q15986539,P27,c(Q15617994)) (Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q901856
relation P27
type Q15617994
['Q15986539', 'P27', {'concept': 'Q15617994'}] ['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q901856 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
József Danszky
action filter_type
action find
entity József Danszky
relation country of citizenship
type designation for an administrative territorial entity
['sports official', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:József_Danszky property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q15986539,P27,c(Q15617994)) (Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q901856
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q15986539', 'P27', {'concept': 'Q15617994'}] ['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q901856 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Hungary
Hungary is that person a civilian of
Hungary
action filter_type
action find
entity József Danszky
relation country of citizenship
type designation for an administrative territorial entity
['sports official', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:József_Danszky property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 approximately 22 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?g ) WHERE { ?l property:P530 ?r . ?l rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?g = 22 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?g ) WHERE { ?l property:diplomatic_relation ?r . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?g = 22 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?g ) WHERE { ?l property:P530 ?r . ?l rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?g = 22 ) }
Israel Yemen France People's Republic of China Russia United States of America
6
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?g ) WHERE { ?l property:diplomatic_relation ?r . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?g = 22 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q28 Q408
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Hungary and Australia ?
(Q28,P530,c(Q15617994)) (Q408,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q28
relation P530
type Q15617994
action filter_type
action find
entity Q408
relation P530
type Q15617994
['Q28', 'P530', {'concept': 'Q15617994'}] ['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?x . resource:Q408 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Hungary Australia
action count
action intersection
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?x . resource:Australia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q403 Q38
(Q28,P530,c(Q15617994)) (Q408,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q28
relation P530
type Q15617994
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
['Q28', 'P530', {'concept': 'Q15617994'}] ['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?x . resource:Q408 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Serbia Italy
2
action count
action intersection
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?x . resource:Australia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]