Simple Question (Direct)
Simple Question
Q2908626
P641
Q349
USER
Which sport was Bogdan Buhuș a part of ?
(Q2908626,P641,c(Q349))
action filter_type
action find
entity Q2908626
relation P641
type Q349
['Q2908626', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2908626 property:P641 ?m . ?m rdf:type ontology:Q349 }
Bogdan Buhuș
action filter_type
action find
entity Bogdan Buhuș
relation sport
type sport
['Bogdan Buhuș', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Bogdan_Buhuș property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2908626,P641,c(Q349))
action filter_type
action find
entity Q2908626
relation P641
type Q349
Which sport was Bogdan Buhuș a part of
['Q2908626', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2908626 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Which sport was Bogdan Buhuș a part of
association football
action filter_type
action find
entity Bogdan Buhuș
relation sport
type sport
['Bogdan Buhuș', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Bogdan_Buhuș property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2908626
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2908626
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2908626 property:P106 ?g }
Bogdan Buhuș
action filter_type
action find
entity Bogdan Buhuș
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Bogdan_Buhuș property:occupation ?g }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2908626
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2908626 property:P106 ?g }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Bogdan Buhuș
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Bogdan_Buhuș property:occupation ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q2235308 Q811979
USER
How many sports are the main uses of approximately 1 ship types or architectural structures ?
(c(Q2235308)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?k WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?k WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
sport ship type architectural structure
SYSTEM
7
Q5372 Q8418 Q1734 Q624161 Q1345388 Q206763 Q61065
(c(Q2235308)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?k WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
basketball handball volleyball gliding greyhound racing floorball water sport
7
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?k WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2908626
P27
Q15617994
USER
Which administrative territory is Bogdan Buhuș an inhabitant of ?
(Q2908626,P27,c(Q15617994))
action filter_type
action find
entity Q2908626
relation P27
type Q15617994
['Q2908626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2908626 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Bogdan Buhuș
action filter_type
action find
entity Bogdan Buhuș
relation country of citizenship
type designation for an administrative territorial entity
['Bogdan Buhuș', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Bogdan_Buhuș property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q2908626,P27,c(Q15617994))
action filter_type
action find
entity Q2908626
relation P27
type Q15617994
[ANSWER] is Bogdan Buhuș an inhabitant of
['Q2908626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2908626 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Romania
Romania is Bogdan Buhuș an inhabitant of
Romania
action filter_type
action find
entity Bogdan Buhuș
relation country of citizenship
type designation for an administrative territorial entity
['Bogdan Buhuș', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Bogdan_Buhuș property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]