Simple Question (Direct)
Simple Question
Q17297615
P27
Q15617994
USER
Which administrative territory is the country of citizenship of György Hölvényi ?
(Q17297615,P27,c(Q15617994))
action filter_type
action find
entity Q17297615
relation P27
type Q15617994
['Q17297615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q17297615 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
György Hölvényi
action filter_type
action find
entity György Hölvényi
relation country of citizenship
type designation for an administrative territorial entity
['György Hölvényi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:György_Hölvényi property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q17297615,P27,c(Q15617994))
action filter_type
action find
entity Q17297615
relation P27
type Q15617994
[ANSWER] is the country of citizenship of György Hölvényi
['Q17297615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q17297615 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Hungary
Hungary is the country of citizenship of György Hölvényi
Hungary
action filter_type
action find
entity György Hölvényi
relation country of citizenship
type designation for an administrative territorial entity
['György Hölvényi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:György_Hölvényi property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P610
Q14524493
USER
What is the highest point of that administrative territory ?
(Q28,P610,c(Q14524493))
action filter_type
action find
entity Q28
relation P610
type Q14524493
['Q28', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q28 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Hungary
action filter_type
action find
entity Hungary
relation highest point
type terrain
['Hungary', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Hungary property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
terrain
Q747618
SYSTEM
Kékes
Q747618
(Q28,P610,c(Q14524493))
action filter_type
action find
entity Q28
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q28', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q28 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Kékes
The highest point of that administrative territory is the Kékes
Kékes
action filter_type
action find
entity Hungary
relation highest point
type terrain
['Hungary', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Hungary property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P85
Q484692
USER
Which hymn is the anthem for Hungary ?
(Q28,P85,c(Q484692))
action filter_type
action find
entity Q28
relation P85
type Q484692
['Q28', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q484692 . resource:Q28 property:P85 ?n }
Hungary
action filter_type
action find
entity Hungary
relation anthem
type hymn
['Hungary', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:hymn . resource:Hungary property:anthem ?n }
[]
hymn
Q45788
SYSTEM
Himnusz
Q45788
(Q28,P85,c(Q484692))
action filter_type
action find
entity Q28
relation P85
type Q484692
In [ANSWER] is the anthem for Hungary
['Q28', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q484692 . resource:Q28 property:P85 ?n }
Himnusz
In Himnusz is the anthem for Hungary
Himnusz
action filter_type
action find
entity Hungary
relation anthem
type hymn
['Hungary', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:hymn . resource:Hungary property:anthem ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q45788 Q691635
P17
Q15617994
USER
Is that hymn present in Kirchschlag ?
(Q45788,P17,Q691635)
action is_in
entity Q691635
action find
entity Q45788
relation P17
['Q45788', 'P17', 'Q691635']
ASK WHERE { resource:Q45788 property:P17 resource:Q691635 }
Himnusz Kirchschlag
action is_in
entity Kirchschlag
action find
entity Himnusz
relation country
['Himnusz', 'country', 'Kirchschlag']
ASK WHERE { resource:Himnusz property:country resource:Kirchschlag }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q45788,P17,Q691635)
action is_in
entity Q691635
action find
entity Q45788
relation P17
[ANSWER]
['Q45788', 'P17', 'Q691635']
ASK WHERE { resource:Q45788 property:P17 resource:Q691635 }
No
action is_in
entity Kirchschlag
action find
entity Himnusz
relation country
['Himnusz', 'country', 'Kirchschlag']
ASK WHERE { resource:Himnusz property:country resource:Kirchschlag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q45788 Q7244217
P800
Q502895
USER
How many people have Himnusz or Prince Rose as their notable work ?
(c(Q502895),P800,Q45788) (c(Q502895),P800,Q7244217)
action count
action union
action filter_type
action find_reverse
entity Q45788
relation P800
type Q502895
action filter_type
action find_reverse
entity Q7244217
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q45788'] [{'concept': 'Q502895'}, 'P800', 'Q7244217']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:P800 resource:Q45788 . ?d rdf:type ontology:Q502895 } UNION { ?d property:P800 resource:Q7244217 . ?d rdf:type ontology:Q502895 } }
Himnusz Prince Rose
action count
action union
action filter_type
action find_reverse
entity Himnusz
relation notable work
type common name
action filter_type
action find_reverse
entity Prince Rose
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Himnusz'] [{'concept': 'common name'}, 'notable work', 'Prince Rose']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:notable_work resource:Himnusz . ?d rdf:type ontology:common_name } UNION { ?d property:notable_work resource:Prince_Rose . ?d rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q316820 Q19613803
(c(Q502895),P800,Q45788) (c(Q502895),P800,Q7244217)
action count
action union
action filter_type
action find_reverse
entity Q45788
relation P800
type Q502895
action filter_type
action find_reverse
entity Q7244217
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q45788'] [{'concept': 'Q502895'}, 'P800', 'Q7244217']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:P800 resource:Q45788 . ?d rdf:type ontology:Q502895 } UNION { ?d property:P800 resource:Q7244217 . ?d rdf:type ontology:Q502895 } }
Ferenc Erkel Albert Demuyser
2
action count
action union
action filter_type
action find_reverse
entity Himnusz
relation notable work
type common name
action filter_type
action find_reverse
entity Prince Rose
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Himnusz'] [{'concept': 'common name'}, 'notable work', 'Prince Rose']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:notable_work resource:Himnusz . ?d rdf:type ontology:common_name } UNION { ?d property:notable_work resource:Prince_Rose . ?d rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45788
P676
Q502895
USER
Who penned the lyrics for that hymn ?
action filter_type
action find
entity Q45788
relation P676
type Q502895
SELECT DISTINCT ?e WHERE { resource:Q45788 property:P676 ?e . ?e rdf:type ontology:Q502895 }
Himnusz
action filter_type
action find
entity Himnusz
relation lyrics by
type common name
SELECT DISTINCT ?e WHERE { resource:Himnusz property:lyrics_by ?e . ?e rdf:type ontology:common_name }
[]
common name
Q440057
SYSTEM
Ferenc Kölcsey
Q440057
action filter_type
action find
entity Q45788
relation P676
type Q502895
[ANSWER] penned the lyrics for that hymn
SELECT DISTINCT ?e WHERE { resource:Q45788 property:P676 ?e . ?e rdf:type ontology:Q502895 }
Ferenc Kölcsey
Ferenc Kölcsey penned the lyrics for that hymn
Ferenc Kölcsey
action filter_type
action find
entity Himnusz
relation lyrics by
type common name
SELECT DISTINCT ?e WHERE { resource:Himnusz property:lyrics_by ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q45788
P85
Q2221906 Q15617994
USER
How many geographic locations and administrative territories have Himnusz as their anthem ?
(c(Q2221906),P85,Q45788) (c(Q15617994),P85,Q45788)
action count
action union
action filter_type
action find_reverse
entity Q45788
relation P85
type Q2221906
action filter_type
action find_reverse
entity Q45788
relation P85
type Q15617994
[{'concept': 'Q2221906'}, 'P85', 'Q45788'] [{'concept': 'Q15617994'}, 'P85', 'Q45788']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?o ) { ( ontology:Q2221906 ) ( ontology:Q15617994 ) } . ?j rdf:type ?o }
Himnusz
action count
action union
action filter_type
action find_reverse
entity Himnusz
relation anthem
type geographic location
action filter_type
action find_reverse
entity Himnusz
relation anthem
type designation for an administrative territorial entity
[{'concept': 'geographic location'}, 'anthem', 'Himnusz'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'Himnusz']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?o ) { ( ontology:geographic_location ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?j rdf:type ?o }
[]
geographic location designation for an administrative territorial entity
SYSTEM
1 geographic locations and 1 administrative territories
Q28 Q696970
(c(Q2221906),P85,Q45788) (c(Q15617994),P85,Q45788)
action count
action union
action filter_type
action find_reverse
entity Q45788
relation P85
type Q2221906
action filter_type
action find_reverse
entity Q45788
relation P85
type Q15617994
[ANSWER]
[{'concept': 'Q2221906'}, 'P85', 'Q45788'] [{'concept': 'Q15617994'}, 'P85', 'Q45788']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?o ) { ( ontology:Q2221906 ) ( ontology:Q15617994 ) } . ?j rdf:type ?o }
Hungary Lands of the Crown of Saint Stephen
1 geographic locations and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Himnusz
relation anthem
type geographic location
action filter_type
action find_reverse
entity Himnusz
relation anthem
type designation for an administrative territorial entity
[{'concept': 'geographic location'}, 'anthem', 'Himnusz'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'Himnusz']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?o ) { ( ontology:geographic_location ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?j rdf:type ?o }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q213 Q28
P17
Q83620
USER
Which thoroughfares are situated in Hungary but not Czech Republic ?
AND((c(Q83620),P17,Q28), NOT((c(Q83620),P17,Q213)))
action filter_type
action difference
action find_reverse
entity Q28
relation P17
action find_reverse
entity Q213
relation P17
type Q83620
{'AND': [[{'concept': 'Q83620'}, 'P17', 'Q28'], {'NOT': [[{'concept': 'Q83620'}, 'P17', 'Q213']]}]}
SELECT DISTINCT ?g WHERE { ?g property:P17 resource:Q28 . MINUS { ?g property:P17 resource:Q213 } . ?g rdf:type ontology:Q83620 }
Czech Republic Hungary
action filter_type
action difference
action find_reverse
entity Hungary
relation country
action find_reverse
entity Czech Republic
relation country
type thoroughfare
{'AND': [[{'concept': 'thoroughfare'}, 'country', 'Hungary'], {'NOT': [[{'concept': 'thoroughfare'}, 'country', 'Czech Republic']]}]}
SELECT DISTINCT ?g WHERE { ?g property:country resource:Hungary . MINUS { ?g property:country resource:Czech_Republic } . ?g rdf:type ontology:thoroughfare }
[]
thoroughfare
Q721757 Q1491324 Q629616 Q1119484 Q789500 Q1125616 Q789479 Q1491000 Q375312 Q1490972
SYSTEM
Some of them are Hungarian road 2, Hungarian road 53, Hungarian road 403, Kossuth Street, Eger, M7 motorway, Körösnagyharsány–Vésztő–Gyoma railway line, M5 motorway, Hungarian road 451, Hungarian road 56, Hungarian road 443
Q2078433 Q1485174 Q589984 Q1492141 Q767918 Q802416 Q1490221 Q1491596 Q18120078 Q523192 Q1491059 Q732625 Q375312 Q789446 Q1484869 Q1490621 Q1219870 Q736543 Q1490914 Q854123 Q724472 Q47582 Q1125594 Q21152436 Q789476 Q789471 Q1492394 Q789473 Q686035 Q789479 Q689827 Q947539 Q1491060 Q1293193 Q1490359 Q678149 Q788671 Q2604283 Q523605 Q10478772 Q1490965 Q789500 Q678226 Q1485660 Q18762183 Q1491348 Q1375951 Q1414711 Q1492301 Q258553 Q468885 Q1302463 Q16516109 Q789466 Q789464 Q580571 Q1490446 Q789468 Q962056 Q17505731 Q16516080 Q1485876 Q1491178 Q668766 Q235963 Q18108316 Q1491887 Q1490972 Q681393 Q1492253 Q1484195 Q1302454 Q1489853 Q661444 Q541426 Q378610 Q1413189 Q1491000 Q1491769 Q382905 Q14571569 Q1490374 Q676174 Q18120080 Q1490273 Q429256 Q674367 Q1375987 Q777969 Q23716490 Q18099712 Q1160860 Q1492083 Q1492365 Q1415046 Q1375386 Q1415685 Q16516009 Q790741 Q767143 Q26833668 Q779833 Q1317159 Q12813344 Q1484928 Q991853 Q908195 Q1490787 Q630250 Q788878 Q723245 Q851283 Q851280 Q1491652 Q783544 Q15255963 Q387023 Q507442 Q986792 Q635177 Q802551 Q168020 Q1375559 Q233016 Q1492502 Q971294 Q729156 Q1492293 Q607298 Q1111086 Q1414694 Q647060 Q839075 Q749744 Q432165 Q268738 Q1492344 Q721768 Q18116088 Q1491629 Q1491362 Q20439176 Q1492475 Q1491287 Q1489807 Q780718 Q1491324 Q851254 Q11695050 Q773910 Q928483 Q1491236 Q1491738 Q761902 Q777446 Q1119484 Q851265 Q739236 Q1414754 Q851262 Q733970 Q1489896 Q682147 Q430545 Q636895 Q859243 Q1492034 Q761443 Q771331 Q789506 Q1486074 Q178567 Q789502 Q9210984 Q389905 Q1489722 Q771134 Q721757 Q11695044 Q20439247 Q1374957 Q1491601 Q629616 Q1491357 Q16520734 Q789490 Q1491443 Q918092 Q1491064 Q514005 Q1492320 Q430998 Q1125616 Q1160902 Q1375976 Q1492121 Q9210975 Q851266
AND((c(Q83620),P17,Q28), NOT((c(Q83620),P17,Q213)))
action filter_type
action difference
action find_reverse
entity Q28
relation P17
action find_reverse
entity Q213
relation P17
type Q83620
[ANSWERS] are situated in Hungary but not Czech Republic
{'AND': [[{'concept': 'Q83620'}, 'P17', 'Q28'], {'NOT': [[{'concept': 'Q83620'}, 'P17', 'Q213']]}]}
SELECT DISTINCT ?g WHERE { ?g property:P17 resource:Q28 . MINUS { ?g property:P17 resource:Q213 } . ?g rdf:type ontology:Q83620 }
European route E575 Hungarian road 117 M19 motorway Hungarian road 76 M70 motorway Hegyeshalom–Szombathely railway line Hungarian road 302 Hungarian road 610 Hungarian road 511 Aszód–Vácrátót railway line Hungarian road 470 21 motorway Hungarian road 56 R11 motorway Hungarian road 11 Hungarian road 39 Nyíregyháza-körgyűrű Hungarian road 1 Hungarian road 43 Békéscsabai elkerülőút Püspökladány–Biharkeresztes railway line Gyékényes–Pécs railway Circle rail (Budapest) Roman Road M51 motorway M4 motorway Hungarian road 85 R49 motorway Hungarian road 41 M5 motorway European route E66 Budapest HÉV Lines 8 & 9 Hungarian road 471 Szabadka–Baja railway Hungarian road 33 Hungarian road 87 Baja-Sombor, Novi Sad railway line European route E653 Békéscsaba–Kötegyán–Vésztő–Püspökladán railway European route E579 Hungarian road 441 M7 motorway Hungarian road 7 Hungarian road 13 Hungarian road 834 Hungarian road 54 European route E68 Hungarian road 37 Hungarian road 811 Hungarian road 45 history of the Hungarian motorways Székesfehérvár–Tapolca railway Hungarian road 445 M30 motorway M31 motorway European route E79 Hungarian road 354 M34 motorway Hungarian road 86 Hungarian road 222 Hungarian road 3604 Hungarian road 14 Hungarian road 5 Hungarian road 49 Hungarian road 47 Hungarian road 861 Hungarian road 68 Hungarian road 443 Hungarian road 46 Hungarian road 8 Hungarian road 10 Székesfehérvár–Komárom railway line Hungarian road 23 Hungarian road 61 Hungarian road 65 Hungarian road 32 Hungarian road 26 Hungarian road 451 Hungarian road 67 Barcs–Villány railway line M201 railway (Croatia) Hungarian road 338 European route E661 Hungarian road 551 Hungarian road 31 M15 motorway Hungarian road 4 European route E73 Hungarian road 311 Hegyalja út Hungarian road 813 M33 motorway Hungarian road 73 Hungarian road 84 Hungarian road 27 Hungarian road 58 Hungarian road 6 Route 24308 Baross Street, Győr M43 motorway Zirc–Dudarbánya railway line Aszód–Balassagyarmat–Ipolytarnóc railway line Tatabánya–Oroszlány railway line Hungarian road 64 Hungarian road 111 Esztergom–Almásfüzitő railway line Dombovari Gazdasagi railway Hungarian road 405 M44 motorway Bajánsenye–Zalaegerszeg–Ukk–Boba railway line Budapest HÉV Budapest–Szob railway Székesfehérvár–Gyékényes railway Hungarian road 63 Mezőtúr to Battonya line via Orosháza and Mezőhegyes Hungarian road 77 Békéscsaba–Kétegyháza–Mezőhegyes–Újszeged railway line Hungarian road 62 Déli autópálya Hungarian road 72 Railway line 135 (Slovakia) European route E60 Hungarian road 74 Hungarian road 42 Hungarian road 89 Hungarian road 40 M10 motorway Hungarian road 81 Sopron–Szombathely railway line Kiskunhalas–Bácsalmás–Riđica railway line Hungarian road 304 Hungarian road 44 R25 motorway Hungarian road 48 Hungarian road 12 M3 motorway Hungarian road 83 Hungarian road 3 Hungarian road 444 Route 6212 Hungarian road 542 Hungarian road 513 Hungarian road 88 Hungarian road 52 Hungarian road 22 M6 motorway Hungarian road 53 Budapest–Esztergom railway Hungarian road 510 Győr–Sopron railway line European route E573 Hungarian road 51 Hungarian road 66 Hungarian road 55 Hungarian road 442 Kossuth Street, Eger Budapest–Lajosmizse–Kecskemét   railway Győr–Veszprém railway line Hungarian road 38 Budapest–Hegyeshalom–Rajka railway line Budapest–Kunszentmiklós-Tass–Kelebia railway line Hungarian road 24 Bátaszék–Baja–Kiskunhalas railway line Hungarian road 34 Hungarian road 400 Cegléd–Szeged railway Hungarian road 710 M2 motorway Pápa–Csorna railway line M87 motorway Hungarian road 150 M35 motorway M8 motorway Hungarian road 431 Balatonszentgyörgy–Tapolca–Ukk railway line Hungarian road 211 Nagybánya–Nyíregyháza autópálya Hungarian road 2 Hungarian road 36 Hungarian road 821 Hungarian road 491 Hungarian road 611 Hungarian road 403 Hungarian road 541 Route 2505 (Hungary) M60 motorway Hungarian road 57 European route E77 Hungarian road 474 Dombóvár–Bátaszék-line Hungarian road 82 M0 motorway Körösnagyharsány–Vésztő–Gyoma railway line M9 motorway European route E71 Hungarian road 75 Hungarian road 401 Budapest–Székesfehérvár railway
Hungarian road 2, Hungarian road 53, Hungarian road 403, Kossuth Street, Eger, M7 motorway, Körösnagyharsány–Vésztő–Gyoma railway line, M5 motorway, Hungarian road 451, Hungarian road 56 and Hungarian road 443 are situated in Hungary but not Czech Republic
Hungarian road 2 Hungarian road 53 Hungarian road 403 Kossuth Street, Eger M7 motorway Körösnagyharsány–Vésztő–Gyoma railway line M5 motorway Hungarian road 451 Hungarian road 56 Hungarian road 443
action filter_type
action difference
action find_reverse
entity Hungary
relation country
action find_reverse
entity Czech Republic
relation country
type thoroughfare
{'AND': [[{'concept': 'thoroughfare'}, 'country', 'Hungary'], {'NOT': [[{'concept': 'thoroughfare'}, 'country', 'Czech Republic']]}]}
SELECT DISTINCT ?g WHERE { ?g property:country resource:Hungary . MINUS { ?g property:country resource:Czech_Republic } . ?g rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P710
Q930933
USER
What event was Hungary a participant of ?
(c(Q930933),P710,Q28)
action filter_type
action find_reverse
entity Q28
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q28']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q28 . ?r rdf:type ontology:Q930933 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Hungary']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Hungary . ?r rdf:type ontology:relationship }
[]
relationship
Q4793356
SYSTEM
Armenia–Hungary relations
Q4793356
(c(Q930933),P710,Q28)
action filter_type
action find_reverse
entity Q28
relation P710
type Q930933
Hungary was awarded [ANSWER]
[{'concept': 'Q930933'}, 'P710', 'Q28']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q28 . ?r rdf:type ontology:Q930933 }
Armenia–Hungary relations
Hungary was awarded Armenia–Hungary relations
Armenia–Hungary relations
action filter_type
action find_reverse
entity Hungary
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Hungary']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Hungary . ?r rdf:type ontology:relationship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1119484
P138
Q502895
USER
Which person is the origin of Kossuth Street, Eger ?
(Q1119484,P138,c(Q502895))
action filter_type
action find
entity Q1119484
relation P138
type Q502895
['Q1119484', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1119484 property:P138 ?e . ?e rdf:type ontology:Q502895 }
Kossuth Street, Eger
action filter_type
action find
entity Kossuth Street, Eger
relation named after
type common name
['Kossuth Street, Eger', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kossuth_Street,_Eger property:named_after ?e . ?e rdf:type ontology:common_name }
[]
common name
Q157040
SYSTEM
Lajos Kossuth
Q157040
(Q1119484,P138,c(Q502895))
action filter_type
action find
entity Q1119484
relation P138
type Q502895
[ANSWER] is the origin of Kossuth Street, Eger
['Q1119484', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1119484 property:P138 ?e . ?e rdf:type ontology:Q502895 }
Lajos Kossuth
Lajos Kossuth is the origin of Kossuth Street, Eger
Lajos Kossuth
action filter_type
action find
entity Kossuth Street, Eger
relation named after
type common name
['Kossuth Street, Eger', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kossuth_Street,_Eger property:named_after ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q157040 Q495
P20
Q56061
USER
Did the demise of that person occur Turin ?
(Q157040,P20,Q495)
action is_in
entity Q495
action find
entity Q157040
relation P20
['Q157040', 'P20', 'Q495']
ASK WHERE { resource:Q157040 property:P20 resource:Q495 }
Lajos Kossuth Turin
action is_in
entity Turin
action find
entity Lajos Kossuth
relation place of death
['Lajos Kossuth', 'place of death', 'Turin']
ASK WHERE { resource:Lajos_Kossuth property:place_of_death resource:Turin }
[]
administrative territorial entity
SYSTEM
YES
(Q157040,P20,Q495)
action is_in
entity Q495
action find
entity Q157040
relation P20
[ANSWER]
['Q157040', 'P20', 'Q495']
ASK WHERE { resource:Q157040 property:P20 resource:Q495 }
Yes
action is_in
entity Turin
action find
entity Lajos Kossuth
relation place of death
['Lajos Kossuth', 'place of death', 'Turin']
ASK WHERE { resource:Lajos_Kossuth property:place_of_death resource:Turin }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157040
P39
Q12737077
USER
Which occupations were the positions for which Lajos Kossuth were appointed ?
(Q157040,P39,c(Q12737077))
action filter_type
action find
entity Q157040
relation P39
type Q12737077
['Q157040', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q157040 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Lajos Kossuth
action filter_type
action find
entity Lajos Kossuth
relation position held
type occupation
['Lajos Kossuth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lajos_Kossuth property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q3315094 Q520765 Q17590876
SYSTEM
Prime Minister of Hungary, President of Hungary, member of the National Assembly of Hungary
Q3315094 Q520765 Q17590876
(Q157040,P39,c(Q12737077))
action filter_type
action find
entity Q157040
relation P39
type Q12737077
The [ANSWERS] were the positions for which Lajos Kossuth were appointed
['Q157040', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q157040 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Prime Minister of Hungary President of Hungary member of the National Assembly of Hungary
The Prime Minister of Hungary, President of Hungary and member of the National Assembly of Hungary were the positions for which Lajos Kossuth were appointed
Prime Minister of Hungary President of Hungary member of the National Assembly of Hungary
action filter_type
action find
entity Lajos Kossuth
relation position held
type occupation
['Lajos Kossuth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lajos_Kossuth property:position_held ?v . ?v rdf:type ontology:occupation }
[]